/* ==========================================================================
   Betreuungsbüro Mercan — Stylesheet
   Eigenständig, ohne externe Ressourcen (keine Webfonts, kein Tracking).
   ========================================================================== */

:root {
  --cream: #faf7f1;
  --surface: #ffffff;
  --ink: #0b1714;
  --body: #26332f;
  --muted: #4f5d58;

  --line: #d8cbb4;
  --line-strong: #bdab8e;

  --petrol: #0e4a4f;
  --petrol-dark: #062427;
  --petrol-soft: #dfeae8;

  --copper: #8a3f12;
  --copper-soft: #f3e3d0;

  --radius: 20px;
  --radius-sm: 12px;

  box-shadow: 0 1px 2px rgba(11, 23, 20, 0.08), 0 14px 34px -24px rgba(11, 23, 20, 0.55);
  --shadow-md: 0 30px 70px -40px rgba(20, 32, 30, 0.55);

  --wrap: 1140px;

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); }

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

a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol-dark); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

strong { color: var(--ink); font-weight: 650; }

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

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--petrol);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

/* -------------------------------------------------------------- Header -- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-mark {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--petrol) 0%, var(--petrol-dark) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 26px; height: 26px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.brand-text small {
  font-size: 0.71rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #3f4c48;
  white-space: nowrap;
}
/* Unterzeile wird ausgeblendet, sobald der Platz nicht mehr reicht */
@media (max-width: 1120px) {
  .brand-text small { display: none; }
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { background: var(--petrol-soft); color: var(--petrol-dark); }
.nav a[aria-current="page"] { color: var(--petrol-dark); background: var(--petrol-soft); font-weight: 650; }

.head-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.head-tel:hover { transform: translateY(-1px); border-color: var(--petrol); color: var(--ink); }
.head-tel svg { width: 17px; height: 17px; color: var(--petrol); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem) clamp(3rem, 1rem + 5vw, 5rem);
  background:
    radial-gradient(90% 120% at 88% -10%, #e6efed 0%, rgba(230, 239, 237, 0) 58%),
    radial-gradient(70% 90% at 5% 100%, #f6efe4 0%, rgba(246, 239, 228, 0) 60%),
    var(--cream);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 86, 90, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 70% at 75% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 70% at 75% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1rem;
  font-variant-numeric: tabular-nums;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hero h1 { margin-bottom: 1rem; }
.hero h1 em {
  font-style: normal;
  color: var(--petrol);
  background-image: linear-gradient(rgba(138, 74, 28, 0.18), rgba(138, 74, 28, 0.18));
  background-repeat: no-repeat;
  background-size: 100% 0.32em;
  background-position: 0 88%;
}

.lede {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  color: var(--body);
  max-width: 46ch;
  margin-bottom: 2.05rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--petrol);
  color: #fff;
  box-shadow: 0 12px 24px -18px rgba(6, 36, 39, 0.95);
}
.btn-primary:hover { background: var(--petrol-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #a3906f;
  border-width: 1.5px;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--petrol); color: var(--ink); transform: translateY(-2px); }
.btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  border-width: 1.5px;
}
.btn-light:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
.btn-solid { background: var(--petrol); color: #fff; font-weight: 700; }
.btn-solid:hover { background: var(--petrol-dark); color: #fff; transform: translateY(-2px); }
.cta .btn-light { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.cta .btn-light:hover { background: #fff; color: var(--ink); }

/* Hero-Karte */
.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.1rem) clamp(1.5rem, 1rem + 1.6vw, 2.1rem) clamp(1.75rem, 1.1rem + 1.8vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.hero-card .btn { width: 100%; margin-top: 0.35rem; }
.hero-card .eyebrow { margin-bottom: 0.9rem; }
.hero-phone {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.hero-phone:hover { color: var(--petrol); }
.hero-card > p { font-size: 0.94rem; color: var(--muted); }

.hero-facts {
  list-style: none;
  margin: 1.35rem 0 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
}
.hero-facts li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.94rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.hero-facts svg { width: 18px; height: 18px; flex: none; margin-top: 0.18em; color: var(--petrol); }

/* ------------------------------------------------------------- Sections -- */
section { position: relative; }

.section { padding-block: clamp(3rem, 1.5rem + 5vw, 5.5rem); }
.section-tight { padding-block: clamp(2.25rem, 1rem + 3vw, 3.5rem); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 2vw, 3rem); }
.section-head p { font-size: 1.05rem; }

.band {
  background: #e6efec;
  color: var(--body);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(80% 120% at 100% 0%, rgba(201, 225, 219, 0.9) 0%, transparent 60%);
}
.band h2, .band h3 { color: var(--ink); }
.band .eyebrow { color: #7a3a12; }
.band a { color: var(--petrol); }

/* Karten */
.cards { display: grid; gap: 1.25rem; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1.2vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; color: #2b3936; }

.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px -40px rgba(20, 32, 30, 0.6);
  border-color: var(--line-strong);
}
.card-link:hover .more { gap: 0.65rem; color: var(--petrol); }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--petrol-soft);
  color: var(--petrol);
  margin-bottom: 1.05rem;
}
.icon-badge svg { width: 23px; height: 23px; }
.icon-badge.is-copper { background: var(--copper-soft); color: var(--copper); }

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--petrol);
  transition: gap 0.2s ease;
}
.more svg { width: 16px; height: 16px; }

/* Kennzahlen / Vertrauen */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.75rem clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.trust-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.trust-item svg { width: 22px; height: 22px; color: var(--petrol); flex: none; margin-top: 0.15em; }
.trust-item strong { display: block; font-family: var(--font-sans); font-size: 0.97rem; color: var(--ink); }
.trust-item span { font-size: 0.9rem; color: #43514c; line-height: 1.55; display: block; }

/* Prinzipien */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.principle { padding-top: 1.1rem; border-top: 2px solid var(--line-strong); }
.principle .num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--copper);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.principle h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.principle p { font-size: 0.92rem; color: var(--muted); }
.band .principle { border-top-color: #c3d4cf; }
.band .principle .num { color: var(--copper); }
.band .principle p { color: #33423e; }
.band .card p { color: #33423e; }
.band .trust-item span { color: #33423e; }

/* Ablauf / Schritte */
.steps { counter-reset: step; display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.15rem 1.35rem 1.15rem 3.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.25rem;
  top: 1.1rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--copper);
}
.steps strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: 0.2rem; }
.steps p { font-size: 0.94rem; margin: 0; color: var(--body); }

/* Leistungsliste */
.services { display: grid; gap: 0.85rem; padding: 0; margin: 0; list-style: none; }
.services li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0;
}
.services .tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--petrol);
  background: var(--petrol-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 7px;
  white-space: nowrap;
  margin-top: 0.1rem;
}
.services strong { display: block; font-family: var(--font-serif); font-size: 1.04rem; margin-bottom: 0.15rem; }
.services p { font-size: 0.93rem; margin: 0; color: var(--body); }

/* Info-Liste (Kontakt) */
.info-list { display: grid; gap: 0; margin: 0; }
.info-list > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.info-list > div:first-child { padding-top: 0; }
.info-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list svg { width: 20px; height: 20px; color: var(--petrol); margin-top: 0.15em; }
.info-list dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3f4c48;
  margin-bottom: 0.15rem;
}
.info-list dd { margin: 0; font-size: 1rem; color: var(--ink); }
.info-list dd a { color: var(--ink); }

/* Zwei-Spalten-Layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}
.split-wide { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

/* Zitat / Über-uns Block */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.quote-card .mark {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--line-strong);
  display: block;
  margin-bottom: 0.5rem;
}
.quote-card blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
}
.quote-card .who { display: flex; align-items: center; gap: 0.9rem; }
.monogram {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--petrol) 0%, var(--petrol-dark) 100%);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  flex: none;
}
.who-text { font-size: 0.92rem; line-height: 1.45; }
.who-text strong { display: block; }
.who-text span { color: var(--muted); }

/* Seitenkopf für Unterseiten */
.page-head {
  padding-block: clamp(2.25rem, 1rem + 4vw, 4rem) clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background:
    radial-gradient(80% 120% at 90% 0%, #e6efed 0%, rgba(230, 239, 237, 0) 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-head .lede { margin-bottom: 0; }

/* Hinweis-Box */
.note {
  border-left: 3px solid var(--copper);
  background: var(--copper-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.35rem;
  font-size: 0.95rem;
  color: #6a3f1c;
}
.note strong { color: #4d2c11; }

.callout {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

/* Formular */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.86rem; font-weight: 650; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(18, 86, 90, 0.14);
}
.form .hint { font-size: 0.82rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* CTA-Band */
.cta {
  border-radius: 26px;
  padding: clamp(2rem, 1rem + 3vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  background: #f2ece0;
  color: var(--body);
  border: 1px solid var(--line);
  background-image: radial-gradient(90% 130% at 100% 0%, rgba(238, 219, 195, 0.9) 0%, transparent 60%);
  box-shadow: var(--shadow-sm);
}
.cta h2 { color: var(--ink); margin-bottom: 0.4rem; }
.cta p { margin: 0; max-width: 52ch; }

/* Footer */
.site-foot {
  margin-top: clamp(3rem, 1rem + 5vw, 5rem);
  background: #e6efec;
  color: #33423e;
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 1rem + 3vw, 3.5rem) 1.75rem;
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #cfded9;
}
.site-foot h4 {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  font-weight: 700;
}
.site-foot a { color: var(--petrol); text-decoration: none; overflow-wrap: anywhere; }
.site-foot a:hover { color: var(--petrol-dark); text-decoration: underline; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 0.4rem; }
.foot-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; color: var(--ink); }
.foot-brand .brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(150deg, var(--petrol) 0%, var(--petrol-dark) 100%); box-shadow: none; }
.foot-brand strong { font-family: var(--font-serif); font-size: 1.02rem; font-weight: 600; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.87rem;
  color: #35433f;
}

/* Rechtsseiten */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal p, .legal li { font-size: 0.97rem; }
.legal address { font-style: normal; margin-bottom: 1.1em; }

/* Aktuelles */
.post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.post + .post { margin-top: 1.25rem; }
.post .date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}
.post h2 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); margin: 0.35rem 0 0.7rem; }

/* Einblenden beim Scrollen */
/* Bewusst ohne Einblend-Animation: Inhalte sind immer sofort sichtbar
   (funktioniert auch ohne JavaScript und bei Screenshot-Diensten). */
.reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .nav a { padding: 0.45rem 0.5rem; font-size: 0.9rem; }
  .head-inner { gap: 0.9rem; }
}

@media (max-width: 1000px) {
  .head-tel .tel-label { display: none; }
  .head-tel { padding: 0.6rem 0.75rem; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split, .split-wide { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: grid; order: 3; }
  .head-tel { order: 2; }
  .nav {
    order: 4;
    position: fixed;
    inset: 76px 0 auto;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav a { padding: 0.85rem 0.9rem; font-size: 1rem; border-radius: 10px; }
}

@media (max-width: 620px) {
  body { font-size: 1.02rem; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 1.02rem; }
  .head-tel { padding: 0.55rem 0.75rem; font-size: 0.85rem; }
  .head-tel .tel-label { display: none; }
  .cards-2, .cards-3, .trust, .form-grid { grid-template-columns: 1fr; }
  .trust { gap: 1.1rem; }
  .principles { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .services li { grid-template-columns: 1fr; gap: 0.5rem; }
  .services .tag { justify-self: start; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .head-inner { gap: 0.6rem; min-height: 68px; }
  .nav { inset: 68px 0 auto; }
}

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

@media print {
  .site-head, .site-foot, .cta, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-head { background: none; border: 0; padding-top: 0; }
  a { color: #000; text-decoration: none; }
}


/* ----------------------------------------------------------- Bildwelten -- */
.figure {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.figure img { width: 100%; height: auto; display: block; }

.card-media {
  margin: -0.45rem 0 1.1rem;
  border-radius: 14px;
  overflow: hidden;
  background: var(--petrol-soft);
  border: 1px solid var(--line);
}
.card-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card-link:hover .card-media img { transform: scale(1.015); }
.card-media img { transition: transform 0.5s ease; }

/* Fotoband */
.photo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-radius: 24px;
  overflow: hidden;
  background: #062427;
  box-shadow: var(--shadow-md);
  min-height: clamp(320px, 30vw, 430px);
}
.photo-band > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: contrast(1.1) saturate(1.04);
  order: 2;
}
.photo-band-inner {
  padding: clamp(1.6rem, 1rem + 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  order: 1;
}
.photo-band-inner .eyebrow { color: #f0c39a; }
.photo-band-inner h2 { color: #fff; margin-bottom: 0.5rem; }
.photo-band-inner p { color: rgba(255, 255, 255, 0.84); }
.photo-band-inner .btn-row { margin-top: 1.25rem; }
.credit {
  margin-top: 1.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.66);
}
.credit a { color: rgba(255, 255, 255, 0.62); }

/* Bild + Text nebeneinander */
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
.media-split.is-reverse .figure { order: 2; }

.hero-deco {
  position: absolute;
  right: -12%;
  top: -18%;
  width: min(54vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(18, 86, 90, 0.12);
  box-shadow: inset 0 0 0 46px rgba(18, 86, 90, 0.035), inset 0 0 0 120px rgba(18, 86, 90, 0.02);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 980px) {
  .photo-band { grid-template-columns: 1fr; }
  .photo-band > img { order: 1; height: clamp(200px, 42vw, 300px); }
  .photo-band-inner { order: 2; }
  .media-split { grid-template-columns: 1fr; }
  .media-split.is-reverse .figure { order: 0; }
  .hero-deco { display: none; }
}

/* Karte auf der Kontaktseite */
.map-card {
  margin: 1.75rem 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.map-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 66.6667%;
  background: #eef3f1;
  overflow: hidden;
}
@supports (aspect-ratio: 3 / 2) {
  .map-frame { height: auto; padding-top: 0; aspect-ratio: 3 / 2; }
}
.map-frame iframe,
.map-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.map-link { font-weight: 650; text-decoration: none; }
.map-link:hover { text-decoration: underline; }
.map-pin {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: var(--petrol);
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(6, 36, 39, 0.35);
}
.map-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  color: #4f5d58;
  border-top: 1px solid var(--line);
}
.map-foot a { color: var(--petrol); }
.map-foot .btn { padding: 0.45rem 0.9rem; font-size: 0.82rem; }


/* ==========================================================================
   Kompatibilität / Fallbacks für ältere Browser und Geräte
   ========================================================================== */

/* 1. Menü ohne JavaScript: Navigation bleibt sichtbar, wenn kein JS läuft */
@media (max-width: 820px) {
  html:not(.js) .nav {
    position: static;
    display: block;
    inset: auto;
    box-shadow: none;
    border-top: 1px solid var(--line);
    padding-top: 0.5rem;
  }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav ul { flex-direction: column; }
}

/* 2. iOS zoomt Formularfelder unter 16px automatisch – verhindern */
@media (max-width: 820px) {
  .field input,
  .field select,
  .field textarea { font-size: 16px; }
}

/* 3. Ältere Safari/Chrome: backdrop-filter braucht -webkit */
.site-head { -webkit-backdrop-filter: saturate(150%) blur(12px); }

/* 4. Karte: Fallback steckt bereits oben in .map-frame (padding-top) */

/* 5. Schriftgrößen-Fallbacks vor clamp() (Safari < 13.1, alte Androids) */
h1 { font-size: 2.4rem; font-size: clamp(2.1rem, 1.35rem + 3vw, 3.6rem); }
h2 { font-size: 1.9rem; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.hero-phone { font-size: 1.7rem; }
.lede { font-size: 1.1rem; }

/* 6. Fokus auch ohne :focus-visible-Unterstützung sichtbar */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

/* 7. Uralte Browser: kein Flex-Gap -> Mindestabstände über Margins */
@supports not (gap: 1rem) {
  .btn-row > * + * { margin-left: 0.75rem; }
  .hero-facts li + li { margin-top: 0.7rem; }
  .trust-item + .trust-item { margin-left: 1.5rem; }
  .head-inner > * + * { margin-left: 1rem; }
}

/* 8. Sehr schmale Geräte (320–360 px) */
@media (max-width: 380px) {
  .wrap { width: calc(100% - 1.75rem); }
  h1 { font-size: 1.95rem; }
  .brand-text strong { font-size: 0.98rem; }
  .hero-card { padding: 1.15rem; }
  .services li { padding: 1rem; }
  .steps li { padding-left: 3.2rem; }
  .steps li::before { left: 1rem; }
}

/* Nur für Screenreader sichtbare Überschrift */
.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;
}
