/* =========================================================
   BAYER Marketing – Redesign 2026 · Variante 3 (Mix)
   Nav + Hero + Angebotskarten + Footer von V1
   „Wir kümmern uns" (Hintergrund #7D7A64), Homepage-Band
   und Preisrechner (Pizza Flyer zuerst) von V2
   Farbwelt D · Font: Manrope (lokal)
   ========================================================= */

@font-face{
  font-family:'Manrope';
  font-style:normal;
  font-weight:200 800;
  font-display:swap;
  src:url('../assets/fonts/manrope-latin-var.woff2') format('woff2');
}

:root{
  --navy:#122A6B;
  --navy-deep:#0F1B33;
  --navy-light:#26559E;     /* Verlaufstart der Titelbänder (hell) */
  --blue:#2250fc;
  --amber:#F5A31C;
  --amber-dark:#D98A08;
  --steel:#011142;          /* Hintergrund „Wir kümmern uns"-Block */
  --ice:#EEF3FF;
  --ice-line:#D9E2F5;
  --white:#ffffff;
  --ink:#16223B;
  --muted:#5B6B8C;
  --radius:14px;
  --shadow:0 10px 30px rgba(18,42,107,.10);
  --shadow-lg:0 24px 60px rgba(15,27,51,.18);
  --head-h:74px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:'Manrope',system-ui,-apple-system,Segoe UI,sans-serif;
  font-size:16px;line-height:1.65;color:var(--ink);background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy);text-decoration:none}
ul,ol{list-style:none;margin:0;padding:0}
h1,h2,h3,h4,h5{line-height:1.16;margin:0 0 .5em;font-weight:800;color:var(--navy-deep);letter-spacing:-.012em}
h1{font-size:clamp(30px,4.6vw,52px)}
h2{font-size:clamp(23px,3vw,34px)}
h3{font-size:19px}
p{margin:0 0 1em}
.container{width:min(1180px,92%);margin-inline:auto}

.btn{display:inline-block;font-weight:700;font-size:15px;padding:12px 26px;border-radius:999px;border:2px solid transparent;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;cursor:pointer}
.btn-sm{font-size:13px;padding:8px 16px}
.btn:hover{transform:translateY(-2px)}
.btn-amber{background:var(--amber);color:var(--navy-deep);box-shadow:0 8px 20px rgba(245,163,28,.35)}
.btn-amber:hover{background:var(--amber-dark)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-deep)}
.btn-ghost{border-color:rgba(255,255,255,.65);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.12)}

/* ---------- Topbar (V1) ---------- */
.topbar{background:var(--navy-deep);color:#C7D4F2;font-size:13px}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;min-height:38px;gap:16px;flex-wrap:wrap}
.topbar-info{display:flex;gap:22px;align-items:center}
.topbar-info li{display:flex;align-items:center;gap:7px}
.tb-ico{color:var(--amber);font-size:14px}

/* ---------- Header + Mega-Menü (V1) ---------- */
.site-header{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.94);border-bottom:1px solid var(--ice-line);transition:box-shadow .25s ease}
.site-header.is-scrolled{box-shadow:0 6px 24px rgba(18,42,107,.12)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:var(--head-h);gap:20px}
.brand img{height:46px;width:auto}

.nav-root{display:flex;align-items:center;gap:4px}
.nav-root>li>a,.nav-trigger{
  display:inline-flex;align-items:center;gap:6px;
  font:inherit;font-weight:700;font-size:14.5px;color:var(--navy-deep);
  background:none;border:0;padding:10px 13px;border-radius:10px;cursor:pointer;position:relative;
}
.nav-root>li>a::after{content:"";position:absolute;left:13px;right:13px;bottom:5px;height:2px;background:var(--amber);border-radius:2px;transform:scaleX(0);transform-origin:left;transition:transform .22s ease}
.nav-root>li>a:hover::after,.nav-root>li>a.is-active::after{transform:scaleX(1)}
.nav-root>li>a.is-active{color:var(--blue)}
.nav-trigger .chev{transition:transform .2s ease}
.has-mega.open .nav-trigger .chev{transform:rotate(180deg)}
.has-mega.open .nav-trigger{background:var(--ice)}

.mega{
  position:absolute;left:50%;translate:-50% 0;top:calc(100% + 10px);
  width:min(1120px,94vw);background:#fff;border:1px solid var(--ice-line);
  border-radius:18px;box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
  padding:28px 0 30px;
}
.has-mega.open .mega{opacity:1;visibility:visible;transform:translateY(0)}
.mega::before{content:"";position:absolute;inset:-12px -12px auto;height:12px}
.mega-grid{display:grid;grid-template-columns:1.05fr 1.05fr 1.5fr 1fr;gap:30px}
.mega-col h4{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:14px;font-weight:800}
.badge-top{display:inline-block;background:var(--amber);color:var(--navy-deep);font-size:10px;padding:2px 8px;border-radius:999px;letter-spacing:.06em;vertical-align:middle;margin-left:4px}
.mega-col li a{display:flex;flex-direction:column;padding:8px 10px;border-radius:10px;transition:background .15s ease}
.mega-col li a:hover{background:var(--ice)}
.mega-col li a b{font-size:14.5px;color:var(--navy-deep);font-weight:700}
.mega-col li a span{font-size:12px;color:var(--muted)}
.mega-teasers{display:flex;flex-direction:column;gap:14px}
.mega-teaser{display:flex;gap:14px;align-items:center;background:var(--ice);border-radius:12px;padding:12px;border:1px solid var(--ice-line)}
.mega-teaser img{width:86px;height:64px;object-fit:cover;border-radius:8px;flex:none}
.mega-teaser b{display:block;font-size:14px;color:var(--navy-deep)}
.mega-teaser span{font-size:12px;color:var(--muted)}
.mega-cta{background:linear-gradient(160deg,var(--navy) 0%,var(--navy-deep) 100%);border-radius:14px;padding:22px;color:#DCE5FA}
.mega-cta h4{color:#fff;margin-bottom:10px}
.mega-cta p{font-size:13px;line-height:1.55}
.mega-cta .btn{margin-bottom:14px}
.link-ghost{display:block;font-size:13px;font-weight:700;color:#fff}
.link-ghost:hover{color:var(--amber)}

.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;padding:10px;cursor:pointer}
.nav-toggle span{width:26px;height:3px;background:var(--navy-deep);border-radius:3px;transition:transform .2s ease,opacity .2s ease}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* ---------- Hero-Slider (V1) ---------- */
.hero{position:relative;min-height:clamp(495px,67vh,644px);background:var(--navy-deep)}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .9s ease;pointer-events:none}
.hero-slide.is-active{opacity:1;pointer-events:auto;position:relative;min-height:inherit;display:flex;align-items:center}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,27,51,.88) 0%,rgba(18,42,107,.62) 55%,rgba(18,42,107,.28) 100%)}
.hero-content{position:relative;color:#fff;padding:81px 0 110px}
.hero-content .kicker{color:var(--amber);font-weight:800;letter-spacing:.16em;text-transform:uppercase;font-size:13px;margin-bottom:10px}
.hero-content h1,.hero-content h2.hero-h2{color:#fff;max-width:18ch}
.hero-content .lead{font-size:clamp(16px,1.8vw,19px);color:#DCE5FA;max-width:46ch}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.hero-dots{position:absolute;left:50%;translate:-50% 0;bottom:88px;display:flex;gap:9px;z-index:5}
.dot{width:10px;height:10px;border-radius:999px;border:0;background:rgba(255,255,255,.45);cursor:pointer;padding:0;transition:all .2s ease}
.dot.is-active{background:var(--amber);width:26px}
.hero-stats{position:absolute;left:0;right:0;bottom:0;z-index:4;background:#E6EBF3;box-shadow:0 -8px 30px rgba(15,27,51,.15)}
.hero-stats-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px 0}
.hero-stats div{text-align:center}
.hero-stats b{display:block;font-size:19px;color:var(--navy);font-weight:800}
.hero-stats span{font-size:12px;color:#3D4A66}

/* ---------- Sections ---------- */
.section{padding:72px 0}
.section-tight{padding:48px 0}
.section-ice{background:var(--ice)}
.section-welcome{padding:56px 0 0}
.head-center{text-align:center;max-width:780px;margin:0 auto 42px}
.head-left{max-width:780px;margin-bottom:38px}
.head-split{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:36px;flex-wrap:wrap}
.head-split h2{margin-bottom:.2em}
.sub{color:var(--muted);font-size:17px}
.eyebrow{color:var(--blue);font-weight:800;text-transform:uppercase;letter-spacing:.14em;font-size:12px;margin-bottom:8px}

/* ---------- Wir kümmern uns (Dunkelblau #011142) ---------- */
.section-steel{background:var(--steel);color:#fff}
.section-steel .eyebrow.amber{color:#FFD98A}
.section-steel h2{color:#fff}
.section-steel h2 span{color:#9FBEF8}
.why{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:start}
.why-head .lead{color:#F0EFE6}
.why-list li{display:flex;gap:22px;padding:22px 0;border-bottom:1px solid rgba(255,255,255,.25)}
.why-list li:first-child{padding-top:0}
.why-list li:last-child{border-bottom:0}
.why-list span{font-size:26px;font-weight:800;color:#FFD98A;flex:none;width:52px}
.why-list h3{color:#fff;font-size:17px;margin-bottom:4px}
.why-list p{font-size:14px;color:#F0EFE6;margin:0}

/* ---------- Was wir für Sie tun (V1-Karten) ---------- */
.offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.offer-card{display:block;background:#fff;border:1px solid var(--ice-line);border-radius:var(--radius);padding:26px;transition:transform .18s ease,box-shadow .18s ease}
.offer-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.offer-ico{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:var(--ice);color:var(--navy);font-size:20px;margin-bottom:14px}
.offer-card h3{font-size:17px}
.offer-card h3 a:hover{color:var(--amber);text-decoration:underline}
.offer-card p{font-size:14px;color:var(--muted);margin:0}

/* ---------- Homepage-Band (V2) ---------- */
.web-band{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px;align-items:center}
.web-img img{max-width:340px;margin-inline:auto}
.web-copy p{color:var(--muted)}
.web-chips{margin-top:24px}
.chips-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:10px}
.web-chips a{display:inline-block;font-size:13px;font-weight:700;color:var(--navy-deep);background:var(--ice);border:1px solid var(--ice-line);border-radius:999px;padding:8px 16px;margin:0 8px 8px 0;transition:all .15s ease}
.web-chips a:hover{background:var(--navy);color:#fff}

/* ---------- Aktuelle Angebote (V1-Karten) ---------- */
.deal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.deal{background:#fff;border:1px solid var(--ice-line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}
.deal:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.deal img{width:100%;height:170px;object-fit:cover}
.deal-body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
.deal-body h3{font-size:16px}
.deal-meta{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--blue);margin-bottom:6px}
.deal-body p{font-size:13.5px;color:var(--muted)}
.deal-price{margin-top:auto;background:var(--navy);color:#fff;font-weight:800;font-size:18px;text-align:center;border-radius:10px;padding:10px}

/* ---------- Preisrechner (V2, vertikale Tabs) ---------- */
.calc{background:#fff;border:1px solid var(--ice-line);border-radius:22px;box-shadow:var(--shadow-lg);display:grid;grid-template-columns:210px 1fr;overflow:hidden}
.calc-tabs{display:flex;flex-direction:column;gap:4px;padding:20px 14px;background:var(--navy-deep)}
.calc-tab{font:inherit;font-weight:700;font-size:13.5px;color:#C7D4F2;background:transparent;border:0;border-radius:10px;padding:11px 14px;cursor:pointer;text-align:left;transition:all .15s ease}
.calc-tab:hover{background:rgba(255,255,255,.08);color:#fff}
.calc-tab.is-active{background:var(--amber);color:var(--navy-deep)}
.calc-body{display:grid;grid-template-columns:1.15fr .85fr}
.calc-form{padding:28px 26px;display:flex;flex-direction:column;gap:18px}
.fld span{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:7px}
.fld select{
  width:100%;font:inherit;font-weight:600;font-size:15px;color:var(--ink);
  background:var(--ice);border:1.5px solid var(--ice-line);border-radius:12px;
  padding:13px 16px;appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23122A6B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;
}
.fld select:focus{outline:2px solid var(--amber);outline-offset:1px}
.fld-note{font-size:13px;color:var(--muted);background:var(--ice);border-left:3px solid var(--amber);padding:10px 14px;border-radius:0 10px 10px 0}
.fld-note:empty{display:none}
.calc-result{background:linear-gradient(165deg,var(--navy) 0%,var(--navy-deep) 100%);color:#fff;padding:32px 28px;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.calc-result-label{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:#C7D4F2;font-weight:800}
.calc-price{font-size:clamp(36px,4.5vw,52px);font-weight:800;color:var(--amber);margin:4px 0 2px;line-height:1.05}
.calc-per{font-size:13px;color:#C7D4F2;margin-bottom:10px}
.calc-incl{font-size:13px;color:#fff;border:1px dashed rgba(255,255,255,.35);border-radius:10px;padding:8px 12px;margin-bottom:18px}
.calc-hint{font-size:11.5px;color:#9FB0D6;margin-top:14px;line-height:1.5}

/* ---------- Kunden-Marquee ---------- */
.marquee{overflow:hidden;position:relative;padding:8px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee-track{display:flex;gap:26px;width:max-content;animation:marquee 40s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track img{height:64px;width:auto;border-radius:10px;border:1px solid var(--ice-line)}
@keyframes marquee{to{transform:translateX(-50%)}}

/* ---------- Footer (V1) ---------- */
.site-footer{background:var(--navy-deep);color:#C7D4F2;font-size:14.5px}
.footer-top{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding:52px 0 40px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-info{display:flex;gap:14px}
.fi-ico{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:rgba(245,163,28,.15);color:var(--amber);font-size:19px}
.footer-info h3{color:#fff;font-size:16px;margin-bottom:4px}
.footer-info p{margin:0;color:#9FB0D6}
.footer-main{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding:44px 0}
.footer-about img{height:44px;width:auto;background:#fff;border-radius:10px;padding:6px 10px;margin-bottom:16px}
.footer-about p{color:#9FB0D6}
.footer-col h4{color:#fff;font-size:15px;margin-bottom:14px}
.footer-col li a{display:inline-block;color:#C7D4F2;padding:4px 0;font-size:14px}
.footer-col li a:hover{color:var(--amber)}
.footer-copy{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;font-size:13px;color:#9FB0D6;text-align:center}
.footer-copy a{color:#C7D4F2}
.footer-copy a:hover{color:var(--amber)}
/* Vom Mobil-Browser auto-erkanntes Telefon-/Mail-Number („tel:"-Link) nicht blau einfärben */
a[href^="tel:"],a[href^="mailto:"],a[x-apple-data-detectors],a[data-detected-link]{color:inherit!important;text-decoration:none!important;font-size:inherit!important;font-family:inherit!important;line-height:inherit!important}

/* ---------- Scroll top ---------- */
#scrollTop{position:fixed;right:22px;bottom:22px;z-index:80;display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:var(--navy);color:#fff;font-size:18px;box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease}
#scrollTop.is-visible{opacity:1;pointer-events:auto}
#scrollTop:hover{background:var(--amber);color:var(--navy-deep);transform:translateY(-3px)}

/* ---------- Unterseiten (Vorlage ab flyer.html) ---------- */
.page-hero{background:linear-gradient(165deg,var(--navy-light) 0%,var(--navy) 52%,var(--navy-deep) 100%);color:#fff;padding:60px 0 52px}
.page-hero h1{color:#fff;font-size:clamp(30px,4.6vw,44px);margin-bottom:.25em}
.page-hero .ph-sub{color:#C7D4F2;font-size:17px;margin:0}
.page-hero .ph-cta{margin-top:22px;display:flex;gap:12px;flex-wrap:wrap}
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.price-grid.five{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.pcard{background:#fff;border:1px solid var(--ice-line);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;box-shadow:var(--shadow)}
.pcard h3{font-size:16px;margin-bottom:4px}
.pc-run{font-size:13px;color:var(--muted);margin:0 0 10px}
.pc-price{font-size:29px;font-weight:800;color:var(--navy);letter-spacing:-.02em;line-height:1}
.pc-price sup{font-size:15px;font-weight:700;top:-.9em}
.pc-extra{font-size:13px;color:var(--muted);margin:8px 0 0}
.pcard ul{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--ice-line);display:grid;gap:7px;font-size:13.5px;color:#3D4A66}
.pcard ul li::before{content:"✓";color:var(--amber);font-weight:800;margin-right:8px}
.prose{max-width:780px}
.prose h3{font-size:22px;margin-bottom:.4em}
.prose h4{font-size:17px;color:var(--navy);margin-bottom:.6em}
.prose p{margin-bottom:1em}
.cta-band{background:var(--ice);border-top:1px solid var(--ice-line);padding:44px 0}
.cta-band-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.cta-band h2{font-size:24px;margin:0}
.cta-band p{margin:6px 0 0;color:var(--muted)}
.table-wrap{overflow-x:auto}
table.ptable{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--ice-line);font-size:14px;min-width:560px}
.ptable th,.ptable td{border:1px solid var(--ice-line);padding:10px 12px;text-align:center}
.ptable thead th{background:var(--navy);color:#fff;font-size:13px;font-weight:700}
.ptable tbody th{background:var(--ice);font-weight:700;color:var(--navy-deep)}
.ptable tfoot td{background:var(--ice);font-weight:700;color:var(--navy-deep)}

/* ---------- Responsive ---------- */
@media (max-width:1120px){
  .mega{width:min(960px,94vw)}
  .mega-grid{grid-template-columns:1fr 1fr}
  .mega-teasers{flex-direction:row}
  .mega-teaser{flex:1}
  .mega-teaser img{display:none}
}
@media (max-width:980px){
  .why{grid-template-columns:1fr;gap:34px}
  .web-band{grid-template-columns:1fr;gap:30px}
  .calc{grid-template-columns:1fr}
  .calc-body{grid-template-columns:1fr}
  .calc-tabs{flex-direction:row;flex-wrap:wrap}
}
@media (max-width:960px){
  .nav-toggle{display:flex}
  body.nav-open .topbar{display:none}   /* Panel-Kante sitzt immer exakt unter dem Header */
  .main-nav{
    position:fixed;top:calc(var(--head-h) + 1px);left:0;right:0;bottom:0;background:#fff;overflow-y:auto;padding:20px 5%;
    transform:translateX(100%);transition:transform .28s ease;z-index:70;
  }
  body.nav-open .main-nav{transform:translateX(0)}
  body.nav-open{overflow:hidden}
  .nav-root{flex-direction:column;align-items:stretch;gap:0}
  .nav-root>li{border-bottom:1px solid var(--ice-line)}
  .nav-root>li>a,.nav-trigger{width:100%;justify-content:space-between;font-size:16px;padding:15px 4px}
  .nav-root>li>a::after{display:none}
  .mega{position:static;width:100%;transform:none;translate:0 0;opacity:1;visibility:visible;box-shadow:none;border:0;border-radius:0;padding:0 0 14px;display:none}
  .has-mega.open .mega{display:block}
  .mega-grid{grid-template-columns:1fr;gap:6px}
  .mega-col h4{margin:12px 0 6px}
  .mega-teasers{display:none}
  .mega-cta{margin-top:14px}
  .offer-grid,.deal-grid{grid-template-columns:1fr 1fr}
  .footer-top,.footer-main{grid-template-columns:1fr}
}
@media (max-width:620px){
  .topbar{display:none}
  .offer-grid,.deal-grid{grid-template-columns:1fr}
  .hero-stats-inner{grid-template-columns:1fr 1fr}
  .hero-content{padding:53px 0 127px}
  .hero-dots{bottom:120px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
  .marquee-track{animation:none}
}
