/* ==========================================================================
   Visonten Consulting FZCO – Stylesheet
   ========================================================================== */

:root {
  --black: #0E0F11;
  --ink: #1E2125;
  --text: #EDEBE6;
  --muted: #A3A19B;
  --paper: #1A1C20;
  --stone: #25282E;
  --white: #202328;
  --pure: #FFFFFF;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .2);
  --line-dark: rgba(255, 255, 255, .14);

  --gold: #C4914F;
  --gold-text: #D4A96E;
  --gold-light: #D9B27E;

  --on-dark: #F2F0EC;
  --on-dark-muted: #A9A7A2;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Jost', 'Inter', system-ui, sans-serif;
  --brand: 'Montserrat', 'Jost', system-ui, sans-serif;

  --container: 1240px;
  --radius: 3px;
  --header-h: 84px;
  --topbar-h: 38px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Label (Rubrik über Überschriften) ---------- */

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.section--dark .label,
.hero .label { color: var(--gold-light); }

/* ---------- Buttons & Links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn:disabled { opacity: .55; cursor: progress; }

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); }

.btn-dark { background: var(--gold); color: var(--black); }
.btn-dark:hover { background: var(--gold-light); }

.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--on-dark); border-color: rgba(255, 255, 255, .4); }
.link-arrow--light:hover { border-color: var(--gold-light); }

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  flex: none;
  color: currentColor;
  font-family: var(--brand);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.logo-word {
  display: flex;
  align-items: baseline;
  margin-right: -.36em;
  font-size: 23px;
  letter-spacing: .36em;
  white-space: nowrap;
}
.logo-e {
  display: inline-block;
  width: .6em;
  height: .7em;
  margin-right: .36em;
  background:
    linear-gradient(var(--gold), var(--gold)) top / 100% .11em no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 100% .11em no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom / 100% .11em no-repeat;
}
.logo-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 8.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .8;
}
.logo-sub span { margin-right: -.3em; white-space: nowrap; }
.logo-sub::before,
.logo-sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--on-dark);
  transition: background-color .35s, color .35s, box-shadow .35s;
}

.topbar {
  height: var(--topbar-h);
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  font-size: 12.5px;
  color: var(--on-dark-muted);
  transition: height .35s var(--ease), opacity .25s;
}
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-contact { display: flex; gap: 28px; }
.topbar a { text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--gold-light); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(26, 28, 32, .88);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .topbar { height: 0; opacity: 0; border-bottom-color: transparent; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav ul a {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  opacity: .85;
  transition: opacity .2s;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav ul a:hover,
.nav ul a.is-active { opacity: 1; }
.nav ul a:hover::after,
.nav ul a.is-active::after { transform: scaleX(1); }

.btn-nav {
  height: 44px;
  padding: 0 20px;
  font-size: 12.5px;
  border-color: rgba(255, 255, 255, .45);
  color: inherit;
}
.btn-nav:hover { border-color: var(--gold); color: var(--gold-light); }
.is-scrolled .btn-nav,
.nav-open .btn-nav { background: var(--gold); border-color: var(--gold); color: var(--black); }
.is-scrolled .btn-nav:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--black); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: .9;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(100svh, 940px);
  padding-top: calc(var(--topbar-h) + var(--header-h) + 72px);
  overflow: hidden;
  background: var(--black);
  color: var(--on-dark);
}
/* Bild höher als der Hero, damit die Skyline im unteren Drittel liegt */
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 58%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 15, 17, .8) 0%, rgba(14, 15, 17, .45) 55%, rgba(14, 15, 17, .15) 100%),
    linear-gradient(180deg, rgba(14, 15, 17, .6) 0%, rgba(14, 15, 17, .1) 50%, rgba(14, 15, 17, .75) 100%);
}

.hero-content { margin-bottom: auto; padding-top: clamp(24px, 6vh, 72px); }
.hero h1 {
  max-width: 820px;
  margin-top: 28px;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--pure);
}
.hero-lead {
  max-width: 560px;
  margin-top: 28px;
  font-size: clamp(16.5px, 1.3vw, 18.5px);
  line-height: 1.7;
  color: rgba(242, 240, 236, .82);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 44px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(64px, 10vh, 120px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.stats li { padding: 30px 28px 38px; border-left: 1px solid var(--line-dark); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 300;
  line-height: 1;
  color: var(--pure);
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* ---------- Sektionen ---------- */

.section { padding-block: clamp(88px, 11vw, 150px); }
.section--white { background: var(--white); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: var(--on-dark); }

.section h2 { margin-top: 22px; font-size: clamp(32px, 3.5vw, 48px); }
.section--dark h2 { color: var(--pure); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 80px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head > p { max-width: 480px; color: var(--muted); }
.section--dark .section-head > p { color: var(--on-dark-muted); }

/* ---------- Leistungen ---------- */

.services-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.section-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.section-intro > p:not(.label) { margin-top: 24px; color: var(--muted); }
.section-intro .btn { margin-top: 36px; }

.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr 56px;
  gap: 24px;
  padding: 40px 0 42px;
  border-bottom: 1px solid var(--line-strong);
}
.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .5s var(--ease);
}
.service:hover::before { width: 100%; }
.service-num {
  padding-top: 6px;
  font-family: var(--display);
  font-size: 15px;
  color: var(--gold-text);
  letter-spacing: .06em;
}
.service h3 { font-size: clamp(24px, 2.2vw, 30px); }
.service-body > p:not(.service-tags) { max-width: 580px; margin-top: 14px; color: var(--muted); }
.service-tags {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.service-link {
  display: grid;
  place-items: center;
  align-self: start;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background-color .3s, border-color .3s, color .3s;
}
.service-link svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.service:hover .service-link,
.service-link:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.service:hover .service-link svg { transform: translateX(2px); }

/* ---------- Über uns ---------- */

.about {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.about-media { position: relative; margin: 0; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-badge {
  position: absolute;
  right: -24px;
  bottom: 40px;
  max-width: 230px;
  padding: 26px 28px;
  background: var(--black);
  color: var(--on-dark-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.about-badge span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold-light);
}
.about-copy > p:not(.label) { margin-top: 22px; color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts div { padding: 18px 0; }
.facts div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-size: 19px; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; margin-top: 44px; }
.value { padding-top: 20px; border-top: 1px solid var(--gold); }
.value h3 { font-size: 20px; font-weight: 500; }
.value p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { padding-top: 28px; border-top: 1px solid var(--line-dark); transition: border-color .4s; }
.step:hover { border-top-color: var(--gold); }
.step-num { font-family: var(--display); font-size: 15px; letter-spacing: .06em; color: var(--gold-light); }
.step h3 { margin-top: 36px; font-size: 22px; color: var(--pure); }
.step p { margin-top: 12px; font-size: 15px; color: var(--on-dark-muted); }

/* ---------- Referenzen ---------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}
.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 44px 40px 8px;
  border-left: 1px solid var(--line);
}
.testimonial:first-child { padding-left: 0; border-left: 0; }
.testimonial:last-child { padding-right: 0; }
.testimonial::before {
  content: "\201C";
  height: 44px;
  font-family: var(--display);
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
}
.testimonial blockquote {
  flex: 1;
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.5;
}
.testimonial figcaption { margin-top: 32px; font-size: 14.5px; }
.testimonial figcaption strong { display: block; font-weight: 600; }
.testimonial figcaption span { display: block; color: var(--muted); }
.testimonial figcaption em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.logo-strip p { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.logo-strip ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.logo-strip li {
  display: grid;
  place-items: center;
  min-width: 130px;
  height: 52px;
  padding: 0 18px;
  border: 1px dashed var(--line-strong);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .3);
}
.logo-strip img { max-height: 32px; width: auto; filter: grayscale(1); opacity: .7; }

.placeholder-badge {
  display: block;
  width: fit-content;
  margin-top: 14px;
  padding: 4px 10px;
  border: 1px dashed rgba(196, 145, 79, .6);
  background: rgba(196, 145, 79, .08);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Team ---------- */

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.member-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
}
.member-photo span {
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 300;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .16);
}
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.member h3 { margin-top: 22px; font-size: 22px; }
.member p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- Anfrage / Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.contact-copy > p:not(.label) { margin-top: 22px; color: var(--muted); }

.checklist { display: grid; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.checklist li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 8px;
  margin-top: -5px;
  border-left: 1.5px solid var(--gold-text);
  border-bottom: 1.5px solid var(--gold-text);
  transform: rotate(-45deg);
}

.contact-direct { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.contact-kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-direct dl { display: grid; gap: 14px; margin: 18px 0 0; }
.contact-direct dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact-direct dt { font-size: 14px; color: var(--muted); }
.contact-direct dd { margin: 0; font-weight: 500; }
.contact-direct a { text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.contact-direct a:hover { border-color: var(--gold); }

.form-card {
  padding: clamp(28px, 4vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(14, 15, 17, .25);
}

.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.form-head h3 { font-size: 26px; }
.form-head p { display: none; font-size: 13px; color: var(--muted); }
.apply-form.is-enhanced .form-head p { display: block; }

.stepper { display: none; gap: 6px; margin: 26px 0 34px; padding: 0; list-style: none; }
.apply-form.is-enhanced .stepper { display: flex; }
.stepper li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s, border-color .3s;
}
.stepper li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  font-size: 11.5px;
  letter-spacing: 0;
  transition: background-color .3s, color .3s, border-color .3s;
}
.stepper li.is-current { color: var(--text); border-color: var(--gold); }
.stepper li.is-current span { background: var(--gold); border-color: var(--gold); color: var(--black); }
.stepper li.is-done { color: var(--text); border-color: rgba(196, 145, 79, .45); }
.stepper li.is-done span { background: transparent; border-color: var(--gold); color: var(--gold-light); }

.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step + .form-step { margin-top: 40px; }
.apply-form.is-enhanced .form-step { margin-top: 0; }
.apply-form.is-enhanced .form-step:not(.is-active) { display: none; }
.apply-form.is-enhanced .form-step.is-active { animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

.form-step legend { padding: 0; font-family: var(--display); font-size: 21px; }
.form-step legend:focus { outline: none; }
.step-hint { margin-top: 4px; font-size: 14px; color: var(--muted); }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.option { position: relative; display: block; cursor: pointer; }
.option input,
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.option-box {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.option:hover .option-box { border-color: var(--text); }
.option input:checked + .option-box { border-color: var(--gold); background: rgba(196, 145, 79, .08); box-shadow: inset 0 0 0 1px var(--gold); }
.option input:focus-visible + .option-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.option-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.option-text strong { font-family: var(--display); font-size: 17px; font-weight: 500; line-height: 1.3; }
.option-text small { margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.option-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  color: transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}
.option-check svg { width: 12px; height: 12px; }
.option input:checked + .option-box .option-check { background: var(--gold); border-color: var(--gold); color: var(--black); }

.field-error { margin-top: 14px; font-size: 14px; font-weight: 500; color: #F59E8B; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field-label { font-size: 13.5px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, .55); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 145, 79, .2); }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A19B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}

.phone { display: flex; gap: 8px; }
.field .phone select { flex: 0 0 104px; width: 104px; padding-right: 30px; background-position: right 10px center; }
.phone input { flex: 1; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover span { border-color: var(--text); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--black); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.field .consent { font-weight: 400; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.consent a { color: var(--text); }

.selection { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.sel-chip { padding: 3px 10px; background: var(--stone); color: var(--text); font-size: 12.5px; font-weight: 600; }

.form-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.form-nav [data-prev], .form-nav [data-next] { display: none; }
.apply-form.is-enhanced .form-nav [data-prev], .apply-form.is-enhanced .form-nav [data-next] { display: inline-flex; }
.form-nav [data-next], .form-nav [data-submit] { margin-left: auto; min-width: 180px; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

.form-status { display: none; margin-top: 18px; padding: 14px 16px; font-size: 14.5px; }
.form-status.is-error { display: block; background: rgba(240, 100, 80, .1); border: 1px solid rgba(240, 100, 80, .35); color: #F8B4A8; }
.form-status a { color: inherit; font-weight: 600; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { padding: 48px 8px; text-align: center; }
.form-success:focus { outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-text);
}
.success-icon svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 28px; }
.form-success p { max-width: 420px; margin: 12px auto 0; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { padding: 88px 0 36px; background: var(--black); color: var(--on-dark-muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 48px; }
.footer-brand .logo { color: var(--on-dark); }
.footer-brand p { max-width: 320px; margin-top: 26px; }
.footer-col h4 {
  margin-bottom: 18px;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col address { font-style: normal; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 72px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal { display: flex; gap: 24px; }

.site-footer--compact { padding: 0 0 32px; }
.site-footer--compact .footer-bottom { margin-top: 0; padding-top: 32px; border-top: 0; }

/* ---------- Rechtliche Seiten ---------- */

.page-hero {
  padding: calc(var(--topbar-h) + var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(56px, 7vw, 88px);
  background: #16181B;
  color: var(--on-dark);
}
.page-hero .label { color: var(--gold-light); }
.page-hero h1 { margin-top: 22px; font-size: clamp(40px, 5vw, 64px); font-weight: 300; color: var(--pure); }

.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 12px; font-size: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #C9C7C1; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose address { font-style: normal; line-height: 1.8; }
.prose a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose .card { padding: clamp(24px, 3vw, 36px); background: var(--paper); border-left: 2px solid var(--gold); }

/* ---------- Einblenden beim Scrollen ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .apply-form.is-enhanced .form-step.is-active { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav ul { gap: 22px; }
  .nav { gap: 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .topbar { display: none; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .page-hero { padding-top: calc(var(--header-h) + 56px); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 8px 24px 32px;
    background: var(--white);
    color: var(--text);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .btn-nav { height: 52px; }

  .services-layout,
  .about,
  .contact,
  .section-head { grid-template-columns: 1fr; }
  .section-intro { position: static; }
  .about-badge { right: 16px; bottom: 16px; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonial,
  .testimonial:first-child,
  .testimonial:last-child { padding: 36px 0 32px; border-left: 0; border-bottom: 1px solid var(--line); }
  .team { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .logo-word { font-size: 19px; }
  .hero-actions .btn { width: 100%; }
  .stats li { padding: 24px 16px 28px; }
  .service { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .service-link { display: none; }
  .values,
  .facts,
  .options,
  .form-grid,
  .team,
  .steps { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .about-media img { aspect-ratio: 4 / 3; }
  .form-nav .btn { flex: 1 1 auto; min-width: 0; }
  .form-nav [data-next], .form-nav [data-submit] { margin-left: 0; }
  .stepper li { font-size: 11px; gap: 6px; letter-spacing: .06em; }
  .logo-strip ul { width: 100%; }
  .logo-strip li { flex: 1 1 40%; min-width: 0; }
  .contact-direct dl div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Dunkles Design – Feinschliff
   ========================================================================== */

.section--stone {
  background:
    radial-gradient(60% 55% at 88% 0%, rgba(196, 145, 79, .10), transparent 70%),
    var(--stone);
}

/* Sektion mit Skyline im Hintergrund */
.section--image { position: relative; isolation: isolate; overflow: hidden; }
.section-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.section-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26, 28, 32, .95) 0%, rgba(26, 28, 32, .78) 42%, rgba(26, 28, 32, .6) 72%, rgba(26, 28, 32, .92) 100%);
}
.section--image .step {
  padding: 28px 26px 32px;
  border: 1px solid var(--line-dark);
  background: rgba(34, 37, 42, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.section--image .step:hover { border-color: rgba(196, 145, 79, .55); }

.about-media img { filter: brightness(.82) contrast(1.05) saturate(.85); }
.about-badge { background: rgba(28, 30, 35, .95); border-left: 2px solid var(--gold); }

.member-photo { background: linear-gradient(160deg, #2C2F36, #212429); border: 1px solid var(--line); }

.form-card {
  background: #1E2126;
  border-color: var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.field input,
.field select,
.field textarea,
.option-box { background-color: rgba(255, 255, 255, .03); }
.field select option { background: #202328; color: var(--text); }

.site-footer { background: #141619; border-top: 1px solid var(--line); }

.nav-contact { display: none; }

/* Kontaktleiste für Smartphones */
.mobile-cta { display: none; }

/* ==========================================================================
   Smartphone & Tablet
   ========================================================================== */

@media (max-width: 980px) {
  .nav {
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    justify-content: flex-start;
    gap: 28px;
    padding: 12px 24px calc(32px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-bottom: 0;
  }
  .nav ul a {
    padding: 16px 0;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 300;
    opacity: 1;
    border-bottom: 1px solid var(--line);
  }
  .nav-open .nav ul li { animation: navIn .55s var(--ease) both; }
  .nav-open .nav ul li:nth-child(2) { animation-delay: .04s; }
  .nav-open .nav ul li:nth-child(3) { animation-delay: .08s; }
  .nav-open .nav ul li:nth-child(4) { animation-delay: .12s; }
  .nav-open .nav ul li:nth-child(5) { animation-delay: .16s; }
  .nav-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 15px;
    color: var(--muted);
  }
  .nav-contact a { color: var(--text); text-decoration: none; }
}

@keyframes navIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line-dark);
    border-radius: 14px;
    background: rgba(38, 41, 47, .9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .75);
    transform: translateY(calc(100% + 24px));
    transition: transform .45s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .mobile-cta-call { padding: 0 16px; border: 1px solid var(--line-strong); color: var(--text); }
  .mobile-cta-call svg { width: 17px; height: 17px; }
  .mobile-cta-main { background: var(--gold); color: var(--black); }
  .site-footer:not(.site-footer--compact) { padding-bottom: 120px; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .logo-word { font-size: 18px; }
  .logo-sub { font-size: 7.5px; margin-top: 6px; }
  .nav-toggle { width: 42px; height: 42px; }

  .hero { min-height: 100svh; padding-top: calc(var(--header-h) + 40px); }
  .hero .label { font-size: 11px; letter-spacing: .16em; }
  .hero .label::before { width: 22px; }
  .hero h1 { margin-top: 20px; font-size: clamp(38px, 10.6vw, 46px); line-height: 1.06; }
  .hero-lead { margin-top: 20px; font-size: 16px; }
  .hero-actions { gap: 18px; margin-top: 32px; }
  .hero-actions .link-arrow { margin-inline: auto; }
  .stats { margin-top: 48px; }
  .stat-num { font-size: 34px; }
  .stat-label { font-size: 10.5px; letter-spacing: .12em; }

  .section { padding-block: 84px; }
  .section h2 { margin-top: 18px; font-size: 32px; line-height: 1.15; }
  .section-head { margin-bottom: 40px; }

  .service { gap: 10px; }
  .service h3 { font-size: 25px; }
  .service-num { padding-top: 0; }

  .about-badge { position: relative; right: auto; bottom: auto; max-width: none; margin-top: -1px; padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
  .about-badge span { margin: 0; font-size: 38px; }
  .values { gap: 28px; margin-top: 36px; }

  .section--image .step { padding: 24px 22px 26px; }
  .step h3 { margin-top: 22px; }

  /* Wischbare Karussells für Referenzen und Team */
  .testimonials,
  .team {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 14px;
    margin-inline: -20px;
    padding: 0 20px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    border-top: 0;
  }
  .testimonials::-webkit-scrollbar,
  .team::-webkit-scrollbar { display: none; }
  .testimonial,
  .testimonial:first-child,
  .testimonial:last-child {
    scroll-snap-align: start;
    padding: 26px 24px 28px;
    border: 1px solid var(--line);
    background: var(--white);
  }
  .testimonial blockquote { font-size: 19px; }
  .team { grid-auto-columns: 70%; }
  .member { scroll-snap-align: start; }

  .logo-strip { margin-top: 48px; }

  .form-card { margin-inline: -8px; padding: 28px 20px 24px; }
  .form-head h3 { font-size: 22px; }
  .stepper { margin: 20px 0 26px; }
  .option-box { padding: 16px; }

  .contact-direct { margin-top: 40px; }
  .footer-grid { gap: 36px 24px; }
}

.swipe-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.swipe-hint::after { content: "→"; color: var(--gold); }
@media (max-width: 640px) {
  .swipe-hint { display: flex; }
}

/* ==========================================================================
   Hero: langsame Kamerafahrt
   ========================================================================== */

.hero-img {
  transform-origin: 55% 62%;
  animation: heroDrift 5s ease-out 1 both;
}
@keyframes heroDrift {
  from { transform: scale(1.12); }
  to   { transform: scale(1.03); }
}

/* ==========================================================================
   Imagefilm
   ========================================================================== */

.section--film { background: #17191D; border-top: 1px solid var(--line); }

.reel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #121418;
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9);
  isolation: isolate;
}
.reel-stage { position: absolute; inset: 0; }

.reel-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}
.reel-scene.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s ease, visibility 0s;
}
.reel-scene.is-leaving { z-index: 1; visibility: visible; }

.reel-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) contrast(1.06) brightness(.62);
  transform: scale(1.14);
}
.reel-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, .78) 0%, rgba(5, 5, 6, .25) 60%, rgba(5, 5, 6, .1) 100%),
    linear-gradient(0deg, rgba(5, 5, 6, .8) 0%, rgba(5, 5, 6, 0) 45%);
}
.reel-scene--intro img { opacity: .35; filter: saturate(.4) brightness(.5); }
.reel-scene--intro::after,
.reel-scene--end::after { background: radial-gradient(70% 70% at 50% 50%, rgba(5, 5, 6, .35), rgba(5, 5, 6, .9)); }
.reel-scene--end img { opacity: .55; }

.reel-scene.is-active img,
.reel-scene.is-leaving img { animation: kenBurns 7s linear forwards; }
@keyframes kenBurns {
  from { transform: scale(1.14) translate(var(--kb-x, 0), var(--kb-y, 0)); }
  to   { transform: scale(1.02) translate(0, 0); }
}

/* Texte */
.reel-copy {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 16%;
  z-index: 1;
}
.reel-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6%;
  text-align: center;
}
.reel h3 {
  font-family: var(--display);
  font-size: clamp(26px, 4.2vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--pure);
}
.reel-line { display: block; overflow: hidden; padding-bottom: .06em; }
.reel-line > span { display: inline-block; transform: translateY(110%); }
.reel-scene.is-active .reel-line > span,
.reel-scene.is-leaving .reel-line > span {
  animation: lineIn 1.1s var(--ease) forwards;
  animation-delay: calc(.55s + var(--i, 0) * .22s);
}
@keyframes lineIn { to { transform: none; } }

.reel-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: clamp(10px, 1vw, 12.5px);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
}
.reel-label::before {
  content: "";
  width: 0;
  height: 1px;
  background: currentColor;
}
.reel-scene.is-active .reel-label,
.reel-scene.is-leaving .reel-label { animation: fadeIn .8s ease .3s forwards; }
.reel-scene.is-active .reel-label::before,
.reel-scene.is-leaving .reel-label::before { animation: ruleIn .9s var(--ease) .35s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes ruleIn { to { width: 36px; } }

/* Logo-Einblendung */
.reel-logo { color: var(--pure); }
.reel-logo .logo-word {
  font-size: clamp(30px, 6.4vw, 92px);
  opacity: 0;
  letter-spacing: .6em;
  margin-right: -.6em;
}
.reel-logo .logo-e { background-size: 0 .11em, 0 .11em, 0 .11em; }
.reel-logo .logo-sub {
  margin-top: clamp(10px, 1.4vw, 20px);
  font-size: clamp(9px, 1.25vw, 17px);
  opacity: 0;
}
.reel-tagline {
  margin-top: clamp(18px, 3vw, 40px);
  font-size: clamp(10px, 1.05vw, 13px);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  opacity: 0;
}
.reel-scene.is-active .reel-logo .logo-word,
.reel-scene.is-leaving .reel-logo .logo-word { animation: logoTrack 2.2s var(--ease) .2s forwards; }
.reel-scene.is-active .reel-logo .logo-e,
.reel-scene.is-leaving .reel-logo .logo-e { animation: logoBars 1.2s var(--ease) 1.1s forwards; }
.reel-scene.is-active .reel-logo .logo-sub,
.reel-scene.is-leaving .reel-logo .logo-sub { animation: fadeIn 1s ease 1.8s forwards; }
.reel-scene.is-active .reel-tagline,
.reel-scene.is-leaving .reel-tagline { animation: fadeIn 1s ease 2.5s forwards; }
@keyframes logoTrack {
  from { opacity: 0; letter-spacing: .6em; margin-right: -.6em; }
  to   { opacity: 1; letter-spacing: .36em; margin-right: -.36em; }
}
@keyframes logoBars {
  0%   { background-size: 0 .11em, 0 .11em, 0 .11em; }
  33%  { background-size: 100% .11em, 0 .11em, 0 .11em; }
  66%  { background-size: 100% .11em, 100% .11em, 0 .11em; }
  100% { background-size: 100% .11em, 100% .11em, 100% .11em; }
}

/* Abschlusskarte */
.reel-meta {
  margin-top: clamp(14px, 2vw, 26px);
  font-size: clamp(10px, 1.05vw, 13px);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  opacity: 0;
}
.reel-cta { margin-top: clamp(18px, 2.6vw, 34px); opacity: 0; pointer-events: none; }
.reel-scene.is-active .reel-meta { animation: fadeIn 1s ease 1.3s forwards; }
.reel-scene.is-active .reel-cta { animation: fadeIn 1s ease 1.7s forwards; pointer-events: auto; }

/* Filmkorn */
.reel-grain {
  position: absolute;
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-4%, 3%); }
  50%  { transform: translate(3%, -2%); }
  75%  { transform: translate(-2%, -4%); }
  100% { transform: translate(0, 0); }
}

/* Bedienleiste */
.reel-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(14px, 3vw, 28px) 16px;
  background: linear-gradient(0deg, rgba(5, 5, 6, .7), rgba(5, 5, 6, 0));
  opacity: .75;
  transition: opacity .3s;
}
.reel:hover .reel-ui,
.reel:focus-within .reel-ui,
.reel.is-paused .reel-ui { opacity: 1; }

.reel-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(5, 5, 6, .35);
  color: var(--pure);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.reel-toggle:hover { border-color: var(--gold); background: rgba(196, 145, 79, .15); }
.reel-toggle svg { width: 16px; height: 16px; }
.reel .icon-play { display: none; }
.reel.is-paused .icon-play { display: block; }
.reel.is-paused .icon-pause { display: none; }

.reel-progress { flex: 1; display: flex; gap: 6px; }
.reel-progress button {
  flex: 1;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.reel-progress i {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .5);
}
.reel-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.reel-time {
  flex: none;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .7);
}

/* Pausieren friert alle Animationen ein */
.reel.is-paused .reel-scene,
.reel.is-paused .reel-scene *,
.reel.is-paused .reel-scene *::before,
.reel.is-paused .reel-grain { animation-play-state: paused !important; }

@media (max-width: 640px) {
  .reel { aspect-ratio: 4 / 5; margin-inline: -20px; border-left: 0; border-right: 0; }
  .reel-copy { bottom: 20%; }
  .reel h3 { font-size: clamp(26px, 8vw, 34px); }
  .reel-label { letter-spacing: .14em; }
  .reel-logo .logo-word { font-size: 30px; }
  .reel-logo .logo-sub { font-size: 9px; }
  .reel-time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; }
  .reel-scene img,
  .reel-scene.is-active img { animation: none; transform: none; }
  .reel-line > span,
  .reel-scene.is-active .reel-line > span { animation: none; transform: none; }
  .reel-label,
  .reel-tagline,
  .reel-meta,
  .reel-cta,
  .reel-logo .logo-word,
  .reel-logo .logo-sub { animation: none !important; opacity: 1; }
  .reel-cta { pointer-events: auto; }
  .reel-label::before { width: 36px; }
  .reel-logo .logo-word { letter-spacing: .36em; margin-right: -.36em; }
  .reel-logo .logo-e { background-size: 100% .11em, 100% .11em, 100% .11em; animation: none !important; }
  .reel-grain { animation: none; }
}

/* Beim Szenenwechsel: Text der alten Szene zuerst ausblenden, damit sich nichts überlagert */
.reel-copy,
.reel-center { transition: opacity .35s ease; }
.reel-scene.is-leaving .reel-copy,
.reel-scene.is-leaving .reel-center { opacity: 0; }

/* Sicherheitsnetz: Falls main.js nicht lädt, werden alle Inhalte nach 4 s sichtbar */
.no-reveal .reveal { opacity: 1 !important; transform: none !important; }

@media (max-width: 760px) {
  .mobile-cta a { font-size: 12px; letter-spacing: .04em; white-space: nowrap; }
  .mobile-cta-call { padding: 0 14px; }
}

/* ==========================================================================
   Korrekturen nach dem Review (Barrierefreiheit, Layout, Film)
   ========================================================================== */

/* Leistungen-Überschrift bleibt zweizeilig */
.section-intro h2 { font-size: clamp(30px, 2.9vw, 40px); }

/* Tablet: Foto in "Über uns" nicht bildschirmfüllend */
@media (max-width: 980px) {
  .about-media img { aspect-ratio: 4 / 3; }
}

/* Smartphone: Kontaktleiste verdeckt keine fokussierten Elemente */
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mobile-cta { grid-template-columns: auto minmax(0, 1fr); }
  .mobile-cta-main { padding: 0 12px; }
}

@media (max-width: 640px) {
  .prose h2 { margin-top: 40px; font-size: 24px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-label { letter-spacing: .06em; overflow-wrap: anywhere; hyphens: auto; }
  .contact > * { min-width: 0; }
  .form-card { margin-inline: 0; }
}

/* Sehr schmale Geräte (z. B. 320–380 px) */
@media (max-width: 380px) {
  .stepper li { font-size: 0; gap: 0; }
  .stepper li span { font-size: 11.5px; }
  .mobile-cta a { font-size: 11px; letter-spacing: .03em; }
  .mobile-cta-call { padding: 0 10px; }
  .mobile-cta-main { padding: 0 10px; }
  .hero h1 { font-size: 34px; }
  .reel h3 { font-size: 24px; }
}

/* Wischbare Bereiche: sichtbarer Fokus, ohne dass der Rahmen abgeschnitten wird */
.testimonials:focus-visible,
.team:focus-visible { outline-offset: -2px; }

/* Film: aktuelle Szene in der Fortschrittsleiste hervorheben */
.reel-progress button[aria-current="true"] i { background: rgba(255, 255, 255, .7); }

/* Film pausiert: aktive Szene vollständig zeigen (auch das Standbild vor dem ersten Abspielen) */
.reel.is-poster .reel-scene.is-active .reel-line > span { animation: none; transform: none; }
.reel.is-poster .reel-scene.is-active :is(.reel-label, .reel-meta, .reel-cta, .reel-tagline, .reel-logo .logo-word, .reel-logo .logo-sub) { animation: none; opacity: 1; }
.reel.is-poster .reel-scene.is-active .reel-label::before { animation: none; width: 36px; }
.reel.is-poster .reel-scene.is-active .reel-logo .logo-word { letter-spacing: .36em; margin-right: -.36em; }
.reel.is-poster .reel-scene.is-active .reel-logo .logo-e { animation: none; background-size: 100% .11em, 100% .11em, 100% .11em; }
.reel.is-poster .reel-scene.is-active .reel-cta { pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .reel-scene.is-leaving img { animation: none; transform: none; }
  .nav-open .nav ul li { animation: none; }
  .nav,
  .mobile-cta { transition: none; }
}

/* Schlagworte der Leistungen: jedes mit eigenem Goldpunkt, keine hängenden Trennzeichen */
.service-tags { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.service-tags span { display: inline-flex; align-items: center; gap: 9px; }
.service-tags span::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* Menü sofort sichtbar schalten (sonst kann der erste Link beim Öffnen keinen Fokus bekommen) */
@media (max-width: 980px) {
  .nav-open .nav { transition: opacity .25s, transform .25s var(--ease), visibility 0s; }
}

/* ==========================================================================
   Korrekturen nach der Nachkontrolle
   ========================================================================== */

/* Film: Button nicht fokussierbar, solange seine Szene nicht sichtbar ist */
.reel-scene:not(.is-active) .reel-cta { visibility: hidden; }

/* Hero-Rubrik: auf kleinen Displays kürzer, damit sie nicht umbricht */
.label-short { display: none; }
@media (max-width: 420px) {
  .label-long { display: none; }
  .label-short { display: inline; }
}

/* Menü auf niedrigen Displays: Elemente nicht stauchen, stattdessen scrollen */
@media (max-width: 980px) {
  .nav > * { flex-shrink: 0; }
}

/* Formularkopf: "Schritt x von 3" bleibt zusammen */
.form-head { flex-wrap: wrap; row-gap: 4px; }
.form-head p { white-space: nowrap; }

/* Sichtbarer Tastaturfokus für die Einwilligungs-Checkbox */
.consent input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.prose .muted { margin-top: 36px; font-size: 13.5px; color: var(--muted); }

/* Sehr schmale Geräte: Button-Text der Kontaktleiste darf umbrechen */
@media (max-width: 340px) {
  .mobile-cta a.mobile-cta-main { white-space: normal; line-height: 1.15; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-open .nav { transition: none; }
}

/* ==========================================================================
   Imagefilm: Musik
   ========================================================================== */

.reel-sound {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(5, 5, 6, .35);
  color: var(--pure);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.reel-sound:hover { border-color: var(--gold); background: rgba(196, 145, 79, .15); }
.reel-sound svg { width: 18px; height: 18px; }
.reel-sound .icon-sound-off { display: none; }
.reel.is-muted .reel-sound .icon-sound-on { display: none; }
.reel.is-muted .reel-sound .icon-sound-off { display: block; }

.reel-stage { cursor: pointer; }

/* Hinweis, solange der Browser den Ton noch nicht freigegeben hat */
.reel-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid rgba(196, 145, 79, .55);
  border-radius: 999px;
  background: rgba(14, 15, 17, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .4s, transform .4s var(--ease);
}
.reel.needs-tap .reel-hint { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .reel-ui { gap: 12px; }
  .reel-sound, .reel-toggle { width: 36px; height: 36px; }
}

/* Team: Architektur-Motive aus Dubai mit Initialen */
.member-photo--motiv img { filter: grayscale(.35) brightness(.5) contrast(1.05); transform: scale(1.02); transition: transform .8s var(--ease), filter .8s var(--ease); }
.member-photo--motiv::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 22, 26, .15) 0%, rgba(20, 22, 26, .75) 100%),
    linear-gradient(135deg, rgba(196, 145, 79, .18), transparent 60%);
}
.member-photo--motiv span {
  position: relative;
  z-index: 1;
  color: var(--pure);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}
.member-photo--motiv span::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin: 14px auto 0;
  background: var(--gold);
}
.member:hover .member-photo--motiv img { transform: scale(1.07); filter: grayscale(.1) brightness(.58) contrast(1.05); }

/* ==========================================================================
   Sprachumschalter DE | EN
   ========================================================================== */

.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch a {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--on-dark-muted);
  transition: color .2s, background-color .2s;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { color: var(--black); background: var(--gold); }
.nav-contact .lang-switch { margin-top: 6px; }
.nav-contact .lang-switch a { font-size: 13px; padding: 5px 12px; }
