/* Gutforst – Brennholz aus Binz */

@font-face { font-family: "Fraunces"; font-weight: 500; font-display: swap; src: url("/fonts/fraunces-500.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap; src: url("/fonts/fraunces-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }

:root {
  --forest: #2c4535;
  --forest-dark: #1d2f24;
  --bark: #3b2a1a;
  --cream: #f7f0e4;
  --cream-dark: #ece1cd;
  --paper: #fffdf8;
  --amber: #b06828;
  --amber-dark: #8f5119;
  --text: #2a2a26;
  --muted: #5d5a50;
  --line: #ddd0b8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(40, 30, 15, .12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--amber-dark); text-underline-offset: .18em; }
a:hover { color: var(--bark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--bark); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw + .5rem, 4.4rem); }
h2 { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: .9rem; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Kopf und Menü ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-top: 1.1rem; }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: .2rem .3rem; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .98rem; padding: .45rem .85rem; border-radius: 999px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.nav a:hover { background: rgba(255,255,255,.18); color: #fff; }
.nav a[aria-current="page"] { background: var(--cream); color: var(--bark); text-shadow: none; }

/* ---------- Kopfbereich ---------- */
.hero { position: relative; color: #fff; display: flex; align-items: flex-end; min-height: 36vh; padding: 8rem 0 3rem; background: var(--forest-dark); isolation: isolate; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 62%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,28,21,.62) 0%, rgba(18,28,21,.2) 38%, rgba(18,28,21,.82) 100%); }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.1rem, 1.2vw + .8rem, 1.4rem); max-width: 40rem; color: #f4eee2; margin-bottom: 1.8rem; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero .eyebrow { color: #ffe3b8; text-shadow: 0 1px 8px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.5); }
.hero--home { min-height: min(92vh, 860px); padding-bottom: 7rem; }
.hero--home h1 { max-width: 17ch; }
.hero--sub h1 { margin-bottom: 0; font-size: clamp(2.1rem, 4vw + .5rem, 3.4rem); }

/* ---------- Knöpfe ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: 1.02rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #fff; border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.85); backdrop-filter: blur(3px); }
.btn-ghost:hover { background: #fff; color: var(--bark); }
.btn-dark { background: var(--bark); color: #fff; border-color: var(--bark); }
.btn-dark:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; }
.btn-light { background: var(--cream); color: var(--bark); border-color: var(--cream); }
.btn-light:hover { background: #fff; color: var(--bark); }

/* ---------- Kennzahlen ---------- */
.facts { margin-top: -3.6rem; position: relative; z-index: 5; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.facts li { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 1.6rem; border-top: 4px solid var(--amber); }
.facts strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--bark); margin-bottom: .3rem; }
.facts span { color: var(--muted); font-size: .98rem; display: block; line-height: 1.45; }

/* ---------- Abschnitte ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .text p:last-child { margin-bottom: 0; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-dark); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: var(--cream-dark); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.1rem .9rem; color: #fff; font-weight: 500; background: linear-gradient(0deg, rgba(18,28,21,.78), transparent); }

.band { background: var(--forest); color: #efe9db; text-align: center; }
.band h2 { color: #fff; }
.band p { max-width: 36rem; margin-inline: auto; margin-bottom: 1.8rem; font-size: 1.15rem; }
.band .actions { justify-content: center; }
.band .eyebrow { color: #f0cd9d; }

/* ---------- Preise ---------- */
.intro-box { background: var(--paper); border-left: 5px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.5rem; margin-top: 1.6rem; box-shadow: var(--shadow); }
.intro-box p { margin: 0; color: var(--muted); font-size: .98rem; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.card header { padding: 1.4rem 1.6rem 1.1rem; background: var(--forest); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; min-height: 4.6rem; }
.card header h3 { color: #fff; margin: 0; font-size: 1.6rem; }
.badge { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--amber); color: #fff; padding: .25rem .7rem; border-radius: 999px; }
.badge--soft { background: rgba(255,255,255,.18); }
.card table { width: 100%; border-collapse: collapse; }
.card th, .card td { padding: .95rem 1.6rem; text-align: right; border-bottom: 1px solid var(--line); }
.card th:first-child, .card td:first-child { text-align: left; }
.card thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; background: var(--cream); }
.card tbody th { font-weight: 500; }
.card td { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--bark); font-size: 1.12rem; }
.card tbody tr:last-child th, .card tbody tr:last-child td { border-bottom: 0; }
.card tbody tr:hover { background: var(--cream); }

.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.info article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.info h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.info p { margin: 0; color: var(--muted); font-size: .98rem; }
.note { margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }

/* ---------- Über uns ---------- */
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0 0 0 1.8rem; border-left: 3px solid var(--line); display: grid; gap: 1.8rem; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.8rem - 9px); top: .45rem; width: 15px; height: 15px; border-radius: 50%; background: var(--amber); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--amber); }
.timeline .year { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; color: var(--bark); display: block; line-height: 1.2; }
.timeline p { margin: .2rem 0 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.mail-big { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3.5vw + .5rem, 2.6rem); color: var(--bark); text-decoration-thickness: 2px; text-decoration-color: var(--amber); word-break: break-word; }
.checklist { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.checklist li { padding-left: 1.9rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 1rem; height: .55rem; border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg) translateY(-50%); }

/* ---------- Fusszeile ---------- */
.site-footer { background: var(--forest-dark); color: #cfc8b8; padding: 3rem 0 2rem; font-size: .97rem; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: #efe9db; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #f0cd9d; margin-bottom: .8rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer p { margin: 0 0 .4rem; }
.site-footer .brand { text-shadow: none; margin-bottom: .6rem; }
.copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.3rem; margin-top: .5rem; font-size: .88rem; color: #a59f90; }

/* ---------- Anpassung an kleinere Bildschirme ---------- */
@media (max-width: 860px) {
  .split, .cards, .info { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: 1fr; }
  .facts { margin-top: -2.5rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery li:last-child { grid-column: 1 / -1; }
  .gallery li:last-child figure { aspect-ratio: 16 / 9; }
  .site-footer .container { grid-template-columns: 1fr; }
  .hero { padding-top: 9.5rem; }
  .hero > img { object-position: 56% 60%; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .brand { font-size: 1.35rem; }
  .nav a { padding: .4rem .6rem; font-size: .92rem; }
  .btn { width: 100%; }
  .hero--home { min-height: 88vh; }
  .card th, .card td { padding: .8rem 1.1rem; }
  .card header { padding: 1.2rem 1.1rem .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-header, .hero > img, .hero::after, .btn, .band { display: none; }
  .hero { min-height: 0; padding: 1rem 0; color: #000; background: none; }
  .hero h1 { color: #000; text-shadow: none; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
