/* V05 Ultra: klare Bild-/Text-Trennung, helle Bildwelt und überprüfbare Kontraste. */
:root {
  --awz: #072e4f;
  --awz-2: #0b456f;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow-soft: 0 24px 70px rgba(7, 46, 79, .13);
  --shadow-card: 0 14px 38px rgba(7, 46, 79, .09);
  --line: #d7e1e6;
  --paper: #fff;
  --soft: #f4f7f8;
}

html { scroll-padding-top: 106px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 95% 1%, color-mix(in srgb, var(--surface-strong) 64%, white) 0 9rem, transparent 30rem),
    #fff;
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
}
.wrap { width: min(1180px, calc(100% - 48px)); }

.service-line { background: var(--awz); color: #fff; }
.service-line .wrap { min-height: 34px; }
.site-header {
  top: 0;
  background: rgba(255, 255, 255, .97);
  border-color: #dbe4e8;
  box-shadow: 0 9px 28px rgba(7, 46, 79, .06);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 84px; height: auto; }
.brand img { width: 164px; height: auto; }
.contact-person img { width: 104px; height: auto; }
.footer-grid img { width: 136px; height: auto; }
.site-header nav a { color: #213e50; }
.site-header nav .nav-cta,
.button.primary {
  border-radius: 999px;
  background: var(--action);
  color: #fff;
  box-shadow: 0 11px 26px color-mix(in srgb, var(--action) 23%, transparent);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.site-header nav .nav-cta:hover,
.button.primary:hover {
  background: color-mix(in srgb, var(--action) 88%, #000);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--action) 28%, transparent);
}

/* Der Banner ist immer eine Komposition aus getrennten Flächen. */
.hero,
.hero.hero-wide,
.hero.hero-split {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(1480px, calc(100% - 32px));
  min-height: var(--hero-height);
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, #dbe4e8);
  border-radius: var(--hero-radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.hero .hero-copy,
.hero.hero-split .hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: clamp(38px, 5vw, 76px);
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.42), transparent 58%),
    var(--surface);
}
.hero .hero-copy::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 5px;
  right: clamp(32px, 5vw, 70px);
  bottom: clamp(26px, 4vw, 54px);
  border-radius: 999px;
  background: var(--highlight);
  opacity: .92;
}
.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  color: var(--action);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .105em;
  line-height: 1.4;
}
.hero h1 {
  max-width: 18ch;
  margin: 0 0 22px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 4.5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -.044em;
  line-height: 1;
  text-wrap: balance;
}
body[data-typography="humanist"] .hero h1 {
  max-width: 17ch;
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", Arial, sans-serif;
  font-weight: 720;
  letter-spacing: -.047em;
  line-height: .98;
}
body[data-typography="clear"] .hero h1 {
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.01;
}
.hero-intro {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.13rem);
  line-height: 1.62;
}
.hero-actions { margin-top: 28px; }
.hero-actions .text-link { color: var(--action); font-weight: 800; }
.hero-actions-solid .button.primary { border-radius: 10px; }
.hero-actions-outline .button.primary {
  border: 2px solid var(--action);
  border-radius: 10px;
  background: transparent;
  color: var(--action);
  box-shadow: none;
}
.hero-actions-outline .button.primary:hover { background: var(--action); color: #fff; }
.hero-actions-underline .button.primary {
  border-radius: 0;
  background: transparent;
  color: var(--action);
  box-shadow: inset 0 -4px 0 var(--highlight);
}
.hero-actions-underline .button.primary:hover { background: var(--action); color: #fff; }
.hero-image-wrap,
.hero.hero-split .hero-image-wrap {
  position: relative;
  z-index: 0;
  width: auto;
  min-width: 0;
  min-height: var(--hero-height);
  height: auto;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--surface-strong);
  clip-path: none;
}
.hero-image,
.hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position);
  filter: none;
  transform: none;
}
html[data-profile] body[data-ultra-layout] .hero {
  background: var(--surface);
}
html[data-profile] body[data-ultra-layout] .hero .hero-copy {
  width: auto;
  max-width: none;
  margin: 0;
  padding: clamp(38px, 5vw, 76px);
  text-align: left;
  align-self: stretch;
}
html[data-profile] body[data-ultra-layout] .topic-list article {
  border: 1px solid color-mix(in srgb, var(--accent) 20%, #dbe4e8);
  border-top: 5px solid var(--highlight);
  border-left-width: 1px;
}
html[data-profile] body[data-ultra-layout] .path-grid > a {
  border-radius: calc(var(--hero-radius) * .6);
}
html[data-profile] body[data-ultra-layout] .situations {
  background: var(--action);
}
html[data-profile] body[data-ultra-layout] .path-grid > a:nth-child(2) {
  transform: none;
}
html[data-profile] body[data-ultra-layout] .paths {
  padding-bottom: clamp(74px, 8vw, 108px);
}
html[data-profile] body[data-ultra-layout] .hero .hero-copy .hero-intro,
html[data-profile] body[data-ultra-layout] .hero .hero-copy .hero-actions {
  margin-right: 0;
  margin-left: 0;
  justify-content: flex-start;
}
html[data-profile] body[data-ultra-layout] .hero .hero-image-wrap {
  width: auto;
  min-width: 0;
  min-height: var(--hero-height);
  height: auto;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
}
.symbolbild {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 999px;
  background: rgba(7, 46, 79, .82);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.3;
  backdrop-filter: blur(7px);
}

body[data-ultra-layout="split-image-right"] .hero,
body[data-ultra-layout="editorial-image-right"] .hero {
  grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr);
}
body[data-ultra-layout="split-image-left"] .hero,
body[data-ultra-layout="editorial-image-left"] .hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
}
body[data-ultra-layout="split-image-left"] .hero-copy,
body[data-ultra-layout="editorial-image-left"] .hero-copy { grid-column: 2; grid-row: 1; }
body[data-ultra-layout="split-image-left"] .hero-image-wrap,
body[data-ultra-layout="editorial-image-left"] .hero-image-wrap { grid-column: 1; grid-row: 1; }
body[data-ultra-layout="editorial-image-right"] .hero { grid-template-columns: minmax(400px, .78fr) minmax(0, 1.22fr); }
body[data-ultra-layout="editorial-image-left"] .hero { grid-template-columns: minmax(0, 1.22fr) minmax(400px, .78fr); }
body[data-ultra-layout="editorial-image-right"] .hero-copy,
body[data-ultra-layout="editorial-image-left"] .hero-copy { border-top: 7px solid var(--highlight); }
body[data-ultra-layout="split-image-left"] .hero .hero-copy::before,
body[data-ultra-layout="split-image-right"] .hero .hero-copy::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7px;
  background: var(--highlight);
}
body[data-ultra-layout="split-image-left"] .hero .hero-copy::before { right: 0; }
body[data-ultra-layout="split-image-right"] .hero .hero-copy::before { left: 0; }
body[data-ultra-layout="stack-image-top"] .hero,
body[data-ultra-layout="stack-image-bottom"] .hero { grid-template-columns: 1fr; }
body[data-ultra-layout="stack-image-top"] .hero-image-wrap,
html[data-profile] body[data-ultra-layout="stack-image-top"] .hero .hero-image-wrap {
  min-height: clamp(280px, 20vw, 310px);
}
body[data-ultra-layout="stack-image-bottom"] .hero-image-wrap { min-height: clamp(330px, 40vw, 520px); }
body[data-ultra-layout="stack-image-top"] .hero-image-wrap { grid-row: 1; }
body[data-ultra-layout="stack-image-top"] .hero-copy { grid-row: 2; }
body[data-ultra-layout="stack-image-bottom"] .hero-copy { grid-row: 1; }
body[data-ultra-layout="stack-image-bottom"] .hero-image-wrap { grid-row: 2; }
body[data-ultra-layout^="stack-"] .hero-copy {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  column-gap: clamp(34px, 7vw, 100px);
  align-items: center;
}
body[data-ultra-layout^="stack-"] .hero-copy .eyebrow,
body[data-ultra-layout^="stack-"] .hero-copy h1 { grid-column: 1; }
body[data-ultra-layout^="stack-"] .hero-copy .hero-intro,
body[data-ultra-layout^="stack-"] .hero-copy .hero-actions { grid-column: 2; }
body[data-ultra-layout^="stack-"] .hero-copy .hero-intro { grid-row: 1 / span 2; align-self: end; }
body[data-ultra-layout^="stack-"] .hero-copy .hero-actions { align-self: start; }
body[data-ultra-layout^="stack-"] .hero-copy::after { left: clamp(38px, 5vw, 76px); right: auto; }
body[data-ultra-layout="stack-image-top"] .hero .hero-copy { border-top: 7px solid var(--highlight); }
body[data-ultra-layout="stack-image-bottom"] .hero .hero-image-wrap { border-top: 7px solid var(--highlight); }
@media (min-width: 981px) {
  body[data-ultra-layout="stack-image-bottom"] .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  }
  body[data-ultra-layout="stack-image-bottom"] .hero .hero-image-wrap,
  html[data-profile] body[data-ultra-layout="stack-image-bottom"] .hero .hero-image-wrap {
    grid-column: 1;
    grid-row: 1;
    min-height: var(--hero-height);
    height: auto;
    border-top: 0;
    border-right: 7px solid var(--highlight);
  }
  body[data-ultra-layout="stack-image-bottom"] .hero .hero-copy,
  html[data-profile] body[data-ultra-layout="stack-image-bottom"] .hero .hero-copy {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    padding: clamp(36px, 4vw, 64px);
  }
  body[data-ultra-layout="stack-image-bottom"] .hero .hero-copy::after {
    right: clamp(30px, 4vw, 58px);
    left: auto;
  }
}
@media (min-width: 781px) and (max-height: 820px) {
  body[data-ultra-layout^="stack-"] .hero-image-wrap,
  html[data-profile] body[data-ultra-layout^="stack-"] .hero .hero-image-wrap {
    min-height: 310px;
    height: 310px;
  }
  body[data-ultra-layout^="stack-"] .hero-copy,
  html[data-profile] body[data-ultra-layout^="stack-"] .hero .hero-copy {
    padding: 30px 48px 34px;
  }
  body[data-ultra-layout^="stack-"] .hero h1 {
    font-size: clamp(2.25rem, 3.55vw, 3.55rem);
    margin-bottom: 15px;
  }
  body[data-ultra-layout^="stack-"] .hero-actions { margin-top: 18px; }
  body[data-ultra-layout="stack-image-bottom"] .hero-image-wrap,
  html[data-profile] body[data-ultra-layout="stack-image-bottom"] .hero .hero-image-wrap {
    min-height: var(--hero-height);
    height: auto;
  }
}

.domain-note { background: #fff; border-color: #dbe4e8; }
.domain-note .wrap { padding-block: 18px; }
.domain-note strong { color: var(--action); }
.domain-note span { color: var(--muted); }

.section { padding: clamp(74px, 8vw, 108px) 0; }
.section h2,
.section h3 { color: var(--awz); }
.section h2 { text-wrap: balance; }
.section p { color: #405b6b; }
.kicker { color: var(--action); }
.section-number { color: var(--accent) !important; opacity: .76; }
.topic-list article {
  border: 1px solid color-mix(in srgb, var(--accent) 20%, #dbe4e8);
  border-top: 5px solid var(--highlight);
  border-radius: calc(var(--hero-radius) * .48);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.paths { background: var(--surface); }
.path-grid { gap: 20px; }
.path-grid > a {
  min-height: 320px;
  border-color: color-mix(in srgb, var(--accent) 24%, #dbe4e8);
  border-radius: calc(var(--hero-radius) * .6);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.path-grid > a:nth-child(2) { border-top: 5px solid var(--highlight); }
.path-grid span,
.path-grid b { color: var(--action); opacity: 1; }
.path-grid h3 { overflow-wrap: anywhere; }
.situations { background: var(--action); color: #fff; }
.situations h2,
.situations .kicker,
.situations p { color: #fff; }
.situations li {
  border: 0;
  border-left: 5px solid var(--highlight);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.situations li strong { color: var(--awz); }
.situations li span { color: #465f6e; }
.guidance li span { color: var(--action); }
.process { background: #f4f7f8; }
.process ol > li {
  border-radius: calc(var(--hero-radius) * .46);
  border-color: #dbe4e8;
  box-shadow: 0 9px 26px rgba(7, 46, 79, .055);
}
.process ol > li > span { color: var(--action); opacity: .78; }
.cost-note { border-color: var(--highlight); }
.fee-box {
  border-color: #dbe4e8;
  border-left-color: var(--highlight);
  border-radius: calc(var(--hero-radius) * .42);
  background: var(--surface);
}
.contact-section { background: linear-gradient(135deg, var(--awz), #0b456f); }
.contact-copy .kicker,
.contact-copy h2,
.contact-copy p,
.contact-person a { color: #fff; }
.formbox {
  border-radius: calc(var(--hero-radius) * .58);
  background: #fff;
  color: var(--ink);
}
.formbox h2,
.formbox legend,
.formbox > label,
.personal-details summary { color: var(--awz); }
.formbox input:not([type=radio]):not([type=checkbox]),
.formbox textarea { color: #142e40; background: #fff; border-color: #687985; }
.formbox input:focus,
.formbox textarea:focus,
.formbox summary:focus { outline: 3px solid #0b5f8a; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.form-status:not(:empty) { background: var(--surface); color: var(--ink); }
footer { background: #041d32; color: #d8e3e9; }
.footer-grid a { color: #d8e3e9; }

:focus-visible { outline: 3px solid #0b5f8a; outline-offset: 3px; box-shadow: 0 0 0 5px #fff; }
footer :focus-visible,
.contact-section .contact-person a:focus-visible { outline-color: #f2c45a; box-shadow: 0 0 0 5px #041d32; }

@media (max-width: 980px) {
  body[data-ultra-layout] .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  }
  body[data-ultra-layout="split-image-left"] .hero,
  body[data-ultra-layout="editorial-image-left"] .hero {
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1fr);
  }
  body[data-ultra-layout^="stack-"] .hero { grid-template-columns: 1fr; }
  body[data-ultra-layout^="stack-"] .hero-copy {
    display: flex;
    align-items: flex-start;
  }
  .hero h1 { font-size: clamp(2.35rem, 5.8vw, 3.65rem); }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 78px; }
  .wrap { width: min(100% - 28px, 700px); }
  .header-inner { min-height: 70px; }
  .hero,
  .hero.hero-wide,
  .hero.hero-split,
  body[data-ultra-layout] .hero,
  body[data-ultra-layout="split-image-left"] .hero,
  body[data-ultra-layout="editorial-image-left"] .hero {
    grid-template-columns: 1fr;
    width: min(100% - 20px, 700px);
    margin-top: 10px;
    border-radius: min(var(--hero-radius), 24px);
  }
  .hero .hero-image-wrap,
  .hero.hero-split .hero-image-wrap,
  body[data-ultra-layout] .hero .hero-image-wrap {
    grid-column: 1;
    grid-row: 1;
    min-height: 0 !important;
    height: clamp(250px, 70vw, 380px) !important;
  }
  .hero .hero-copy,
  .hero.hero-split .hero-copy,
  body[data-ultra-layout] .hero .hero-copy {
    grid-column: 1;
    grid-row: 2;
    padding: 38px 24px 44px;
  }
  .hero .hero-copy::after { right: 24px; bottom: 24px; width: 56px; }
  .hero h1 { font-size: clamp(2.18rem, 10.8vw, 3.35rem); }
  .hero-intro { font-size: 1rem; line-height: 1.58; }
  .hero-actions { gap: 14px; }
  .domain-note .wrap { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .path-grid > a { min-height: 0; }
  .site-header nav { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header nav .nav-cta,
  .button.primary { transition: none; }
}
