:root {
  --bg: #080a0f;
  --panel: #111722;
  --panel-2: #17202d;
  --text: #f6f8fb;
  --muted: #aeb8c8;

  /* Gold-Farben passend zum Logo */
  --accent: #b8860b;
  --accent-2: #f5d76e;
  --accent-3: #fff2b0;

  --border: rgba(255, 255, 255, .1);
  --gold-border: rgba(245, 215, 110, .32);
  --shadow: 0 25px 80px rgba(0, 0, 0, .45);
  --gold-shadow: 0 15px 40px rgba(184, 134, 11, .35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top left, #1b2638 0, var(--bg) 42%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  background: rgba(8, 10, 15, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gold-border);
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.logo span {
  color: var(--accent-2);
}

nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

nav a:not(.nav-cta):hover,
nav a:not(.nav-cta).active {
  color: var(--text);
  background: rgba(245, 215, 110, .12);
}

.nav-cta,
.nav-cta:hover,
.nav-cta:focus,
.nav-cta:active,
.nav-cta.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  color: black;
  border: none;
}

.nav-cta:hover,
.nav-cta:focus,
.nav-cta:active,
.nav-cta.active {
  filter: brightness(1.08);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: center;
  padding: 80px 6%;
  background:
    linear-gradient(90deg, rgba(8, 10, 15, .92), rgba(8, 10, 15, .7)),
    url('images/cpc_auto.png') center/cover;
}

.hero-content h1,
.page-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  margin: 12px 0 18px;
  letter-spacing: -2px;
}

.hero-content p,
.page-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
}

.eyebrow {
  color: var(--accent-2) !important;
  text-transform: uppercase;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  color: #111;
  box-shadow: var(--gold-shadow);
}

.btn.secondary {
  border-color: var(--gold-border);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.btn.secondary:hover {
  background: rgba(245, 215, 110, .12);
}

.btn.light {
  background: #fff;
  color: #111;
}

.btn.whatsapp {
  background: #84d323;
  color: #06160b;
  width: 100%;
  margin-top: 12px;
}

.hero-card,
.info-panel,
.promo-box,
.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .06));
  border: 1px solid var(--gold-border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 30px;
}

ul {
  padding-left: 20px;
  color: var(--muted);
}

.section {
  padding: 76px 6%;
}

.section-title {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-title h2,
.split h2,
.cta-section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 8px 0 14px;
  letter-spacing: -1px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.products {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.product-card,
.deal-card,
.steps article {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.feature-card:hover,
.product-card:hover,
.deal-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .09);
  border-color: var(--gold-border);
}

.icon,
.product-img {
  font-size: 36px;
  display: block;
  margin-bottom: 18px;
  color: var(--accent-2);
}

.product-card h3,
.feature-card h3,
.deal-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.product-card p,
.feature-card p,
.deal-card p,
.split p,
.steps p {
  color: var(--muted);
}

.split {
  margin: 20px 6% 76px;
  padding: 54px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(184, 134, 11, .22), rgba(245, 215, 110, .12));
  border: 1px solid var(--gold-border);
}

.split.dark {
  background: linear-gradient(135deg, #141b29, #1d1a10);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.category-list span {
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--gold-border);
  color: #fff;
  font-weight: 800;
}

.cta-section {
  margin: 20px 6% 80px;
  padding: 60px 30px;
  text-align: center;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  box-shadow: var(--gold-shadow);
  color: #111;
}

.cta-section p {
  color: rgba(17, 17, 17, .82);
  max-width: 700px;
  margin: 0 auto 24px;
}

.page-hero {
  padding: 90px 6% 60px;
  background: linear-gradient(135deg, rgba(184, 134, 11, .15), transparent);
}

.page-hero.small {
  padding-bottom: 40px;
}

.deal-card {
  position: relative;
}

.deal-card.highlight {
  background: linear-gradient(180deg, rgba(184, 134, 11, .18), rgba(255, 255, 255, .06));
  border-color: var(--gold-border);
}

.badge {
  display: inline-block;
  color: #111;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.deal-card strong {
  display: block;
  margin: 18px 0;
  font-size: 20px;
}

.deal-card a {
  color: var(--accent-2);
  font-weight: 900;
}

.steps article span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 15px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 26px;
  padding: 30px 6% 90px;
}

.contact-form {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--gold-border);
  border-radius: 28px;
  padding: 30px;
}

label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  background: rgba(0, 0, 0, .28);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(245, 215, 110, .12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
}

footer {
  padding: 28px 6%;
  color: var(--muted);
  border-top: 1px solid var(--gold-border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: var(--accent-2);
}

.footer-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
}

.logo-box {
  width: 180px;
  text-align: center;
  margin: 0;
}

.logo-img {
  width: 100%;
  height: auto;
}

.logo-box figcaption {
  margin-top: 5px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
  word-wrap: break-word;
  color: var(--accent-2);
}

@media (max-width: 950px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.products {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  nav {
    justify-content: flex-start;
  }

  nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero {
    padding: 56px 5%;
    min-height: auto;
  }

  .section,
  .page-hero {
    padding-left: 5%;
    padding-right: 5%;
  }

  .grid.three,
  .grid.products,
  .form-row {
    grid-template-columns: 1fr;
  }

  .split {
    margin-left: 5%;
    margin-right: 5%;
    padding: 30px;
  }

  .contact-layout {
    padding-left: 5%;
    padding-right: 5%;
  }
}


/* Kategorie-Klickkarten und Produktlisten */
.category-card {
  display: block;
  color: inherit;
  min-height: 100%;
}

.open-category {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-2);
  font-weight: 900;
}

.back-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent-2);
  font-weight: 900;
}

.articles-section {
  padding-top: 36px;
}

.article-list {
  display: grid;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.article-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.article-row:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .09);
  border-color: var(--gold-border);
}

.article-photo {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--gold-border);
  background: #111722;
}

.article-info h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.article-info p {
  margin: 0;
  color: var(--muted);
}

.price-btn {
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  color: #111;
  box-shadow: var(--gold-shadow);
}

@media (max-width: 800px) {
  .article-row {
    grid-template-columns: 120px 1fr;
  }

  .article-photo {
    width: 120px;
    height: 92px;
  }

  .price-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .article-row {
    grid-template-columns: 1fr;
  }

  .article-photo {
    width: 100%;
    height: 190px;
  }
}


/* Produktbezogene WhatsApp-Preisanfrage */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.wa-modal.is-open {
  display: block;
}

.wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(3px);
}

.wa-modal__dialog {
  position: relative;
  width: min(560px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  margin: 14px auto;
  background: #f7f5f0;
  color: #151515;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.wa-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  background: #18864b;
  color: #fff;
}

.wa-modal__header h2 {
  margin: 0;
  font-size: clamp(19px, 4vw, 25px);
  color: #fff;
}

.wa-modal__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.wa-modal__body {
  padding: 24px;
}

.wa-modal__intro {
  padding: 18px;
  margin: 0 0 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
  font-size: 18px;
}

.wa-modal label {
  color: #151515;
  margin-top: 15px;
  margin-bottom: 8px;
}

.wa-modal select,
.wa-modal textarea {
  width: 100%;
  border: 1px solid #d5d0c7;
  border-radius: 13px;
  padding: 14px;
  background: #fff;
  color: #151515;
  font: inherit;
}

.wa-modal textarea {
  resize: vertical;
  min-height: 180px;
}

.wa-modal__send {
  width: 100%;
  margin-top: 20px;
  border: 0;
}

.wa-modal__note {
  margin: 12px 0 0;
  color: #646464;
  font-size: 13px;
  text-align: center;
}

.wa-modal-open {
  overflow: hidden;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-actions .btn {
  flex: 1 1 210px;
}

@media (max-width: 600px) {
  .wa-modal__dialog {
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .wa-modal__body {
    padding: 18px;
  }

  .contact-actions {
    display: grid;
  }
}


/* Rechtliche Seiten, Footer und Cookie-Hinweis */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--accent-2);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.75;
}

.legal-content h2 {
  margin-top: 30px;
}

.legal-content a {
  color: var(--accent-2);
}

.cookie-banner {
  position: fixed;
  z-index: 10000;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 1050px;
  margin: 0 auto;
  background: #f7f5f0;
  color: #151515;
  border: 1px solid #d5d0c7;
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .45);
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}

.cookie-banner strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.45;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.cookie-link {
  color: #151515;
  text-decoration: underline;
  font-weight: 700;
}

@media (max-width: 720px) {
  .cookie-banner__content {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner__actions {
    justify-content: space-between;
  }
}


/* Verbesserte Responsivität für alle Bildschirmgrößen */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

main,
section,
article,
.contact-form,
.contact-card,
.hero-content,
.hero-card {
  min-width: 0;
}

input,
select,
textarea,
button {
  max-width: 100%;
  font: inherit;
}

.contact-actions .btn {
  margin-top: 0;
  min-height: 58px;
}

@media (max-width: 1100px) {
  .topbar {
    padding-left: 4%;
    padding-right: 4%;
  }

  .logo-box {
    width: 150px;
  }

  .hero,
  .section,
  .page-hero,
  .contact-layout {
    padding-left: 4%;
    padding-right: 4%;
  }
}

@media (max-width: 900px) {
  .topbar {
    position: relative;
    align-items: center;
  }

  .topbar>.logo {
    width: 100%;
  }

  .logo-box {
    width: min(180px, 55vw);
  }

  .topbar nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .topbar nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .contact-layout {
    gap: 24px;
  }
}

@media (max-width: 720px) {

  .hero-content h1,
  .page-hero h1 {
    font-size: clamp(34px, 11vw, 52px);
    letter-spacing: -1px;
    overflow-wrap: anywhere;
  }

  .hero-content p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-card,
  .info-panel,
  .promo-box,
  .contact-card,
  .contact-form,
  .split {
    padding: 22px;
    border-radius: 22px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-actions .btn {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links {
    width: 100%;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .cookie-banner__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner__actions .btn,
  .cookie-banner__actions .cookie-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 14px 16px;
  }

  .topbar nav {
    margin-left: -4px;
    margin-right: -4px;
  }

  nav a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero,
  .section,
  .page-hero,
  .contact-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .article-row {
    padding: 14px;
    border-radius: 18px;
  }

  .article-photo {
    height: 170px;
  }

  .wa-modal__header {
    padding: 16px;
  }

  .wa-modal__body {
    padding: 16px;
  }

  .wa-modal__intro {
    padding: 15px;
    font-size: 16px;
  }

  .wa-modal textarea {
    min-height: 150px;
  }
}

@media (min-width: 1600px) {

  .hero,
  .section,
  .page-hero,
  .contact-layout,
  footer {
    padding-left: max(6%, calc((100vw - 1500px) / 2));
    padding-right: max(6%, calc((100vw - 1500px) / 2));
  }

  .article-list,
  .legal-content {
    max-width: 1280px;
  }
}