/* Schrift: durchgehend Arial (Kundenvorgabe). Layout: ein ruhiges Schriftstück. Oben das blaue Feld des bisherigen Banners mit der
   Bestellung als weißes Blatt samt Rundstempel; darunter linksbündige Abschnitte auf
   kühlem Papier, die Paragrafenverweise stehen als Randspalte neben dem Text. */
:root {
  color-scheme: light;
  --paper: #F2F4F8;
  --surface: #FFFFFF;
  --ink: #131C2B;
  --muted: #4E5A6D;
  --line: #CDD4DF;
  --brand: #1C6FCA;
  --brand-hover: #155AA8;
  --brand-ink: #165AA6;
  --on-brand: #FFFFFF;
  --sheet: #FFFFFF;
  --sheet-ink: #131C2B;
  --sheet-muted: #4E5A6D;
  --sheet-line: #D5DBE4;
  --shadow: rgba(10, 25, 50, 0.22);
  --logo-farbe: block;
  --logo-weiss: none;

  --font-display: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
  --font-body: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;

  --fs-label: 0.78rem;
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.1875rem;
  --fs-h3: 1.3rem;
  --fs-h2: clamp(1.9rem, 3.6vw, 2.6rem);
  --fs-h1: clamp(2.05rem, 5vw, 3.25rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0E1520;
    --surface: #151E2C;
    --ink: #E8ECF3;
    --muted: #9BA8BA;
    --line: #29364A;
    --brand: #1C6FCA;
    --brand-hover: #2B7FDB;
    --brand-ink: #82B7F3;
    --on-brand: #FFFFFF;
    --sheet: #F4F6F9;
    --sheet-ink: #131C2B;
    --sheet-muted: #4E5A6D;
    --sheet-line: #CFD6E0;
    --shadow: rgba(0, 0, 0, 0.45);
    --logo-farbe: none;
    --logo-weiss: block;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0E1520;
  --surface: #151E2C;
  --ink: #E8ECF3;
  --muted: #9BA8BA;
  --line: #29364A;
  --brand: #1C6FCA;
  --brand-hover: #2B7FDB;
  --brand-ink: #82B7F3;
  --on-brand: #FFFFFF;
  --sheet: #F4F6F9;
  --sheet-ink: #131C2B;
  --sheet-muted: #4E5A6D;
  --sheet-line: #CFD6E0;
  --shadow: rgba(0, 0, 0, 0.45);
  --logo-farbe: none;
  --logo-weiss: block;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dt, dd, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; }
section[id] { scroll-margin-top: 5.5rem; }

.wrap {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.label {
  font: 600 var(--fs-label)/1.35 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font: 600 var(--fs-h3)/1.25 var(--font-body); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Schaltflächen */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.6rem 1.3rem;
  border: 1.5px solid transparent;
  border-radius: 3px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--light { background: var(--on-brand); color: var(--brand-hover); }
.btn--light:hover { background: var(--sheet-line); }
.btn--ghost { border-color: var(--on-brand); color: var(--on-brand); }
.btn--ghost:hover { background: var(--on-brand); color: var(--brand-hover); }

/* Kopfzeile */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.75rem;
  padding-block: 0.7rem;
}
.brand { display: flex; align-items: center; gap: 0.95rem; text-decoration: none; min-width: 0; }
.logo { display: block; flex: none; }
.logo img { width: 100%; height: 100%; }
.logo--farbe { display: var(--logo-farbe); }
.logo--weiss { display: var(--logo-weiss); }
.brand .logo { width: 4.5rem; height: 4.5rem; }
.brand-text { display: grid; line-height: 1.25; min-width: 0; }
.brand-text strong { font-weight: 700; font-size: 1.14rem; }
.brand-text span { font-size: 1.02rem; color: var(--muted); }
.brand-text strong span { font-size: inherit; color: inherit; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { padding-block: 0.35rem; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--brand); }
.call {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 3px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
}
.call:hover { background: var(--brand-hover); }
.call small { font: 600 var(--fs-label)/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; }

/* Kopffeld */
.hero { background: var(--brand); color: var(--on-brand); padding-block: clamp(2.5rem, 6vw, 4.75rem); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-text { display: grid; gap: 1.4rem; justify-items: start; }
.hero-mark { width: 11rem; height: 11rem; margin-bottom: 0.4rem; }
.hero .label { color: var(--on-brand); }
.hero h1 { font-size: var(--fs-h1); line-height: 1.06; }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 35rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Das Blatt mit der Bestellung */
.sheet {
  background: var(--sheet);
  color: var(--sheet-ink);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  box-shadow: 0 18px 40px -18px var(--shadow), 0 2px 6px -2px var(--shadow);
  display: grid;
  gap: 1.1rem;
}
.sheet-head { display: flex; align-items: center; gap: 1.1rem; }
.sheet-head img { width: 7.5rem; height: auto; flex: none; mix-blend-mode: multiply; }
.sheet-head p { font: 700 1.25rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.sheet dl { display: grid; }
.sheet dl div {
  display: grid;
  grid-template-columns: 10.25rem minmax(0, 1fr);
  gap: 0.15rem 1rem;
  padding-block: 0.6rem;
  border-top: 1px solid var(--sheet-line);
}
.sheet dt { font: 600 var(--fs-label)/1.5 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sheet-muted); padding-top: 0.2rem; }
.sheet dd { font-weight: 500; font-size: var(--fs-small); line-height: 1.45; }

/* Abschnitte */
.sec { padding-block: clamp(3rem, 7vw, 5.25rem); }
.sec--white { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 0.9rem; max-width: 44rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.sec-head p:not(.label) { font-size: var(--fs-lead); color: var(--muted); }

.rows { border-top: 2px solid var(--ink); }
.rows li {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 0.2rem 2rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.rows strong { font-weight: 600; }
.rows span { color: var(--muted); }

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.duo article { display: grid; gap: 0.6rem; align-content: start; padding-top: 1.1rem; border-top: 2px solid var(--brand); }
.duo h3 { font: 700 1.4rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.duo p { color: var(--muted); }
.note { margin-top: 2rem; max-width: 46rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 2.5rem clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.prosa { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: 2.25rem; }
.marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.25rem; }
.marks div { display: grid; gap: 0.3rem; align-content: start; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.marks dt { font-weight: 600; }
.marks dd { color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.refs { display: grid; gap: 1rem; padding: 1.4rem 1.5rem; background: var(--paper); border: 1px solid var(--line); }
.refs .lockup { display: flex; align-items: flex-end; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.refs .lockup .logo { width: 5rem; height: 5rem; }
.refs .lockup p { font: 400 1.05rem/1.2 var(--font-body); padding-bottom: 0.15rem; }
.refs dl { display: grid; gap: 1rem; }
.refs div { display: grid; gap: 0.2rem; }
.refs dt { font: 700 1rem/1.35 var(--font-display); font-variant-numeric: tabular-nums; }
.refs dd { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }

/* Fragen */
.faq { border-top: 2px solid var(--ink); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 1.05rem;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--font-body); color: var(--brand-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { display: grid; gap: 0.75rem; padding-bottom: 1.35rem; max-width: 44rem; color: var(--muted); }
.faq .answer ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.3rem; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 5vw, 4rem); align-items: start; }
.office img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.office figcaption { padding-top: 0.6rem; font-size: var(--fs-small); color: var(--muted); }
.ways { border-top: 2px solid var(--ink); }
.ways > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.ways dd { min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.ways dd span { display: block; font-weight: 400; color: var(--muted); }
.ways dd a { text-underline-offset: 0.2em; }
.big { font: 700 clamp(1.5rem, 3vw, 1.9rem)/1.1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini {
  justify-self: end;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font: 500 var(--fs-small)/1.3 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.mini:hover { border-color: var(--ink); }

/* Fußzeile */
.foot { font-size: var(--fs-small); background: var(--paper); border-top: 1px solid var(--line); }
.sec--white:last-child { border-bottom: 0; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 3rem; padding-block: 2rem; }
.foot-brand { display: flex; align-items: flex-start; gap: 1rem; }
.foot-brand .logo { width: 4.25rem; height: 4.25rem; }
.foot p { color: var(--muted); }
.foot p strong { color: var(--ink); font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-content: start; }
.foot-links a { text-underline-offset: 0.2em; }
.foot-links a:hover { color: var(--brand-ink); }
.foot-links a[aria-current="page"] { color: var(--brand-ink); text-decoration: none; font-weight: 600; }

/* Rechtsseiten */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem); }
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1rem; }
.prose > h1 { font-size: var(--fs-h2); line-height: 1.1; margin-top: 0.75rem; overflow-wrap: break-word; hyphens: auto; }
.prose > h2 { font: 600 1.3rem/1.3 var(--font-body); letter-spacing: 0; margin-top: 2.5rem; }
.prose > h2 + * { margin-top: 0.6rem; }
.prose address { font-style: normal; }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.3rem; }
.prose a { color: var(--brand-ink); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.prose .stand { color: var(--muted); font-size: var(--fs-small); margin-top: 0.5rem; }
.prose .box { margin-top: 1.5rem; padding: 1.25rem 1.4rem; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 0.5rem; }
.prose .box h3 { font-size: 1.1rem; }

@media (max-width: 58rem) {
  .hero .wrap, .split, .contact { grid-template-columns: minmax(0, 1fr); }
  .sheet { max-width: 30rem; }
  .office { max-width: 34rem; }
}
@media (max-width: 46rem) {
  .top { position: static; }
  .brand .logo { width: 3.6rem; height: 3.6rem; }
  .brand-text strong { font-size: 1.05rem; }
  .hero-mark { width: 8rem; height: 8rem; }
  .call { display: none; }
  .wide-only { display: none; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 1.3rem; }
  .rows li, .duo, .marks { grid-template-columns: minmax(0, 1fr); }
  .sheet dl div { grid-template-columns: minmax(0, 1fr); }
  .sheet-head img { width: 6.25rem; }
  .ways > div { grid-template-columns: minmax(0, 1fr) auto; }
  .ways dt { grid-column: 1 / -1; }
  .btn { width: 100%; justify-content: center; }
  .actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
