/* Altun & Riechert – Layout nach Referenz (lpas.com, Startseite), eigener Code und eigene Inhalte.
   Marken-Tokens und Schrift kommen aus brand_assets/tokens.css (wird vor dieser Datei geladen).
   Grundsatz: Inhalte funktionieren ohne JavaScript, Effekte (fixierter Hero, Einblenden)
   schaltet assets/site.js nur zusätzlich ein. */

:root {
  /* Marke – Quelle ist tokens.css, die Werte hier sind nur Rückfall */
  --petrol: var(--brand-petrol, #123B40);
  --amber: var(--brand-amber, #E39A2D);

  /* Flächen und Text – abgeleitet aus der Marke (tokens.css) */
  --dark: var(--brand-petrol-deep, #0C2A2E);
  --glass: rgba(12, 42, 46, .72);
  --band: var(--brand-mist, #D3DEDC);
  --paper: var(--brand-paper, #F3F6F5);
  --ink: #111111;
  --ink-2: #1B2F32;
  --grey: #5E6B6D;
  --grey-3: #A9B8B9;
  --line: #D3DEDC;
  --white: #FFFFFF;

  --gutter: 50px;
  --gap: 10px;
  --panel-w: 53.54vw;   /* 771 / 1440 */
  --band-h: 285px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }   /* Anker und Fokus nicht unter dem festen Header */
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; font-weight: 400; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Typo-Stufen */
.t-3xl { font-size: 75px; line-height: 1; letter-spacing: -0.03em; }
.t-xxl { font-size: 56px; line-height: 1.1; letter-spacing: -0.025em; }
.t-xl  { font-size: 50px; line-height: 1.1; letter-spacing: -0.02em; }
.t-l   { font-size: 38px; line-height: 1.1; letter-spacing: -0.02em; }
.t-m   { font-size: 28px; line-height: 1.3; letter-spacing: -0.01em; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.amp { color: var(--amber); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--petrol); color: var(--white); border-radius: 6px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(76px); }

.line-label {
  padding: 10px 0; margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--grey);
}

/* ---------- Logo-Kachel ---------- */
.logo-tile {
  /* Flex statt Grid: „A“, „&“ und „R“ sind getrennte Knoten und müssen in einer Zeile bleiben */
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  white-space: nowrap;
  width: 34px; height: 34px;
  background: var(--petrol); color: var(--white);
  font-weight: 820; font-stretch: 108%; font-size: 13px; letter-spacing: -0.02em;
}
.logo-tile::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 16px; height: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--amber) 0 30%, transparent 30% 37%, rgba(227,154,45,.65) 37% 67%, transparent 67% 74%, rgba(227,154,45,.35) 74%);
}
.logo-tile--lg { width: 52px; height: 52px; font-size: 19px; }
.logo-tile--lg::after { bottom: 9px; width: 24px; }

/* ---------- Ladebildschirm (nur CSS, blockiert keine Klicks) ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--dark); color: var(--white);
  pointer-events: none;
  animation: preloader-out .4s var(--ease) .8s forwards;
}
.preloader__words li {
  font-size: 50px; line-height: 1.1; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(20px);
  animation: word-in .4s var(--ease) forwards;
}
.preloader__words li:nth-child(2) { animation-delay: .1s; }
.preloader__words li:nth-child(3) { animation-delay: .2s; }
.preloader__words li:nth-child(4) { animation-delay: .3s; }
@keyframes word-in { to { opacity: 1; transform: none; } }
@keyframes preloader-out { to { opacity: 0; visibility: hidden; } }

/* ---------- Header ---------- */
.topbar {
  position: fixed; z-index: 50;
  top: 25px; left: 40px; right: 40px;
  height: 50px; padding: 10px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink-2);
  transition: color .3s var(--ease);
}
.topbar.is-light { color: var(--white); }
.topbar__logo { display: inline-flex; align-items: center; transition: opacity .3s var(--ease), visibility .3s; }
.topbar.is-compact .topbar__logo { opacity: 0; visibility: hidden; }
.topbar__items { display: flex; align-items: center; gap: 10px; border-radius: 10px; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
/* Beim Scrollen eigene Fläche, damit kein Seiteninhalt durch den Header scheint */
.topbar.is-compact .topbar__items { padding: 5px; background: var(--dark); color: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 10px 24px rgba(12, 42, 46, .3); }

.lang__pill {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--glass); border-radius: 6px;
}
.lang__opt {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  border-radius: 4px; color: var(--white); font-size: 12px;
  transition: background-color .2s var(--ease);
}
.lang__opt.is-active { background: var(--dark); }
a.lang__opt:hover { background: rgba(255, 255, 255, .15); }
.lang__opt.is-disabled { opacity: .5; cursor: default; }

.topbar__cta {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  background: var(--amber); color: var(--ink); border-radius: 6px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(18, 59, 64, .12), 0 6px 16px rgba(18, 59, 64, .14);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.topbar__cta:hover { background: #EBA94A; }
.topbar__cta:active { transform: scale(.97); }

.menu-btn {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 0 0 3px;
  background: var(--glass); border-radius: 6px; color: var(--white);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.menu-btn__text {
  display: inline-flex; align-items: center; height: 24px; padding: 0 7px;
  background: var(--dark); border-radius: 4px; font-size: 12px;
}
.menu-btn:hover { background: rgba(12, 42, 46, .9); }
.menu-btn:active { transform: scale(.97); }

/* ---------- Menü (Vollbild: Links links, Kontakt-Karte rechts) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: radial-gradient(900px 600px at 85% 10%, rgba(227, 154, 45, .16), transparent 70%),
              radial-gradient(1100px 800px at 0% 100%, rgba(31, 90, 96, .55), transparent 70%),
              var(--dark);
  color: var(--white);
  display: flex; flex-direction: column; padding: 110px var(--gutter) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  scroll-padding-top: 100px;
}
.menu__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .35; pointer-events: none; }
.menu__inner {
  position: relative; width: 100%; max-width: 1240px; margin: auto;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 60px; align-items: center;
}
.menu__list { border-top: 1px solid rgba(255, 255, 255, .18); }
.menu__list li { border-bottom: 1px solid rgba(255, 255, 255, .18); animation: menu-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 80ms); }
.menu__list a {
  display: grid; grid-template-columns: 56px auto 1fr; align-items: baseline; gap: 0 16px;
  padding: 14px 0; position: relative;
  transition: transform .3s var(--ease), color .2s var(--ease);
}
.menu__no { font-size: 13px; color: var(--amber); font-variant-numeric: tabular-nums; }
.menu__label { font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.menu__hint { font-size: 14px; color: var(--grey-3); justify-self: end; text-align: right; transition: opacity .2s var(--ease); }
.menu__list a:hover, .menu__list a:focus-visible { transform: translateX(10px); color: var(--amber); }
.menu__list a:active { transform: translateX(6px) scale(.99); }

.menu__card {
  padding: 32px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 30px 60px rgba(0, 0, 0, .28);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: menu-in .7s var(--ease) both; animation-delay: .35s;
}
.menu__card-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.menu__card-title { font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.menu__card-text { color: rgba(255, 255, 255, .8); line-height: 1.5; }
.menu__card-addr { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--grey-3); padding-top: 14px; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .16); width: 100%; }
@keyframes menu-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 6px;
  font-weight: 600; font-size: 16px;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.btn--accent {
  background: var(--amber); color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 10px 28px rgba(227, 154, 45, .28);
}
.btn--accent:hover { background: #EBA94A; }
.btn--accent:active { transform: scale(.97); }

.btn-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 45px; height: 45px; flex: none;
  border: 1px solid currentColor; border-radius: 50%;
  transition: transform .25s var(--ease);
}
.btn-circle:hover { transform: rotate(90deg); }
.btn-circle:active { transform: rotate(90deg) scale(.92); }

.arrow-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 29px; height: 29px; flex: none; border-radius: 50%;
  background: var(--line); color: var(--ink-2);
  transition: transform .25s var(--ease);
}
.arrow-dot--light { background: none; border: 1px solid currentColor; color: inherit; }

.btn-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.btn-arrow__title {
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
              linear-gradient(var(--line), var(--line)) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.btn-arrow:hover .btn-arrow__title { background-size: 100% 1px, 100% 1px; }
.btn-arrow__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 29px; height: 29px; border-radius: 50%; background: var(--line);
  transition: transform .25s var(--ease);
}
.btn-arrow:hover .btn-arrow__icon { transform: translateX(3px); }
.btn-arrow:active .btn-arrow__icon { transform: scale(.92); }

.btn-line {
  display: inline-block; padding-bottom: 3px; font-size: 16px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: opacity .2s var(--ease);
}
.btn-line:hover { opacity: .65; }
.btn-line:active { opacity: .45; }

/* ---------- Hero ---------- */
/* Grundzustand (ohne JS / reduzierte Bewegung): Hero oben, Panels darunter als Scroll-Leiste */
.hero { position: relative; background: var(--dark); }
.hero__main {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: 120px var(--gutter) 60px;
  color: var(--white); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Animierte Höhenlinien (assets/site.js) ersetzen das Standbild nur, wenn JS läuft */
.hero__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero__main.has-canvas .hero__bg { visibility: hidden; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.25)); }
.hero__details {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px;
  font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.hero__scroll { justify-self: end; display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll .arrow-dot { transform: rotate(90deg); }
.hero__scroll:hover .arrow-dot { transform: translateY(3px) rotate(90deg); }
.hero__content { position: relative; max-width: 900px; outline: none; }
.hero__lead { max-width: 560px; margin-top: 22px; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .9); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.hero__note { font-size: 14px; color: rgba(255, 255, 255, .85); }
.hero__mail { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.hero__mail a { text-decoration: underline; text-underline-offset: 3px; transition: opacity .2s var(--ease); }
.hero__mail a:hover { opacity: .75; }
.hero__mail a:active { opacity: .55; }
.hero__example {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; width: fit-content;
  font-size: 15px; font-weight: 600; color: var(--white);
}
.hero__example .arrow-dot { transition: transform .3s var(--ease); }
.hero__example:hover .arrow-dot { transform: translateX(4px); }
.hero__example:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 4px; }
.hero__example:active { opacity: .7; }

.hero__strip {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  background: var(--dark);
}
.panel { position: relative; flex: none; width: var(--panel-w); height: 720px; display: flex; flex-direction: column; scroll-snap-align: start; }
.panel--last { display: none; }
.panel__image { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--band); }
.panel__image img,
.panel__image video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.panel:hover .panel__image img,
.panel:hover .panel__image video { transform: scale(1.03); }
.panel__band {
  position: relative; height: var(--band-h); flex: none;
  padding: 40px 30px 0;
  background: var(--panel); color: var(--panel-ink);
}
.panel__area {
  display: inline-block; margin-bottom: 14px; padding: 3px 8px;
  border: 1px solid currentColor; border-radius: 4px;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.panel__links { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 14px; }
.panel__links a,
.panel__links button { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.panel__links a::after,
.panel__links button::after { content: "→"; opacity: .6; transition: transform .2s var(--ease); }
.panel__links a:hover::after,
.panel__links button:hover::after { transform: translateX(3px); }
.panel { cursor: pointer; }
.panel__plus {
  position: absolute; top: 40px; right: 30px;
  cursor: pointer; background: transparent; border: 1px solid currentColor;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.panel:hover .panel__plus {
  transform: scale(1.12);
  background: currentColor;
  color: var(--panel);
}
.panel__title { position: absolute; left: 30px; bottom: 57px; max-width: calc(100% - 300px); hyphens: auto; overflow-wrap: break-word; }
.panel__count { position: absolute; left: 30px; bottom: 30px; font-size: 12px; }
.panel__subtitle {
  position: absolute; right: 30px; bottom: 57px; max-width: 240px;
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}

/* Fixierter Hero – nur wenn site.js die Klasse setzt (Desktop, Bewegung erlaubt) */
.pin-ok .hero-pin .hero { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.pin-ok .hero-pin .hero__main { position: absolute; inset: 0 auto 0 0; width: 86.1%; min-height: 0; padding: 60px 40px 60px var(--gutter); }
.pin-ok .hero-pin .hero__bg,
.pin-ok .hero-pin .hero__canvas,
.pin-ok .hero-pin .hero__overlay { width: 100vw; }
.pin-ok .hero-pin .hero__strip {
  position: absolute; top: 0; bottom: 0; left: 86.1%;
  overflow: visible; background: none; will-change: transform;
}
.pin-ok .hero-pin .panel { height: 100%; }
.pin-ok .hero-pin .panel--last { display: block; background: var(--dark); }

/* ---------- Sektionen: gemeinsames Raster ----------
   Jede Sektion hat eine eigene Fläche (dunkel, Papier, Sand, Nebel), runde Oberkante
   und denselben Aufbau: Eyebrow → Überschrift → Einleitung → Inhalt. Keine weißen Lücken. */
:root { --sec-y: 112px; --sec-radius: 32px; --sand: #F6EBD8; --mist-soft: #E1EAE8; }

.hero-pin + .sec { z-index: 0; }
.sec { position: relative; padding: var(--sec-y) 0; overflow: hidden; }
.sec + .sec { margin-top: calc(var(--sec-radius) * -1); border-radius: var(--sec-radius) var(--sec-radius) 0 0; }
.sec__in { position: relative; max-width: 1440px; margin: 0 auto; }
.sec__head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.sec__title { letter-spacing: -0.03em; }
.sec__lead { font-size: 18px; line-height: 1.6; max-width: 620px; }

.sec--dark { background: radial-gradient(900px 500px at 90% 0%, rgba(227, 154, 45, .14), transparent 70%), var(--dark); color: var(--white); }
.sec--dark::before { content: ""; position: absolute; inset: 0; background: url("../images/grafik/footer.svg") center / cover; opacity: .5; pointer-events: none; }
.sec--dark .sec__lead { color: rgba(255, 255, 255, .82); }
.sec--paper { background: var(--paper); color: var(--ink); z-index: 1; }
.sec--sand { background: var(--sand); color: var(--ink); z-index: 2; }
.sec--mist { background: var(--mist-soft); color: var(--ink); z-index: 3; }
.sec--paper .sec__lead, .sec--sand .sec__lead, .sec--mist .sec__lead { color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; width: fit-content;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.eyebrow b {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 24px; padding: 0 8px; border-radius: 12px;
  background: var(--amber); color: var(--ink); font-size: 12px; letter-spacing: .02em;
}

.btn--dark { background: var(--petrol); color: var(--white); box-shadow: 0 1px 2px rgba(18, 59, 64, .2), 0 12px 28px rgba(18, 59, 64, .25); }
.btn--dark:hover { background: var(--ink-2); }
.btn--dark:active { transform: scale(.97); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn-arrow--light { color: var(--white); }
.btn-arrow--light .btn-arrow__icon { background: rgba(255, 255, 255, .16); }
.btn-arrow--light .btn-arrow__title { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat, linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)) 0 100% / 100% 1px no-repeat; }

/* ---------- Über uns ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.pillar {
  padding: 32px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 24px 48px rgba(0, 0, 0, .22);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(227, 154, 45, .6); }
.pillar__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--amber); color: var(--ink); margin-bottom: 10px; }
.pillar__title { font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.pillar p { color: rgba(255, 255, 255, .82); line-height: 1.6; max-width: 340px; }

/* ---------- Ablauf ---------- */
.steps__list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; margin-bottom: 28px; }
.step {
  position: relative; padding: 72px 28px 32px; border-radius: 20px; background: var(--white);
  box-shadow: 0 1px 2px rgba(18, 59, 64, .08), 0 18px 40px rgba(18, 59, 64, .10);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(18, 59, 64, .1), 0 28px 56px rgba(18, 59, 64, .16); }
.step__no {
  position: absolute; top: 0; left: 28px; transform: translateY(-50%);
  width: 62px; height: 62px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--petrol); color: var(--white); font-size: 26px; font-weight: 700;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--amber);
}
.step__title { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.step p { color: var(--ink-2); line-height: 1.6; }
.steps__list { margin-top: 34px; }
.faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; }
.faq__item { padding: 22px 24px; border-radius: 16px; background: rgba(18, 59, 64, .06); border-left: 4px solid var(--amber); }
.faq dt { font-weight: 700; margin-bottom: 6px; color: var(--petrol); }
.faq dd { margin: 0; color: var(--ink-2); line-height: 1.55; }

/* ---------- Beispiel ---------- */
.example { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.example__text { display: grid; gap: 22px; justify-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: rgba(18, 59, 64, .08); border: 1px solid rgba(18, 59, 64, .14); font-size: 14px; color: var(--petrol); }
.browser {
  display: block; border-radius: 16px; overflow: hidden; background: var(--white);
  box-shadow: 0 2px 4px rgba(18, 59, 64, .1), 0 30px 70px rgba(18, 59, 64, .28);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.browser:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 4px 8px rgba(18, 59, 64, .12), 0 40px 90px rgba(18, 59, 64, .34); }
.browser:active { transform: scale(.995); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--petrol); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.browser__bar i:first-child { background: var(--amber); }
.browser__url { margin-left: 10px; padding: 3px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 12px; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser__cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--petrol); color: var(--white); font-size: 14px; }
.browser:hover .arrow-dot { transform: translateX(3px); }

.grid-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-top: 50px; align-items: end; }
.small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-self: end; }
.img-card { display: block; }
.img-card__image { display: block; overflow: hidden; aspect-ratio: 324 / 202; background: var(--band); }
.img-card--big .img-card__image { aspect-ratio: 658 / 411; }
.img-card__image img { width: 100%; height: 100%; object-fit: cover; }
.img-card__title { display: block; margin-top: 15px; }
.img-card__loc { display: block; margin-top: 2px; font-size: 12px; color: var(--grey); }

/* ---------- Team ---------- */
.team__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person {
  overflow: hidden; border-radius: 20px; background: var(--white);
  box-shadow: 0 1px 2px rgba(18, 59, 64, .08), 0 18px 40px rgba(18, 59, 64, .12);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.person:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(18, 59, 64, .1), 0 28px 56px rgba(18, 59, 64, .2); }
/* height:auto nötig, sonst überstimmt das height-Attribut (1000) das Seitenverhältnis */
.person__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--band); }
.person__text { padding: 22px 24px 28px; border-top: 4px solid var(--amber); }
.person__name { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.person__role { margin-top: 4px; font-size: 14px; color: var(--petrol); font-weight: 600; }
.person__bio { margin-top: 10px; color: var(--ink-2); line-height: 1.55; }

/* ---------- Aktuelles (vorbereitet, derzeit ausgeblendet) ---------- */
.latest { margin-top: 120px; }
.latest__title { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.latest__list li { border-bottom: 1px solid var(--line); }
.latest__item { display: grid; grid-template-columns: 50.4% 34.5% 1fr auto; align-items: center; padding: 15px 0; }
.latest__item h3 { font-size: 16px; }
.latest__item p { font-size: 14px; color: var(--grey); }
.latest__date { font-size: 12px; font-weight: 600; }

/* ---------- Footer: Kontakt-Block + Fußzeile ---------- */
.footer { position: relative; z-index: 4; margin-top: calc(var(--sec-radius) * -1); color: var(--white); background: var(--dark); border-radius: var(--sec-radius) var(--sec-radius) 0 0; overflow: hidden; }
.footer__cta { position: relative; padding: var(--sec-y) 0 80px; overflow: hidden; }
.footer__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .7; }
.footer__cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 15% 100%, rgba(227, 154, 45, .18), transparent 70%), linear-gradient(to top, rgba(12, 42, 46, .75), rgba(12, 42, 46, .15)); }
.footer__ctaInner { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; display: grid; gap: 22px; justify-items: start; }
.footer__title { max-width: 900px; letter-spacing: -0.03em; }
.footer .sec__lead { color: rgba(255, 255, 255, .85); }
.footer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 10px; }
.copy-state { font-size: 13px; color: var(--grey-3); min-height: 16px; }

.footer__bottom { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding-top: 56px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand p { font-size: 14px; line-height: 1.5; color: var(--grey-3); }
.footer__col h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); font-weight: 600; margin-bottom: 10px; }
.footer__col p { font-size: 15px; line-height: 1.7; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__nav a { color: var(--grey-3); transition: color .2s var(--ease); }
.footer__nav a:hover, .footer__nav a.is-active { color: var(--white); }
.footer__row3 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 28px 0 8px; font-size: 14px; }
.footer__copy, .footer__credits { color: var(--grey-3); }
.footer__credits { justify-self: end; }
.footer__top-link { display: inline-flex; align-items: center; gap: 4px; transition: opacity .2s var(--ease); }
.footer__top-link:hover { opacity: .7; }

/* ---------- Einblenden (nur wenn site.js läuft) ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
.reveal-ready .pillar.is-in, .reveal-ready .step.is-in, .reveal-ready .person.is-in { transition: opacity .9s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease); }

/* ---------- Tablet / Mobile ---------- */
@media (max-width: 1023px) {
  :root { --gutter: 20px; --band-h: auto; }
  .t-3xl { font-size: 40px; }
  .t-xxl { font-size: 34px; }
  .t-xl  { font-size: 34px; }
  .t-l   { font-size: 28px; }
  .t-m   { font-size: 22px; }

  .topbar { left: 8px; right: 8px; top: 10px; padding: 8px; }
  .topbar__items { gap: 6px; }
  .lang__opt { padding: 0 7px; }
  .topbar__cta { padding: 0 10px; }

  .hero__main { padding: 90px var(--gutter) 32px; gap: 24px; }
  .hero__details { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
  .hero__lead { font-size: 16px; margin-top: 16px; }
  .hero__actions { margin-top: 18px; }
  .hero__actions .btn { width: 100%; }

  /* Panels kompakt untereinander, alle Infos sichtbar */
  .hero__strip { display: block; overflow: visible; }
  .panel { width: 100%; height: auto; }
  .panel__image { flex: none; height: 120px; }
  .panel__band { padding: 22px 20px 24px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
  .panel__area { grid-column: 1 / -1; justify-self: start; margin-bottom: 12px; }
  .panel__links { grid-column: 1 / -1; grid-row: 4; margin-top: 14px; }
  .panel__plus { position: static; grid-column: 2; grid-row: 2; align-self: start; width: 40px; height: 40px; }
  .panel__title { position: static; grid-column: 1; grid-row: 2; max-width: none; }
  .panel__count { position: static; grid-column: 1; grid-row: 5; margin-top: 12px; }
  .panel__subtitle { position: static; grid-column: 1 / -1; grid-row: 3; max-width: none; margin-top: 8px; align-items: flex-start; text-align: left; }

  :root { --sec-y: 72px; --sec-radius: 24px; }
  .sec { padding: var(--sec-y) 0; }
  .sec__head { margin-bottom: 36px; gap: 14px; }
  .sec__lead { font-size: 16px; }
  .pillars, .steps__list, .faq, .team__list { grid-template-columns: 1fr; }
  .pillars { gap: 14px; margin-bottom: 30px; }
  .pillar { padding: 24px; }
  .steps__list { gap: 44px; margin-top: 40px; }
  .steps__list::before { content: ""; position: absolute; left: 59px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--grey-3) 0 8px, transparent 8px 16px); }
  .step { padding: 48px 22px 26px; }
  .step__no { left: 28px; }
  .faq { gap: 12px; }
  .example { grid-template-columns: 1fr; gap: 36px; }
  .browser__bar { padding: 10px 12px; }
  .team__list { gap: 18px; }
  /* Team auf dem Handy kompakt: Bild links, Text rechts */
  .person { display: grid; grid-template-columns: 96px 1fr; }
  .person__photo { height: 100%; aspect-ratio: auto; align-self: stretch; }
  .person__text { border-top: 0; border-left: 4px solid var(--amber); padding: 14px 16px 16px; align-self: stretch; }
  .person__name { font-size: 20px; }
  .person__bio { font-size: 15px; }
  .grid-row { grid-template-columns: 1fr; gap: 30px; }

  .footer__cta { padding: var(--sec-y) 0 56px; }
  .footer__actions { flex-direction: column; align-items: flex-start; width: 100%; }
  .footer__actions .btn { width: 100%; }
  .footer__bottom { padding-top: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav { margin-top: 32px; }
  .footer__row3 { grid-template-columns: 1fr; gap: 10px; }
  .footer__credits { justify-self: start; }

  .menu { padding: 84px var(--gutter) 28px; scroll-padding-top: 80px; }
  .menu__inner { grid-template-columns: 1fr; gap: 28px; align-items: start; margin: 0 auto auto; }
  .menu__list a { grid-template-columns: 38px 1fr; padding: 11px 0; }
  .menu__label { font-size: 30px; }
  .menu__hint { grid-column: 2; justify-self: start; text-align: left; font-size: 13px; margin-top: 2px; }
  .menu__card { padding: 22px; }
  .menu__card-title { font-size: 24px; }
  .menu__card .btn { width: 100%; }

}

/* Pause-Knopf für Videos (legt site.js bzw. leistung.js an) */
.video-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(12, 42, 46, .62); color: var(--white); cursor: pointer;
  box-shadow: 0 1px 2px rgba(12, 42, 46, .2), 0 6px 16px rgba(12, 42, 46, .25);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.video-toggle:hover { background: rgba(12, 42, 46, .85); transform: scale(1.06); }
.video-toggle:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.video-toggle:active { transform: scale(.94); }
.video-toggle__play { display: none; }
.video-toggle.is-paused .video-toggle__play { display: inline; }
.video-toggle.is-paused .video-toggle__pause { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .preloader { display: none; }   /* ohne Animation würde er nie ausblenden */
  .video-toggle { display: none; }   /* Videos stehen ohnehin */
}

/* ===================================================================
   Effekte (assets/site.js, Block „Effekte“): nur transform/opacity,
   nur mit JS (.fx) und ohne prefers-reduced-motion
   ========================================================================== */

/* Fortschritt beim Scrollen */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--amber); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* Überschriften: Wörter steigen nacheinander auf */
.fx .split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.fx .split-word > span {
  display: inline-block; transform: translateY(105%); opacity: 0;
  transition: transform .9s cubic-bezier(.2, .9, .25, 1.15), opacity .6s var(--ease);
  transition-delay: calc(var(--i) * 55ms);
}
.fx .is-split.is-in .split-word > span { transform: none; opacity: 1; }

/* Trennlinien zeichnen sich */
.fx .line-label { border-bottom-color: transparent; position: relative; }
.fx .line-label::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--line); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.1s var(--ease);
}
.fx .line-label.is-in::after { transform: scaleX(1); }

/* Gestaffeltes Erscheinen */
.fx [data-stagger] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.fx [data-stagger].is-in { opacity: 1; transform: none; }
/* Nach dem Erscheinen reagieren die Karten wieder schnell auf Hover */
.fx .pillar[data-stagger].is-in, .fx .step[data-stagger].is-in, .fx .person[data-stagger].is-in { transition: opacity .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease); }

/* Ablauf-Karten */
.step { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step__no { transition: color .3s var(--ease), transform .45s var(--ease); display: inline-block; }
.step:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(18, 59, 64, .06), 0 18px 40px rgba(18, 59, 64, .14); }
.step:hover .step__no { color: var(--amber); transform: translateX(4px); }
.fx [data-stagger].step.is-in:hover { transform: translateY(-6px); }

/* Buttons: Lichtstreifen, Welle, Magnet */
.btn--accent, .topbar__cta { position: relative; overflow: hidden; isolation: isolate; }
.btn--accent::after, .topbar__cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--accent:hover::after, .topbar__cta:hover::after { transform: translateX(120%); }
.fx-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: currentColor; opacity: .25; transform: scale(0);
  animation: fx-ripple .6s var(--ease) forwards;
}
@keyframes fx-ripple { to { transform: scale(1); opacity: 0; } }
.fx-magnet { transition: transform .35s cubic-bezier(.2, .9, .25, 1.3); }

/* Header-Kurz-Check: dezenter Puls */
.fx .topbar__cta::before {
  content: ""; position: absolute; inset: -3px; border-radius: 9px; z-index: -2;
  border: 2px solid var(--amber); opacity: 0; pointer-events: none;
  animation: fx-ping 6s var(--ease) 3s infinite;
}
@keyframes fx-ping { 0%, 80% { opacity: 0; transform: scale(1); } 85% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* Mauszeiger-Begleiter (nur feine Zeiger) */
.fx-cursor {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid var(--amber); opacity: 0;
  transition: opacity .3s var(--ease), width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s var(--ease);
}
.fx-cursor.is-visible { opacity: .85; }
.fx-cursor.is-hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; background-color: rgba(227, 154, 45, .12); }

/* Panels: Video bewegt sich mit der Maus */
.fx .panel__image video, .fx .panel__image img {
  transform: scale(1.03) translate(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -6px));
  transition: transform .6s var(--ease);
}

/* Muster-Website: Parallaxe */
.fx .browser img { transform: scale(1.06) translateY(var(--py, 0px)); transition: none; }

/* Team: 3D-Neigung */
.person__photo { transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; }
.fx .person:hover .person__photo {
  transform: perspective(700px) rotateY(calc(var(--mx, 0) * 10deg)) rotateX(calc(var(--my, 0) * -8deg)) scale(1.03);
  box-shadow: 0 2px 6px rgba(18, 59, 64, .08), 0 24px 50px rgba(18, 59, 64, .18);
}

/* Menü: Links fliegen gestaffelt ein */
.fx .menu:not([hidden]) .menu__list li { animation: fx-menu-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
@keyframes fx-menu-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* Detailfenster: federt hoch, Inhalte nacheinander */
.panel-modal[open] .panel-modal__box { animation: fx-modal-in .55s cubic-bezier(.2, .9, .25, 1.2) both; }
@keyframes fx-modal-in { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }
.panel-modal[open] .modal-item { animation: fx-item-in .5s var(--ease) both; }
.panel-modal[open] .modal-item:nth-child(1) { animation-delay: .15s; }
.panel-modal[open] .modal-item:nth-child(2) { animation-delay: .22s; }
.panel-modal[open] .modal-item:nth-child(3) { animation-delay: .29s; }
.panel-modal[open] .modal-item:nth-child(4) { animation-delay: .36s; }
@keyframes fx-item-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* „Kopiert.“ springt kurz auf */
.copy-state:not(:empty) { display: inline-block; animation: fx-pop .45s cubic-bezier(.2, .9, .25, 1.5); color: var(--amber); }
@keyframes fx-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress, .fx-cursor { display: none; }
  .fx .split-word > span, .fx [data-stagger] { opacity: 1; transform: none; }
  .fx .line-label { border-bottom-color: var(--line); }
  .fx .line-label::after { display: none; }
  .fx .panel__image video, .fx .panel__image img, .fx .browser img { transform: none; }
}
=======
.nb { white-space: nowrap; }
