/* ==========================================================================
   Nexus Trade + Flow — Stylesheet
   Eine Datei fuer alle Seiten. Mobile first, Erweiterung ueber min-width.
   Breakpoints: 600 / 900 / 1280
   ========================================================================== */

/* --- Schriften ---------------------------------------------------------- */
@font-face{
  font-family:'Archivo';
  font-style:normal;
  font-weight:600 700;
  font-stretch:100%;
  font-display:swap;
  /* woff2-variations zuerst: Safari 16 und aelter braucht diese Schreibweise,
     um die Gewichtsachse anzuwenden. Neuere Engines nehmen die zweite Quelle. */
  src:url('../fonts/archivo-latin-var.woff2') format('woff2-variations'),
      url('../fonts/archivo-latin-var.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400 500;
  font-stretch:100%;
  font-display:swap;
  src:url('../fonts/inter-latin-var.woff2') format('woff2-variations'),
      url('../fonts/inter-latin-var.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* --- Tokens ------------------------------------------------------------- */
:root{
  /* Marke */
  --navy:        #001755;
  --navy-deep:   #000E33;
  --navy-mid:    #0A2F8C;
  --red:         #EB0011;

  /* Flaechen */
  --bg:          #FFFFFF;
  --bg-tint:     #F5F7FA;
  --border:      #E3E8F0;

  /* Text */
  --text:        #1A2233;
  --text-muted:  #5A6478;
  --text-invert: #FFFFFF;

  /* Verlaeufe */
  --grad-navy:   linear-gradient(135deg,#001755 0%,#0A2F8C 100%);
  --grad-tint:   linear-gradient(180deg,#FFFFFF 0%,#F5F7FA 100%);

  /* Radien / Schatten / Motion */
  --r-sm:6px; --r-md:10px; --r-lg:16px;
  --shadow-1:0 1px 2px rgba(0,23,85,.06),0 2px 8px rgba(0,23,85,.06);
  --shadow-2:0 4px 12px rgba(0,23,85,.10),0 12px 32px rgba(0,23,85,.08);
  --ease:cubic-bezier(.16,1,.3,1);
  --dur:.35s;

  /* Schriftfamilien */
  --ff-head:'Archivo',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --ff-body:'Inter',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;

  /* Layout */
  --wrap:1280px;
  --pad:clamp(1.25rem,4vw,3rem);
  --gap:1.5rem;
  --header-h:62px;
  --logo-h:44px;
  --sec-y:clamp(3rem,8vw,5.5rem);
}

/* --- Reset -------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 1rem)}
body,h1,h2,h3,h4,p,figure,blockquote,dl,dd,ul,ol{margin:0}
ul[class],ol[class]{list-style:none;padding:0}
img,picture,svg{display:block;max-width:100%}
img{height:auto}
input,button,textarea,select{font:inherit;color:inherit}
/* Browser-Default kursiviert <address>. Das ist die schraege Adresse im Footer. */
address{font-style:normal}
button{background:none;border:0;padding:0;cursor:pointer}
table{border-collapse:collapse}

body{
  font-family:var(--ff-body);
  font-weight:400;
  font-size:1.0625rem;
  line-height:1.65;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* --- Typografie --------------------------------------------------------- */
h1,h2,h3,h4{font-family:var(--ff-head);font-weight:700;line-height:1.15;color:var(--navy);text-wrap:balance}
h1{font-size:clamp(2.2rem,1.4rem + 3vw,3.6rem);letter-spacing:-.02em}
h2{font-size:clamp(1.7rem,1.2rem + 2vw,2.6rem);letter-spacing:-.015em}
h3{font-size:clamp(1.25rem,1.1rem + .7vw,1.6rem);font-weight:600;letter-spacing:-.01em}
h4{font-size:1.0625rem;font-weight:600}
p{text-wrap:pretty}
small,.small{font-size:.9375rem}

.prose > * + *{margin-top:1.1em}
.prose{max-width:68ch}
.prose a{color:var(--navy);text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px}
.prose a:hover{text-decoration-color:var(--red);text-decoration-thickness:2px}

.lead{font-size:1.125rem;color:var(--text-muted)}
.legal-note{font-size:.9375rem;color:var(--text-muted)}

/* Section-Label: klein, versal, roter Strich darunter */
.label{
  display:inline-block;
  font-family:var(--ff-head);
  font-weight:600;
  font-size:.8125rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--navy);
  padding-bottom:.4rem;
  border-bottom:2px solid var(--red);
  margin-bottom:1rem;
}
.hero .label{color:var(--text-invert)}

/* --- Layout ------------------------------------------------------------- */
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad)}
.section{padding-block:var(--sec-y)}
.section--tint{background:var(--bg-tint)}
.section--grad{background:var(--grad-tint)}
.section__head{max-width:68ch;margin-bottom:clamp(2rem,4vw,3rem)}

.visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}

/* --- Touch-Ziele --------------------------------------------------------
   Eigenstaendige Links erreichen 44px Hoehe. Links mitten im Fliesstext sind
   davon ausgenommen, das deckt die Inline-Ausnahme in WCAG 2.5.8 ab. */
.footer-nav a,.footer-legal a,.crumbs a,.contact-info__value a{
  display:inline-flex;align-items:center;min-height:44px;
}

/* --- Fokus -------------------------------------------------------------- */
:focus{outline:none}
:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-radius:2px}
.site-footer :focus-visible,.hero :focus-visible,.statement :focus-visible{outline-color:#fff}

/* --- Skip-Link ---------------------------------------------------------- */
.skip{
  position:absolute;left:1rem;top:-100px;z-index:200;
  background:var(--navy);color:var(--text-invert);
  padding:.75rem 1.25rem;border-radius:var(--r-sm);
  font-weight:500;text-decoration:none;
  transition:top .2s var(--ease);
}
.skip:focus{top:1rem}

/* --- Buttons ------------------------------------------------------------ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:48px;padding:.75rem 1.5rem;
  font-family:var(--ff-head);font-weight:600;font-size:1rem;
  text-decoration:none;border-radius:var(--r-sm);
  transition:background-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease);
}
.btn--primary{background:var(--navy);color:var(--text-invert);box-shadow:var(--shadow-1)}
.btn--primary:hover{background:var(--navy-mid);box-shadow:var(--shadow-2)}
.btn--ghost{background:transparent;color:var(--navy);border:1px solid var(--border)}
.btn--ghost:hover{border-color:var(--navy);background:var(--bg-tint)}
.btn--onDark{background:#fff;color:var(--navy)}
.btn--onDark:hover{background:var(--bg-tint)}
.btn--sm{min-height:44px;padding:.5rem 1rem;font-size:.9375rem}

/* Textlink mit Pfeil */
.arrow{
  display:inline-flex;align-items:center;gap:.4rem;
  font-weight:500;color:var(--navy);text-decoration:none;
  text-decoration:underline;text-decoration-color:transparent;
  text-underline-offset:.25em;text-decoration-thickness:2px;
  transition:text-decoration-color var(--dur) var(--ease);
}
.arrow::after{content:'\2192';transition:transform var(--dur) var(--ease)}
.arrow:hover{text-decoration-color:var(--red)}
.arrow:hover::after{transform:translateX(3px)}
.hero .arrow{color:var(--text-invert)}

/* --- Header ------------------------------------------------------------- */
.header-sentinel{position:absolute;top:0;left:0;width:1px;height:24px;pointer-events:none}
.header-space{height:var(--header-h);flex:none}

.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  height:var(--header-h);
  background:var(--bg);
  border-bottom:1px solid transparent;
  transition:box-shadow .3s var(--ease),border-color .3s var(--ease);
}
.site-header.is-scrolled{box-shadow:var(--shadow-1);border-bottom-color:var(--border)}

/* Enges Budget bei 320px: Logo 41 + Sprachen 132 + Contact-Icon 44
   + Hamburger 44 + 3 Luecken a 4px = 273px bei 280px Inhaltsbreite. */
.header-bar{display:flex;align-items:center;gap:.25rem;height:100%;min-width:0}
/* Sprachumschalter und Hamburger duerfen nie schrumpfen, das Logo schon.
   Damit kann die Kopfzeile bei 320px nicht ueberlaufen. */
.header-bar > .lang,.header-bar > .burger,.header-bar > .header-cta{flex:0 0 auto}

.brand{display:flex;align-items:center;flex:0 1 auto;min-width:0;margin-right:auto}
/* max-height als Riegel: das Logo kann den Header nie ueberragen, egal welcher
   --logo-h-Wert greift. Die Breite folgt dem Seitenverhaeltnis. */
.brand img{
  height:var(--logo-h);width:auto;
  max-height:calc(var(--header-h) - 12px);
}

.nav{display:none}
.nav__list{display:flex;align-items:center;gap:clamp(1rem,2vw,2rem)}
.nav__link{
  display:inline-block;padding:.5rem 0;
  font-weight:500;color:var(--text);text-decoration:none;
  border-bottom:2px solid transparent;
  transition:color var(--dur) var(--ease),border-color var(--dur) var(--ease);
}
.nav__link:hover{color:var(--navy);border-bottom-color:var(--red)}
.nav__link[aria-current="page"]{color:var(--navy);border-bottom-color:var(--red)}

/* Trenner zwischen Contact-Button und Sprachumschalter. Erst ab 480px, weil
   der Umschalter darunter im Mobilmenue steht. */
.header-div{display:none;flex:0 0 auto;width:1px;height:20px;background:var(--border)}

/* Sprachumschalter. In der Kopfzeile bewusst klein gesetzt, im Mobilmenue auf
   volles Touch-Ziel. Der rote Strich sitzt am Link selbst und ist damit genau
   so breit wie das Wort. */
.lang{display:none;align-items:center;gap:.375rem}
.lang__link{
  display:inline-block;padding-bottom:4px;
  font-size:.6875rem;font-weight:500;letter-spacing:.07em;text-transform:uppercase;
  color:var(--text-muted);text-decoration:none;
  border-bottom:2px solid transparent;
  transition:color var(--dur) var(--ease),border-color var(--dur) var(--ease);
}
.lang__link:hover{color:var(--navy)}
.lang__link[aria-current="true"]{color:var(--navy);border-bottom-color:var(--red)}
.lang__sep{color:var(--border);font-size:.6875rem;line-height:1}

/* Im Mobilmenue: steht ganz oben, jedes Ziel 44x44 nach Briefing 11 */
.lang--menu{display:flex;gap:.75rem;margin-bottom:1.75rem}
.lang--menu .lang__link{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;padding-bottom:0;font-size:1rem;
  /* Ohne dies saesse der geerbte 2-px-Rahmen am Boden der 44-px-Box statt an
     der Schrift. Die aktive Sprache wird hier ueber Farbe und Gewicht markiert. */
  border-bottom:none;
}
.lang--menu .lang__link[aria-current="true"]{color:var(--navy);font-weight:600}
.lang--menu .lang__sep{font-size:1rem}

/* Contact-Button. Bleibt auf jeder Breite mit Text sichtbar - er ist der
   einzige Weg zum Formular und weicht deshalb nie dem Sprachumschalter. */
.header-cta{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 1.5rem;
  background:var(--navy);color:var(--text-invert);
  font-family:var(--ff-head);font-size:.9375rem;font-weight:600;
  text-decoration:none;border-radius:var(--r-sm);
  transition:background-color 150ms ease-out,transform 100ms ease-out;
}
.header-cta:hover{background:var(--navy-mid)}
.header-cta:active{transform:scale(.98)}

/* Hamburger */
.burger{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;flex:none;border-radius:var(--r-sm);color:var(--navy);
}
.burger:hover{background:var(--bg-tint)}
.burger__box{position:relative;width:22px;height:16px}
.burger__box span{
  position:absolute;left:0;width:100%;height:2px;background:currentColor;border-radius:2px;
  transition:transform .3s var(--ease),opacity .2s var(--ease);
}
.burger__box span:nth-child(1){top:0}
.burger__box span:nth-child(2){top:7px}
.burger__box span:nth-child(3){top:14px}
.burger[aria-expanded="true"] .burger__box span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] .burger__box span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] .burger__box span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Mobilmenue */
.mobile-menu{
  position:fixed;inset:0;z-index:99;
  display:flex;flex-direction:column;
  padding:calc(var(--header-h) + 2rem) var(--pad) 2rem;
  background:var(--bg);
  visibility:hidden;opacity:0;
  transition:opacity .3s var(--ease),visibility .3s var(--ease);
}
.mobile-menu.is-open{visibility:visible;opacity:1}
.mobile-menu__list{display:flex;flex-direction:column;gap:.25rem}
.mobile-menu__link{
  display:block;padding:.875rem 0;
  font-family:var(--ff-head);font-size:1.35rem;font-weight:600;
  color:var(--navy);text-decoration:none;
  border-bottom:1px solid var(--border);
}
.mobile-menu__link[aria-current="page"]{border-bottom-color:var(--red);border-bottom-width:2px}

/* --- Hero (Startseite) --------------------------------------------------- */
/* min-height, nicht height. Bei niedrigen Fenstern oder langen Uebersetzungen
   waechst der Hero mit dem Inhalt, statt ihn unten abzuschneiden. Deshalb hier
   auch kein max-height: das wuerde genau dieses Abschneiden zurueckholen. */
.hero{
  position:relative;
  min-height:min(70vh,560px);
  min-height:min(70dvh,560px);
  display:flex;align-items:center;
  background:var(--navy-deep);
  overflow:hidden;
}
.hero__media{position:absolute;inset:0}
.hero__slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s var(--ease)}
.hero__slide.is-active{opacity:1}
.hero__slide img{width:100%;height:100%;object-fit:cover}
.hero__overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,14,51,.82) 0%,rgba(0,14,51,.55) 55%,rgba(0,14,51,.25) 100%);
}
.hero__inner{position:relative;z-index:2;width:100%;color:var(--text-invert);padding-block:2rem}
.hero h1{color:var(--text-invert);margin-bottom:1.5rem;max-width:20ch}
.hero__text{max-width:52ch;font-size:1.125rem;margin-bottom:2rem;color:rgba(255,255,255,.94)}
.hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.75rem;margin-top:1.75rem}

/* Wechselnde Themenblöcke. Alle im selben Rasterfeld, damit der Container die Höhe
   des längsten Blocks behält und beim Wechsel nichts springt. */
.hero__panels{display:grid}
.hero__panel{
  grid-area:1/1;
  opacity:0;visibility:hidden;
  transition:opacity .25s var(--ease),visibility .25s var(--ease);
}
/* Der ausgehende Block verschwindet zuerst, der neue kommt verzoegert nach.
   Zwei uebereinander liegende Textbloecke sind sonst waehrend der Blende unlesbar. */
.hero__panel.is-active{opacity:1;visibility:visible;transition-delay:.28s}
.hero__panel a{
  display:block;color:inherit;text-decoration:none;max-width:52ch;
  border-radius:var(--r-sm);
}
.hero__panel h2{color:var(--text-invert);margin-bottom:.6rem;font-size:clamp(1.4rem,1.1rem + 1.4vw,2.1rem)}
.hero__panel p{color:rgba(255,255,255,.94);margin-bottom:.9rem}
.hero__panel a:hover .arrow{text-decoration-color:var(--red)}
.hero__panel a:hover .arrow::after{transform:translateX(3px)}

/* Reiterleiste unter dem Bild */
.hero-tabs{background:var(--bg);border-bottom:1px solid var(--border)}
.hero-tabs__bar{display:flex;align-items:stretch;gap:.5rem}
.hero-tabs__list{
  display:flex;align-items:stretch;gap:.25rem;
  overflow-x:auto;scrollbar-width:thin;
  scroll-snap-type:x proximity;
}
.hero-tabs__list::-webkit-scrollbar{height:3px}
.hero-tabs__list::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}
.hero-tab{
  display:inline-flex;align-items:center;
  min-height:52px;padding:.75rem .875rem;white-space:nowrap;scroll-snap-align:start;
  font-family:var(--ff-head);font-weight:600;font-size:.9375rem;color:var(--text-muted);
  border-bottom:2px solid transparent;
  transition:color var(--dur) var(--ease),border-color var(--dur) var(--ease);
}
.hero-tab:hover{color:var(--navy)}
.hero-tab[aria-current="true"]{color:var(--navy);border-bottom-color:var(--red)}

.hero-pause{
  display:inline-flex;align-items:center;gap:.5rem;flex:none;
  margin-left:auto;min-height:44px;min-width:44px;padding:.5rem .75rem;
  align-self:center;border:1px solid var(--border);border-radius:var(--r-sm);
  font-size:.8125rem;font-weight:500;color:var(--text-muted);
}
.hero-pause:hover{color:var(--navy);border-color:var(--navy)}
.hero-pause svg{width:14px;height:14px;flex:none}
.hero-pause__label{display:none}

/* Hero der Unterseiten */
/* Gleiche Hoehe wie der Startseiten-Hero, damit beim Wechsel zwischen
   Startseite und Unterseite kein Sprung entsteht. Abweichung zu Briefing 5.3,
   das hier min(44vh,380px) vorsieht. Nur die Hoehe wird uebernommen: das
   Standbild, die fehlende Reiterleiste und der fehlende Pause-Button bleiben. */
.hero--page{
  min-height:min(60vh,520px);
  min-height:min(60dvh,520px);
}
.hero--page .hero__text{margin-bottom:0}

/* --- Rechtsseiten --------------------------------------------------------
   .todo ist eine Sperre, kein Schoenheitsfehler: Solange ein gelber Platzhalter
   sichtbar ist, darf die Seite nicht nach main gemergt werden. */
.todo{background:#FFF3B0;color:#000;padding:.1em .35em;border-radius:2px;font-weight:600}
.prose--wide{max-width:72ch}

/* Erste Sektion einer Unterseite: weniger Luft nach oben, damit der
   Textanfang bei 800px Fensterhoehe ueber der Falz bleibt. Zwei Selektoren,
   weil zwischen Breadcrumb und Sektion das BreadcrumbList-JSON-LD steht. */
.crumbs + script + .section,
.crumbs + .section{padding-top:clamp(1.5rem,3vw,2.25rem)}

/* --- Breadcrumb ---------------------------------------------------------- */
.crumbs{padding-block:1rem;border-bottom:1px solid var(--border);font-size:.9375rem}
.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;list-style:none;padding:0;margin:0}
.crumbs li+li::before{content:'/';margin-right:.5rem;color:var(--border)}
.crumbs a{color:var(--text-muted);text-decoration:none}
.crumbs a:hover{color:var(--navy);text-decoration:underline;text-decoration-color:var(--red)}
.crumbs [aria-current="page"]{color:var(--navy);font-weight:500}

/* --- Karten -------------------------------------------------------------- */
.grid{display:grid;gap:var(--gap);grid-template-columns:1fr}
.grid--auto{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}

.card{
  position:relative;display:flex;flex-direction:column;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  overflow:hidden;
  transition:box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease);
}
.card:hover{box-shadow:var(--shadow-2);transform:translateY(-2px)}
.card__media{aspect-ratio:16/9;background:var(--bg-tint)}
.card__media img{width:100%;height:100%;object-fit:cover}
.card__body{display:flex;flex-direction:column;gap:.6rem;padding:1.25rem;flex:1}
.card__title{margin:0}
.card__title a{color:inherit;text-decoration:none}
/* Stretched-Link: ganze Karte klickbar, Link liegt auf der Ueberschrift */
.card__title a::after{content:'';position:absolute;inset:0;z-index:1}
.card__title a:hover{text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:.15em}
.card__text{color:var(--text-muted);font-size:1rem;margin:0}
.card__more{margin-top:auto;padding-top:.4rem}

/* --- Statement-Band ------------------------------------------------------ */
.statement{background:var(--grad-navy);color:var(--text-invert);padding-block:clamp(2.5rem,6vw,4rem)}
/* 62ch statt voller Containerbreite: bei rund 108 Zeichen Satzlaenge waere die
   Zeile zu lang zum Lesen, zumal weiss auf Navy. Block mittig im Band. */
.statement p{
  max-width:62ch;margin-inline:auto;
  font-family:var(--ff-head);font-weight:600;
  font-size:clamp(1.25rem,1.1rem + 1vw,1.875rem);
  line-height:1.35;
}

/* --- Leistungsliste ------------------------------------------------------ */
.deflist{display:grid;gap:1.25rem;max-width:68ch;padding:0;margin:0;list-style:none}
.deflist li{padding-left:1.25rem;border-left:2px solid var(--border)}
.deflist b{display:block;font-family:var(--ff-head);font-weight:600;color:var(--navy)}
.deflist span{color:var(--text-muted)}

/* --- Kontextkasten ------------------------------------------------------- */
.context{
  background:var(--bg-tint);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  padding:clamp(1.25rem,3vw,2rem);
  max-width:78ch;
}
.context > * + *{margin-top:.9em}
.context h3{margin-bottom:.25rem}

/* Verweiskasten Logistics */
.callout{
  background:var(--bg-tint);
  border:1px solid var(--border);
  border-left:3px solid var(--red);
  border-radius:var(--r-md);
  padding:clamp(1.25rem,3vw,2rem);
  max-width:68ch;
}
.callout > * + *{margin-top:1rem}
.ext{
  display:inline-flex;align-items:center;gap:.5rem;
  min-height:48px;padding:.75rem 1.5rem;
  background:#fff;border:1px solid var(--red);border-radius:var(--r-sm);
  color:var(--red);font-family:var(--ff-head);font-weight:600;text-decoration:none;
  transition:background-color var(--dur) var(--ease);
}
.ext:hover{background:#FFF3F4}
.ext svg{width:16px;height:16px;flex:none}

/* --- Beschaffungsplattformen --------------------------------------------
   Handelsplattformen, ueber die beschafft wird. Bewusst zurueckhaltend
   gesetzt, damit die Leiste keine Partnerschaft behauptet. Weisser Grund,
   damit sie sich vom navyfarbenen Statement-Band darunter absetzt. */
.section--plat{background:var(--bg);padding-block:clamp(2.5rem,5vw,3.5rem)}
.plat__head{margin-bottom:clamp(1.5rem,3vw,2rem)}
.plat__list{
  display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;
  gap:clamp(1.25rem,3vw,2.5rem);
  padding:0;margin:0;list-style:none;
}
.plat__item{
  display:inline-flex;align-items:center;
  min-height:44px;padding:0 .25rem;
  font-family:var(--ff-head);font-size:.9375rem;font-weight:600;
  color:var(--text-muted);text-decoration:none;
  transition:color 150ms ease-out;
}
.plat__item:hover{color:var(--navy)}

/* Greift erst, wenn spaeter Logodateien hinterlegt werden. Siehe die Sperre
   in assets/js/partners.js. */
.plat__item img{
  max-height:26px;width:auto;
  filter:grayscale(1);opacity:.65;
  transition:filter 150ms ease-out,opacity 150ms ease-out;
}
.plat__item:hover img{filter:grayscale(0);opacity:1}

/* --- Kontaktsektion ------------------------------------------------------ */
/* align-items:start ist die eigentliche Korrektur: ohne das streckt der Raster
   die linke Spalte auf Formularhoehe und reisst Loecher zwischen die Angaben. */
.contact__grid{
  display:grid;grid-template-columns:1fr;
  gap:clamp(2rem,5vw,4.5rem);
  align-items:start;
}
/* Kopfbereich und Kontaktangaben stehen gemeinsam in der linken Rasterspalte,
   damit die Formularkarte auf Hoehe des Labels beginnt. Der Abstand kommt aus
   dem gap, nicht mehr aus margin-bottom. */
.contact__left{display:flex;flex-direction:column;gap:clamp(2rem,4vw,2.5rem)}
.contact__head{margin-bottom:0}
.contact__head .lead{max-width:56ch;text-wrap:pretty}
/* Je ein vollstaendiger Satz pro Zeile, unabhaengig von der Containerbreite */
.contact__head .lead span{display:block}

/* Linke Spalte: drei Bloecke, Telefon und Mobil unter einem Symbol */
.contact-info{display:flex;flex-direction:column;gap:1.5rem;padding:0;margin:0;list-style:none}
/* Symbol und Label teilen sich eine 32px hohe Zeile, die Werte stehen darunter.
   Dadurch ist die Ausrichtung unabhaengig von der Zahl der Wertzeilen. */
.contact-info__item{
  display:grid;grid-template-columns:32px 1fr;
  column-gap:.75rem;align-items:start;
}
.contact-info__icon{
  width:32px;height:32px;
  display:grid;place-items:center;
  border-radius:var(--r-sm);
  background:color-mix(in srgb,var(--navy) 6%,transparent);
  color:var(--navy);
}
.contact-info__icon svg{width:16px;height:16px}
.contact-info__label{
  font-size:.75rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-muted);
  min-height:32px;display:flex;align-items:center;margin:0;
}
.contact-info__value{font-size:1rem;color:var(--text);margin:.25rem 0 0}
.contact-info__value a{color:var(--navy);text-decoration:none}
.contact-info__value a:hover{text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:.2em}
.contact-info__lines{display:flex;flex-direction:column;gap:.25rem}

/* Rechte Spalte: Formular als Karte */
.form{
  display:grid;gap:16px;
  background:var(--bg);
  border:1px solid var(--border);border-radius:var(--r-lg);
  box-shadow:var(--shadow-1);
  padding:clamp(1.25rem,2.5vw,1.75rem);
}
.form-row{display:grid;gap:16px;grid-template-columns:1fr}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:.8125rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}
.field input,.field select,.field textarea{
  width:100%;min-height:48px;padding:0 .875rem;font-size:1rem;
  background:var(--bg);color:var(--text);
  border:1px solid var(--border);border-radius:var(--r-sm);
  transition:border-color var(--dur) var(--ease);
}
.field textarea{min-height:120px;padding:.875rem;resize:vertical}
/* appearance:none plus eigener Pfeil - sonst ist das Systemelement hoeher als
   die Inputs und min-height greift nicht. */
.field select{
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235A6478' stroke-width='1.5'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right .875rem center;
  padding-right:2.5rem;
}
.field input:hover,.field select:hover,.field textarea:hover{border-color:color-mix(in srgb,var(--navy) 25%,var(--border))}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{border-color:var(--navy)}
.field [aria-invalid="true"]{border-color:var(--red)}
.field-error{font-size:.875rem;color:#B3000D;min-height:0}
.field-error:empty{display:none}

/* Honeypot: nicht display:none, damit Bots ihn ausfuellen */
.gotcha{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.form-status{
  padding:.875rem 1rem;border-radius:var(--r-sm);font-size:.9375rem;
  border:1px solid var(--border);background:var(--bg-tint);
}
.form-status:empty{display:none}
.form-status.is-ok{border-color:#B9DCC4;background:#F1F9F3;color:#14532D}
.form-status.is-err{border-color:#F3C0C4;background:#FDF2F3;color:#B3000D}
.form-status a{color:inherit}

.form__submit{
  justify-self:start;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 2rem;
  background:var(--navy);color:var(--text-invert);
  font-family:var(--ff-head);font-size:1rem;font-weight:600;
  border-radius:var(--r-sm);
  transition:background-color 150ms ease-out,transform 100ms ease-out;
}
.form__submit:hover{background:var(--navy-mid)}
.form__submit:active{transform:scale(.98)}
.form__submit[aria-busy="true"]{opacity:.7;cursor:progress}
.form-privacy{font-size:.875rem;color:var(--text-muted);margin:0}
.form-privacy a{color:var(--navy);text-decoration:underline;text-underline-offset:.15em}

/* --- Footer -------------------------------------------------------------- */
.site-footer{background:var(--navy-deep);color:rgba(255,255,255,.82)}
.site-footer a{color:rgba(255,255,255,.82);text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:.2em}

/* Obere Zeile: Logo und Claim nebeneinander links, Themenlinks mittig,
   Social-Symbole rechts. Die Kontaktspalte entfaellt - dieselben Angaben
   stehen in der Kontaktsektion und im Impressum. */
.footer-top{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:2rem;padding-block:clamp(1.5rem,3vw,2rem);
}
/* Links Kachel, Claim und Social als eine Gruppe, rechts die Themenlinks. */
.footer-brand{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
/* Das Logo ist transparent und verschwindet auf --navy-deep. Die weisse
   Kachel ist eine Bildunterlage, keine Flaechenfarbe - deshalb #fff und
   bewusst kein Token. */
.footer-brand__mark{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;width:48px;height:48px;padding:6px;
  background:#fff;border-radius:var(--r-sm);
}
/* display:contents nimmt das picture aus dem Kasten, damit das Bild selbst
   Flex-Element wird. Sonst bezoege sich max-height:100% auf das picture mit
   automatischer Hoehe und bliebe wirkungslos - das hochformatige Logo liefe
   dann aus der 44px hohen Innenflaeche der Kachel heraus. */
.footer-brand__mark picture{display:contents}
.footer-brand__mark img{max-width:100%;max-height:100%;width:auto;height:auto;display:block}
.footer-claim{font-size:.9375rem;font-weight:400;color:rgba(255,255,255,.85);margin:0}
.footer-nav{display:flex;flex-wrap:wrap;gap:1.5rem;padding:0;margin:0;list-style:none}
.footer-nav a{font-size:.9375rem;color:rgba(255,255,255,.75)}
.footer-nav a:hover{color:#fff}

/* Social: reines Symbol, kein Textlabel, kein Link. Der Hinweis steckt in
   aria-label und title. Kein Hover, weil nicht klickbar. */
.footer-soc{display:flex;flex-wrap:wrap;gap:.75rem}
.soc{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;padding:0;
  border:1px solid rgba(255,255,255,.18);border-radius:var(--r-sm);
  color:rgba(255,255,255,.55);
  cursor:not-allowed;opacity:.55;
}
.soc svg{width:18px;height:18px;flex:none}

.footer-rule{height:1px;background:rgba(255,255,255,.12);margin:1.25rem 0 1rem}

/* Untere Zeile. Mobil einspaltig und zentriert in der Reihenfolge
   Legal-Links, Copyright, camo-Zeile. Ab 768px dreiteilig. */
.footer-bottom{
  display:grid;gap:1rem;justify-items:center;text-align:center;
  padding-bottom:clamp(1.5rem,3vw,2rem);
}
.footer-bottom p{margin:0}
.footer-copy,.footer-legal{font-size:.8125rem;color:rgba(255,255,255,.6)}
/* Bewusst die leiseste Zeile im Footer. Die 50 Prozent sind die harte
   Untergrenze, nicht der Startwert: Weiss auf --navy-deep besteht damit WCAG AA
   knapp, bei 35 Prozent faellt der Text durch und kostet Lighthouse-Punkte.
   Deckkraft nicht weiter senken. */
.footer-credit{font-size:.6875rem;font-weight:400;letter-spacing:.02em;color:rgba(255,255,255,.5)}
/* Der Name darf nicht kraeftiger stehen als der Vorsatz, sonst zieht er den
   Blick. Gleiche Farbe, gleiche Strichstaerke wie "Website by". */
.footer-credit a{color:inherit;font-weight:inherit}
.footer-credit a:hover{color:rgba(255,255,255,.8);text-decoration-color:currentColor;text-decoration-thickness:1px}
.footer-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem}
.footer-legal{order:1}
.footer-copy{order:2}
.footer-credit{order:3}

/* --- 404 ----------------------------------------------------------------- */
.notfound{padding-block:clamp(3rem,10vw,6rem);text-align:left}
.notfound__langs{display:grid;gap:1.5rem;margin-top:2.5rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.notfound__langs section{padding:1.25rem;border:1px solid var(--border);border-radius:var(--r-md)}

/* --- Motion --------------------------------------------------------------- */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .4s var(--ease),transform .4s var(--ease)}
.reveal.is-in{opacity:1;transform:none}

/* ==========================================================================
   Zwischenstufe — ab 480px
   Abweichung zu Briefing 5.5, das nur vier Stufen kennt. Begruendung: unter
   480px passen Contact-Button und Sprachumschalter nicht nebeneinander. Dann
   weicht der Umschalter ins Mobilmenue, nicht der Contact-Button.
   ========================================================================== */
@media (min-width:480px){
  .header-bar .lang{display:flex}
  .header-div{display:block}
  .lang--menu{display:none}
}

/* ==========================================================================
   Stufe 2 — ab 600px
   ========================================================================== */
@media (min-width:600px){
  .header-bar{gap:.75rem}
  .form-row{grid-template-columns:1fr 1fr}
  .hero-pause__label{display:inline}
  .hero-tab{padding:.75rem 1.125rem;font-size:1rem}
}

/* ==========================================================================
   Stufe 3 — ab 900px: Desktop-Navigation, Header 76px
   ========================================================================== */
/* ==========================================================================
   Fusszeile dreiteilig — ab 768px
   ========================================================================== */
@media (min-width:768px){
  .footer-bottom{
    grid-template-columns:1fr auto 1fr;
    align-items:center;justify-items:stretch;text-align:left;
  }
  .footer-copy{order:1;justify-self:start}
  .footer-credit{order:2;justify-self:center}
  .footer-legal{order:3;justify-self:end}
}

/* ==========================================================================
   Stufe 3 — ab 900px: Desktop-Navigation, Header 76px
   ========================================================================== */
@media (min-width:900px){
  :root{--header-h:76px;--logo-h:52px}

  .burger{display:none}
  .mobile-menu{display:none}
  /* Ein einziger Abstand fuer alle Zwischenraeume der rechten Gruppe:
     Navigation, Contact-Button, Trenner, Sprachumschalter. Deshalb kein
     margin-right an .nav und kein margin-inline am Trenner mehr. */
  .nav{display:block}
  .header-bar{gap:1rem}
  .plat__item img{max-height:32px}
  /* Die 68ch von .section__head sind fuer diese H2 zu schmal und erzwingen
     einen Umbruch. Ab 900px darf sie die Containerbreite nutzen, der Lead
     bleibt auf Lesebreite begrenzt. */
  .plat__head{max-width:none}
  .plat__head .lead{max-width:68ch}

  .soc{width:36px;height:36px}
  /* Linke Spalte bekommt mit 1fr den Rest der Breite, dadurch entsteht keine
     tote Flaeche in der Mitte. Die Karte bleibt bei hoechstens 560px. */
  .contact__grid{
    grid-template-columns:minmax(0,1fr) minmax(0,560px);
    gap:clamp(2rem,4vw,4rem);
    align-items:start;
  }
  /* Zeigergeraet, kein Touch-Ziel noetig. Der Basiswert in der Sammelregel
     bleibt unangetastet, nur die Hoehe wird hier zurueckgenommen. */
  .contact-info__value a{min-height:0}
  .hero__inner{padding-block:3rem}
}

/* ==========================================================================
   Stufe 4 — ab 1280px: volle Hero-Hoehe, Services vierspaltig
   ========================================================================== */
@media (min-width:1280px){
  .hero{min-height:min(78vh,720px);min-height:min(78dvh,720px)}
  .hero--page{min-height:min(60vh,520px);min-height:min(60dvh,520px)}
  .hero__text{max-width:46ch}
}

/* ==========================================================================
   Reduzierte Bewegung
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important;
  }
  .reveal{opacity:1;transform:none}
  .hero__slide{transition:none}
}
