/* imsgroup.berlin – gemeinsames Stylesheet (Aufbau wie imsprojects.de und imsberlin.de)
   Mobil zuerst. Breakpoints: Tablet ab 768 px, Desktop ab 1200 px.
   Keine Inline-Styles (CSP style-src 'self'). */

/* ---------- Schriften (selbst gehostet, SIL OFL) ---------- */
@font-face{font-family:Archivo;font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(/assets/fonts/archivo-latin-wdth-normal.e3a28eade2.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Archivo;font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(/assets/fonts/archivo-latin-ext-wdth-normal.5717f37059.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/inter-latin-400-normal.8909904ab6.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,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-display:swap;font-weight:400;src:url(/assets/fonts/inter-latin-ext-400-normal.6744a7f509.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/fonts/inter-latin-500-normal.f3779f1efc.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,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-display:swap;font-weight:500;src:url(/assets/fonts/inter-latin-ext-500-normal.2c6fbc42d3.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600 900;src:url(/assets/fonts/inter-latin-600-normal.f9a06e79cd.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,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-display:swap;font-weight:600 900;src:url(/assets/fonts/inter-latin-ext-600-normal.e4bdf67b0c.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ---------- Tokens ---------- */
:root{
  --blue:#1D3A8F;
  --ink:#0B1838;
  --text:#3A4766;
  --muted:#5A6785;
  --line:#D5DCEB;
  --soft:#F3F5FA;
  --tag:#E8EDF8;
  --header-line:#E3E8F3;
  --orange:#F28C28;          /* nur Deko, nie Text auf Weiß */
  --on-blue-text:#E3E8F6;    /* Fließtext auf Blau */
  --footer-text:#C9D3EE;     /* Nebentext auf Blau und Dunkel */
  --line-on-blue:rgba(255,255,255,.3);

  --font-head:Archivo,Inter,system-ui,sans-serif;
  --font-body:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;

  /* seitlicher Rand 24 → 64 px, Inhalt max. 1440 px */
  --pad:clamp(24px, 9.14px + 3.81vw, 64px);
  --gutter:max(var(--pad), calc(50vw - 720px + var(--pad)));
  --section-y:clamp(64px, 40.2px + 6.1vw, 128px);
  --header-h:72px;

  --text-l:clamp(17px, 15.6px + .3vw, 19px);
}

/* ---------- Basis ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{
  margin:0;min-height:100vh;display:flex;flex-direction:column;
  background:#FFFFFF;color:var(--ink);
  font-family:var(--font-body);font-size:1rem;line-height:normal;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
main{flex:1 0 auto;display:flex;flex-direction:column}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:var(--blue);text-underline-offset:.15em}
a:hover{color:var(--ink)}
p,h1,h2,h3,dl,dd,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
address{font-style:normal}
[hidden]{display:none !important}

:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.on-blue :focus-visible{outline-color:#FFFFFF}

.skip-link{
  position:absolute;left:16px;top:-200px;z-index:100;
  padding:12px 18px;background:var(--blue);color:#FFFFFF;font-weight:600;text-decoration:none;
}
.skip-link:focus{top:16px;color:#FFFFFF}

/* nur für Screenreader sichtbar */
.sr-only{
  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;
}

/* ---------- Typo-Bausteine ---------- */
.display{
  font-family:var(--font-head);font-weight:850;font-stretch:112%;
  color:var(--ink);letter-spacing:-.025em;line-height:.98;
}
/* min(8.8vw …): längstes Wort („Ansprechpartner.“) passt auch bei 320 px */
.h2{font-size:min(8.8vw, clamp(2.125rem, 1.243rem + 3.62vw, 4.5rem))}
.lead{font-size:var(--text-l);line-height:1.6;color:var(--text)}

.kicker{
  display:flex;align-items:center;gap:12px;
  font-size:14px;font-weight:600;letter-spacing:.04em;color:var(--blue);
}
.kicker::before{content:"";flex:none;width:36px;height:4px;background:var(--orange)}
.kicker--light{color:#FFFFFF}

@media (min-width:768px){
  .kicker{gap:14px;font-size:15px}
  .kicker::before{width:48px;height:5px}
}

/* ---------- Header ---------- */
.site-header{
  position:relative;z-index:30;flex:none;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  height:var(--header-h);padding:0 var(--gutter);
  background:#FFFFFF;border-bottom:1px solid var(--header-line);
}
.logo{display:flex}
.logo img{height:44px;width:auto}

.header-nav{display:none}
.header-actions{display:flex;gap:8px}

.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;padding:0;
  border:1px solid var(--line);background:#FFFFFF;color:var(--blue);
  font:inherit;cursor:pointer;
}
.icon-btn:hover{color:var(--ink);border-color:var(--blue)}
.menu-toggle{color:var(--ink)}
.menu-toggle .icon-close{display:none}
.menu-toggle[aria-expanded="true"] .icon-open{display:none}
.menu-toggle[aria-expanded="true"] .icon-close{display:block}

.lang{color:var(--muted)}
.lang [aria-current]{color:var(--blue);font-weight:600}
.lang a{display:inline-block;min-width:24px;padding:4px 0;color:var(--muted);text-align:center;text-decoration:none}
.lang a:hover{color:var(--ink);text-decoration:underline}

/* volle Navigation erst ab 1200 px (sechs Punkte passen darunter nicht in eine Zeile) */
@media (min-width:1200px){
  :root{--header-h:96px}
  .logo img{height:60px}
  .header-actions{display:none}
  .header-nav{display:flex;align-items:center;gap:40px}
  .main-nav{display:flex;gap:clamp(24px, 2.2vw, 32px);font-size:16px;font-weight:500;white-space:nowrap}
  .main-nav a{padding:4px 0;color:var(--ink);text-decoration:none}
  .main-nav a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:6px}
  .header-nav .lang{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600}
  .header-nav .lang a{min-width:0;padding:4px 0}
}

/* Header bleibt beim Scrollen oben stehen.
   Nicht bei niedrigen Fenstern (Handy quer, starker Zoom), damit genug Inhalt sichtbar bleibt.
   scroll-padding hält Sprungziele und fokussierte Elemente unter dem Header frei. */
@media (min-height:560px){
  html{scroll-padding-top:var(--header-h)}
  .site-header{position:sticky;top:0}
}

/* ---------- Mobiles Menü ----------
   Ohne JS: normale Linkliste am Seitenende (unter 1200 px sichtbar).
   Mit JS (.is-enhanced): Overlay unter dem Header. */
.mobile-menu{flex:none;padding:40px var(--gutter);border-top:1px solid var(--line);background:#FFFFFF}
.mobile-menu ul{display:flex;flex-direction:column;gap:4px}
.mobile-menu ul a{
  display:block;padding:8px 0;
  font-family:var(--font-head);font-weight:850;font-stretch:112%;font-size:28px;line-height:1.1;
  letter-spacing:-.02em;color:var(--ink);text-decoration:none;
}
.mobile-menu ul a:hover{color:var(--blue)}
.mobile-menu .lang{display:block;margin-top:28px;font-size:17px}
.mobile-menu .lang > *{display:inline-block;min-width:44px;padding:10px 0;text-align:center}
.mobile-menu .lang > [aria-hidden]{min-width:0}

.mobile-menu.is-enhanced{
  display:none;position:fixed;inset:var(--header-h) 0 0 0;z-index:25;overflow-y:auto;
  padding:32px var(--gutter) 48px;border-top:0;
}
.mobile-menu.is-enhanced.is-open{display:block}
html.menu-open{overflow:hidden}
/* nur nötig, wo der Header nicht ohnehin sticky ist */
@media (max-height:559px){
  html.menu-open .site-header{position:fixed;top:0;left:0;right:0}
}
@media (min-width:1200px){
  .mobile-menu,.mobile-menu.is-enhanced.is-open{display:none}
}

/* ---------- Sektionen allgemein ---------- */
.section{
  flex:none;display:flex;flex-direction:column;gap:40px;
  padding:var(--section-y) var(--gutter);background:#FFFFFF;
}
.section--soft{background:var(--soft)}
.section--blue{background:var(--blue);color:#FFFFFF}
.section--ink{background:var(--ink);color:#FFFFFF}
.section--blue .display,.section--ink .display{color:#FFFFFF}
.section--blue .lead{color:var(--on-blue-text)}
.section--ink .lead{color:var(--footer-text)}

.section-head{display:flex;flex-direction:column;gap:24px}
.section-title{display:flex;flex-direction:column;gap:20px}
.companies .section-head{gap:20px}

@media (min-width:1200px){
  .section{gap:64px}
  .section-title,.companies .section-head{gap:28px}
  .section-head--split{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:64px;align-items:end}
}

/* ---------- Hero ---------- */
.hero{
  flex:none;display:flex;flex-direction:column;gap:32px;
  padding:48px var(--gutter) 40px;background:var(--blue);color:#FFFFFF;
}
.hero-head{display:flex;flex-direction:column;gap:24px}
.hero h1{color:#FFFFFF;font-size:min(12.4vw, clamp(2.75rem, 1.357rem + 5.714vw, 6.5rem))}
.hero-body{display:flex;flex-direction:column;gap:40px}
.hero-lead{max-width:640px;font-size:clamp(17px, 15.5px + .38vw, 21px);line-height:1.55;color:var(--on-blue-text)}
.truss{width:100%;height:auto}

@media (min-width:768px){
  .hero{gap:48px;padding-top:72px;padding-bottom:72px}
}
@media (min-width:1200px){
  .hero{gap:56px;padding:96px var(--gutter)}
  .hero-head{gap:32px}
  /* Titel immer genau zweizeilig: nowrap, Schriftgröße folgt der verfügbaren Breite */
  .hero h1{
    white-space:nowrap;
    font-size:min(6.5rem, calc((min(100vw, 1440px) - 2 * var(--pad)) / 12.4));
  }
  .hero-body{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);gap:64px;align-items:end}
  .hero-lead{max-width:none}
}

/* ---------- Gesellschaften ---------- */
.company-cards{display:flex;flex-direction:column;gap:20px}
.company{
  display:flex;flex-direction:column;gap:24px;
  padding:28px 24px;background:#FFFFFF;border-top:5px solid var(--blue);
}
.company > img{height:64px;width:auto;align-self:flex-start}
.company-name{display:flex;flex-direction:column;gap:6px}
.company h3{font-size:20px;font-weight:600;color:var(--ink)}
.company-city{font-size:15px;color:var(--muted)}
.company-text{font-size:17px;line-height:1.6;color:var(--text)}

.bullets{display:grid;grid-template-columns:minmax(0, 1fr);gap:10px 24px;font-size:16px;color:var(--ink)}
.bullets li{display:flex;gap:12px;align-items:baseline}
.bullets li::before{content:"";flex:none;width:6px;height:6px;background:var(--blue);transform:translateY(-3px)}

.arrow-link{
  margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:10px;
  min-height:24px;font-size:17px;font-weight:600;color:var(--blue);text-decoration:none;
}
.arrow-link:hover{color:var(--ink);text-decoration:underline}
.arrow-link svg{flex:none}

@media (min-width:768px){
  .company{padding:40px}
  .bullets{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (min-width:1200px){
  .company-cards{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:32px}
  .company{padding:48px}
  .company > img{height:80px}
  .company h3{font-size:22px}
  .company-text{font-size:18px}
}

/* ---------- Leistungen ---------- */
.tiles{display:grid;grid-template-columns:minmax(0, 1fr);gap:12px}
.tile{
  display:flex;flex-direction:column;gap:14px;
  padding:24px;background:#FFFFFF;border:1px solid var(--line);
}
.tile-no{font-family:var(--font-head);font-weight:850;font-stretch:112%;font-size:22px;color:var(--blue)}
.tile h3{font-size:22px;line-height:1.1}
.tile p{font-size:16px;line-height:1.55;color:var(--text)}
.tile .tags{margin-top:auto}

.tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{
  display:inline-flex;align-items:center;height:26px;padding:0 10px;
  font-size:13px;font-weight:600;line-height:1;white-space:nowrap;
}
.tag--berlin{background:var(--blue);color:#FFFFFF}
.tag--projects{background:var(--tag);color:var(--blue)}
.tag--partner{background:#FFFFFF;color:var(--muted);border:1px solid var(--line)}

@media (min-width:768px){
  .tiles{grid-template-columns:repeat(2, minmax(0, 1fr));gap:16px}
  .tile{padding:28px}
}
@media (min-width:1200px){
  .tiles{grid-template-columns:repeat(4, minmax(0, 1fr));gap:20px}
  .tile{padding:32px}
  .tile h3{font-size:24px}
}

/* ---------- Zusammenarbeit ---------- */
.collab .lead{max-width:760px}
.steps{display:flex;flex-direction:column;gap:32px}
.steps li{display:flex;flex-direction:column;gap:14px;padding-top:24px;border-top:1px solid var(--line-on-blue)}
.step-no{font-family:var(--font-head);font-weight:850;font-stretch:112%;font-size:32px;line-height:1;color:var(--orange)}
.steps h3{font-size:24px;line-height:1.05}
.steps p{font-size:16px;line-height:1.55;color:var(--on-blue-text)}

/* Aufgabenteilung: unter 1200 px Liste je Phase, ab 1200 px Raster mit sieben Phasen.
   Das Raster ist nur Grafik (aria-hidden); Screenreader lesen immer die Liste. */
.share{display:flex;flex-direction:column;gap:8px}
.share-cap{color:var(--footer-text);font-size:13px}
.share-title{font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.share-sub,.share-grid,.share-note{display:none}
.share-list li{
  display:flex;flex-direction:column;gap:8px;padding:14px 0;
  border-top:1px solid rgba(255,255,255,.25);
}
.share-name{font-size:15px;font-weight:600;color:#FFFFFF}

.orders{display:flex;flex-direction:column;gap:12px}
.order{display:flex;flex-direction:column;gap:10px;padding:24px;background:rgba(255,255,255,.08)}
.order h3{font-size:22px;line-height:1.1}
.order p{font-size:16px;line-height:1.55;color:var(--on-blue-text)}

@media (min-width:768px){
  .steps{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:32px}
  .share-list{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));column-gap:32px}
  .orders{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:16px}
  .order{padding:28px}
}
@media (min-width:1200px){
  .steps{gap:40px}
  .step-no{font-size:40px}
  .steps h3{font-size:30px}
  .steps p{font-size:17px}

  .share{gap:24px;padding:40px;border:1px solid var(--line-on-blue)}
  .share-cap{display:flex;justify-content:space-between;gap:24px}
  .share-title{letter-spacing:.12em}
  .share-sub{display:inline}
  .share-list{display:block}
  .share-list{position:absolute;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}
  .share-grid{
    display:grid;grid-template-columns:180px repeat(7, minmax(0, 1fr));
    column-gap:6px;row-gap:14px;align-items:end;
  }
  .share-phase{
    padding-bottom:12px;border-bottom:1px solid var(--line-on-blue);
    font-size:13px;font-weight:600;line-height:1.3;color:var(--footer-text);hyphens:manual;
  }
  .share-row{align-self:center;font-size:15px;font-weight:600;color:#FFFFFF}
  .bar{height:28px;border-bottom:1px dashed rgba(255,255,255,.18)}
  .bar--projects{background:#FFFFFF;border:0}
  .bar--berlin{background:var(--orange);border:0}
  .bar--partner{background:rgba(255,255,255,.35);border:0}
  .share-note{display:block;font-size:15px;color:var(--footer-text)}

  .orders{gap:24px}
  .order{padding:32px}
  .order h3{font-size:26px}
}

/* ---------- Unser Anspruch ---------- */
.claims{display:flex;flex-direction:column;gap:28px}
.claims li{display:flex;flex-direction:column;gap:12px;padding-top:24px;border-top:3px solid var(--blue)}
.claims h3{font-size:24px;line-height:1.05}
.claims p{font-size:16px;line-height:1.6;color:var(--text)}

@media (min-width:1200px){
  .claim{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);gap:64px;align-items:start}
  .claims{gap:40px}
  .claims h3{font-size:30px}
  .claims p{font-size:17px}
}

/* ---------- Über uns ---------- */
.about-top{display:flex;flex-direction:column;gap:28px}
.about-text{display:flex;flex-direction:column;gap:20px}
.about-text p{font-size:var(--text-l);line-height:1.6;color:var(--text)}

.figures{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:32px 24px}
.figures > div{display:flex;flex-direction:column;gap:8px}
.figures dt{order:2;font-size:15px;color:var(--muted)}
.figures dd{
  order:1;font-family:var(--font-head);font-weight:850;font-stretch:112%;
  font-size:clamp(2.75rem, 2.286rem + 1.905vw, 4rem);line-height:1;letter-spacing:-.02em;color:var(--blue);
}

@media (min-width:768px){
  .figures{grid-template-columns:repeat(4, minmax(0, 1fr));gap:0}
  .figures > div{padding:0 24px;border-left:1px solid var(--line)}
  .figures > div:first-child{padding-left:0;border-left:0}
}
@media (min-width:1200px){
  .about{gap:72px}
  .about-top{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);gap:64px}
  .figures > div{padding:0 32px}
  .figures > div:first-child{padding-left:0}
  .figures dt{font-size:16px}
}

/* ---------- Karriere ---------- */
.careers{gap:28px}
.careers-body{display:flex;flex-direction:column;gap:28px;align-items:stretch}

@media (min-width:768px){
  .careers-body{align-items:flex-start}
}
@media (min-width:1200px){
  .careers{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:64px;align-items:end;padding-top:112px;padding-bottom:112px}
}

/* ---------- Buttons ---------- */
.btn{
  display:flex;align-items:center;justify-content:center;gap:12px;
  min-height:56px;padding:8px 28px;
  font-size:17px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;
}
.btn svg{flex:none}
.btn--white{background:#FFFFFF;color:var(--blue);border:2px solid #FFFFFF}
.btn--white:hover{background:var(--soft);border-color:var(--soft);color:var(--ink)}
.btn--solid{background:var(--blue);color:#FFFFFF;border:2px solid var(--blue)}
.btn--solid:hover{background:var(--ink);border-color:var(--ink);color:#FFFFFF}
.btn--outline{border:2px solid var(--blue);color:var(--blue)}
.btn--outline:hover{background:var(--soft);color:var(--ink)}

@media (min-width:768px){
  .btn{display:inline-flex}
}
@media (min-width:1200px){
  .btn{min-height:60px;font-size:18px}
}

/* ---------- Kontakt ---------- */
.contact{gap:32px}
.contact .lead{line-height:normal}
.contacts{display:flex;flex-direction:column}
.contact-card{display:flex;flex-direction:column;gap:20px;padding:28px 0;border-top:1px solid var(--line)}
.contact-card h3{font-size:22px;font-weight:600;color:var(--ink)}
.contact-card address{font-size:16px;line-height:1.6;color:var(--text)}
.buttons{display:flex;flex-direction:column;gap:12px}

@media (min-width:768px){
  .contacts{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:40px}
  .buttons{flex-direction:row;flex-wrap:wrap}
}
@media (min-width:1200px){
  .contact{gap:48px}
  .contacts{gap:64px}
  .contact-card{padding:40px 0}
  .contact-card h3{font-size:26px}
  .contact-card address{font-size:17px}
}

/* ---------- Footer ---------- */
.site-footer{
  flex:none;display:flex;flex-direction:column;align-items:center;gap:20px;
  padding:40px var(--gutter);background:var(--ink);color:var(--footer-text);
  font-size:14px;text-align:center;
}
.footer-logo{height:52px;width:auto}
.footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px}
.footer-nav a{display:inline-block;padding:4px 0;color:var(--footer-text)}
.footer-nav a:hover,.footer-nav a[aria-current="page"]{color:#FFFFFF}
.copyright{font-size:13px}

@media (min-width:768px){
  .copyright{font-size:14px}
}
@media (min-width:1200px){
  .site-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:32px var(--gutter);text-align:left}
  .footer-logo{justify-self:start;height:56px}
  .footer-nav{gap:28px}
  .copyright{justify-self:end;text-align:right}
}

/* ---------- Rechtliche Seiten und 404 ---------- */
.legal-band{
  display:flex;flex-direction:column;gap:20px;
  padding:40px var(--gutter) 48px;background:var(--blue);color:#FFFFFF;
}
.legal-band h1{color:#FFFFFF;font-size:min(11.28vw, clamp(2.75rem, 1.729rem + 4.19vw, 5.5rem))}
.legal-intro{font-size:clamp(17px, 15.9px + .29vw, 20px);line-height:1.55;color:var(--on-blue-text)}

.legal-body{
  display:flex;flex-direction:column;gap:24px;
  padding:40px var(--gutter) 64px;
}
.legal-body > *{max-width:880px}
.legal-note{padding:16px 20px;background:var(--soft);font-size:15px;line-height:1.5;color:var(--ink)}
.legal-date{font-size:14px;color:var(--muted)}

.legal-list > div{display:flex;flex-direction:column;gap:6px;padding:20px 0;border-top:1px solid var(--line)}
.legal-list dt{font-size:14px;font-weight:600;color:var(--muted)}
.legal-list dd{display:flex;flex-direction:column;gap:4px;font-size:16px;line-height:1.6;color:var(--ink)}

.legal-sections{display:flex;flex-direction:column;gap:20px}
.legal-sections section{display:flex;flex-direction:column;gap:12px;padding-top:24px;border-top:1px solid var(--line)}
.legal-sections h2{
  font-family:var(--font-head);font-weight:850;font-stretch:112%;letter-spacing:-.025em;
  font-size:20px;line-height:1.15;color:var(--ink);
}
.legal-sections p{font-size:16px;line-height:1.65;color:var(--text)}

.notfound .home-link{font-size:var(--text-l);font-weight:600}
.notfound-en{display:flex;flex-direction:column;gap:20px;margin-top:24px;padding-top:32px;border-top:1px solid var(--line)}
.notfound-en .display{font-size:clamp(1.75rem, 1.2rem + 2.2vw, 3rem)}

@media (min-width:768px){
  .legal-list > div{display:grid;grid-template-columns:minmax(0, 220px) minmax(0, 1fr);gap:32px;padding:24px 0}
  .legal-list dd{font-size:17px}
}
@media (min-width:1200px){
  .legal-band{gap:28px;padding:72px var(--gutter) 80px}
  .legal-body{padding:80px var(--gutter) 120px}
  .legal-list > div{grid-template-columns:280px minmax(0, 1fr);gap:40px}
  .legal-sections{gap:28px}
  .legal-sections section{padding-top:32px}
  .legal-sections h2{font-size:24px}
  .legal-sections p{font-size:17px}
}

/* ---------- Druck ---------- */
@media print{
  .site-header .header-actions,.mobile-menu,.skip-link{display:none !important}
  .hero,.section--blue,.section--ink,.legal-band{background:#FFFFFF !important;color:#000 !important}
  .hero .display,.section--blue .display,.section--ink .display,.legal-band h1,
  .hero-lead,.section--blue p,.section--ink p,.legal-intro,.share-name,.share-row{color:#000 !important}
  .truss{display:none}
}
