/* ==========================================================================
   Isaten Management – Stylesheet
   Akzent: Smaragd/Petrol (#2F8F78 · Text #5DBFA5 · hell #7FD1BA)
   ========================================================================== */

: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);

  --accent: #2F8F78;
  --accent-text: #5DBFA5;
  --accent-light: #7FD1BA;

  --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: 'Jost', 'Inter', 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(--accent); 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(--accent-text);
}
.label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.section--dark .label,
.hero .label { color: var(--accent-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-accent { background: var(--accent); color: var(--black); }
.btn-accent:hover { background: var(--accent-light); }

.btn-dark { background: var(--accent); color: var(--black); }
.btn-dark:hover { background: var(--accent-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(--accent-light); }


/* ---------- 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(--accent-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(--accent);
  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(--accent); color: var(--accent-light); }
.is-scrolled .btn-nav,
.nav-open .btn-nav { background: var(--accent); border-color: var(--accent); color: var(--black); }
.is-scrolled .btn-nav:hover { background: var(--accent-light); border-color: var(--accent-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(--accent);
  transition: width .5s var(--ease);
}
.service:hover::before { width: 100%; }
.service-num {
  padding-top: 6px;
  font-family: var(--display);
  font-size: 15px;
  color: var(--accent-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(--accent); border-color: var(--accent); 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(--accent-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(--accent); }
.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(--accent); }
.step-num { font-family: var(--display); font-size: 15px; letter-spacing: .06em; color: var(--accent-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); }

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


/* ---------- 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(--accent-text);
  border-bottom: 1.5px solid var(--accent-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(--accent); }

.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(--accent); }
.stepper li.is-current span { background: var(--accent); border-color: var(--accent); color: var(--black); }
.stepper li.is-done { color: var(--text); border-color: rgba(47, 143, 120, .45); }
.stepper li.is-done span { background: transparent; border-color: var(--accent); color: var(--accent-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(--accent); background: rgba(47, 143, 120, .08); box-shadow: inset 0 0 0 1px var(--accent); }
.option input:focus-visible + .option-box { outline: 2px solid var(--accent); 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(--accent); border-color: var(--accent); 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(--accent); box-shadow: 0 0 0 3px rgba(47, 143, 120, .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(--accent); border-color: var(--accent); color: var(--black); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); 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(--accent); 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(--accent);
  border-radius: 50%;
  color: var(--accent-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(--accent-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(--accent-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(--accent-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(--accent); text-underline-offset: 3px; }
.prose .card { padding: clamp(24px, 3vw, 36px); background: var(--paper); border-left: 2px solid var(--accent); }

/* ---------- 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; }
  .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,
  .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; }
  .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(47, 143, 120, .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(47, 143, 120, .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(--accent); }


.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(--accent); 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; }


  .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; }
}


/* ==========================================================================
   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); }
}


/* 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; }
}


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

/* Schlagworte der Leistungen: jedes mit eigenem Akzentpunkt, 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(--accent);
}

/* 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
   ========================================================================== */


/* 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(--accent); 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; }
}


/* ==========================================================================
   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(--accent); }
.nav-contact .lang-switch { margin-top: 6px; }
.nav-contact .lang-switch a { font-size: 13px; padding: 5px 12px; }

/* ==========================================================================
   Isaten Management – eigene Bausteine
   ========================================================================== */

/* ---------- Logo: Wortmarke ISATEN + Zusatz MANAGEMENT ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: none;
  color: currentColor;
  line-height: 1;
  text-decoration: none;
}
.logo-mark { flex: none; width: 42px; height: 42px; color: var(--accent-light); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; }
.logo-word {
  margin-right: -.3em;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .3em;
  white-space: nowrap;
}
.logo-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent-text);
}
.logo-sub::before { content: ""; width: 12px; height: 1px; background: currentColor; }
.site-header .logo-sub { color: var(--accent-light); }

@media (max-width: 640px) {
  .logo { gap: 13px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-word { font-size: 24px; }
  .logo-sub { margin-top: 7px; font-size: 8.5px; letter-spacing: .2em; }
}

/* ---------- Hero: eigener Farbton ---------- */
.hero-img { filter: saturate(.55) brightness(.9); }
.hero-shade {
  background:
    linear-gradient(120deg, rgba(47, 143, 120, .2) 0%, rgba(47, 143, 120, 0) 48%),
    linear-gradient(90deg, rgba(14, 15, 17, .82) 0%, rgba(14, 15, 17, .48) 55%, rgba(14, 15, 17, .18) 100%),
    linear-gradient(180deg, rgba(14, 15, 17, .6) 0%, rgba(14, 15, 17, .1) 50%, rgba(14, 15, 17, .78) 100%);
}
.section-img { filter: saturate(.35) brightness(.8); }

/* Leitbegriffe statt Zahlen */
.stats--words .stat-num { font-size: clamp(24px, 2.4vw, 32px); }
@media (max-width: 640px) {
  .stats--words .stat-num { font-size: 24px; }
}

/* ---------- Häufige Fragen (aufklappbar) ---------- */
.faq-list { margin: 0; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent-text);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--pure); }
.faq-item p { max-width: 700px; padding: 0 0 30px; color: var(--muted); }

/* ---------- Kontaktformular (einteilig) ---------- */
.contact-form .form-head { margin-bottom: 4px; }
.contact-form .form-head p { display: block; }
.contact-form .form-nav [data-submit] { margin-left: 0; }

/* ---------- Platzhalter für noch fehlende Firmendaten ---------- */
.platzhalter {
  display: inline-block;
  padding: 0 6px;
  border: 1px dashed rgba(240, 180, 60, .7);
  border-radius: 2px;
  background: rgba(240, 180, 60, .14);
  color: #F3C969;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Rechtliche Seiten ---------- */
.prose h3 { margin: 26px 0 8px; font-size: 19px; font-weight: 500; }
.prose .card + .card { margin-top: 16px; }
