/* ==========================================================================
   Verenas Kamin- & Brennholzverkauf – Stylesheet
   Farben aus dem Logo. Anpassen in :root.
   ========================================================================== */
:root {
  --rot: #d42027;
  --rot-dunkel: #b0181e;
  --braun: #4a2a16;
  --braun-mittel: #5a3219;
  --holz: #7d4a2a;
  --gruen: #46692f;
  --gruen-dunkel: #36521f;
  --gelb: #fdb91d;
  --creme: #faf5ee;
  --creme-2: #f3eadf;
  --text: #2d1a0e;
  --text-hell: #6b5646;
  --weiss: #ffffff;
  --radius: 14px;
  --radius-gross: 22px;
  --schatten: 0 10px 30px rgba(74, 42, 22, .12);
  --schatten-klein: 0 4px 14px rgba(74, 42, 22, .10);
  --max: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 130px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }
h1, h2, h3, h4 { color: var(--braun); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--braun); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--braun); color: #f3e6d6; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gelb); }
.topbar span { display: inline-flex; align-items: center; gap: .4rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(74,42,22,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.logo img { height: 92px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; align-items: center; }
.main-nav a { display: block; padding: .55rem .9rem; color: var(--braun); text-decoration: none; font-weight: 700; border-radius: 999px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--creme-2); color: var(--rot); }
.main-nav .btn { margin-left: .5rem; }
.main-nav a.btn:hover, .main-nav a.btn[aria-current="page"] { background: var(--rot-dunkel); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--braun); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 800; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, background .2s, color .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-rot { background: var(--rot); color: #fff !important; }
.btn-rot:hover { background: var(--rot-dunkel); }
.btn-gruen { background: var(--gruen); color: #fff !important; }
.btn-gruen:hover { background: var(--gruen-dunkel); }
.btn-hell { background: #fff; color: var(--braun) !important; }
.btn-outline { border-color: #fff; color: #fff !important; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--braun) !important; }
.btn-outline-braun { border-color: var(--braun); color: var(--braun) !important; background: transparent; }
.btn-outline-braun:hover { background: var(--braun); color: #fff !important; }

/* ---------- Hero / Banner ---------- */
.hero {
  position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff;
  background: var(--braun) url("../img/hero.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(45,22,10,.92) 0%, rgba(45,22,10,.72) 45%, rgba(45,22,10,.25) 100%);
}
.hero .container { position: relative; padding: 5rem 0; }
.hero-inhalt { max-width: 680px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gelb); }
.hero p.lead { font-size: 1.25rem; color: #f5e9da; max-width: 600px; }
.eyebrow {
  display: inline-block; background: var(--rot); color: #fff; font-weight: 800; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero .btns { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem; padding: 0; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #fff; }
.hero-badges li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gruen); font-size: .85rem; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-creme { background: var(--creme); }
.section-braun { background: var(--braun); color: #f3e6d6; }
.section-braun h2, .section-braun h3 { color: #fff; }
.section-kopf { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-kopf .kicker { color: var(--gruen); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; display: block; margin-bottom: .5rem; }
.section-braun .section-kopf .kicker { color: var(--gelb); }
.section-kopf p { color: var(--text-hell); font-size: 1.1rem; }
.section-braun .section-kopf p { color: #e4d3bf; }

/* Vorteile */
.vorteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.vorteil { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--schatten-klein); border-top: 4px solid var(--rot); }
.vorteil:nth-child(2) { border-top-color: var(--gelb); }
.vorteil:nth-child(3) { border-top-color: var(--gruen); }
.vorteil:nth-child(4) { border-top-color: var(--holz); }
.vorteil .icon { font-size: 2.2rem; line-height: 1; margin-bottom: .8rem; }
.vorteil p { color: var(--text-hell); margin: 0; }

/* Produkte */
.produkte { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.produkt { background: #fff; border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten); display: flex; flex-direction: column; }
.produkt-bild { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.produkt-bild img { width: 100%; height: 100%; object-fit: cover; }
.produkt-bild .tag { position: absolute; top: 1rem; left: 1rem; background: var(--rot); color: #fff; font-weight: 800; padding: .3rem .8rem; border-radius: 999px; font-size: .85rem; }
.produkt-bild .tag.gruen { background: var(--gruen); }
.produkt-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.produkt-body ul { padding-left: 0; list-style: none; margin: 0 0 1.5rem; }
.produkt-body li { padding: .35rem 0 .35rem 1.8rem; position: relative; border-bottom: 1px dashed #eadccb; }
.produkt-body li::before { content: "🔥"; position: absolute; left: 0; font-size: .9rem; top: .45rem; }
.produkt-body .btn { margin-top: auto; align-self: flex-start; }

/* Holzarten-Tabelle / Preise */
.tabelle-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--schatten-klein); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid #efe4d6; }
thead th { background: var(--braun); color: #fff; font-weight: 800; }
tbody tr:nth-child(even) { background: var(--creme); }
td.preis { font-weight: 800; color: var(--rot); white-space: nowrap; }
.hinweis { font-size: .92rem; color: var(--text-hell); margin-top: 1rem; }
.sterne { color: var(--gelb); letter-spacing: 2px; }

/* Zwei Spalten */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { border-radius: var(--radius-gross); box-shadow: var(--schatten); }
.check-liste { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.check-liste li { padding: .45rem 0 .45rem 2.1rem; position: relative; }
.check-liste li::before { content: "✓"; position: absolute; left: 0; top: .45rem; width: 24px; height: 24px; display: grid; place-items: center; background: var(--gruen); color: #fff; border-radius: 50%; font-size: .8rem; font-weight: 800; }

/* Ablauf */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; counter-reset: schritt; }
.schritt { position: relative; padding: 2rem 1.5rem 1.5rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.schritt::before { counter-increment: schritt; content: counter(schritt); position: absolute; top: -22px; left: 1.5rem; width: 44px; height: 44px; border-radius: 50%; background: var(--rot); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 0 0 5px var(--braun); }
.schritt p { margin: 0; color: #e4d3bf; }

/* Wissen */
.wissen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 980px) { .wissen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wissen { grid-template-columns: 1fr; } }
.wissen article { background: #fff; padding: 1.8rem; border-radius: var(--radius); box-shadow: var(--schatten-klein); }
.wissen article p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border-radius: var(--radius); margin-bottom: .9rem; box-shadow: var(--schatten-klein); overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.2rem 3.2rem 1.2rem 1.5rem; font-weight: 800; color: var(--braun); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--rot); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 1.5rem 1.3rem; color: var(--text-hell); }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--rot) 0%, #a8161c 100%); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { font-size: 1.15rem; color: #ffe3e3; max-width: 640px; margin: 0 auto 1.8rem; }
.cta .btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Seitenkopf Unterseiten */
.page-hero { background: var(--braun) url("../img/hero.jpg") center/cover; position: relative; color: #fff; padding: 4.5rem 0 3.5rem; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(45,22,10,.82); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #f0dfcb; font-size: 1.15rem; margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 1rem; color: #d9c4ab; }
.breadcrumb a { color: var(--gelb); text-decoration: none; }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.formular-box { background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-gross); box-shadow: var(--schatten); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .voll { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
legend { font-weight: 900; color: var(--braun); font-size: 1.15rem; margin-bottom: .9rem; padding: 0; }
label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
label .pflicht { color: var(--rot); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: .8rem 1rem; border: 2px solid #e6d8c6; border-radius: 10px; font: inherit; font-size: 1rem; background: #fffdfa; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 4px rgba(70,105,47,.15); }
textarea { min-height: 130px; resize: vertical; }
.radio-gruppe { display: flex; gap: .7rem; flex-wrap: wrap; }
.radio-gruppe label { display: flex; align-items: center; gap: .5rem; border: 2px solid #e6d8c6; padding: .6rem 1rem; border-radius: 10px; cursor: pointer; font-weight: 600; margin: 0; background: #fffdfa; }
.radio-gruppe input { accent-color: var(--rot); }
.radio-gruppe label:has(input:checked) { border-color: var(--rot); background: #fff3f3; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .95rem; }
.checkbox input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--rot); flex-shrink: 0; }
.hp-feld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 1rem 1.3rem; border-radius: 10px; margin-bottom: 1.5rem; font-weight: 700; display: none; }
.meldung.ok { display: block; background: #eaf3e3; color: var(--gruen-dunkel); border-left: 5px solid var(--gruen); }
.meldung.fehler { display: block; background: #fdecec; color: var(--rot-dunkel); border-left: 5px solid var(--rot); }
.info-box { background: var(--braun); color: #f3e6d6; padding: 2rem; border-radius: var(--radius-gross); margin-bottom: 1.5rem; }
.info-box h2, .info-box h3 { color: #fff; font-size: 1.35rem; }
.info-box a { color: var(--gelb); text-decoration: none; font-weight: 700; }
.info-box dl { margin: 0; }
.info-box dt { font-weight: 800; color: var(--gelb); margin-top: 1rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.info-box dd { margin: .2rem 0 0; }
.info-box.hell { background: var(--creme); color: var(--text); }
.info-box.hell h3 { color: var(--braun); }
.zeiten { width: 100%; min-width: 0; }
.zeiten td { padding: .35rem 0; border: 0; background: none !important; }
.zeiten td:last-child { text-align: right; font-weight: 700; }

/* Rechtstexte */
.rechtstext { max-width: 860px; }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.platzhalter { background: #fff3c4; padding: 0 .25em; border-radius: 4px; }
.warnbox { background: #fff8e1; border-left: 5px solid var(--gelb); padding: 1rem 1.3rem; border-radius: 8px; margin-bottom: 2rem; font-size: .95rem; }

/* Footer */
.site-footer { background: #2b180c; color: #d9c4ab; padding: 4rem 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { background: #fff; display: inline-block; padding: .7rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.footer-logo img { height: 80px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #f3e6d6; text-decoration: none; }
.site-footer a:hover { color: var(--gelb); }
.footer-unten { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.3rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }

/* Mobile Anruf-Leiste */
.mobil-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--schatten); display: none; }
  .main-nav.offen { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 1rem; }
  .main-nav .btn { margin: .5rem 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split { grid-template-columns: 1fr; }
  .split.umgekehrt .split-bild { order: -1; }
  .logo img { height: 60px; }
  .topbar .oeffnung, .topbar .container > span:first-child { display: none !important; }
  .topbar .container { justify-content: center; }
  .mobil-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; box-shadow: 0 -4px 18px rgba(0,0,0,.15); }
  .mobil-cta a { padding: 1rem; text-align: center; font-weight: 800; color: #fff; text-decoration: none; }
  .mobil-cta a:first-child { background: var(--gruen); }
  .mobil-cta a:last-child { background: var(--rot); }
  body { padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero .container { padding: 3.5rem 0; }
  .produkte { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
