/* =========================================================
   Brüggemann Internationale Transporte – Stylesheet
   Redesign 2 »Fracht in Bewegung« · cineastisch-editorial
   Marke Navy #1A2B4C · Signal-Orange #E2611F (beibehalten)
   Typo: IBM Plex Sans Condensed (Display) · IBM Plex Sans (Text)
         · IBM Plex Mono (technische Labels)
   ========================================================= */

:root {
  /* --- Marke (unverändert als Kern) --- */
  --navy:        #1A2B4C;
  --navy-2:      #15233E;
  --navy-deep:   #0C1526;   /* cineastischer Hero/Anker */
  --navy-ink:    #0A121F;

  /* --- Signal-Akzent --- */
  --signal:      #E2611F;
  --signal-2:    #F0742E;
  --signal-deep: #C44E12;
  --signal-soft: rgba(226, 97, 31, 0.12);
  --signal-line: rgba(226, 97, 31, 0.32);

  /* --- Licht-Flächen (kühl abgestimmt auf Navy) --- */
  --paper:       #F4F6F9;
  --paper-2:     #E9EDF3;
  --surface:     #FFFFFF;

  /* --- Text --- */
  --ink:         #14233E;
  --ink-soft:    #47566E;
  --ink-faint:   #8592A6;

  /* --- Linien --- */
  --line:        rgba(20, 35, 62, 0.10);
  --line-strong: rgba(20, 35, 62, 0.18);

  /* --- auf Navy --- */
  --on-navy:      #EAF0F8;
  --on-navy-soft: #9BADC8;
  --on-navy-line: rgba(255, 255, 255, 0.12);

  --font-display: 'IBM Plex Sans Condensed', 'IBM Plex Sans', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --container: 1240px;
  --radius:    10px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Feder-Easings (kein linear / ease-in-out) */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm: 0 1px 2px rgba(15, 27, 48, 0.05), 0 6px 16px -8px rgba(15, 27, 48, 0.14);
  --shadow:    0 30px 70px -34px rgba(12, 21, 38, 0.42);
  --shadow-lg: 0 44px 100px -40px rgba(12, 21, 38, 0.55);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Feiner, fixer Grain-Overlay (physische Textur, nie im Scroll-Container) */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }
code { font-family: var(--font-mono); font-size: .85em; color: var(--ink-soft); }

h1, h2, h3, h4 {
  font-family: var(--font-display); line-height: 1.05; font-weight: 700;
  letter-spacing: -0.015em; color: var(--ink); text-wrap: balance;
}
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }
.text-accent { color: var(--signal); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--signal); color: #fff; padding: 10px 18px; border-radius: var(--radius); font-weight: 600; transition: top .25s var(--ease); }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; touch-action: manipulation; isolation: isolate;
  transition: transform .35s var(--spring), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--signal); color: #fff; box-shadow: 0 4px 12px -6px rgba(20, 35, 62, 0.28), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn--primary:hover { background: var(--signal-deep); transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(20, 35, 62, 0.32), inset 0 1px 0 rgba(255,255,255,0.18); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }

/* Button-in-Button: Pfeil sitzt in eigenem Kreis, bündig rechts */
.btn .ico { transition: transform .4s var(--spring); }
.btn--ghost:hover .ico, .btn--primary:hover .ico { transform: translate(3px, -1px); }
.btn--icon { padding-right: 8px; }
.btn--icon .btn__ico {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border-radius: 999px; background: rgba(255, 255, 255, 0.16);
  transition: transform .4s var(--spring), background .3s var(--ease);
}
.btn--ghost.btn--icon .btn__ico { background: var(--signal-soft); color: var(--signal); }
.btn--icon:hover .btn__ico { transform: translate(3px, -2px) scale(1.05); }
.btn--icon .btn__ico svg { width: 16px; height: 16px; }


.head { margin-bottom: clamp(44px, 6vw, 72px); }
.head__row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: end; }
.head__title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -0.02em; }
.head__lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 46ch; }

/* ---------- Header (statisch, volle Breite) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 15px 0; background: var(--navy-deep);
  border-bottom: 1px solid var(--on-navy-line);
  transition: padding .3s var(--ease), box-shadow .3s var(--ease);
}
.header.scrolled { padding: 9px 0; box-shadow: 0 12px 30px -18px rgba(8, 15, 28, 0.6); }
.header__inner { display: flex; align-items: center; gap: 16px; }
.brand { margin-right: auto; display: inline-flex; }
.brand__logo { height: 34px; width: auto; transition: height .3s var(--ease); }
.header.scrolled .brand__logo { height: 30px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 2px; }
.nav__link { font-family: var(--font-body); font-weight: 500; font-size: 14.5px; color: var(--on-navy-soft); padding: 8px 13px; border-radius: 999px; position: relative; transition: color .25s var(--ease), background .25s var(--ease); }
.nav__link::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--signal); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: #fff; }
.nav__cta { margin-left: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; z-index: 110; touch-action: manipulation; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--spring), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (cineastischer Navy-Block) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep); color: var(--on-navy);
  padding: clamp(112px, 14vw, 172px) 0 clamp(64px, 9vw, 116px);
  border-bottom-left-radius: clamp(24px, 4vw, 44px);
  border-bottom-right-radius: clamp(24px, 4vw, 44px);
}
/* Radialer Glow + Routen-Textur im Hintergrund */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(80% 110% at 88% -20%, rgba(226, 97, 31, 0.12), transparent 52%),
    radial-gradient(70% 90% at 4% 4%, rgba(58, 96, 156, 0.12), transparent 55%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 26px; color: #fff; }
.hero__lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--on-navy-soft); max-width: 52ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__actions .btn--ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.18); box-shadow: none; }
.hero__actions .btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); color: #fff; }

/* Trust-Strip statt erfundener Zahlen */
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 26px; border-top: 1px solid var(--on-navy-line); }
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-navy); font-weight: 500; }
.hero__trust svg { width: 18px; height: 18px; color: var(--signal-2); flex: none; }

/* Hero aside – Double-Bezel */
.hero__aside { position: relative; }
.hero__chip { position: absolute; left: -20px; bottom: 22px; z-index: 2; background: rgba(12,21,38,0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--on-navy); padding: 15px 18px; border-radius: 16px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow); }
.hero__chip-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; color: var(--signal-2); background: rgba(226,97,31,0.16); border-radius: 11px; }
.hero__chip-icon svg { width: 21px; height: 21px; }
.hero__chip-label { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; line-height: 1.4; color: var(--on-navy); }

/* ---------- Double-Bezel Bild-/Platzhalter-Flächen ---------- */
.frame { position: relative; }
.frame__inner {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  padding: 6px;
}
/* Äußere Schale (Doppelrand) */
.frame::before {
  content: ''; position: absolute; inset: -7px; z-index: -1; border-radius: calc(var(--radius-lg) + 7px);
  background: rgba(20,35,62,0.03);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero__aside .frame::before { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); }
.frame__inner::before { content: ''; position: absolute; inset: 6px; border-radius: calc(var(--radius-lg) - 6px); background-image: repeating-linear-gradient(135deg, var(--paper-2) 0 1px, transparent 1px 20px); opacity: .5; pointer-events: none; }
.frame__inner::after { content: ''; position: absolute; left: 6px; right: 6px; top: 6px; height: 3px; border-radius: 3px; background: var(--signal); }
.frame--hero .frame__inner { aspect-ratio: 4 / 3.4; }
.frame--portrait .frame__inner { aspect-ratio: 4 / 4.6; }
.frame--tile .frame__inner { aspect-ratio: 4 / 3.3; }
.frame__mark { position: relative; width: 40px; height: 40px; color: var(--navy); opacity: .85; }
.frame__tag { position: relative; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding: 6px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.frame__cap { margin-top: 14px; font-size: 12.5px; color: var(--ink-faint); text-align: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--alt { background: var(--surface); }
.section--alt + .section--alt { border-top: 1px solid var(--line); }

/* Subpages: unter dem fixen Header starten */
.subpage main { padding-top: clamp(96px, 12vw, 128px); }

/* Page-level CTA block – Navy-Insel */
.page-cta {
  position: relative; overflow: hidden; margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(34px, 5vw, 52px) clamp(30px, 5vw, 56px);
  border-radius: var(--radius-xl); background: var(--navy-deep); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  box-shadow: var(--shadow-lg);
}
.page-cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 140% at 92% -10%, rgba(226,97,31,0.14), transparent 60%); }
.page-cta p { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; letter-spacing: -0.02em; max-width: 22ch; }
.page-cta .btn { position: relative; }

/* ---------- Legal pages ---------- */
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 6px; }
.legal p { color: var(--ink-soft); margin-bottom: 14px; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; margin-bottom: 14px; }
.legal a { color: var(--signal); }
.legal a:hover { text-decoration: underline; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; color: var(--ink-soft); }
.legal ul li { margin-bottom: 6px; }
.legal .legal__updated { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-faint); }

/* ---------- Galerie / Text-Raster ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
/* leichte editoriale Asymmetrie */
.gallery .frame:nth-child(2) { transform: translateY(26px); }

.textgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.textcol {
  position: relative; padding: 30px 28px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.textcol::before { content: ''; position: absolute; left: 28px; top: 28px; width: 34px; height: 3px; border-radius: 3px; background: var(--signal); }
.textcol:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.textcol h3 { font-size: 1.24rem; margin: 24px 0 10px; }
.textcol p { color: var(--ink-soft); font-size: .99rem; }

/* ---------- Services (Bento-Karten mit Doppelrand-Anmutung) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 22px); }
.service {
  position: relative; padding: 34px 30px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.service::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--signal); background: var(--signal-soft); border: 1px solid var(--signal-line); border-radius: 15px; margin-bottom: 24px; transition: transform .5s var(--spring); }
.service:hover .service__icon { transform: translateY(-2px) rotate(-4deg); }
.service__icon svg { width: 26px; height: 26px; }
.service__title { font-size: 1.24rem; margin-bottom: 10px; }
.service__text { color: var(--ink-soft); font-size: .99rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 92px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); letter-spacing: -0.02em; margin: 16px 0 18px; }
.split__lead { color: var(--ink-soft); font-size: 1.14rem; margin-bottom: 14px; }

.feature-list { display: grid; gap: 0; margin-top: 28px; }
.feature { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature__bullet { width: 42px; height: 42px; flex: none; display: grid; place-items: center; color: var(--signal); background: var(--signal-soft); border: 1px solid var(--signal-line); border-radius: 11px; }
.feature__bullet svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 3px; }
.feature p { color: var(--ink-soft); font-size: .97rem; }

.prose { color: var(--ink-soft); margin-bottom: 18px; max-width: 58ch; }
.quote { position: relative; padding: 8px 0 8px 26px; margin: 28px 0 32px; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.quote::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--signal); }
.quote cite { display: block; margin-top: 12px; font-size: .92rem; font-style: normal; font-weight: 500; color: var(--signal); }
.split__body .btn { margin-top: 8px; }

/* ---------- Stats (Navy-Band) ---------- */
.stats { background: var(--navy-deep); border-radius: var(--radius-xl); overflow: hidden; }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(40px, 6vw, 64px) 28px; text-align: center; border-left: 1px solid var(--on-navy-line); }
.stat:first-child { border-left: 0; }
.stat__num { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat__num i { font-style: normal; font-size: .5em; margin-left: 2px; color: var(--signal-2); }
.stat__label { display: block; margin-top: 12px; font-family: var(--font-mono); font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-soft); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 0; }
.contact-item { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-item__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; color: var(--signal); background: var(--signal-soft); border: 1px solid var(--signal-line); border-radius: 12px; }
.contact-item__icon svg { width: 21px; height: 21px; }
.contact-item strong { display: block; font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 1px; color: var(--ink); }
.contact-item span, .contact-item a { color: var(--ink-soft); }
.contact-item a:hover { color: var(--signal); }

/* ---------- Form ---------- */
.form { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 44px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: .01em; margin-bottom: 8px; color: var(--ink); }
.field label span { color: var(--signal); }
.field input, .field textarea { font-family: var(--font-body); font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 13px 15px; width: 100%; resize: vertical; transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { border-color: var(--signal); background: var(--surface); outline: none; box-shadow: 0 0 0 4px var(--signal-soft); }
.field.invalid input, .field.invalid textarea { border-color: #d4351c; }
.field__error { color: #d4351c; font-size: 13px; margin-top: 6px; }
.form__note { color: var(--ink-faint); font-size: 13px; margin-top: 14px; }
.form__success { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--signal-soft); border: 1px solid var(--signal-line); color: var(--signal-deep); font-weight: 600; }
.form__success svg { width: 22px; height: 22px; flex: none; }

/* ---------- Footer (Navy) ---------- */
.footer { position: relative; background: var(--navy-deep); color: var(--on-navy); padding-top: 76px; overflow: hidden; }
.footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--on-navy-line); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.footer__logo { height: 38px; width: auto; margin-bottom: 20px; }
.footer__about { color: var(--on-navy-soft); font-size: .98rem; max-width: 38ch; }
.footer__col h4 { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--signal-2); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: var(--on-navy-soft); font-size: .96rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__contact li { color: var(--on-navy-soft); font-size: .96rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 24px 0; border-top: 1px solid var(--on-navy-line); color: var(--on-navy-soft); font-size: .9rem; }
.footer__legal a:hover { color: #fff; }

/* ---------- Kontakt-FAB (klein, immer sichtbar) ---------- */
.contact-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: #fff; touch-action: manipulation; box-shadow: var(--shadow); transition: transform .45s var(--spring), background .25s var(--ease); }
.contact-fab svg { width: 19px; height: 19px; transform: translate(-1px, 1px); }
.contact-fab:hover { background: var(--signal-deep); transform: translateY(-2px) scale(1.06); }
.contact-fab:active { transform: scale(.94); }

/* ---------- Reveal (gestaffelt, mit Blur) ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .textgrid { grid-template-columns: 1fr; }
  .head__row { grid-template-columns: 1fr; gap: 22px; }
  .gallery .frame:nth-child(2) { transform: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 68px; left: clamp(14px, 4vw, 22px); right: clamp(14px, 4vw, 22px); bottom: auto;
    height: auto; width: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(12, 21, 38, 0.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 22px;
    padding: 12px 16px 18px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%) scale(.98); opacity: 0; pointer-events: none;
    transition: transform .5s var(--ease-out), opacity .35s var(--ease);
  }
  .header.scrolled .nav { top: 56px; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; font-size: 1.05rem; padding: 15px 8px; color: var(--on-navy); border-radius: 12px; border-bottom: 1px solid var(--on-navy-line); }
  .nav__link::after { display: none; }
  .nav__list li:last-child .nav__link { border-bottom: 0; }
  .nav__link.active { color: var(--signal-2); }
  .nav__cta { width: 100%; text-align: center; margin-left: 0; margin-top: 14px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .stats__row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--on-navy-line); }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .page-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__chip { left: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

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

/* =========================================================
   web-pilot · Aktuelles & Termine — redaktionelles Magazin-Layout
   Artikel-Strom (Neuigkeiten) + sticky Termin-Agenda.
   swp-* Klassennamen unverändert (vom embed.js erwartet).
   ========================================================= */

/* ---- Seitenkopf / Masthead ---- */
.masthead { max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.masthead__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.masthead__title::after {
  content: "";
  display: block;
  width: 54px; height: 3px;
  margin-top: 22px;
  background: var(--signal);
  border-radius: 2px;
}
.masthead__lead {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---- Magazin-Raster: Artikel-Spalte + Termin-Agenda ---- */
.journal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(290px, 27vw, 350px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.journal__main { min-width: 0; }
#neuigkeiten, #termine { scroll-margin-top: 100px; }

/* ---- Neuigkeiten als Artikel-Strom (randlos, Haarlinien) ---- */
.swp-news { display: flex; flex-direction: column; }
.swp-news-item {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.swp-news-item:first-child { padding-top: 0; border-top: 0; }   /* Leitartikel */
.swp-news-item:last-child { padding-bottom: 0; }

/* Bild oben (embed.js gibt es nach dem Titel aus → per order nach vorn) */
.swp-thumb {
  order: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
  margin: 0 0 22px;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: 0 0 0 1px rgba(20, 35, 62, .05), 0 24px 50px -30px rgba(20, 35, 62, .45);
}

/* Datumszeile: ruhig, kein Orange, Tabular-Figures */
.swp-date {
  order: 1;
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.swp-title {
  order: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
  text-wrap: balance;
}
.swp-body {
  order: 3;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
  white-space: pre-line;
  max-width: 66ch;
}
.swp-body:last-child { margin-bottom: 0; }
.swp-more {
  order: 4;
  align-self: flex-start;
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.01em;
  color: var(--signal-deep);
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.swp-more::after { content: "→"; transition: transform 0.25s var(--ease); }
.swp-more:hover { color: var(--signal); }
.swp-more:hover::after { transform: translateX(3px); }

/* Leitartikel (erster Beitrag) größer skaliert */
.swp-news-item:first-child .swp-title { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.08; }
.swp-news-item:first-child .swp-body { font-size: 1.08rem; }
.swp-news-item:first-child .swp-thumb {
  border-radius: var(--radius-xl);
  max-height: 540px;
  margin-bottom: 26px;
  box-shadow: 0 0 0 1px rgba(20, 35, 62, .06), 0 40px 76px -34px rgba(20, 35, 62, .52);
}

/* ---- Termin-Agenda (sticky Beistellspalte) ---- */
.journal__aside { position: sticky; top: 100px; }
.agenda {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: 0 1px 2px rgba(20, 35, 62, .04), 0 30px 60px -42px rgba(20, 35, 62, .30);
}
.agenda__head { margin-bottom: 4px; }
.agenda__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.3rem; letter-spacing: -0.01em; color: var(--ink);
}
.agenda__sub { margin-top: 4px; font-size: 0.86rem; color: var(--ink-faint); }

.swp-events { margin-top: 8px; }
.swp-event-item { padding: 18px 0; border-top: 1px solid var(--line); }
.swp-event-item:first-child {
  border-top: 0;
  margin-top: 10px;
  padding: 4px 0 18px 16px;
  border-left: 2px solid var(--signal);   /* nächster Termin */
}
.swp-event-item .swp-date { color: var(--ink-faint); font-size: 0.78rem; margin-bottom: 6px; }
.swp-event-item .swp-title {
  font-family: var(--font-body); font-weight: 600;
  font-size: 1.02rem; line-height: 1.3; margin-bottom: 0; color: var(--ink);
}
.swp-event-item .swp-body { font-size: 0.9rem; line-height: 1.55; margin-top: 6px; }

.swp-empty { color: var(--ink-faint); font-size: 0.95rem; font-style: italic; }

/* ---- Zusammenbruch auf schmalen Viewports ---- */
@media (max-width: 900px) {
  .journal { grid-template-columns: 1fr; gap: clamp(40px, 9vw, 60px); }
  .journal__aside { position: static; }
}
