@font-face { font-family: "Fraunces"; src: url("../../assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../../assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../../assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  --leinen: #faf6ee;
  --sand: #f0e7d6;
  --sand-tief: #e3d6bd;
  --nuss: #3b2a1e;
  --nuss-hell: #5a4535;
  --honig: #c8893a;
  --honig-text: #86540f;
  --tanne: #3f5a3c;
  --linie: #d9cbb0;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --huelle: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--leinen); color: var(--nuss); font: 400 1.0625rem/1.65 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--honig); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--nuss); color: var(--leinen); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 10px; }
.huelle { width: min(var(--huelle), 100% - 40px); margin-inline: auto; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; border: 0; border-radius: 999px; background: var(--honig); color: #2a1b10;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.knopf:hover { background: #d89a4c; transform: translateY(-2px); }
.knopf-text { display: inline-flex; align-items: center; padding: 15px 6px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.knopf-text:hover { text-decoration-thickness: 2px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 900; background: rgba(250, 246, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf-innen { width: min(var(--huelle), 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nuss); font: 600 1.35rem/1 var(--serif); }
.logo em { font-style: italic; font-weight: 400; color: var(--honig-text); }
.nav ul { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 8px 0; position: relative; }
.nav a:not(.nav-knopf)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--honig); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.nav-knopf):hover::after { transform: scaleX(1); }
.nav .nav-knopf { background: var(--nuss); color: var(--leinen); padding: 11px 20px; border-radius: 999px; font-weight: 600; transition: background-color .2s; }
.nav .nav-knopf:hover { background: var(--tanne); }
.menue-knopf { display: none; width: 46px; height: 46px; border: 1px solid var(--linie); border-radius: 10px; background: transparent; cursor: pointer; position: relative; color: var(--nuss); }
.menue-balken, .menue-balken::before, .menue-balken::after { position: absolute; left: 12px; width: 20px; height: 2px; background: currentColor; transition: transform .25s ease, opacity .2s; }
.menue-balken { top: 22px; } .menue-balken::before, .menue-balken::after { content: ""; left: 0; }
.menue-balken::before { top: -6px; } .menue-balken::after { top: 6px; }
.menue-knopf[aria-expanded="true"] .menue-balken { background: transparent; }
.menue-knopf[aria-expanded="true"] .menue-balken::before { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-balken::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(86vh, 780px); background: #4a3425; color: #fff; overflow: hidden; }
.hero-bild { position: absolute; inset: 0; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; }
.hero-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(32, 21, 13, .88) 0%, rgba(32, 21, 13, .55) 45%, rgba(32, 21, 13, .2) 100%); }
.hero-text { position: relative; width: min(var(--huelle), 100% - 40px); margin: 0 auto; padding: 120px 0 clamp(48px, 8vw, 88px); }
.hero .vorzeile { color: #f1d2a2; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw + .6rem, 4.6rem); max-width: 16ch; font-weight: 500; margin-bottom: 22px; }
.hero-lead { max-width: 52ch; font-size: clamp(1.05rem, .5vw + 1rem, 1.25rem); color: #f3eadb; margin-bottom: 30px; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.hero .knopf-text { color: #fff; }

.vorzeile { font: 700 .8rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--honig-text); margin-bottom: 16px; }

/* Abschnitte */
.abschnitt { padding: clamp(64px, 10vw, 132px) 0; }
.abschnitt-sand { background: var(--sand); }
.abschnitt-dunkel { background: var(--nuss); color: #ece1cd; }
.abschnitt-dunkel .vorzeile { color: #e5b878; }
.abschnitt-kopf { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.abschnitt-kopf h2, .uns-text h2, .kontakt-text h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 3.1rem); margin-bottom: 18px; font-weight: 500; }
.abschnitt-kopf p:last-child { margin-bottom: 0; color: var(--nuss-hell); }
.abschnitt-dunkel h2, .abschnitt-dunkel h3 { color: #fff; }

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--linie); }
.leistungen li { padding: 34px 30px 38px 0; border-bottom: 1px solid var(--linie); }
.leistungen li:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--linie); }
.nr { display: block; font: italic 400 1.5rem/1 var(--serif); color: var(--honig-text); margin-bottom: 18px; }
.leistungen h3 { font-size: 1.55rem; margin-bottom: 10px; }
.leistungen p { margin: 0; color: var(--nuss-hell); }

/* Schritte */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.schritte li { position: relative; padding-top: 28px; border-top: 2px solid #6b5342; }
.schritte li::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--honig); }
.schritt-nr { display: block; font: italic 300 3.4rem/1 var(--serif); color: #e5b878; margin-bottom: 16px; }
.schritte h3 { font-size: 1.35rem; margin-bottom: 10px; }
.schritte p { margin: 0; color: #d8cab2; font-size: 1rem; }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.g-gross { grid-column: span 2; }
.g-breit { grid-column: 1 / -1; }
.g-knopf { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: zoom-in; }
.g-bild { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand-tief); border-radius: 4px; }
.g-gross .g-bild { aspect-ratio: 16 / 10; }
.g-hoch { aspect-ratio: 3 / 4; }
.g-quer { aspect-ratio: 21 / 9; }
.g-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.g-knopf:hover .g-bild img, .g-knopf:focus-visible .g-bild img { transform: scale(1.04); }
.g-text { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 2px 0; }
.g-text strong { font: 500 1.2rem/1.25 var(--serif); }
.g-text span { color: var(--honig-text); font-weight: 600; font-size: .95rem; white-space: nowrap; }

/* Über uns */
.uns { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.uns-bild { aspect-ratio: 4 / 5; background: var(--sand-tief); border-radius: 4px; overflow: hidden; }
.uns-bild img { width: 100%; height: 100%; object-fit: cover; }
.uns-text p { max-width: 56ch; color: var(--nuss-hell); }
.zahlen { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 24px 40px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid #cdbd9f; }
.zahlen dt { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--nuss-hell); order: 2; }
.zahlen dd { margin: 0; font: 500 2.4rem/1 var(--serif); color: var(--tanne); order: 1; margin-bottom: 6px; }
.zahlen div { display: flex; flex-direction: column; }

/* Formular */
.form-wrap { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.form-wrap .abschnitt-kopf { margin-bottom: 0; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: clamp(24px, 4vw, 44px); background: var(--sand); border-radius: 6px; }
.feld { display: flex; flex-direction: column; gap: 7px; }
.voll { grid-column: 1 / -1; }
.formular label { font-weight: 600; font-size: .95rem; }
.pflicht { color: var(--honig-text); }
.formular input, .formular select, .formular textarea { width: 100%; padding: 13px 14px; border: 1px solid #b9a888; border-radius: 6px; background: #fffdf8; color: var(--nuss); font: inherit; }
.formular textarea { resize: vertical; min-height: 130px; }
.formular input:focus-visible, .formular select:focus-visible, .formular textarea:focus-visible { outline: 3px solid var(--honig); outline-offset: 1px; border-color: var(--nuss); }
.formular [aria-invalid="true"] { border-color: #a23a22; background: #fff6f3; }
.fehler { margin: 0; color: #9a3320; font-size: .92rem; font-weight: 500; }
.hinweis-klein { margin: 12px 0 0; font-size: .9rem; color: var(--nuss-hell); }
.meldung { grid-column: 1 / -1; margin: 0; padding: 16px 18px; border-left: 4px solid var(--tanne); background: #e8efe2; color: #243a22; font-weight: 500; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; }
address { font-style: normal; margin-bottom: 18px; }
.kontakt-zeilen { margin-bottom: 30px; }
.kontakt a { text-underline-offset: 3px; }
.kontakt h3 { font-size: 1.4rem; margin-bottom: 12px; }
.zeiten { border-collapse: collapse; width: 100%; max-width: 480px; }
.zeiten th, .zeiten td { text-align: left; padding: 10px 0; border-bottom: 1px solid #cdbd9f; font-size: 1rem; vertical-align: top; }
.zeiten th { font-weight: 600; padding-right: 18px; }
.karte { position: relative; min-height: 380px; background: var(--sand-tief); border-radius: 4px; overflow: hidden;
  background-image: repeating-linear-gradient(45deg, rgba(59, 42, 30, .05) 0 2px, transparent 2px 22px); }
.karte-platzhalter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.karte-ort { font: 500 1.6rem/1.2 var(--serif); margin-bottom: 18px; }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.fuss { background: var(--leinen); border-top: 1px solid var(--linie); padding: 28px 0; font-size: .95rem; color: var(--nuss-hell); }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.fuss p { margin: 0; }
.fuss a { text-underline-offset: 3px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; background: rgba(25, 16, 10, .94); padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lightbox img { max-height: calc(100vh - 170px); width: auto; max-width: 100%; margin: 0 auto; border-radius: 3px; background: var(--nuss-hell); }
.lightbox figcaption { margin-top: 14px; color: #f0e4cf; font-size: 1.02rem; }
.lb-zu, .lb-pfeil { position: absolute; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.lb-zu:hover, .lb-pfeil:hover { background: rgba(255, 255, 255, .22); }
.lb-zu { top: 16px; right: 16px; }
.lb-pfeil { top: 50%; transform: translateY(-50%); }
.lb-zurueck { left: 12px; } .lb-weiter { right: 12px; }
.lb-zu:focus-visible, .lb-pfeil:focus-visible { outline-color: #fff; }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.sichtbar { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .leistungen { grid-template-columns: repeat(2, 1fr); }
  .leistungen li, .leistungen li:not(:nth-child(3n+1)) { padding: 30px 24px 34px 0; border-left: 0; }
  .leistungen li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--linie); }
  .schritte { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .g-gross, .g-breit { grid-column: 1 / -1; }
  .uns, .form-wrap, .kontakt { grid-template-columns: 1fr; }
  .uns-bild { aspect-ratio: 4 / 3; }
  .menue-knopf { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--leinen); border-bottom: 1px solid var(--linie); padding: 8px 20px 22px; display: none; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--linie); }
  .nav a { display: block; padding: 15px 0; font-size: 1.05rem; }
  .nav a:not(.nav-knopf)::after { display: none; }
  .nav li:last-child { border: 0; padding-top: 16px; }
  .nav .nav-knopf { text-align: center; padding: 15px 20px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero { min-height: 640px; }
  .leistungen, .schritte, .galerie { grid-template-columns: 1fr; }
  .leistungen li, .leistungen li:nth-child(even) { padding: 26px 0 30px; border-left: 0; }
  .zahlen { grid-template-columns: repeat(2, auto); }
  .formular { grid-template-columns: 1fr; }
  .g-quer { aspect-ratio: 16 / 10; }
  .lightbox { padding: 64px 12px 90px; }
  .lb-pfeil { top: auto; bottom: 16px; transform: none; }
  .lb-zurueck { left: calc(50% - 60px); } .lb-weiter { right: calc(50% - 60px); }
  .zeiten th, .zeiten td { display: block; padding: 4px 0; border: 0; }
  .zeiten tr { display: block; padding: 10px 0; border-bottom: 1px solid #cdbd9f; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
