/* =========================================================
   Werbe-Center-NRW — Relaunch
   Design-System / Stylesheet
   Fonts: Montserrat (Headings) + Open Sans (Body)
   Farben: Gold + Grün (Logo), Anthrazit
   ========================================================= */

:root {
  /* Markenfarben (aus dem Logo) */
  --gold:        #e3a23a;
  --gold-dark:   #cd7514;
  --gold-soft:   #f6e7cb;
  --green:       #9dac20;
  --green-dark:  #6f7c14;
  --green-soft:  #eef1d6;

  /* Neutrale */
  --ink:         #2b3138;
  --gray:        #4d4d4d;
  --muted:       #6c7480;
  --line:        #e7e7e2;
  --bg:          #ffffff;
  --bg-soft:     #f7f6f2;
  --bg-dark:     #2b3138;

  /* Maße */
  --container:   1180px;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 10px 30px rgba(43, 49, 56, .08);
  --shadow-lg:   0 20px 50px rgba(43, 49, 56, .14);
  --header-h:    102px;

  --ff-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-dark); }
ul { padding: 0; list-style: none; }

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.45rem); }
p { color: var(--gray); }
p + p { margin-top: 1rem; }

/* ---------- Layout-Helfer ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.78); }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); }
.eyebrow {
  display: inline-block; font-family: var(--ff-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: .75rem;
}
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 1rem + 3vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.divider { width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--green)); margin-top: 1.1rem; }
.center .divider { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
  padding: .82rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(227,162,58,.32); }
.btn--gold:hover { background: var(--gold-dark); color: #fff; box-shadow: 0 10px 26px rgba(205,117,20,.4); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(157,172,32,.3); }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold-soft); color: var(--gold-dark); }

/* =========================================================
   Header
   ========================================================= */
.topbar {
  background: var(--bg-dark); color: rgba(255,255,255,.82);
  font-size: .86rem;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--gold); }
.topbar__contact { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.topbar__contact span, .topbar__contact a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .ico { color: var(--gold); }
.topbar__lang { color: var(--green); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
/* backdrop-filter nur auf Desktop: auf Mobile würde er den Header zum
   Containing Block für das fixed positionierte Drawer-Menü machen */
@media (min-width: 1201px) {
  .site-header {
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
  }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: clamp(54px, 5.8vw, 76px); width: auto; max-width: none; }

/* Navigation */
.nav { display: flex; align-items: center; gap: .15rem; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .96rem;
  color: var(--ink); padding: .65rem .6rem; border-radius: 8px;
}
.nav > li > a:hover, .nav > li.is-active > a { color: var(--gold-dark); background: var(--bg-soft); }
.nav .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .6; }

/* Dropdown */
.has-sub > .submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: .4rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: .6rem .8rem; border-radius: 7px;
  font-family: var(--ff-head); font-weight: 500; font-size: .92rem; color: var(--gray);
}
.submenu a:hover { background: var(--green-soft); color: var(--green-dark); }
.submenu::before { content:""; position:absolute; top:-7px; left:24px; width:12px; height:12px; background:#fff; border-left:1px solid var(--line); border-top:1px solid var(--line); transform: rotate(45deg); }

.nav-cta { margin-left: .5rem; }
.nav-close-row { display: none; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after  { position: absolute; top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after  { top: 0; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(157,172,32,.16), transparent 60%),
    radial-gradient(900px 420px at 6% 110%, rgba(227,162,58,.18), transparent 55%),
    var(--bg-soft);
  padding-block: clamp(3.5rem, 2rem + 7vw, 7rem);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .hl { color: var(--gold-dark); }
.hero__text p { font-size: 1.15rem; max-width: 38ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__art {
  position: relative; aspect-ratio: 5/4; border-radius: 22px;
  background: linear-gradient(135deg, var(--green) 0%, var(--gold) 100%);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center; padding: 2rem;
  overflow: hidden; isolation: isolate;
}
.hero__art .slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.2s ease; z-index: -2;
}
.hero__art .slide.is-on { opacity: 1; }
.hero__art::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(165deg, rgba(43,49,56,.05) 30%, rgba(43,49,56,.38));
}
.hero__art .card {
  background: rgba(255,255,255,.96); border-radius: 16px; padding: 1.8rem;
  box-shadow: 0 14px 34px rgba(0,0,0,.16); width: 100%; max-width: 360px;
}
.hero__art .card h3 { margin-bottom: .4rem; }
.hero__art .card p { font-size: .98rem; }
.hero__art .pill { display:inline-block; font-family:var(--ff-head); font-weight:700; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--green-dark); background:var(--green-soft); padding:.3rem .7rem; border-radius:999px; margin-bottom:.9rem; }

/* Page hero (Unterseiten) */
.page-hero { background: var(--bg-dark); color: #fff; padding-block: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(700px 300px at 90% 0, rgba(227,162,58,.22), transparent 60%), radial-gradient(600px 280px at 0 100%, rgba(157,172,32,.2), transparent 60%); pointer-events:none; }
.page-hero h1 { color: #fff; position: relative; }
.page-hero .crumbs { position: relative; font-family: var(--ff-head); font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: .8rem; }
.page-hero .crumbs a { color: var(--gold); }
.page-hero .crumbs span { margin-inline: .45rem; opacity: .5; }
.page-hero p { color: rgba(255,255,255,.8); position: relative; max-width: 60ch; margin-top: .9rem; }

/* =========================================================
   Komponenten
   ========================================================= */
/* Feature-Karten */
.cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.card-feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-feature .ico-box {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-dark); margin-bottom: 1.1rem;
}
.card-feature:nth-child(2n) .ico-box { background: var(--gold-soft); color: var(--gold-dark); }
.card-feature h3 { margin-bottom: .5rem; }
.card-feature p { font-size: .99rem; }

/* Split (Text + Bild) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__text .eyebrow { margin-bottom: .5rem; }
.split__text h2 { margin-bottom: 1rem; }
.split + .split { margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }

/* Liste mit Häkchen */
.ticks { display: grid; gap: .7rem; margin-top: 1.2rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--gray); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/120% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/120% no-repeat;
}

/* Statistik / Zahlenband */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats .num { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); color: var(--gold); line-height: 1; }
.stats .lbl { font-size: .92rem; color: var(--muted); margin-top: .4rem; }

/* Leistungs-Grid (Home) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.svc {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.svc .ico-box { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.svc:nth-child(3n+2) .ico-box { background: var(--green-soft); color: var(--green-dark); }
.svc h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.svc p { font-size: .96rem; margin-bottom: .8rem; }
.svc .more { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--gold-dark); display: inline-flex; align-items: center; gap: .4rem; }
.svc:hover .more { gap: .65rem; }

/* Referenz-Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: contain; padding: 1.5rem; background: #fff; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: .9rem 1.1rem; font-family: var(--ff-head); font-weight: 600; font-size: .95rem; border-top: 1px solid var(--line); }

/* Logo-Reihe (Partner) */
.logos { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: center; justify-content: center; opacity: .9; }
.logos img { height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .25s; }
.logos img:hover { filter: none; opacity: 1; }

/* CTA-Band */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--green) 45%, var(--gold) 100%); color: #fff; border-radius: var(--radius); padding: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: .7rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 auto 1.6rem; }
.cta-band .btn--light { box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* Prose (Fließtext-Seiten) */
.prose { max-width: 820px; }
.prose h2 { margin: 2.2rem 0 .9rem; }
.prose h3 { margin: 1.8rem 0 .7rem; }
.prose p { margin-bottom: 1.05rem; }
.prose ul:not(.ticks) { margin: 1rem 0 1.2rem; display: grid; gap: .5rem; }
.prose ul:not(.ticks) li { position: relative; padding-left: 1.4rem; color: var(--gray); }
.prose ul:not(.ticks) li::before { content:""; position:absolute; left:.2rem; top:.7em; width:7px; height:7px; border-radius:50%; background: var(--gold); }
.prose blockquote { border-left: 4px solid var(--green); background: var(--bg-soft); padding: 1.1rem 1.4rem; border-radius: 0 10px 10px 0; margin: 1.4rem 0; font-style: italic; color: var(--ink); }
.prose .callout { background: var(--gold-soft); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin: 1.4rem 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,1rem+3vw,3.5rem); align-items: start; }
.contact-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.contact-list { display: grid; gap: 1.3rem; }
.contact-list .row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ico-box { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; }
.contact-list .row:nth-child(2n) .ico-box { background: var(--gold-soft); color: var(--gold-dark); }
.contact-list .lbl { font-family: var(--ff-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.contact-list a { font-size: 1.05rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 0; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 60px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .95rem; }
.footer-links { display: grid; gap: .6rem; }
.footer-contact { display: grid; gap: .7rem; font-size: .95rem; }
.footer-contact .ico { color: var(--gold); margin-right: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(2rem,1rem+3vw,3.5rem); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer-bottom nav { display: flex; gap: 1.2rem; }

/* Icon-Helfer */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-box .ico { width: 24px; height: 24px; }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; }
  .cards, .svc-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { gap: 2rem 1.5rem; }
}

@media (max-width: 1200px) {
  /* Mobile-Nav (Burger greift, sobald die volle Navigation nicht mehr passt) */
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 1rem 2rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; z-index: 70;
  }
  .nav-close-row { display: flex; justify-content: flex-end; margin-bottom: .6rem; }
  .nav-close {
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--ink);
    display: grid; place-items: center;
  }
  .nav-close:hover { border-color: var(--gold); color: var(--gold-dark); }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav > li > a { padding: .85rem .6rem; border-radius: 8px; justify-content: space-between; width: 100%; }
  .nav .caret { transition: transform .2s; }
  .has-sub.open .caret { transform: rotate(225deg); margin-top: 2px; }
  .has-sub > .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 .4rem .8rem; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .has-sub.open > .submenu { max-height: 340px; }
  .has-sub > .submenu::before { display: none; }
  .nav-cta { margin: .8rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: .25s; z-index: 58; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
}

@media (max-width: 560px) {
  .cards, .svc-grid, .gallery, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { justify-content: flex-start; }
}
