/* ==========================================================================
   VERKEHRSLEITER DEUTSCHLAND — Corporate Stylesheet
   Manrope (Headlines) + Inter (Fließtext) — ruhig, seriös, ohne Spielereien
   ========================================================================== */

:root{
  --navy:#5B5D6E;
  --navy-deep:#4a4c5a;
  --hero-black:#34353f;
  --white:#ffffff;
  --paper:#f6f7f9;
  --ink:#1b2530;
  --text-soft:#5c6672;
  --orange:#7BA8C8;
  --orange-deep:#6489a4;
  --eyebrow-color:#c2410c;
  --eyebrow-color-on-dark:#ea580c;
  --line: rgba(15,27,45,0.12);
  --line-on-dark: rgba(255,255,255,0.14);
  --radius:8px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0; background:var(--white); color:var(--ink);
  font-family:'Inter', sans-serif; font-size:16px; line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{ font-family:'Manrope', sans-serif; margin:0; font-weight:800; line-height:1.2; color:var(--navy); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.wrap{ max-width:1200px; margin:0 auto; padding:0 24px; }
.eyebrow{ font-family:'IBM Plex Sans',sans-serif; font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--eyebrow-color); font-weight:600; }
::selection{ background:var(--orange); color:var(--white); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{ outline:2px solid var(--orange); outline-offset:3px; }

/* ===== Header ===== */
header{ position:sticky; top:0; z-index:100; background:var(--navy); border-bottom:1px solid rgba(255,255,255,0.14); }

header.header-overlay{ position:relative; z-index:100; }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:10px 24px; max-width:1200px; margin:0 auto; }
.brand{ display:flex; align-items:center; gap:12px; }
.header-logo-link{ display:flex; align-items:center; }
.header-logo-link img{ height:64px; width:auto; display:block; }
@media(max-width:600px){ .header-logo-link img{ height:46px; } }
/* .brand-mark bleibt aus Kompatibilitätsgründen nutzbar, ist aber wie das neue Logo transparent/groß gestaltet */
.brand-mark{ width:auto; height:46px; display:flex; align-items:center; justify-content:center; flex:none; overflow:visible; }
.brand-mark img{ width:auto; height:100%; object-fit:contain; }
@media(max-width:600px){ .brand-mark{ height:34px; } }
.brand-name{ font-family:'Manrope',sans-serif; font-weight:700; font-size:17px; letter-spacing:-.01em; color:#ffffff; }
.brand-name span{ display:block; font-size:10.5px; font-weight:500; letter-spacing:.04em; color:rgba(255,255,255,0.65); text-transform:uppercase; font-family:'IBM Plex Sans',sans-serif; }
nav.links{ display:flex; align-items:center; gap:28px; }
nav.links a{ font-size:14px; font-weight:600; position:relative; padding:4px 0; }
nav.links a:not(.cta){ color:rgba(255,255,255,0.9); }
nav.links a:not(.cta)::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--orange); transition:width .2s ease; }
nav.links a:not(.cta):hover::after{ width:100%; }
.cta-btn{ background:var(--orange); color:var(--white) !important; padding:11px 20px; border-radius:var(--radius); font-weight:700; font-size:13.5px; transition:background .2s ease; }
.cta-btn:hover{ background:var(--orange-deep); }
.burger{ display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:8px; }
.burger span{ width:24px; height:2px; background:#ffffff; display:block; }

.nav-item-dropdown{ position:relative; }
.dropdown-panel{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(6px); min-width:290px;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 18px 40px rgba(15,27,45,0.12);
  padding:.5rem; opacity:0; visibility:hidden; transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
}
/* Hover-Aufklappen NUR für echte Zeigegeräte (Maus) — auf Touch (Handy/Tablet)
   simulieren manche Browser bei Tap sonst einen Hover-Zustand, was zu einem
   Anzeigefehler führt. Auf Touch wird das Dropdown stattdessen weiter unten
   (siehe @media max-width:900px) einfach statisch eingeblendet. */
@media (hover:hover) and (pointer:fine){
  .nav-item-dropdown:hover .dropdown-panel{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
}
.dropdown-panel a{ display:block; padding:.7rem .9rem; border-radius:6px; font-size:13.5px; font-weight:500; }
@media(min-width:901px){
  .dropdown-panel a{ color:var(--ink) !important; }
  .dropdown-panel a:hover{ background:var(--paper); color:var(--orange-deep) !important; }
}
.dropdown-panel a::after{ display:none; }

@media(max-width:900px){
  nav.links{ display:none; }
  nav.links.mobile-open{
    display:flex !important; flex-direction:column; align-items:flex-start; position:absolute; top:100%; left:0; right:0;
    background:var(--navy); border-bottom:1px solid rgba(255,255,255,0.14); padding:20px 24px; gap:16px;
    max-height:calc(100vh - 70px); overflow-y:auto;
  }
  .burger{ display:flex; }

  /* Dropdown auf Mobile: kein Hover-Overlay, stattdessen normal eingerückt anzeigen */
  .nav-item-dropdown{ width:100%; }
  .dropdown-panel{
    position:static; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:none; background:none; padding:6px 0 0 14px; margin-top:8px;
    min-width:0; width:100%; display:flex; flex-direction:column; gap:2px;
  }
  .dropdown-panel a{ padding:.55rem 0; font-size:13px; color:rgba(255,255,255,0.75) !important; }
}

/* ===== Buttons ===== */
.btn-primary{ background:var(--orange); color:var(--white); padding:15px 28px; border-radius:var(--radius); font-weight:700; font-size:15px; display:inline-flex; align-items:center; gap:.5em; border:none; cursor:pointer; transition:background .15s ease; }
.btn-primary:hover{ background:var(--orange-deep); }
.btn-secondary{ border:1.5px solid var(--navy); padding:14.5px 28px; border-radius:var(--radius); font-weight:700; font-size:15px; color:var(--navy); display:inline-flex; align-items:center; transition:background .15s ease, color .15s ease; }
.btn-secondary:hover{ background:var(--navy); color:var(--white); }
.btn-on-dark{ border:1.5px solid rgba(255,255,255,0.4); padding:14.5px 28px; border-radius:var(--radius); font-weight:700; font-size:15px; color:var(--white); display:inline-flex; align-items:center; transition:background .15s ease, color .15s ease; }
.btn-on-dark:hover{ background:var(--white); color:var(--navy); }

/* ===== Hero ===== */
.hero{ position:relative; background:var(--hero-black); color:var(--white); overflow:hidden; }
.hero-photo{
  position:absolute; inset:0; z-index:0;
  background-color:var(--hero-black);
  background-image:url('../images/hero-logistik.png'); background-size:cover; background-position:center;
}
/* Animiertes, deutlich sichtbares Raster als gestalteter Hintergrund, solange kein echtes Foto hinterlegt ist */
.hero-photo::before{
  content:""; position:absolute; inset:-64px;
  background-image:
    linear-gradient(rgba(210,217,226,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210,217,226,0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-drift 40s linear infinite;
}
@keyframes grid-drift{
  from{ transform:translate(0,0); }
  to{ transform:translate(64px,64px); }
}
@media (prefers-reduced-motion: reduce){
  .hero-photo::before{ animation:none; }
}
.hero-photo::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 22% 15%, rgba(123,168,200,0.12), transparent 55%),
    linear-gradient(180deg, rgba(52,53,63,0.55) 0%, rgba(52,53,63,0.8) 100%);
}

/* Laufende Punkte entlang der Rasterlinien — "Verkehr auf Routen" */
.grid-dot{
  position:absolute; z-index:5; width:9px; height:9px; border-radius:50%;
  background:#ffffff; box-shadow:0 0 16px 4px rgba(123,168,200,0.95), 0 0 4px 1px #ffffff;
}
.grid-dot.dot-x{ left:-12px; animation:dot-run-x 7s linear infinite; }
.grid-dot.dot-y{ top:-12px; animation:dot-run-y 8s linear infinite; }
@keyframes dot-run-x{
  0%{ transform:translateX(0); opacity:0; }
  6%{ opacity:1; }
  94%{ opacity:1; }
  100%{ transform:translateX(110vw); opacity:0; }
}
@keyframes dot-run-y{
  0%{ transform:translateY(0); opacity:0; }
  6%{ opacity:1; }
  94%{ opacity:1; }
  100%{ transform:translateY(900px); opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .grid-dot{ display:none; }
}
@media (max-width:900px){
  .grid-dot{ display:none; }
}
.hero-grid{ position:relative; z-index:2; display:grid; grid-template-columns:1fr; padding:64px 0 60px; }
.hero-copy{ max-width:44ch; }
.hero-copy h1{ font-size:clamp(2.1rem, 4.2vw, 3rem); color:var(--white); max-width:19ch; }
.hero-tag{ margin-top:20px; font-size:16.5px; color:rgba(255,255,255,0.75); max-width:52ch; }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }

/* Foto-Platzhalter (weiterhin genutzt in „Über uns"): Kamera-Rahmen-Ecken statt generischem Icon */
.photo-frame{
  aspect-ratio:3/4; border-radius:var(--radius); position:relative; overflow:hidden;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 14px);
  border:1px solid rgba(255,255,255,0.14);
  display:flex; align-items:center; justify-content:center;
}
.photo-frame::before, .photo-frame::after,
.photo-frame .corner-tl, .photo-frame .corner-br{ content:""; position:absolute; width:22px; height:22px; }
.photo-frame::before{ top:14px; left:14px; border-top:2px solid var(--orange); border-left:2px solid var(--orange); }
.photo-frame::after{ bottom:14px; right:14px; border-bottom:2px solid var(--orange); border-right:2px solid var(--orange); }
.photo-frame svg{ width:30%; height:30%; color:rgba(255,255,255,0.4); }
.photo-frame span{ position:absolute; bottom:14px; left:44px; font-size:11px; color:rgba(255,255,255,0.55); font-family:'IBM Plex Sans',sans-serif; }

@media(max-width:900px){ .hero-grid{ padding-bottom:60px; } }

.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

section{ padding:96px 0; }
.section-head{ max-width:680px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(1.9rem,3.6vw,2.5rem); margin-top:12px; }
.section-head p{ margin-top:14px; color:var(--text-soft); font-size:16.5px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ display:block; }

/* ===== Trust stat row (flach, keine Karten) ===== */
.trust-row{
  display:flex; flex-wrap:wrap; gap:2.5rem; justify-content:space-between;
  padding:3rem 0; border-bottom:1px solid var(--line);
}
.trust-stat{ flex:1 1 200px; }
.trust-stat .num{ font-family:'Manrope',sans-serif; font-weight:800; font-size:2.4rem; color:var(--navy); }
.trust-stat .lbl{ font-size:14px; color:var(--text-soft); margin-top:.3rem; }

/* ===== Leistungen: große Bild/Text-Blöcke ===== */
.service-row{ display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; padding:4rem 0; border-bottom:1px solid var(--line); }
.service-row:last-child{ border-bottom:none; padding-bottom:0; }
.service-row:first-child{ padding-top:0; }
.service-row.reverse{ direction:rtl; }
.service-row.reverse > *{ direction:ltr; }
.service-visual{ aspect-ratio:4/3; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; }
.service-visual svg{ width:26%; height:26%; color:var(--navy); opacity:.75; }
.service-copy .eyebrow{ display:block; margin-bottom:.8rem; }
.service-copy h3{ font-size:1.7rem; }
.service-copy p.intro{ margin-top:1rem; color:var(--text-soft); font-size:16px; }
.service-copy ul{ margin-top:1.4rem; display:flex; flex-direction:column; gap:.7rem; }
.service-copy ul li{ display:flex; align-items:flex-start; gap:.6em; font-size:14.5px; color:var(--ink); }
.service-copy ul li svg{ width:16px; height:16px; color:var(--orange-deep); flex:none; margin-top:3px; }
.service-copy .btn-secondary{ margin-top:1.6rem; }
@media(max-width:900px){ .service-row{ grid-template-columns:1fr; gap:2rem; padding:2.6rem 0; } .service-row.reverse{ direction:ltr; } .service-row .service-visual{ order:-1; } }

/* ===== Warum-Sektion ===== */
.why-section{ background:var(--paper); }
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2.6rem 2rem; }
.why-item{ display:flex; gap:1rem; align-items:flex-start; }
.why-icon{ width:44px; height:44px; border-radius:6px; background:var(--navy); display:flex; align-items:center; justify-content:center; flex:none; }
.why-icon svg{ width:20px; height:20px; color:var(--orange); }
.why-item h3{ font-size:16px; }
.why-item p{ font-size:13.5px; color:var(--text-soft); margin-top:.4rem; }
@media(max-width:900px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .why-grid{ grid-template-columns:1fr; } }

/* ===== Ablauf: Timeline ===== */
.timeline{ display:grid; grid-template-columns:repeat(5,1fr); gap:1.6rem; position:relative; }
.timeline::before{ content:""; position:absolute; top:24px; left:6%; right:6%; height:1px; background:var(--line); z-index:0; }
.timeline-step{ position:relative; z-index:1; }
.timeline-num{ width:48px; height:48px; border-radius:50%; background:var(--navy); color:var(--orange); font-family:'Manrope',sans-serif; font-weight:800; font-size:1.1rem; display:flex; align-items:center; justify-content:center; margin-bottom:1.1rem; }
.timeline-step h3{ font-size:14.5px; }
@media(max-width:900px){ .timeline{ grid-template-columns:1fr 1fr; } .timeline::before{ display:none; } }
@media(max-width:560px){ .timeline{ grid-template-columns:1fr; } }

/* ===== Über uns ===== */
.about-section{ background:var(--paper); }
.about-grid{ display:grid; grid-template-columns:.8fr 1.2fr; gap:3.6rem; align-items:center; }
.about-visual{
  aspect-ratio:4/5; border-radius:var(--radius); position:relative; overflow:hidden;
  background-color:var(--navy);
  background-image:
    linear-gradient(155deg, rgba(91,93,110,0.55) 0%, rgba(74,76,90,0.75) 100%),
    url('../images/portrait-markus-hoffmann.jpg');
  background-size:cover; background-position:center;
  display:flex; align-items:center; justify-content:center;
}
.about-visual::before, .about-visual::after{ content:""; position:absolute; width:22px; height:22px; }
.about-visual::before{ top:14px; left:14px; border-top:2px solid var(--orange); border-left:2px solid var(--orange); }
.about-visual::after{ bottom:14px; right:14px; border-bottom:2px solid var(--orange); border-right:2px solid var(--orange); }
.about-visual svg{ width:30%; height:30%; color:rgba(255,255,255,0.45); }
.about-visual span{ position:absolute; bottom:14px; left:44px; font-size:11px; color:rgba(255,255,255,0.55); font-family:'IBM Plex Sans',sans-serif; }
.about-copy p{ color:var(--text-soft); font-size:16.5px; }
.about-copy p + p{ margin-top:14px; }
@media(max-width:900px){ .about-grid{ grid-template-columns:1fr; } .about-visual{ order:-1; max-width:320px; margin:0 auto; } }

/* ===== Client banner (flach, kein Card-Hover) ===== */
.client-banner{
  display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap;
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.8rem 2.2rem; margin-bottom:2.4rem;
}
.client-banner-label{
  font-family:'IBM Plex Sans',sans-serif; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--orange-deep); background:var(--white); border:1px solid var(--line);
  padding:.4rem .8rem; border-radius:20px; flex:none;
}
.client-banner-name{ font-family:'Manrope',sans-serif; font-weight:800; font-size:1.35rem; color:var(--navy); }
.client-banner-desc{ font-size:14px; color:var(--text-soft); flex:1 1 100%; }
@media(max-width:700px){ .client-banner{ padding:1.5rem 1.6rem; } .client-banner-name{ font-size:1.15rem; } }

/* ===== Referenzen ===== */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2.4rem; }
.testi-item{ border-top:2px solid var(--orange); padding-top:1.4rem; }
.testi-industry{ font-family:'IBM Plex Sans',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--orange-deep); margin-bottom:.8rem; display:block; }
.testi-item p.quote{ font-size:15px; color:var(--navy); line-height:1.65; }
.testi-person{ margin-top:1.2rem; }
.testi-person strong{ font-size:13.5px; display:block; }
.testi-person span{ font-size:12px; color:var(--text-soft); }
@media(max-width:900px){ .testi-grid{ grid-template-columns:1fr; } }

/* ===== Kontakt ===== */
.contact-section{ background:var(--navy); color:var(--white); }
.contact-section .eyebrow{ color:var(--eyebrow-color-on-dark); }
.contact-section .section-head h2{ color:var(--white); }
.contact-section .section-head p{ color:rgba(255,255,255,0.65); }
.contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:3.4rem; }
.contact-line{ display:flex; gap:.9rem; align-items:flex-start; margin-top:1.3rem; }
.contact-line svg{ width:19px; height:19px; color:var(--orange); flex:none; margin-top:2px; }
.contact-line strong{ display:block; font-size:13.5px; }
.contact-line span, .contact-line a{ font-size:13.5px; color:rgba(255,255,255,0.68); }
.contact-form{ background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.14); border-radius:var(--radius); padding:2.2rem; }
.form-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; }
.form-row{ margin-bottom:1.1rem; }
.form-row label{ display:block; font-size:12.5px; font-weight:600; margin-bottom:.5rem; color:rgba(255,255,255,0.85); }
.form-row input, .form-row select, .form-row textarea{ width:100%; padding:.85rem 1rem; border:1.5px solid rgba(255,255,255,0.18); border-radius:6px; font-family:'Inter',sans-serif; font-size:14.5px; background:rgba(255,255,255,0.04); color:var(--white); }
.form-row input::placeholder, .form-row textarea::placeholder{ color:rgba(255,255,255,0.35); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ outline:none; border-color:var(--orange); }
.form-row textarea{ min-height:100px; resize:vertical; }
.form-row select option{ background:var(--navy); }
.callback-check{ display:flex; align-items:center; gap:.6em; margin-bottom:1.2rem; font-size:13.5px; color:rgba(255,255,255,0.8); }
.form-success{ display:none; background:var(--orange); color:var(--white); padding:1rem 1.2rem; border-radius:6px; font-size:14px; margin-top:.7rem; font-weight:600; }
.form-success.show{ display:block; }
.maps-slot{ aspect-ratio:4/3; border-radius:var(--radius); background:rgba(255,255,255,0.05); display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,0.14); margin-top:1.8rem; transition:background .2s ease, border-color .2s ease; }
.maps-slot span{ font-family:'IBM Plex Sans',monospace; font-size:11.5px; color:rgba(255,255,255,0.4); text-transform:uppercase; letter-spacing:.05em; }
@media(max-width:900px){ .contact-grid{ grid-template-columns:1fr; } .form-grid-2{ grid-template-columns:1fr; } }

/* ===== Footer ===== */
footer{ background:var(--navy-deep); color:rgba(255,255,255,0.65); padding:3.4rem 24px 1.8rem; }
.foot-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:2.2rem; max-width:1200px; margin:0 auto; }
.foot-grid h4{ font-family:'Manrope',sans-serif; font-size:14px; color:var(--orange); margin-bottom:.9rem; }
.foot-grid p, .foot-grid a{ font-size:13.5px; line-height:1.9; display:block; color:rgba(255,255,255,0.62); }
.foot-grid a:hover{ color:var(--white); }
.social-row{ display:flex; gap:.7rem; margin-top:.4rem; }
.social-row a{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.18); display:flex; align-items:center; justify-content:center; transition:border-color .15s ease, color .15s ease; }
.social-row a:hover{ border-color:var(--orange); color:var(--orange); }
.social-row svg{ width:15px; height:15px; }
.foot-bottom{ max-width:1200px; margin:2.4rem auto 0; padding-top:1.3rem; border-top:1px solid rgba(255,255,255,0.1); display:flex; justify-content:space-between; flex-wrap:wrap; gap:.7rem; font-size:11.5px; color:rgba(255,255,255,0.4); }
@media(max-width:900px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .foot-grid{ grid-template-columns:1fr; } }

/* ===== Cookie banner ===== */
#cookie-banner{ position:fixed; left:22px; right:22px; bottom:22px; z-index:1200; max-width:440px; background:var(--navy); color:var(--white); border-radius:var(--radius); padding:1.3rem; box-shadow:0 20px 46px rgba(0,0,0,0.3); transform:translateY(160%); transition:transform .5s ease; }
#cookie-banner.show{ transform:translateY(0); }
#cookie-banner p{ font-size:12.5px; color:rgba(255,255,255,0.72); margin-bottom:.9rem; }
.cookie-actions{ display:flex; gap:.6rem; flex-wrap:wrap; }
.cookie-actions button{ padding:.55rem 1rem; font-size:12px; border-radius:6px; font-weight:700; cursor:pointer; border:none; }
.cookie-accept{ background:var(--orange); color:var(--white); }
.cookie-decline{ background:transparent; border:1px solid rgba(255,255,255,0.4) !important; color:var(--white); }

/* ===== Unterseiten: Sub-Hero (schlicht, ohne Foto-Overlay) ===== */
.sub-hero{ position:relative; background:var(--hero-black); color:var(--white); padding:96px 0 64px; overflow:hidden; }
.sub-hero .wrap{ position:relative; z-index:2; }
.sub-hero h1{ font-size:clamp(2rem,4.2vw,2.8rem); color:var(--white); max-width:22ch; }
.sub-hero p.sub{ margin-top:18px; font-size:16.5px; color:rgba(255,255,255,0.72); max-width:56ch; }
.sub-hero .hero-actions{ margin-top:30px; }

.explain-block{ max-width:820px; }
.explain-block h3{ font-size:1.35rem; margin-top:2.2rem; }
.explain-block h3:first-child{ margin-top:0; }
.explain-block p{ color:var(--text-soft); font-size:15.5px; margin-top:.7rem; }

.benefit-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.2rem; margin-top:1rem; }
.benefit-item{ display:flex; gap:.8em; align-items:flex-start; padding:.2rem 0; }
.benefit-item svg{ width:17px; height:17px; color:var(--orange-deep); flex:none; margin-top:3px; }
.benefit-item span{ font-size:14.5px; font-weight:600; }
@media(max-width:700px){ .benefit-grid{ grid-template-columns:1fr; } }

/* Icon-Grid für längere Leistungslisten (z. B. TMS-Unterseite) */
.icon-list-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.8rem 2rem; margin-top:1rem; }
.icon-list-item{ display:flex; gap:1rem; align-items:flex-start; }
.icon-list-item .ic{ width:40px; height:40px; border-radius:50%; border:1.5px solid var(--orange); display:flex; align-items:center; justify-content:center; flex:none; }
.icon-list-item .ic svg{ width:18px; height:18px; color:var(--orange-deep); }
.icon-list-item h4{ font-size:15px; font-family:'Inter',sans-serif; font-weight:700; color:var(--navy); }
.icon-list-item p{ font-size:13px; color:var(--text-soft); margin-top:.3rem; }
@media(max-width:900px){ .icon-list-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .icon-list-grid{ grid-template-columns:1fr; } }

/* Kompakte Tag-Chips für sehr lange Aufzählungen (z. B. Prozesse) */
.tag-grid{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1rem; }
.tag-grid .tag-pill{
  display:inline-flex; align-items:center; gap:.5em; padding:.55rem 1rem;
  border:1px solid var(--line); border-radius:30px; font-size:13.5px; font-weight:600; color:var(--navy);
  background:var(--paper);
}
.tag-grid .tag-pill svg{ width:14px; height:14px; color:var(--orange-deep); flex:none; }

/* Timeline-Variante ohne Verbindungslinie (für mehrzeilige Abläufe, z. B. 8 Schritte) */
.timeline.timeline-multirow{ grid-template-columns:repeat(4,1fr); }
.timeline.timeline-multirow::before{ display:none; }
@media(max-width:900px){ .timeline.timeline-multirow{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .timeline.timeline-multirow{ grid-template-columns:1fr; } }

.cta-band{ background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); text-align:center; }
.cta-band h2{ font-size:clamp(1.7rem,3.6vw,2.2rem); }
.cta-band p{ color:var(--text-soft); max-width:520px; margin:14px auto 0; }
.cta-band .hero-actions{ justify-content:center; margin-top:1.8rem; }

/* ===== Chatbot (ruhig, Corporate-Stil) ===== */
#chat-toggle{ position:fixed; right:22px; bottom:22px; z-index:900; width:58px; height:58px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center; box-shadow:0 12px 26px rgba(0,0,0,0.25); border:none; cursor:pointer; transition:transform .15s ease; }
#chat-toggle:hover{ transform:scale(1.06); }
#chat-toggle svg{ width:23px; height:23px; color:var(--orange); }
.chat-dot{ position:absolute; top:3px; right:3px; width:10px; height:10px; border-radius:50%; background:var(--orange); border:2px solid var(--navy); }

#chat-drawer{ position:fixed; top:0; right:0; height:100%; width:min(400px,92vw); z-index:1300; background:var(--navy-deep); border-left:1px solid rgba(255,255,255,0.12); transform:translateX(100%); transition:transform .4s ease; display:flex; flex-direction:column; }
#chat-drawer.open{ transform:translateX(0); }
.chat-header{ padding:1.2rem; display:flex; align-items:center; gap:.8rem; border-bottom:1px solid rgba(255,255,255,0.12); }
.chat-avatar{ width:38px; height:38px; border-radius:6px; background:var(--orange); color:var(--white); display:flex; align-items:center; justify-content:center; font-family:'Manrope',sans-serif; font-weight:800; flex:none; }
.chat-header h4{ color:var(--white); font-size:.95rem; }
.chat-header span{ color:rgba(255,255,255,0.5); font-size:.72rem; font-family:'Inter',sans-serif; font-weight:400; }
.chat-close{ margin-left:auto; color:var(--white); font-size:1.2rem; background:none; border:none; cursor:pointer; width:30px; height:30px; }
.chat-body{ flex:1; overflow-y:auto; padding:1.1rem 1.2rem; display:flex; flex-direction:column; gap:.65rem; }
.chat-msg{ max-width:88%; padding:.65rem .9rem; border-radius:8px; font-size:.85rem; line-height:1.5; }
.chat-msg.bot{ background:rgba(255,255,255,0.07); color:var(--white); align-self:flex-start; }
.chat-msg.user{ background:var(--orange); color:var(--white); align-self:flex-end; font-weight:600; }
.chat-suggestions{ display:flex; flex-direction:column; gap:.45rem; margin-top:.2rem; }
.chat-chip{ text-align:left; padding:.6rem .85rem; border-radius:6px; font-size:.8rem; background:rgba(255,255,255,0.05); color:rgba(255,255,255,0.9); border:1px solid rgba(255,255,255,0.14); cursor:pointer; transition:background .2s ease, border-color .2s ease; width:100%; }
.chat-chip:hover{ background:rgba(123,168,200,0.18); border-color:var(--orange); }
.chat-input-row{ display:flex; gap:.5rem; padding:0 1.2rem 1rem; }
.chat-input-row input{ flex:1; padding:.7rem .9rem; border-radius:6px; border:1px solid rgba(255,255,255,0.18); background:rgba(255,255,255,0.05); color:var(--white); font-size:.85rem; font-family:'Inter',sans-serif; }
.chat-input-row input::placeholder{ color:rgba(255,255,255,0.35); }
.chat-input-row button{ background:var(--orange); color:var(--white); border:none; border-radius:6px; padding:0 1.1rem; font-weight:700; cursor:pointer; }
.chat-footer{ padding:.8rem 1.2rem 1.1rem; font-size:.68rem; color:rgba(255,255,255,0.35); text-align:center; }
@media(max-width:600px){ #chat-drawer{ width:100vw; } }

/* ===== Feste Schnellkontakt-Leiste (rechts, läuft beim Scrollen mit) ===== */
.quick-contact{
  position:fixed; top:50%; right:18px; transform:translateY(-50%); z-index:850;
  display:flex; flex-direction:column; gap:8px;
}
.quick-contact a{
  width:46px; height:46px; border-radius:8px; background:var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.22); transition:transform .15s ease, background .15s ease;
}
.quick-contact a:hover{ background:var(--orange); transform:translateX(-3px); }
.quick-contact a svg{ width:19px; height:19px; color:var(--white); }
@media(max-width:700px){
  .quick-contact{ top:auto; bottom:100px; right:14px; transform:none; gap:6px; }
  .quick-contact a{ width:42px; height:42px; }
}
