/* =========================================================
   HomeSphere – Stylesheet
   Farben aus dem Flyer: Weiß, tiefes Marineblau, Türkis als Akzent
   ========================================================= */

/* Rubik (Schrift des Flyers), lokal eingebunden – SIL Open Font License, siehe assets/fonts/OFL-Rubik.txt */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/rubik-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-950: #01131F;
  --navy-900: #021B2D;   /* Flyer-Hintergrund */
  --navy-800: #052354;   /* Logo-Blau */
  --navy-700: #0D3470;
  --teal-400: #45D3BF;   /* Türkis auf Dunkel (Telefonnummer im Flyer) */
  --teal-500: #13B1A9;   /* Logo-Punkt */
  --teal-600: #00A7A1;   /* Trennlinie im Flyer */
  --teal-700: #08756F;   /* Türkis als Text auf Weiß */

  --ink: #15233A;
  --ink-muted: #4B5B72;
  --on-dark: #C9D6E8;
  --on-dark-muted: #9FB2CC;
  --line: #E2E8F0;
  --surface: #FFFFFF;
  --surface-tint: #F3F7FA;
  --check-tint: #EDF7F6;

  --focus: var(--navy-700);
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(2, 27, 45, .05), 0 6px 18px rgba(2, 27, 45, .06);
  --header-h: 64px;
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
}

/* ---------- Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--navy-800);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem); }
h3 { font-size: 1.3125rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

main:focus { outline: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.caps { text-transform: uppercase; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  margin-bottom: .875rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow--light { color: var(--teal-400); }

.lead { font-size: 1.1875rem; color: var(--navy-800); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--teal-400); color: var(--navy-950); }
.btn--primary:hover { background: #6FE0D0; }

.btn--ghost {
  background: rgba(2, 27, 45, .55);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--teal-400); background: rgba(2, 27, 45, .75); }

.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }

/* ---------- Header & Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(2, 27, 45, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: .625rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  border-radius: 8px;
}
.brand-logo { width: auto; height: 32px; }

.call-icon,
.nav-toggle { flex: none; }

.call-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-800);
  color: #fff;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  height: 44px;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy-800);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s, background-color .2s;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* Schmale Geräte: Menü-Button nur als Symbol */
@media (max-width: 399.98px) {
  .nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .nav-toggle-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
}
@media (max-width: 339.98px) {
  .brand-logo { height: 28px; }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  color: var(--navy-800);
  font-weight: 650;
  text-decoration: none;
}

/* Mobile Navigation (mit JavaScript als ausklappbares Menü) */
@media (max-width: 899.98px) {
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(2, 27, 45, .1);
  }
  .js .site-nav.is-open { display: block; }

  .site-nav li:not(.nav-cta) a {
    padding: .9rem .25rem;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a[aria-current] { color: var(--teal-700); }
  .nav-cta { margin-top: 1rem; }
  .nav-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 52px;
    border-radius: 999px;
    background: var(--navy-800);
    color: #fff;
  }

  /* Ohne JavaScript: Links bleiben sichtbar */
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: .75rem; }
  html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
  html:not(.js) .site-nav li:not(.nav-cta) a { border: 0; padding: .5rem 0; }
  html:not(.js) .nav-cta { display: none; }
}

@media (min-width: 900px) {
  .brand-logo { height: 40px; }

  .call-icon,
  .nav-toggle { display: none; }

  .site-nav ul { display: flex; align-items: center; gap: .25rem; }
  .site-nav li:not(.nav-cta) a {
    position: relative;
    padding: .55rem .9rem;
    border-radius: 999px;
    transition: background-color .2s, color .2s;
  }
  .site-nav li:not(.nav-cta) a:hover { background: var(--surface-tint); }
  .site-nav a[aria-current]::after {
    content: "";
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: .2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--teal-500);
  }
  .nav-cta { margin-left: .75rem; }
  .nav-cta a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem 1.15rem;
    border-radius: 999px;
    background: var(--navy-800);
    color: #fff;
    transition: background-color .2s;
  }
  .nav-cta a:hover { background: var(--navy-700); }
}

/* ---------- Einstieg (Hero) ---------- */

.hero {
  --focus: var(--teal-400);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(50% 60% at 6% 0%, rgba(19, 177, 169, .10), transparent 70%),
    var(--navy-900);
  border-bottom: 4px solid var(--teal-600);
  color: var(--on-dark);
}

.hero-media {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 34rem; }

.hero h1 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(2.25rem, 1.4rem + 3.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.hero h1 .line { display: block; }

.hero-lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  color: #DCE5F1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: .7rem;
  margin-top: 1.75rem;
  padding: .75rem 1.1rem;
  border: 1px solid rgba(69, 211, 191, .4);
  border-radius: 14px;
  background: rgba(2, 27, 45, .65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .9375rem;
  line-height: 1.45;
}
.hero-badge .icon { width: 1.5em; height: 1.5em; margin-top: -.05em; color: var(--teal-400); }
.hero-badge strong { color: #fff; font-weight: 700; }

/* Smartphone & Tablet: Überschrift und Button stehen vor dem Bild */
@media (max-width: 899.98px) {
  .hero-inner {
    padding-top: 2.5rem;
    padding-bottom: min(80vw, 27rem);
  }
  .hero-media {
    left: 0;
    height: min(118vw, 40rem);
  }
  .hero-media img {
    object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 34%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 34%);
  }
  .hero-actions .btn { flex: 1 1 15rem; }
}

/* Desktop: Text links, Haus rechts im Anschnitt */
@media (min-width: 900px) {
  .hero-inner {
    display: flex;
    align-items: center;
    min-height: clamp(580px, calc(100vh - var(--header-h)), 760px);
    padding-block: 4.5rem;
  }
  .hero-media {
    top: 0;
    width: min(55vw, 1040px);
  }
  .hero-media img {
    object-position: 46% 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
    mask-image: linear-gradient(to right, transparent 0%, #000 28%);
  }
}

@media (min-width: 900px) and (max-width: 1099.98px) {
  .hero-content { max-width: 30rem; }
  .hero h1 { font-size: 3.1rem; }
}

/* ---------- Abschnitte ---------- */

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-intro { font-size: 1.1875rem; color: var(--ink-muted); }

/* ---------- Leistungen: vier gleichwertige Schwerpunkte ---------- */

.service-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.service {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.service-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.service-head h3 { min-width: 0; margin: 0; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); hyphens: manual; }

@media (max-width: 399.98px) {
  .service-head { gap: .75rem; }
  .service-head h3 { font-size: 1.2rem; }
  .service-icon { width: 48px; height: 48px; border-radius: 14px; }
  .service-icon .icon { width: 26px; height: 26px; }
}

.service-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--check-tint);
  color: var(--navy-800);
}
.service-icon .icon { width: 30px; height: 30px; stroke-width: 2; }

.service-points {
  display: grid;
  gap: .6rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.service-points li { position: relative; padding-left: 1.4rem; }
.service-points li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .6em;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--teal-500);
}

.service-example {
  margin-top: auto;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--teal-500);
  border-radius: 4px 12px 12px 4px;
  background: var(--surface-tint);
  color: var(--ink-muted);
  font-size: .975rem;
}
.service-example-label {
  display: block;
  margin-bottom: .25rem;
  color: var(--teal-700);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Erstcheck vor Ort ---------- */

.section--check {
  background: linear-gradient(180deg, var(--check-tint) 0%, #F7FBFB 100%);
  border-block: 1px solid #DCEEEC;
}

.check-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .check-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
.check-text p:not(.eyebrow):not(.lead) { color: var(--ink-muted); }
.check-text .btn { margin-top: .75rem; }

.check-card {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: #fff;
  border-top: 4px solid var(--teal-600);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(2, 27, 45, .05), 0 16px 40px rgba(2, 27, 45, .08);
}
.check-card-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.check-card-head h3 { margin: 0; }
.check-card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy-800);
  color: var(--teal-400);
}
.check-card-icon .icon { width: 28px; height: 28px; }
.check-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; }
.check-list .icon { margin-top: .2em; color: var(--teal-600); stroke-width: 2.4; }
.check-card-result {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--navy-800);
}

/* Ablauf */
.process { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.process-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); margin-bottom: .35rem; }
.process-intro { color: var(--ink-muted); }

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.step {
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step--highlight { border: 2px solid var(--teal-500); padding: calc(1.5rem - 1px); }
.step--optional { background: transparent; border-style: dashed; border-color: #AFC9C8; }
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--teal-400);
  color: var(--navy-950);
  font-weight: 800;
}
.step--highlight .step-num { background: var(--navy-800); color: #fff; }
.step--optional .step-num { background: #fff; border: 2px solid var(--teal-500); color: var(--teal-700); }
.step h4 { font-size: 1.125rem; margin-bottom: .5rem; }
.step p { color: var(--ink-muted); font-size: 1rem; }
.step q { display: block; margin-bottom: .4rem; color: var(--navy-800); font-style: italic; }
.step q::before { content: "„"; }
.step q::after { content: "“"; }

@media (min-width: 1100px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(1.5rem + 19px);
    right: calc(-1.25rem - 2px);
    width: calc(1.25rem + 2px);
    height: 2px;
    background: var(--teal-500);
  }
}

/* ---------- Über mich ---------- */

.about-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .about-card { order: -1; }
}

.about-text p:not(.eyebrow):not(.lead):not(.about-promise) { color: var(--ink-muted); }
.about-promise {
  margin-top: 1.5rem;
  padding: .25rem 0 .25rem 1.1rem;
  border-left: 4px solid var(--teal-500);
  color: var(--navy-800);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.45;
}

.about-card {
  --focus: var(--teal-400);
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 24px;
  background: var(--navy-900);
  color: var(--on-dark);
}
.about-card-deco {
  position: absolute;
  top: -10px;
  right: -20px;
  width: 210px;
  opacity: .35;
  pointer-events: none;
}
.monogram {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: 1.875rem;
  font-weight: 750;
  letter-spacing: .02em;
  box-shadow: 0 0 0 4px var(--navy-900), 0 0 0 6px var(--teal-500);
}
.about-name { margin: 1.25rem 0 0; color: #fff; font-size: 1.375rem; font-weight: 750; }
.about-role { margin: 0; color: var(--on-dark-muted); font-size: .975rem; }
.about-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-block: 1px solid rgba(255, 255, 255, .12);
}
.about-stat-num {
  color: var(--teal-400);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.about-stat-label { color: #E2EAF4; line-height: 1.4; }
.about-facts { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.about-facts li { display: flex; align-items: flex-start; gap: .65rem; }
.about-facts .icon { margin-top: .2em; color: var(--teal-400); }

/* ---------- Kontakt ---------- */

.section--contact { padding-top: clamp(1rem, 3vw, 2rem); }

.contact-panel {
  --focus: var(--teal-400);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 2.5rem;
  padding: clamp(1.75rem, 5.5vw, 4.25rem);
  border-radius: 28px;
  background:
    radial-gradient(70% 90% at 100% 100%, rgba(19, 177, 169, .12), transparent 60%),
    var(--navy-900);
  color: var(--on-dark);
}
@media (min-width: 900px) {
  .contact-panel { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
}
.contact-deco {
  position: absolute;
  z-index: -1;
  left: -70px;
  bottom: -110px;
  width: 340px;
  color: var(--teal-400);
  opacity: .1;
  pointer-events: none;
}
.contact-panel h2 { color: #fff; }
.contact-lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem); color: #E2EAF4; }
.contact-hint { color: var(--on-dark-muted); font-size: 1rem; }

.contact-list { display: grid; gap: .875rem; margin: 0; padding: 0; list-style: none; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
a.contact-item:hover { background: rgba(255, 255, 255, .1); border-color: var(--teal-500); }
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-400);
  color: var(--navy-950);
}
.contact-icon .icon { width: 24px; height: 24px; }
.contact-item--static { background: transparent; border-style: dashed; }
.contact-item--static .contact-icon { background: rgba(69, 211, 191, .16); color: var(--teal-400); }
.contact-label {
  display: block;
  color: var(--on-dark-muted);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-value {
  display: block;
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.contact-item--phone .contact-value {
  color: var(--teal-400);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -.01em;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-inner { display: grid; gap: 2.25rem; }
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand .brand { margin-right: 0; }
.footer-brand .brand-logo { height: 34px; }
.footer-brand p { max-width: 24rem; margin-top: .9rem; color: var(--ink-muted); font-size: .975rem; }
.footer-nav h2 {
  margin-bottom: .75rem;
  color: var(--ink-muted);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-nav ul { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.footer-nav a {
  display: inline-block;
  padding: .3rem 0;
  color: var(--navy-800);
  font-weight: 600;
  text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */

.legal { padding-block: clamp(2.5rem, 6vw, 5rem); }
.legal .container { max-width: calc(50rem + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.875rem); }
.legal h2 { margin-top: 2.5rem; font-size: 1.3125rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--navy-700); text-underline-offset: 3px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  color: var(--navy-700);
  font-weight: 650;
  text-decoration: none;
}
.back-link .icon { transform: rotate(180deg); }
.back-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.facts {
  display: grid;
  gap: .35rem 1.5rem;
  margin: 0;
}
.facts dt { font-weight: 700; color: var(--navy-800); }
.facts dd { margin: 0 0 .75rem; }
@media (min-width: 640px) {
  .facts { grid-template-columns: minmax(11rem, max-content) 1fr; }
  .facts dd { margin: 0; }
}

.draft-note {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid #F0D27A;
  border-left: 5px solid #D9A400;
  border-radius: 12px;
  background: #FFF8E1;
  color: #5C4300;
}
.draft-note strong { color: #4A3600; }

.todo {
  padding: .05em .4em;
  border-radius: 4px;
  background: #FFEBA8;
  color: #4A3600;
  font-weight: 650;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Bewegung reduzieren ---------- */

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