/* Mario Marino – Worte die bleiben
   Farben aus dem Logo, Schriften lokal (keine externen Anfragen) */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff") format("woff");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --creme: #f7f1e8;
  --papier: #fcf9f4;
  --sand: #ece3d5;
  --anthrazit: #2a3138;
  --tanne: #13463f;
  --tanne-dunkel: #0d332e;
  --gold: #b4945a;
  --stein: #5f656a;
  --linie: #ddd2c1;
  --fehler: #9b2c22;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --mass: 68ch;
  --rand: clamp(1rem, 4vw, 3rem);
  --breite: 74rem;
  --radius-bogen: 999px 999px 0 0;
}

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

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

body {
  margin: 0;
  background: var(--creme);
  color: var(--anthrazit);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tanne); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--tanne-dunkel); text-decoration-thickness: 2px; }

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

.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: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--tanne); color: var(--creme); padding: 0.6rem 1rem; border-radius: 4px;
}
.skip-link:focus { top: 1rem; color: var(--creme); }

.wrap { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }

/* Typografie */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 350;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.75rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 400; font-variation-settings: "opsz" 36; }
p { margin: 0 0 1.1em; max-width: var(--mass); text-wrap: pretty; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--anthrazit); }
.leise { color: var(--stein); }
.klein { font-size: 0.9375rem; }

/* Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--creme) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.kopf__innen {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 4.75rem;
}
.marke { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--anthrazit); }
.marke:hover { color: var(--anthrazit); }
.marke svg { width: 2.6rem; height: auto; flex: none; }
.marke__name {
  font-family: var(--sans); font-weight: 400; letter-spacing: 0.2em; font-size: 0.95rem;
  line-height: 1.15; display: flex; flex-direction: column;
}
.marke__name b { font-weight: 400; }
.marke__name b + b { color: var(--tanne); }
@media (min-width: 30rem) { .marke__name { flex-direction: row; gap: 0.45em; } }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__liste { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__liste a {
  color: var(--anthrazit); text-decoration: none; font-size: 1rem; padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
}
.nav__liste a:hover { border-bottom-color: var(--gold); }
.nav__liste a[aria-current="page"] { border-bottom-color: var(--tanne); color: var(--tanne); }

.menue-knopf {
  display: none; background: none; border: 1px solid var(--linie); border-radius: 999px;
  font: inherit; color: var(--anthrazit); padding: 0.5rem 1rem; min-height: 44px; cursor: pointer;
}

@media (max-width: 62rem) {
  .menue-knopf { display: inline-flex; align-items: center; gap: 0.5rem; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; background: var(--creme);
    border-bottom: 1px solid var(--linie);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--rand) 1.5rem;
    display: none;
  }
  .nav.ist-offen { display: flex; }
  .nav__liste { flex-direction: column; gap: 0; }
  .nav__liste a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--linie); font-size: 1.15rem; }
  .nav .knopf { margin-top: 1.25rem; align-self: flex-start; }
}

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.6rem;
  border-radius: 999px; border: 1px solid var(--tanne);
  background: var(--tanne); color: var(--creme);
  font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.knopf:hover { background: var(--tanne-dunkel); color: var(--creme); text-decoration: none; }
.knopf--hell { background: transparent; color: var(--tanne); }
.knopf--hell:hover { background: var(--tanne); color: var(--creme); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* Bogen – das wiederkehrende Motiv aus dem Logo */
.bogen {
  border-radius: var(--radius-bogen);
  overflow: hidden;
  background: var(--sand);
  position: relative;
}
.bogen img { width: 100%; height: 100%; object-fit: cover; }
.bogen::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(42 49 56 / 0.08);
  pointer-events: none;
}

/* Startseite – Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.hero__raster {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 56rem) {
  .hero__raster { grid-template-columns: 1.15fr 0.85fr; }
}
.hero__vorzeile { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--stein); margin-bottom: 1.1rem; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: normal; color: var(--tanne); }
.hero .lead { margin-bottom: 2rem; max-width: 40ch; }
.hero__bild { aspect-ratio: 4 / 5; max-height: 78vh; width: 100%; }
.hero__bild img { object-position: 38% 50%; }
@media (max-width: 55.99rem) {
  .hero__bild { order: -1; aspect-ratio: 5 / 4; max-height: 60vh; }
  .hero__bild img { object-position: 30% 40%; }
}
.hero__region { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); color: var(--stein); font-size: 0.975rem; max-width: 46ch; }

@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: auftauchen 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .hero__text > *:nth-child(2) { animation-delay: 0.08s; }
  .hero__text > *:nth-child(3) { animation-delay: 0.16s; }
  .hero__text > *:nth-child(4) { animation-delay: 0.24s; }
  .hero__text > *:nth-child(5) { animation-delay: 0.32s; }
  .hero__bild { animation: bogenauf 1.2s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes auftauchen { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes bogenauf { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }

/* Abschnitte */
.abschnitt { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.abschnitt--papier { background: var(--papier); }
.abschnitt--tanne { background: var(--tanne); color: var(--creme); }
.abschnitt--tanne a { color: var(--creme); }
.abschnitt--tanne .knopf { background: var(--creme); color: var(--tanne); border-color: var(--creme); }
.abschnitt--tanne .knopf:hover { background: var(--papier); color: var(--tanne-dunkel); }
.abschnitt--tanne .knopf--hell { background: transparent; color: var(--creme); }
.abschnitt--tanne .knopf--hell:hover { background: var(--creme); color: var(--tanne); }
.abschnitt__kopf { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Leistungsliste */
.leistungen { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.leistung {
  display: grid; gap: 0.75rem 2rem; padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--linie);
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .leistung { grid-template-columns: 7.5rem 1fr auto; align-items: center; }
}
.leistung__bild { width: 7.5rem; aspect-ratio: 3 / 4; }
@media (max-width: 47.99rem) { .leistung__bild { width: 5.5rem; } }
.leistung h3 { margin-bottom: 0.3rem; }
.leistung h3 a { color: var(--anthrazit); text-decoration: none; }
.leistung h3 a:hover { color: var(--tanne); text-decoration: underline; text-decoration-thickness: 1px; }
.leistung p { margin: 0; color: var(--stein); }
.leistung__preis { font-family: var(--serif); font-size: 1.35rem; white-space: nowrap; }
.leistung__preis span { font-family: var(--sans); font-size: 0.95rem; color: var(--stein); margin-right: 0.3rem; }

/* Über mich */
.ueber { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 52rem) { .ueber { grid-template-columns: 0.75fr 1.25fr; } }
.portraet {
  aspect-ratio: 4 / 5; width: min(100%, 22rem);
  display: grid; place-items: center; background: var(--sand);
}
.portraet__platzhalter { text-align: center; color: var(--stein); padding: 2rem; }
.portraet__platzhalter svg { width: 5rem; margin: 0 auto 1rem; opacity: 0.55; }
.zitat {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35; margin: 0 0 1.5rem; max-width: 34ch;
  font-variation-settings: "opsz" 36;
}

/* Ablauf (echte Reihenfolge) */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: schritt; }
@media (min-width: 48rem) { .ablauf { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; } }
@media (min-width: 70rem) { .ablauf { grid-template-columns: repeat(4, 1fr); } }
.ablauf li { counter-increment: schritt; border-top: 1px solid var(--linie); padding-top: 1.25rem; }
.ablauf li::before {
  content: counter(schritt); display: block;
  font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold); margin-bottom: 0.75rem;
}
.ablauf h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.ablauf p { color: var(--stein); margin: 0; }
.abschnitt--tanne .ablauf li { border-top-color: rgb(247 241 232 / 0.25); }
.abschnitt--tanne .ablauf p { color: rgb(247 241 232 / 0.82); }

/* Abschluss-CTA */
.schluss { display: grid; gap: 1.5rem 3rem; align-items: end; }
@media (min-width: 52rem) { .schluss { grid-template-columns: 1.3fr 1fr; } }
.schluss h2 { margin: 0; }
.schluss p { margin: 0 0 1.5rem; }

/* Unterseiten */
.seitenkopf { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); }
.seitenkopf__raster { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
@media (min-width: 52rem) { .seitenkopf__raster { grid-template-columns: 1.3fr 0.7fr; } }
.seitenkopf__bild { aspect-ratio: 4 / 5; width: min(100%, 22rem); justify-self: end; }
@media (max-width: 51.99rem) { .seitenkopf__bild { justify-self: start; width: min(60%, 16rem); order: -1; } }
.seitenkopf h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.brotkrumen { font-size: 0.95rem; color: var(--stein); margin-bottom: 1.5rem; }
.brotkrumen a { color: var(--stein); }

.zweispaltig { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 56rem) { .zweispaltig { grid-template-columns: 1fr 1fr; } }

.liste-haken { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.liste-haken li { padding: 0.7rem 0 0.7rem 1.75rem; border-bottom: 1px solid var(--linie); position: relative; }
.liste-haken li::before {
  content: ""; position: absolute; left: 0.15rem; top: 1.3rem;
  width: 0.65rem; height: 0.65rem; border: 1.5px solid var(--tanne); border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.preiskasten {
  background: var(--papier); border: 1px solid var(--linie); border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.preiskasten__betrag { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1; margin: 0.25rem 0 0.75rem; }
.preiskasten__betrag span { font-family: var(--sans); font-size: 1rem; color: var(--stein); margin-right: 0.35rem; }

.hinweis {
  border-left: 2px solid var(--gold); padding: 0.25rem 0 0.25rem 1.25rem; margin: 2rem 0;
}
.hinweis p:last-child { margin-bottom: 0; }

/* FAQ */
.fragen { border-top: 1px solid var(--linie); max-width: 52rem; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-variation-settings: "opsz" 24;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.5rem; color: var(--tanne); transition: transform 0.2s ease;
}
.fragen details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fragen details p { color: var(--stein); padding-bottom: 0.5rem; }

/* Preisseite */
.preisgruppe { display: grid; gap: 1.5rem 4rem; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--linie); }
@media (min-width: 56rem) { .preisgruppe { grid-template-columns: 0.8fr 1.2fr; } }
.preisgruppe h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.preise { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.preis {
  background: var(--papier); border: 1px solid var(--linie); border-radius: 1rem;
  padding: 1.4rem 1.5rem; display: grid; gap: 0.25rem 1.5rem; grid-template-columns: 1fr auto; align-items: baseline;
}
.preis h3 { font-size: 1.35rem; margin: 0; }
.preis__betrag { font-family: var(--serif); font-size: 1.6rem; white-space: nowrap; }
.preis__betrag span { font-family: var(--sans); font-size: 0.95rem; color: var(--stein); margin-right: 0.3rem; }
.preis p { grid-column: 1 / -1; margin: 0.35rem 0 0; color: var(--stein); }
.preis ul { grid-column: 1 / -1; margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--stein); }
.preis li { margin-bottom: 0.2rem; }

/* Formular */
.formular { display: grid; gap: 1.25rem; max-width: 46rem; }
.formular__reihe { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 40rem) { .formular__reihe { grid-template-columns: 1fr 1fr; } }
.feld { display: grid; gap: 0.4rem; align-content: start; }
.feld label, .feld legend { font-weight: 500; font-size: 1rem; }
.feld .pflicht { color: var(--tanne); }
.feld__hilfe { font-size: 0.9rem; color: var(--stein); margin: 0; }
.feld input:not([type=radio]):not([type=checkbox]), .feld select, .feld textarea {
  width: 100%; font: inherit; color: var(--anthrazit);
  background: var(--papier); border: 1px solid #b9ad9b; border-radius: 0.6rem;
  padding: 0.8rem 0.95rem; min-height: 48px;
}
.feld textarea { min-height: 9rem; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--tanne); outline-offset: 1px; border-color: var(--tanne); }
.feld [aria-invalid="true"] { border-color: var(--fehler); }
.feld__fehler { color: var(--fehler); font-size: 0.925rem; margin: 0; min-height: 0; }
.anlass { border: 0; padding: 0; margin: 0; }
.anlass__optionen { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.anlass__optionen label {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  border: 1px solid #b9ad9b; border-radius: 999px; padding: 0.55rem 1.1rem; min-height: 44px;
  background: var(--papier); font-weight: 400;
}
.anlass__optionen input { accent-color: var(--tanne); width: 1.05rem; height: 1.05rem; margin: 0; }
.anlass__optionen label:has(input:checked) { border-color: var(--tanne); background: #e6eeea; }
.einwilligung { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.975rem; }
.einwilligung input { margin-top: 0.3rem; width: 1.15rem; height: 1.15rem; accent-color: var(--tanne); flex: none; }
.honig { position: absolute; left: -9999px; }
.formular__status { padding: 1rem 1.25rem; border-radius: 0.75rem; display: none; }
.formular__status.ist-ok { display: block; background: #e6eeea; border: 1px solid var(--tanne); }
.formular__status.ist-fehler { display: block; background: #f6e7e4; border: 1px solid var(--fehler); }
.formular__status:focus { outline: none; }

.kontaktwege { display: grid; gap: 1.25rem; align-content: start; }
.kontaktweg { border-top: 1px solid var(--linie); padding-top: 1rem; }
.kontaktweg h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.kontaktweg p { margin: 0; }
.anfrage-raster { display: grid; gap: 3rem 5rem; }
@media (min-width: 62rem) { .anfrage-raster { grid-template-columns: 1.5fr 0.8fr; } }

/* Rechtstexte */
.rechtstext { max-width: 48rem; }
.rechtstext h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.5rem; }
.rechtstext h3 { font-size: 1.25rem; margin-top: 1.75rem; }
.rechtstext address { font-style: normal; margin-bottom: 1.1em; }
.platzhalter { background: #f3e6c8; padding: 0 0.3em; border-radius: 3px; }

/* Fußzeile */
.fuss { background: var(--anthrazit); color: #d9d4cc; padding-block: 3.5rem 2rem; margin-top: 0; }
.fuss a { color: #f1ece4; }
.fuss__raster { display: grid; gap: 2rem 3rem; }
@media (min-width: 48rem) { .fuss__raster { grid-template-columns: 1.4fr 1fr 1fr; } }
.fuss .marke { color: #f1ece4; }
.fuss .marke__name b + b { color: #9cc3b6; }
.fuss h2 { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 0.75rem; color: #f1ece4; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.fuss__unten { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.14); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.925rem; }
.fuss__unten ul { display: flex; gap: 1.25rem; }
.fuss__tagline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin: 1rem 0 0; color: #f1ece4; }

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