/* SOL'jawo – Sonne, Erde, Wasser */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --rot: #b3141c;        /* Logo-Rot */
  --rot-dunkel: #8c0f15;
  --erde: #2e3b2c;       /* tiefes Grün-Braun */
  --moos: #5d6f45;
  --sonne: #e3a336;
  --wasser: #3f6f7a;
  --creme: #fbf7f0;
  --sand: #f3ebde;
  --tinte: #231f1c;
  --grau: #6b625a;
  --radius: 18px;
  --max: 1200px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--tinte); background: var(--creme); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "WONK" 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
em, .kursiv { font-family: var(--serif); font-style: italic; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rot); margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--grau); max-width: 46rem; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--sand { background: var(--sand); }
.section--erde { background: var(--sand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; transition: transform .15s ease, background .15s ease; border: 2px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn--rot { background: var(--rot); color: #fff; }
.btn--rot:hover { background: var(--rot-dunkel); }
.btn--hell { background: #fff; color: var(--tinte); }
.btn--rand { border-color: currentColor; color: inherit; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(248, 242, 231, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(35, 31, 28, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.header__logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--tinte); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rot); }
.nav .btn { color: #fff; padding: .6rem 1.2rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--tinte); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--creme); padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,.08); display: none; }
  .nav.offen { display: flex; }
  .nav a { padding: .8rem 0; width: 100%; border-bottom: 1px solid rgba(0,0,0,.06); }
  .nav .btn { margin-top: 1rem; width: auto; border: 0; }
}

/* Hero – hell, geteilt, ohne Verlauf */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__bild { border-radius: calc(var(--radius) * 1.4); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -35px rgba(90, 40, 10, .45); }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { max-width: 14ch; }
.hero p.lead { font-size: 1.22rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__bild { order: -1; aspect-ratio: 4 / 3; } }
.seitenkopf { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }

/* Zahlen */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(35,31,28,.12); border-radius: var(--radius); overflow: hidden; }
.zahl { background: var(--creme); padding: 2rem 1.5rem; }
.zahl strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; color: var(--rot); line-height: 1; margin-bottom: .4rem; }
.zahl span { color: var(--grau); font-size: .95rem; }
@media (max-width: 760px) { .zahlen { grid-template-columns: 1fr 1fr; } }

/* Grid & Karten */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.zwei--bild-rechts > :first-child { order: 0; }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; } }
.bild-rund { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.bild-rund img { width: 100%; height: 100%; object-fit: cover; }
.bild-quer { aspect-ratio: 3 / 2; }

.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.karte { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease; }
.karte:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(60, 30, 10, .35); }
.karte__bild { aspect-ratio: 4 / 3; overflow: hidden; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.karte:hover .karte__bild img { transform: scale(1.04); }
.karte__text { padding: 1.4rem 1.5rem 1.6rem; }
.karte__text p { color: var(--grau); font-size: .97rem; margin: 0; }
.karte__mehr { display: inline-block; margin-top: .9rem; color: var(--rot); font-weight: 600; font-size: .92rem; }

.karten--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .karten--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .karten--4 { grid-template-columns: 1fr; } }

/* Referenzen – Bild oben, Text darunter */
.refs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; margin-top: 3rem; }
.ref { grid-column: span 4; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ref--gross { grid-column: span 8; }
.ref__bild { aspect-ratio: 4 / 3; overflow: hidden; }
.ref--gross .ref__bild { aspect-ratio: 16 / 9; }
.ref__bild img { width: 100%; height: 100%; object-fit: cover; }
.ref__text { padding: 1.3rem 1.5rem 1.6rem; }
.ref__text small { display: block; color: var(--rot); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; margin-bottom: .4rem; }
.ref__text h3 { margin-bottom: .3rem; }
.ref__text p { margin: 0; font-size: .97rem; color: var(--grau); }
.ref__credit { font-size: .75rem; color: var(--grau); margin-top: .6rem; }
@media (max-width: 900px) { .ref, .ref--gross { grid-column: span 12; } }

.ref-liste { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 2.5rem; }
.ref-liste li { padding: 1rem 0; border-bottom: 1px solid rgba(35,31,28,.12); }
.ref-liste strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.ref-liste span { color: var(--grau); font-size: .94rem; }

/* Haltung */
.elemente { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.element { border-top: 2px solid var(--sonne); padding-top: 1.4rem; }
.element h3 { color: var(--tinte); }
.element p { color: var(--grau); font-size: .98rem; }
@media (max-width: 860px) { .elemente { grid-template-columns: 1fr; } }

.zeitleiste { list-style: none; padding: 0; margin: 3rem 0 0; position: relative; }
.zeitleiste::before { content: ""; position: absolute; left: 4.5rem; top: .4rem; bottom: .4rem; width: 2px; background: rgba(179, 20, 28, .25); }
.zeitleiste li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 2rem; padding: .9rem 0; position: relative; }
.zeitleiste li::before { content: ""; position: absolute; left: calc(4.5rem - 5px); top: 1.45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--rot); }
.zeitleiste b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--rot); }
.zeitleiste p { margin: 0; padding-left: 1rem; }

/* Gerichte */
.gerichte { columns: 2 320px; column-gap: 3rem; margin-top: 2.5rem; }
.gericht { break-inside: avoid; padding: 1.1rem 0; border-bottom: 1px dashed rgba(35,31,28,.22); font-family: var(--serif); font-size: 1.2rem; }
.gericht small { display: block; font-family: var(--sans); font-size: .82rem; color: var(--moos); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: .2rem; }

/* Partner */
.partner { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.partner > a, .partner > div { display: block; padding: 1.6rem; background: #fff; border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .2s ease; }
.partner a:hover { transform: translateY(-3px); }
.partner h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.partner p { color: var(--grau); font-size: .95rem; margin: 0; }
.partner small { color: var(--rot); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* Zitat */
.zitat { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; max-width: 52rem; margin: 0; font-style: italic; }
.zitat cite { display: block; margin-top: 1.2rem; font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--grau); }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; margin-top: 2.5rem; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* CTA & Formular */
.cta { background: var(--rot); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #f6dcd6; }
.cta .eyebrow { color: #ffd9a0; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.formular .voll { grid-column: 1 / -1; }
.formular label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.formular input, .formular select, .formular textarea { width: 100%; padding: .85rem 1rem; border: 1px solid rgba(35,31,28,.2); border-radius: 12px; font: inherit; background: #fff; color: var(--tinte); }
.formular textarea { min-height: 150px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 2px solid var(--sonne); border-color: transparent; }
@media (max-width: 640px) { .formular { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--tinte); color: #cfc6b4; padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer a { color: #f1eadc; text-decoration: none; }
.footer a:hover { color: var(--sonne); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer__unten { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer__logo { height: 54px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 1rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* Kleinkram */
.mt-0 { margin-top: 0; }
.mitte { text-align: center; margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips span { padding: .45rem .9rem; border-radius: 999px; background: #fff; font-size: .88rem; font-weight: 500; }

.liste-haken { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; }
.liste-haken li { padding-left: 1.8rem; position: relative; }
.liste-haken li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--sonne); }
.hinweis-entwurf { background: #fff4d6; color: #6a4a00; font-size: .85rem; text-align: center; padding: .5rem 1rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Rechtstexte */
.rechtliches h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.rechtliches h2 { font-size: 1.4rem; margin-top: 2rem; }
.rechtliches address { font-style: normal; }

/* Bewertungen */
.stimmen { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.stimme { background: #fff; border-radius: var(--radius); padding: 1.8rem; margin: 0; }
.stimme blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; }
.stimme figcaption { font-size: .9rem; color: var(--grau); }
.sterne { color: var(--sonne); letter-spacing: .15em; font-size: 1rem; margin-bottom: .6rem; }
.bildnachweis { font-size: .75rem; color: var(--grau); margin-top: .5rem; }

/* Kontaktleiste ganz oben */
.kontaktleiste { background: var(--rot); color: #fff; font-size: .88rem; }
.kontaktleiste__inner { display: flex; justify-content: flex-end; gap: 1.8rem; padding: .5rem 0; flex-wrap: wrap; }
.kontaktleiste a { color: #fff; text-decoration: none; white-space: nowrap; }
.kontaktleiste a:hover { text-decoration: underline; }
@media (max-width: 760px) { .kontaktleiste__inner { justify-content: center; gap: 1.2rem; } .kontaktleiste__adresse { display: none; } }

/* ===== Rot-Akzente (Test) – bei Nichtgefallen diesen Block entfernen ===== */
.band-rot { background: var(--rot); color: #fff; padding: clamp(2rem, 4vw, 3rem) 0; }
.band-rot .zahlen { background: rgba(255,255,255,.25); border-radius: 0; gap: 1px; }
.band-rot .zahl { background: var(--rot); padding: 1.2rem 1.5rem; }
.band-rot .zahl strong { color: #fff; }
.band-rot .zahl span { color: #ffdcd6; }
.band-rot--motto { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.band-rot--motto .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.motto { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.2; margin: 0; }
.band-rot--motto .wrap:has(> .motto:only-child) { justify-content: center; text-align: center; }

/* kurzer roter Strich unter den großen Überschriften */
.section > .wrap > h2::after, .section .zwei h2::after, .seitenkopf h1::after, .hero h1::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--rot); margin-top: .45em;
}
.cta h2::after { display: none; }

/* roter Rand an Bewertungen und Partnerkarten */
.stimme { border-left: 5px solid var(--rot); }
.partner > a, .partner > div { border-top: 4px solid var(--rot); }
.ref__text small, .karte__mehr { color: var(--rot); }

.galerie { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .galerie { grid-template-columns: 1fr 1fr; } }

/* Anfrageformular */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__hinweis { margin: .8rem 0 0; font-weight: 600; }
.formular__hinweis.fehler { color: var(--rot); }
.formular button:disabled { opacity: .6; cursor: wait; transform: none; }
.formular-danke { background: #fff; border-radius: var(--radius); border-top: 5px solid var(--rot); padding: 2.2rem; }

[hidden] { display: none !important; }
.rechtliches h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.section > .wrap.rechtliches > h2::after { display: none; }
