:root {
  color-scheme: light;
  --ink: #10283c;
  --navy: #0b2e49;
  --navy-deep: #071f33;
  --sage: #607b80;
  --sage-light: #dfe8e1;
  --copper: #a46a38;
  --cream: #efe8dc;
  --paper: #fffefa;
  --line: #d9dfdc;
  --muted: #526372;
  --shadow: 0 24px 55px rgba(16, 40, 60, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.wrap {
  width: min(1160px, calc(100% - 38px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 15px;
  color: white;
  background: var(--navy);
  border-radius: 7px;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #f6a15d;
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 254, 250, .97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.domain-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -.02em;
}

.domain-mark__dot {
  width: 12px;
  height: 12px;
  background: var(--copper);
  border-radius: 50% 50% 50% 2px;
  transform: rotate(-45deg);
}

.awz-logo {
  width: 91px;
  height: 58px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.awz-logo img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  justify-self: end;
  width: 46px;
  height: 44px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  height: 2px;
  background: var(--navy);
  border-radius: 9px;
}

.site-nav {
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  display: none;
  padding: 16px 20px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(16, 40, 60, .12);
}

.site-nav[data-open="true"] { display: grid; gap: 7px; }

.site-nav a {
  padding: 9px 4px;
  text-decoration: none;
  font-weight: 700;
}

.nav-contact { color: var(--copper); }

.hero {
  padding: 28px 0 0;
  background:
    radial-gradient(circle at 5% 15%, rgba(111, 137, 124, .12), transparent 32%),
    linear-gradient(180deg, var(--paper), #f8f7f2);
}

.hero-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 8px;
  color: var(--copper);
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 10vw, 4.75rem);
  hyphens: manual;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 7vw, 3.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero__actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button--primary, .button--submit {
  color: white;
  background: var(--navy);
}

.button--secondary {
  color: var(--navy);
  background: transparent;
}

.image-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--sage-light);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.image-frame figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  color: white;
  background: rgba(7, 31, 51, .72);
  border-radius: 4px;
  font-size: .66rem;
  line-height: 1.35;
}

.trust-line {
  display: grid;
  gap: 5px;
  margin-top: 34px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}

.trust-line p { margin: 0; font-size: .94rem; font-weight: 750; }
.trust-line span { display: none; }

.section { padding: 72px 0; }

.context { background: var(--cream); }
.context-grid { display: grid; gap: 22px; }
.context-copy { max-width: 720px; }
.context-copy p { margin: 0 0 16px; }

.section-heading--split {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.section-heading--split > p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
}

.situation-list {
  border-top: 1px solid var(--line);
}

.situation-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.situation-list article > span {
  grid-row: 1 / span 2;
  color: var(--copper);
  font-weight: 900;
  letter-spacing: .08em;
}

.situation-list h3, .situation-list p { margin-top: 0; }
.situation-list p { margin-bottom: 0; color: var(--muted); }

.route { background: #eef3ef; }
.route--dark { color: #e9f0ed; background: var(--navy-deep); }
.route-grid { display: grid; gap: 30px; align-items: center; }
.route-copy p { max-width: 680px; }
.route--dark h2 { color: white; }
.route--dark .route-copy p { color: #d2ddda; }

.route-number {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
  border: 1px solid rgba(11, 46, 73, .18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(111, 137, 124, .28), rgba(255, 255, 255, .4)),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(11, 46, 73, .06) 48px);
}

.route-number span {
  color: var(--sage);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.route-number strong {
  align-self: flex-end;
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 24vw, 9rem);
  line-height: .72;
  font-weight: 400;
}

.route-number--light {
  border-color: rgba(255, 255, 255, .2);
  background:
    linear-gradient(135deg, rgba(111, 137, 124, .32), rgba(11, 46, 73, .3)),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(255, 255, 255, .06) 48px);
}

.route-number--light span { color: #b9ccc3; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  color: var(--navy);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.text-link--light { color: white; }

.inquiry { background: var(--cream); }
.inquiry-grid { display: grid; gap: 30px; }
.inquiry-intro { max-width: 540px; }
.inquiry-intro p:last-child { color: var(--muted); }

.contact-form {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(16, 40, 60, .08);
}

.contact-form fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.contact-form legend, .contact-form > label:not(.consent) {
  display: block;
  margin: 0 0 7px;
  color: var(--navy);
  font-weight: 800;
}

.intent-grid { display: grid; gap: 9px; }
.intent-grid label { cursor: pointer; }
.intent-grid input { position: absolute; opacity: 0; }
.intent-grid span {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  font-weight: 750;
}

.intent-grid input:checked + span {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.intent-grid input:focus-visible + span { outline: 3px solid #f6a15d; outline-offset: 3px; }

.contact-form > input,
.contact-form > textarea,
.personal-grid input {
  width: 100%;
  margin-bottom: 19px;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
  border: 1px solid #aab8b2;
  border-radius: 7px;
}

.contact-form textarea { resize: vertical; }

.personal-details {
  margin: 4px 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.personal-details summary {
  padding: 13px 15px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.personal-grid {
  display: grid;
  gap: 0 14px;
  padding: 2px 15px 0;
}

.personal-grid label { font-weight: 700; }

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .92rem;
}

.consent input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--navy); }
.consent a { color: var(--navy); font-weight: 800; }
.button--submit { width: 100%; }
.form-hint { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }

.contact-section {
  padding: 0 0 72px;
  background: var(--cream);
}

.contact-card {
  display: grid;
  gap: 24px;
  padding: 30px;
  color: white;
  background: var(--navy);
  border-radius: 14px;
}

.contact-card h2 { margin: 0; color: white; font-size: clamp(1.8rem, 7vw, 3rem); }
.eyebrow--light { color: #b9ccc3; }
.contact-card address { display: grid; gap: 2px; font-style: normal; }
.contact-card address span { margin-top: 9px; color: #b9ccc3; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-card address a { font-weight: 850; font-size: 1.08rem; }

.site-footer { padding: 26px 0; color: #d6e0e5; background: var(--navy-deep); }
.footer-inner { display: grid; gap: 13px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-inner a { font-size: .9rem; }

@media (min-width: 540px) {
  .hero__actions, .intent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-line { grid-template-columns: auto 1px auto; align-items: center; gap: 18px; }
  .trust-line span { display: block; width: 1px; height: 22px; background: var(--line); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1180px) {
  .wrap { width: min(1160px, calc(100% - 68px)); }
  .site-header { position: sticky; top: 0; }
  .header-inner { grid-template-columns: auto 1fr auto; min-height: 84px; }
  .menu-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { font-size: .91rem; }
  .awz-logo { width: 104px; height: 64px; }
  .hero { padding-top: 62px; }
  .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr); gap: 50px; }
  .hero__actions { max-width: 490px; margin-top: 25px; }
  .hero-lead { font-size: 1.08rem; }
  .button { min-height: 48px; }
  .section { padding: 96px 0; }
  .context-grid { grid-template-columns: .8fr 1.2fr; gap: 70px; }
  .section-heading--split { grid-template-columns: 1fr .8fr; align-items: end; gap: 60px; }
  .situation-list article { grid-template-columns: 70px 260px 1fr; align-items: start; gap: 16px; }
  .situation-list article > span { grid-row: auto; }
  .route-grid { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 72px; }
  .route-grid--reverse .route-number { order: 2; }
  .inquiry-grid { grid-template-columns: minmax(0, .78fr) minmax(430px, 1.22fr); gap: 75px; align-items: start; }
  .contact-form { padding: 34px; }
  .contact-card { grid-template-columns: 1fr auto; align-items: center; padding: 40px 48px; }
}

@media (min-width: 1100px) {
  .header-inner { grid-template-columns: 180px 1fr 115px; }
  .site-nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (min-width: 1180px) {
  body.layout-1 .hero-copy { order: 2; }
  body.layout-2 .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); }
  body.layout-3 .context-grid { grid-template-columns: 1.05fr .95fr; }
}

/* V3: sichere Darstellung langer deutscher Fachbegriffe */
h1, h2, h3, .domain-mark, .button, .text-link {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.header-inner > *, .hero-grid > *, .route-grid > *, .inquiry-grid > * { min-width: 0; }
.button { white-space: normal; text-align: center; }


/* V4: kompaktere Bildwirkung und vereinfachtes freiwilliges Formular */
.image-frame--hero {
  width: min(100%, 560px);
  justify-self: center;
}

.form-note {
  margin: -5px 0 20px;
  color: var(--muted);
  font-size: .9rem;
}

.personal-details summary small {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 650;
}

.personal-grid {
  grid-template-columns: 1fr !important;
}

@media (min-width: 540px) {
  .intent-grid { grid-template-columns: 1fr; }
}

@media (min-width: 760px) {
  .intent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
  .image-frame--hero { width: min(100%, 520px); }
}
