/* NEU/STAND – www.neustand.at
   Gestaltung nach Figma-Wireframe „1440 x Wireframe“ (Datei NEU / STAND). */

/* ---------- Schriften (selbst gehostet, keine Google-Anfrage) ---------- */
@font-face { font-family: "Saira SemiCondensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/saira-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira SemiCondensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/saira-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira SemiCondensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/saira-semi-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }

/* ---------- Tokens (Figma-Variablen) ---------- */
:root {
  --navy: #0d1b2a;
  --lime: #b8e85a;
  --lime-ink: #55751a;
  --cream: #f3f0e8;
  --white: #ffffff;
  --mute-blue: #808d98;
  --border: #dbdbdb;
  --border-cream: #c3c3c3;
  --border-blue: #2e4258;

  --f-display: "Saira SemiCondensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --f-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad-x: 48px;
  --pad-y: 112px;
  --page: 1440px;
  --header-h: 79px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
/* Bilder in Rahmen (div/figure) füllen ihren Rahmen immer vollständig aus */
.frame { position: relative; overflow: hidden; background: #e6e2d8; }
.projects .frame { background: #16273a; }
.frame > img, .hero__media > img, .vn__stage > img, .band > img, .final__box > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
/* Alle Texte ausgeglichen umbrechen */
h1, h2, h3, h4, p, li, summary, figcaption, address, label, .btn, .final__title span, .final__title small { text-wrap: balance; }
button { font: inherit; }
[hidden] { display: none !important; }
.consent-box:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* Hintergründe laufen über die volle Breite; der Inhalt sitzt in einem Container von 1440px mit 48px Innenabstand. */
.wrap { width: 100%; max-width: var(--page); margin-left: auto; margin-right: auto; padding: 0 var(--pad-x); }
.section { padding: var(--pad-y) 0; position: relative; }
.balance { text-wrap: balance; }

/* Eyebrow (IBM Plex Mono, Versalien) */
.eyebrow { font-family: var(--f-mono); font-size: 11px; line-height: 1.2; letter-spacing: 0.55px; text-transform: uppercase; }
.eyebrow--glow { color: var(--lime); text-shadow: 0 0 12px rgba(184, 232, 90, 0.8); }
.tag { display: inline-flex; align-items: center; background: var(--lime); color: var(--navy); padding: 6px 12px; }

/* Kapitelzeile mit Linien links/rechts */
.chapter { display: flex; align-items: center; gap: 16px; }
.chapter::before, .chapter::after { content: ""; flex: 1; height: 1px; background: var(--border-blue); }

/* Headlines */
.h-display { font-family: var(--f-display); font-weight: 700; line-height: 1.04; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: 48px; line-height: 1.04; letter-spacing: -1.44px; }
.lead { font-size: 19px; line-height: 1.4; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 12px 16px;
  border: 1px solid var(--lime); border-radius: 0;
  font-family: var(--f-body); font-weight: 600; font-size: 13px; line-height: 1.4;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }

/* Button-Interaktion: Lime-Fläche schiebt sich von links ein, Pfeil läuft durch, Druck gibt nach */
.btn { position: relative; overflow: hidden; isolation: isolate; will-change: transform; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .45s cubic-bezier(.65, 0, .35, 1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:active { transform: scale(.97); }
.btn img { transition: transform .35s cubic-bezier(.65, 0, .35, 1), filter .35s ease; }
.btn:hover img[src*="arrow"] { transform: translateX(4px); }
.btn:hover img[src*="phone"] { animation: ring .6s ease; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }

.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime::before { background: var(--white); }
.btn--lime:hover { border-color: var(--white); }
.btn--ghost { background: var(--navy); color: var(--white); font-weight: 500; transition: color .35s ease; }
.btn--ghost::before { background: var(--lime); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--navy); }
.btn--ghost:hover img { filter: brightness(0) saturate(100%) invert(9%) sepia(19%) saturate(2207%) hue-rotate(178deg) brightness(95%) contrast(95%); }
.btn--lg { font-size: 16px; padding: 12px 28px; }

/* ---------- Kopfzeile ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 27, 42, 0.75);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-blue);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); padding-top: 16px; padding-bottom: 16px; }
.logo { display: block; width: 140px; flex: none; }
.logo img, .logo svg { width: 140px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.5; }
.nav__links a { color: var(--white); text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--lime); text-shadow: 0 0 12px rgba(184, 232, 90, 0.8); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav__phone { color: var(--white); font-size: 13px; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.nav__phone:hover { color: var(--lime); }
.burger { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid var(--border-blue); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.header.is-open .burger span { background: transparent; }
.header.is-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.header.is-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.glow { position: absolute; left: 50%; top: -40px; width: 979px; height: 79px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(128, 141, 152, 0.28), rgba(13, 27, 42, 0)); filter: blur(60px); }
.hero__top { display: flex; gap: 80px; align-items: flex-end; justify-content: space-between; }
.hero__main { max-width: 635px; display: flex; flex-direction: column; gap: 32px; }
.hero__kicker { color: var(--mute-blue); }
.hero__kicker b { font-weight: 400; color: var(--lime); }
.hero__title { font-size: 78px; line-height: 0.95; text-transform: uppercase; margin-top: 24px; }
.accent-bar { width: 70px; height: 8px; background: var(--lime); }
.hero__lead { color: var(--mute-blue); font-size: 19px; line-height: 1.4; }
.hero__side { width: 280px; flex: none; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero__side p:not(.eyebrow) { font-size: 16px; line-height: 1.5; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero__phone { display: inline-flex; gap: 8px; align-items: flex-start; color: var(--white); text-decoration: none; font-size: 15px; }
.hero__phone:hover { color: var(--lime); }
.hero__phone small { color: var(--mute-blue); font-size: 13px; display: block; }
.hero__media { margin-top: 80px; position: relative; border-bottom: 1px solid var(--lime); overflow: hidden; }
.hero__media { height: 694px; }
.media-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 24px;
  background: rgba(13, 27, 42, 0.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: rgba(255,255,255,.5); }

/* ---------- Leistungen ---------- */
.services { background: var(--white); }
.intro { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 60px; }
.intro__head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 660px; }
.intro__text { max-width: 660px; }
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; }
.card__body { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card__bar { width: 40px; height: 4px; background: var(--lime); }
.card--dark .card__body { background: var(--navy); color: var(--white); }
.card--dark .card__bar { background: var(--white); }
.card--dark h3 { font-weight: 600; font-size: 28px; line-height: 1.1; letter-spacing: -0.56px; color: var(--lime); }
.card--light .card__body { background: var(--cream); flex: 1; }
.card--light h3 { font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -0.44px; }
.card p { text-wrap: balance; }
.card__img { width: 100%; }
.card--dark .card__img { height: 353px; }
.card--light .card__img { height: 250px; }

/* ---------- Projekte ---------- */
.projects { background: var(--navy); color: var(--white); }
.projects__intro { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; margin-bottom: 48px; }
.projects__intro .h2 { letter-spacing: -1.5px; color: var(--white); }
.projects__intro .lead { color: var(--mute-blue); max-width: 586px; line-height: 1.5; text-wrap: balance; }
.portfolio { display: grid; grid-template-columns: 808fr 504fr; gap: 32px; align-items: start; margin-bottom: 48px; }
.portfolio__big .frame { height: 520px; }
.portfolio__small .frame { height: 311px; }
.caption { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; }
.caption i { width: 40px; height: 4px; background: var(--lime); }
.selection { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.selection .frame { height: 442px; }
.selection .caption { padding: 16px 0; border-bottom: 1px solid var(--border-blue); color: var(--mute-blue); }
.selection .caption i { width: 30px; height: 2px; }

/* ---------- Über ---------- */
.about { background: var(--cream); }
.mark { display: flex; align-items: center; gap: 20px; margin-bottom: 48px; }
.mark::after { content: ""; flex: 1; height: 1px; background: var(--border-cream); }
.about__title { font-size: 80px; letter-spacing: -2.4px; }
.about__intro { display: flex; justify-content: flex-end; margin-top: 48px; }
.about__intro > div { max-width: 658px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.logo-plate { background: var(--navy); padding: 18px 36px; }
.logo-plate img, .logo-plate svg { width: 134px; height: auto; }
.values-head { display: flex; align-items: center; gap: 24px; margin: 48px 0 24px; }
.values-head::before { content: ""; order: 2; flex: 1; height: 1px; background: var(--border-cream); }
.values-head i { order: 3; width: 40px; height: 4px; background: var(--lime); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); }
.value { padding: 24px 28px 4px; display: flex; flex-direction: column; gap: 22px; border-right: 1px solid var(--border-cream); }
.value:last-child { border-right: 0; }
.value__head { display: flex; align-items: baseline; gap: 16px; }
.value__num { font-family: var(--f-display); font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: -1.68px; }
.value__slash { width: 3px; height: 17px; background: var(--lime); transform: rotate(15deg); align-self: center; }
.value h3 { font-weight: 600; font-size: 22px; line-height: 1.1; letter-spacing: -0.44px; }

/* ---------- Bildband ---------- */
.band { position: relative; height: 700px; overflow: hidden; background: var(--navy); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band-wrap { background: var(--navy); }
.band::before, .band::after { content: ""; position: absolute; top: 0; bottom: 0; width: 41.25%; pointer-events: none; z-index: 3; }
.band::before { left: 0; background: linear-gradient(to right, var(--navy), rgba(13, 27, 42, 0)); }
.band::after { right: 0; background: linear-gradient(to left, var(--navy), rgba(13, 27, 42, 0)); }
.ticker { position: absolute; top: 0; left: 0; right: 0; z-index: 2; overflow: hidden;
  background: rgba(13, 27, 42, 0.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 6px 0; }
.ticker__track { display: flex; gap: 24px; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span { white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Ablauf ---------- */
.process { background: var(--white); }
.process__intro { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; margin-bottom: 60px; }
.process__intro .h2 { max-width: 640px; }
.process__intro .lead { color: var(--mute-blue); max-width: 751px; text-wrap: balance; }
.process__grid { display: grid; grid-template-columns: 600px 1fr; gap: 72px; align-items: center; }
.scene { display: flex; flex-direction: column; gap: 14px; }
.scene__box { background: #f8f8f4; border: 1px solid var(--border); aspect-ratio: 600 / 690; display: flex; align-items: center; justify-content: center; padding: 8%; }
.scene__box img { width: 100%; height: auto; }
.scene__legend { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.3px; text-transform: uppercase; }
.scene__legend span:first-child { color: var(--lime-ink); }
.scene__legend span:last-child { color: var(--mute-blue); }
.steps__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.steps__head h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; white-space: nowrap; }
.steps__head::after { content: ""; flex: 1; height: 4px; background: var(--lime); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 0; border-top: 1px solid var(--border); }
.step:first-child { border-top: 0; }
.step__main { display: flex; gap: 16px; align-items: flex-start; }
.step__num { font-family: var(--f-mono); font-size: 13px; line-height: 28px; color: var(--lime-ink); width: 30px; flex: none; }
.step h4 { margin: 0 0 7px; font-weight: 600; font-size: 22px; line-height: 1.4; letter-spacing: -0.44px; }
.step p { max-width: 476px; text-wrap: balance; }
.step__icon { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; }
.step__icon img { width: 48px; height: 48px; }

/* ---------- Kontakt ---------- */
.contact { background: var(--navy); color: var(--white); overflow: hidden; }
.contact__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin: 60px 0 80px; }
.contact__intro .h2 { letter-spacing: -1.5px; }
.contact__intro p { color: var(--mute-blue); font-size: 20px; line-height: 1.5; text-wrap: balance; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 80px; }
.row__label { font-weight: 600; font-size: 24px; line-height: 1.4; letter-spacing: -0.48px; color: var(--lime); }
.contact__details { display: flex; flex-direction: column; gap: 40px; font-size: 16px; line-height: 1.4; }
.contact__line { display: flex; gap: 8px; align-items: center; color: var(--white); text-decoration: none; }
a.contact__line:hover { color: var(--lime); }
.contact__line svg { width: 22px; height: 22px; flex: none; color: var(--lime); }
.contact__addr { display: flex; flex-direction: column; gap: 4px; font-style: normal; }
.contact__addr strong { font-weight: 600; }
.contact__links { display: flex; flex-direction: column; gap: 4px; }

/* Formular */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-radius: 0; background: var(--white); color: var(--navy);
  font-family: var(--f-body); font-size: 15px; line-height: 1.4; padding: 26px 16px 8px; min-height: 54px; appearance: none;
}
.field textarea { min-height: 200px; resize: vertical; }
.field select { padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%230d1b2a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field span { position: absolute; left: 16px; top: 8px; font-size: 11px; line-height: 1.4; color: var(--mute-blue); pointer-events: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lime); outline-offset: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.85); }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--lime); }
.consent a { color: var(--lime); }
.form__note { font-size: 13px; color: var(--mute-blue); }
.form__status { font-size: 14px; color: var(--lime); min-height: 1.4em; }
.form__status.is-fehler { color: #ffb4a8; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__danke { border: 1px solid var(--lime); padding: 32px; display: flex; flex-direction: column; gap: 14px; outline: none; }
.form__danke h4 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 32px; line-height: 1.1; }
.form__danke p:not(.eyebrow) { color: rgba(255, 255, 255, .85); line-height: 1.55; }
.form__danke a { color: var(--lime); }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--border-blue); padding: 24px 0; }
.faq details:first-child { border-top: 0; padding-top: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; cursor: pointer;
  font-weight: 600; font-size: 18px; line-height: 1.4; letter-spacing: -0.36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 1.5px solid var(--white); border-bottom: 1.5px solid var(--white); transform: rotate(-45deg); transition: transform .2s ease, border-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--lime); }
.faq summary:hover { color: var(--lime); }
.faq details p { color: var(--mute-blue); margin-top: 16px; max-width: 605px; line-height: 1.4; }

/* ---------- Abschluss-CTA ---------- */
.final { background: var(--navy); padding: 0 0 0; }
.final__box { position: relative; border: 2px solid var(--lime); min-height: 471px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px; text-align: center; padding: 48px 24px; }
.final__box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.final__box::before { content: ""; position: absolute; inset: 0; background: rgba(13, 27, 42, 0.8); z-index: 1; }
.final__box > *:not(img) { position: relative; z-index: 2; }
.final__title { font-weight: 600; line-height: 1.2; }
.final__title span { display: block; color: var(--lime); font-size: 48px; letter-spacing: -0.96px; }
.final__title small { display: block; color: var(--white); font-size: 32px; letter-spacing: -0.64px; }
.final__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.final__actions .btn { min-width: 200px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--white); padding: 60px 0 32px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 60px; }
.footer__brand img, .footer__brand svg { width: 361px; max-width: 100%; height: auto; }
.footer__claim { margin-top: 18px; padding-left: 57px; color: var(--lime); font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: 3.4px; text-transform: uppercase; }
.footer__cols { display: flex; gap: 46px; font-size: 13px; line-height: 1.5; }
.footer__cols h4 { margin: 0 0 16px; color: var(--lime); font-weight: 700; font-size: 13px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: var(--lime); }
.footer__bottom { display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: -0.24px; }
.footer__bottom::after { content: ""; flex: 1; height: 1px; background: var(--border-blue); }
.footer__legal { margin-top: 12px; font-size: 11px; color: var(--mute-blue); }

/* ---------- Rechtliche Seiten ---------- */
.pagehead { background: var(--navy); color: var(--white); padding: 96px 0 72px; position: relative; overflow: hidden; }
.pagehead .wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pagehead h1 { font-family: var(--f-display); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -1.9px; }
.pagehead p:not(.eyebrow) { color: var(--mute-blue); font-size: 19px; line-height: 1.4; max-width: 640px; }
.crumbs { color: var(--mute-blue); }
.crumbs a { color: var(--mute-blue); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.crumbs b { font-weight: 400; color: var(--lime); }
.legal { background: var(--white); padding: 96px 0 112px; }
.legal__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 96px; align-items: start; }
.legal__nav { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 4px; }
.legal__nav p { margin-bottom: 12px; color: var(--lime-ink); }
.legal__nav a { display: block; padding: 10px 0 10px 16px; border-left: 2px solid var(--border); color: var(--navy); text-decoration: none; font-size: 15px; transition: border-color .25s ease, padding-left .25s ease; }
.legal__nav a:hover { border-color: var(--lime); padding-left: 22px; }
.legal__nav a[aria-current="page"] { border-color: var(--lime); font-weight: 600; }
.legal__body { max-width: 760px; display: flex; flex-direction: column; gap: 48px; }
.legal__body section { display: flex; flex-direction: column; gap: 14px; }
.legal__body h2 { font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 1.15; letter-spacing: -0.6px; display: flex; gap: 14px; align-items: baseline; }
.legal__body h2 .n { font-family: var(--f-mono); font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--lime-ink); }
.legal__body h3 { font-weight: 600; font-size: 18px; line-height: 1.3; margin-top: 8px; }
.legal__body p, .legal__body li { font-size: 16px; line-height: 1.6; }
.legal__body ul, .legal__body ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal__body a { color: var(--lime-ink); }
.legal__body strong { font-weight: 600; }
.facts { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-top: 1px solid var(--border); margin: 0; }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.5; }
.facts dt { color: var(--mute-blue); padding-right: 16px; }
.facts dd { font-weight: 500; }
.note { background: var(--cream); padding: 20px 24px; border-left: 4px solid var(--lime); font-size: 15px; line-height: 1.55; }
.stand { color: var(--mute-blue); font-size: 14px; }
@media (max-width: 900px) {
  .pagehead { padding: 64px 0 48px; }
  .pagehead h1 { font-size: 44px; letter-spacing: -1.2px; }
  .legal { padding: 56px 0 80px; }
  .legal__grid { grid-template-columns: 1fr; gap: 40px; }
  .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .legal__nav p { width: 100%; margin-bottom: 0; }
  .legal__nav a { border: 1px solid var(--border); padding: 8px 12px; font-size: 14px; }
  .legal__nav a:hover { padding-left: 12px; }
  .legal__nav a[aria-current="page"] { border-color: var(--lime); background: var(--cream); }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .legal__body h2 { font-size: 24px; }
}

/* ---------- Mobil-Leiste ---------- */
.mobilebar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav__links { gap: 12px; }
  .hero__title { font-size: 64px; }
  .about__title { font-size: 64px; }
  .process__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 1080px) {
  :root { --header-h: 71px; }
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy); border-bottom: 1px solid var(--border-blue);
    flex-direction: column; align-items: stretch; gap: 24px; padding: 24px var(--pad-x) 32px; display: none; }
  .header.is-open .nav { display: flex; }
  .nav__links { flex-direction: column; gap: 0; font-size: 18px; }
  .nav__links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border-blue); }
  .nav__cta { flex-direction: column; align-items: stretch; }
  .nav__cta .btn { width: 100%; }
  .header__in { padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 900px) {
  :root { --pad-x: 24px; --pad-y: 80px; }
  .hero__top { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hero__side { width: 100%; }
  .hero__title { font-size: 52px; }
  .hero__media { margin-top: 48px; }
  .hero__media { height: 420px; }
  .intro, .contact__intro { display: flex; flex-direction: column; align-items: flex-start; }
  .intro { gap: 24px; margin-bottom: 40px; }
  .contact__intro { margin: 40px 0 56px; gap: 20px; }
  .h2 { font-size: 38px; letter-spacing: -1px; }
  .cards--2, .cards--3 { grid-template-columns: 1fr; }
  .card--dark .card__img, .card--light .card__img { height: 240px; }
  .portfolio { grid-template-columns: 1fr; gap: 32px; }
  .portfolio__big .frame { height: 320px; }
  .portfolio__small .frame { height: 260px; }
  .selection { grid-template-columns: 1fr; gap: 32px; }
  .selection .frame { height: 320px; }
  .about__title { font-size: 48px; letter-spacing: -1.4px; }
  .about__intro { justify-content: flex-start; margin-top: 32px; }
  .values { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid var(--border-cream); padding: 24px 0; }
  .value:last-child { border-bottom: 0; }
  .band { height: 360px; }
  .band::before, .band::after { width: 20%; }
  .process__grid { grid-template-columns: 1fr; gap: 48px; }
  .steps__head h3 { font-size: 24px; }
  .step__icon { display: none; }
  .row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .final__box { min-height: 400px; gap: 32px; }
  .final__title span { font-size: 36px; }
  .final__title small { font-size: 24px; }
  .footer__top { flex-direction: column; }
  .footer__cols { flex-wrap: wrap; gap: 32px 46px; }
  .footer__claim { padding-left: 0; }
  .footer { padding-bottom: 96px; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 27, 42, 0.92);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--border-blue); }
  .mobilebar .btn { width: 100%; font-size: 14px; }
}
@media (max-width: 560px) {
  .hero__title { font-size: 44px; }
  .form__row { grid-template-columns: 1fr; }
  .about__title { font-size: 40px; }
  .h2 { font-size: 34px; }
}
/* ---------- Bewegung ---------- */
/* Bilder zoomen beim Darüberfahren leicht hinein */
.card, .portfolio figure, .selection figure { overflow: hidden; }
.card__img, .portfolio img, .selection img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__img, .portfolio figure:hover img, .selection figure:hover img { transform: scale(1.04); }
.card__bar, .caption i { transition: width .45s cubic-bezier(.65, 0, .35, 1); }
.card:hover .card__bar { width: 72px; }
.portfolio figure:hover .caption i, .selection figure:hover .caption i { width: 64px; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.65, 0, .35, 1); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.step { transition: background-color .3s ease; }
.step__icon img { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.step:hover .step__icon img { transform: scale(1.12) rotate(-6deg); }
.hero__media img, .band img { will-change: transform; }
/* Hero-Überschrift: Zeilen für die Einblend-Animation */
.line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.line > span { display: block; }

@media (max-width: 1080px) { .nav__links a::after { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .btn::before, .btn img, .card__img, .portfolio img, .selection img, .step__icon img { transition: none !important; animation: none !important; }
}

/* Noch offene Angaben – vor dem Livegang ersetzen (das Bau-Skript warnt, solange welche übrig sind) */
mark.offen { background: #fff3b0; color: var(--navy); padding: 0 4px; box-shadow: inset 0 -2px 0 #e0b400; }

/* Rechtliche Seiten: navy Abstand zwischen Inhalt und Abschluss-Banner */
.legal + .final { padding-top: var(--pad-y); }

/* ---------- Cookie-Einwilligung ---------- */
.consent-box {
  position: fixed; z-index: 100; left: max(24px, env(safe-area-inset-left, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: min(520px, calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--navy); color: var(--white); border: 1px solid var(--lime);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transform: translateY(24px); opacity: 0; transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
}
.consent-box.is-open { transform: none; opacity: 1; }
.consent-eyebrow { color: var(--lime); }
.consent-titel { font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -0.5px; }
.consent-text { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.consent-text a { color: var(--lime); }
.consent-liste { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--border-blue); }
.consent-kat { padding: 14px 0; border-bottom: 1px solid var(--border-blue); display: flex; flex-direction: column; gap: 6px; }
.consent-kat p { font-size: 13px; line-height: 1.5; color: var(--mute-blue); padding-left: 56px; }
.consent-schalter { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.consent-schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-schalter__bahn { position: relative; width: 42px; height: 24px; flex: none; border: 1px solid var(--mute-blue); transition: background-color .25s ease, border-color .25s ease; }
.consent-schalter__bahn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--mute-blue); transition: transform .25s cubic-bezier(.2, .7, .2, 1), background-color .25s ease; }
.consent-schalter input:checked + .consent-schalter__bahn { background: var(--lime); border-color: var(--lime); }
.consent-schalter input:checked + .consent-schalter__bahn::after { transform: translateX(18px); background: var(--navy); }
.consent-schalter input:disabled + .consent-schalter__bahn { opacity: .55; }
.consent-schalter input:focus-visible + .consent-schalter__bahn { outline: 2px solid var(--lime); outline-offset: 3px; }
.consent-kat__titel { font-weight: 600; font-size: 15px; }
.consent-kat__titel small { font-weight: 400; font-size: 12px; color: var(--mute-blue); margin-left: 6px; }
.consent-aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.consent-aktionen .btn { width: 100%; font-size: 14px; }
.consent-aktionen .consent-mehr, .consent-aktionen .consent-speichern { grid-column: 1 / -1; }
.consent-box.is-details .consent-speichern { order: -1; }
.footer__cols button.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.footer__cols button.linklike:hover { color: var(--lime); }
@media (max-width: 560px) {
  .consent-box { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 22px 20px; }
  .consent-titel { font-size: 24px; }
  .consent-aktionen { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .consent-box { transition: none; } }

/* ---------- Seitenübergang: sanftes Ein- und Ausblenden ---------- */
/* Funktioniert auch ohne JavaScript (Einblenden per CSS); Ausblenden beim Seitenwechsel steuert main.js */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1000; background: var(--navy);
  pointer-events: none; opacity: 0;
  animation: seite-ein .5s cubic-bezier(.4, 0, .2, 1) both;
}
html.is-leaving body::after { animation: seite-aus .32s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes seite-ein { from { opacity: 1; } to { opacity: 0; } }
@keyframes seite-aus { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } html.is-leaving body::after { animation: none; } }

/* ---------- Hero: Bestand / Neustand (Linse zeigt den fertigen Raum) ---------- */
.vn__stage { position: absolute; inset: 0; will-change: transform; }
.vorher-nachher { --x: 50%; --y: 50%; --r: 0px; cursor: none; touch-action: pan-y; }
.vorher-nachher .vn__nachher {
  z-index: 1;
  -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, #000 var(--r), transparent calc(var(--r) + 1.5px));
          mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, #000 var(--r), transparent calc(var(--r) + 1.5px));
}
.vn__ring {
  position: absolute; z-index: 2; left: 0; top: 0; width: 0; height: 0; pointer-events: none;
  border: 1.5px solid var(--lime); border-radius: 50%;
  transform: translate(-50%, -50%); opacity: 0;
  display: flex; align-items: center; justify-content: center;
}
.vn__ring .eyebrow { color: var(--navy); background: var(--lime); padding: 4px 8px; white-space: nowrap; transform: translateY(calc(var(--r) * -1 - 4px)); }
.vn__caption { z-index: 3; display: flex; justify-content: space-between; gap: 16px; }
.vn__caption b { font-weight: 400; color: var(--lime); }
.vn__caption i { font-style: normal; color: var(--lime); opacity: .9; }
.vn__hinweis { color: rgba(255, 255, 255, .5); }
@media (hover: none) { .vn__hinweis::after { content: " – oder antippen und ziehen"; } .vorher-nachher { cursor: auto; } }
@media (max-width: 560px) { .vn__hinweis { display: none; } }

/* Tablet und Handy: keine Verläufe, keine feste Button-Leiste */
@media (max-width: 1080px) {
  .glow { display: none; }
  .band::before, .band::after { display: none; }
  .mobilebar { display: none !important; }
  .footer { padding-bottom: 32px; }
}
