/* Civenio – Basis-Styles. Farben, Schriften und Abstände aus dem Design System „Civenio“. */

@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Fraunces-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/PublicSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/PublicSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/PublicSans-Bold.woff2") format("woff2"); }

:root {
  --petrol: #0e4b57;
  --petrol-soft: #dcebec;
  --apricot: #f2994a;
  --apricot-soft: #fdebd9;
  --wiese: #2b7353;
  --wiese-soft: #dcefe4;
  --signal: #b3261e;
  --paper: #faf8f4;
  --surface: #ffffff;
  --ink: #15232a;
  --ink-muted: #4f5d63;
  --line: #e3ded5;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-12: 48px;

  --shadow-card: 0 1px 2px rgba(21, 35, 42, .06), 0 4px 16px rgba(21, 35, 42, .04);
  --wrap: 1040px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--petrol); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: var(--radius-sm); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-6); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-4); top: var(--space-4); background: var(--surface); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); z-index: 10; }

/* Kopf */
.site-header { padding: var(--space-6) 0; position: relative; z-index: 2; }
.site-header .logo { display: inline-block; line-height: 0; }
.site-header .logo img { width: 152px; height: auto; }

/* Startseite: Bühne mit angeschnittenem Ring (Motiv, höchstens einmal pro Seite) */
.top { position: relative; overflow: hidden; }
.top .ring {
  position: absolute; z-index: 0; pointer-events: none;
  width: 360px; height: 360px; right: -170px; top: -150px;
}
.top .ring path { fill: none; stroke: var(--petrol-soft); stroke-width: 29; stroke-linecap: round; }
.top .ring circle { fill: var(--apricot); }
.hero { position: relative; z-index: 1; padding: var(--space-6) 0 var(--space-12); }

.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--apricot-soft); color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 20px;
  padding: 6px 14px 6px 12px; border-radius: var(--radius-pill);
}
.badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--apricot); flex: none; }

h1, h2 { font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: 44px; line-height: 1.08; margin: var(--space-6) 0 var(--space-6); max-width: 14ch; }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 var(--space-6); }
h3 { font-family: var(--font-sans); font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0 0 var(--space-2); }

.lead { font-size: 19px; line-height: 1.6; max-width: 36em; margin: 0 0 var(--space-4); }
.region { color: var(--ink-muted); margin: 0; max-width: 36em; }
.region strong { color: var(--ink); font-weight: 600; }

.chips { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: 40em; }
.chips li {
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  font-size: 15px; line-height: 20px; padding: 6px 14px; border-radius: var(--radius-pill);
}

/* Abschnitte */
.section { padding: var(--space-12) 0; }
.section + .section { padding-top: 0; }

.cards { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: var(--space-6);
}
.card p { margin: 0; color: var(--ink-muted); }
.card .num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--petrol-soft); color: var(--petrol); font-weight: 700; font-size: 16px;
  margin-bottom: var(--space-4);
}

.note {
  background: var(--petrol-soft); border-radius: var(--radius-md);
  padding: var(--space-6); margin-top: var(--space-6);
}
.note p { margin: 0; }
.note strong { color: var(--petrol); }

.contact p { max-width: 36em; margin: 0 0 var(--space-4); }
.button {
  display: inline-block; background: var(--petrol); color: var(--surface);
  font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: var(--radius-md);
}
.button:hover { background: #0b3d47; }
.button:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }

/* Rechtliche Seiten */
.legal { padding: var(--space-6) 0 var(--space-12); }
.legal h1 { font-size: 40px; max-width: none; margin-top: var(--space-4); }
.legal .sheet {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: var(--space-6); max-width: 760px;
}
.legal h2 { font-family: var(--font-sans); font-size: 19px; font-weight: 700; letter-spacing: 0; margin: var(--space-6) 0 var(--space-2); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal address { margin: 0 0 var(--space-4); font-style: normal; }
.legal .meta { color: var(--ink-muted); font-size: 14px; margin-top: var(--space-6); }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); padding: var(--space-6) 0 var(--space-12); color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); justify-content: space-between; }
.site-footer nav { display: flex; gap: var(--space-4); }
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--petrol); }

@media (min-width: 720px) {
  .site-header .logo img { width: 172px; }
  .hero { padding: var(--space-12) 0 var(--space-12); }
  .top .ring { width: 720px; height: 720px; right: -220px; top: -90px; }
  h1 { font-size: 68px; }
  h2 { font-size: 34px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .legal .sheet { padding: var(--space-12); }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .15s ease; }
}
