/* =========================================================
   FireWok – Stylesheet
   Warm, editorial, handgemacht. Tokens zentral oben.
   ========================================================= */

:root {
  --paper:    #f7f2ea;
  --paper-2:  #efe6d8;
  --ink:      #1b1611;
  --body:     #3c332c;
  --muted:    #8a7c6f;
  --line:     #e3d7c5;
  --line-2:   #d8c9b3;
  --ember:    #bf4a26;
  --ember-deep:#9c3a1c;
  --char:     #17120e;
  --char-2:   #221a14;
  --gold:     #d99a4e;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  ui-monospace, "Cascadia Code", Consolas, monospace;

  --r:    16px;
  --r-sm: 10px;
  --container: 1180px;
  --pad: clamp(3.5rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--sans); line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--ember); }
p { margin: 0 0 1rem; }
a { color: var(--ember-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
strong { color: var(--ink); font-weight: 600; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.18em; flex: 0 0 auto; }
.logo-mark { width: 22px; height: 22px; fill: var(--ember); flex: none; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--char); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; border-radius: 6px; }

/* ---------- Labels ---------- */
.overline { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 600; color: var(--ember); margin-bottom: .7rem; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; color: var(--muted); margin-bottom: 1.1rem; }
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: .22em; }
.logo-img { height: 32px; width: auto; display: block; }
.footer-brand .logo-img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { color: var(--body); font-weight: 500; font-size: .96rem; position: relative; }
.nav-links a:hover { color: var(--ember-deep); text-decoration: none; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--ember); border-radius: 2px; }
.nav-cta { background: var(--ember); color: #fff !important; padding: .55rem 1.1rem; border-radius: var(--r-sm); }
.nav-cta:hover { background: var(--ember-deep); text-decoration: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-weight: 600; font-size: 1rem; padding: .82rem 1.3rem; border-radius: var(--r-sm); border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s, border-color .2s, color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-deep); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ember); color: var(--ember-deep); }
.btn-sm { padding: .6rem 1rem; font-size: .92rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.actions--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover { text-decoration: none; color: var(--ember-deep); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow.light { color: #f3e7d8; }
.link-arrow.light:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: var(--pad) 0; }
.section-top-0 { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section-soft { background: var(--paper-2); }
.section-dark { background: var(--char); color: #e7dccd; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.section-head-row h2 { margin: 0; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.hero-copy h1 { margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--body); max-width: 46ch; }
.lead--tight { margin-bottom: 1.8rem; }
.hero-media { position: relative; }
.hero-media .img-slot, .hero-media .daynight { border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(40,22,10,.35); }

/* Tag/Nacht-Überblendung */
.daynight { position: relative; overflow: hidden; border-radius: var(--r); }
.dn-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dn-top { animation: dayNight 11s ease-in-out infinite; }
@keyframes dayNight {
  /* statische Phasen ~3.6s, Überblendung ~1.9s (langsamer) */
  0%, 33%  { opacity: 0; }   /* Tag (Kerze aus) */
  50%, 83% { opacity: 1; }   /* Nacht (Kerze an) */
  100%     { opacity: 0; }
}
.ph-files { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.ph-swap .icon { width: 14px; height: 14px; color: var(--muted); vertical-align: middle; }
.ticker { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); }
.ticker li { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 1.6rem; }
.ticker li:not(:first-child)::before { content: "·"; color: var(--line-2); margin-left: -1.6rem; }

/* ---------- Split (Story) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media .img-slot { border-radius: var(--r); }
.split-copy h2 { margin-bottom: .8rem; }
.split-copy .overline { margin-bottom: 1rem; }

/* ---------- Feature teaser (dark, nummeriert) ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.feature-row { display: grid; grid-template-columns: auto auto 1fr; gap: 1.4rem; align-items: start; padding: 1.7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.feature-no { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); line-height: 1.4; }
.feature-ico { color: var(--ember); }
.feature-ico .icon { width: 26px; height: 26px; }
.feature-text h3 { margin-bottom: .3rem; }
.feature-text p { margin: 0; color: #c9bcab; max-width: 60ch; }

/* ---------- Produkte ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.product-grid--lg { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(40,22,10,.4); }
.product-media { display: block; overflow: hidden; border-bottom: 1px solid var(--line); }
.product-media .img-slot { transition: transform .4s ease; }
.product-card:hover .product-media .img-slot { transform: scale(1.04); }
.product-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; color: var(--ember); margin: 0 0 .35rem; }
.product-body h2, .product-body h3 { margin: 0 0 .5rem; }
.product-desc { color: var(--body); margin-bottom: 1rem; }
.spec-list { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.spec-list li { font-size: .78rem; font-weight: 500; color: var(--body); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .22rem .7rem; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.price-note { font-size: .85rem; color: var(--muted); }

/* ---------- Infos (statt FAQ) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.info-card { padding: 1.5rem 0 0; border-top: 2px solid var(--ink); }
.info-card h3 { margin: .2rem 0 .5rem; }
.info-card p { color: var(--body); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--paper-2); }
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta-media .img-slot { border-radius: var(--r); }

/* ---------- Page head (Unterseiten) ---------- */
.page-head { padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .8rem; }

/* ---------- Vorteile-Reihen ---------- */
.vrows { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 5rem); }
.vrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.vrow--rev .vrow-media { order: 2; }
.vrow-media .img-slot { border-radius: var(--r); }
.icon-tile { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); color: var(--ember); }
.icon-tile .icon { width: 64px; height: 64px; stroke-width: 1.2; }
.vrow-text .feature-no { display: block; font-size: 1.3rem; color: var(--ember); margin-bottom: .4rem; }
.vrow-text h2 { margin-bottom: .3rem; }
.vlead { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); margin-bottom: .7rem; }

/* ---------- Standort ---------- */
.standort-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: stretch; }
.map-embed { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--paper-2); min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.standort-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; }
.standort-card h2 { margin-bottom: .8rem; }
.address { line-height: 1.7; margin-bottom: 1.1rem; }
.contact-rows { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.contact-rows li { display: flex; align-items: center; gap: .65rem; }
.contact-rows .icon { color: var(--ember); width: 1.2rem; height: 1.2rem; }
.standort-card .btn { margin-top: auto; }
.standort-card .small { margin-top: .8rem; margin-bottom: 0; }

/* ---------- Eingang mit Pfeil ---------- */
.entrance { margin: 0; max-width: 820px; }
.entrance-img { position: relative; }
.entrance-img .img-slot { border-radius: var(--r); }
.entrance-point { position: absolute; left: var(--mx); top: var(--my); width: 16px; height: 16px; transform: translate(-50%, -50%); background: var(--ember); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.entrance-point::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ember); animation: pulse 2s ease-out infinite; }
.entrance-marker { position: absolute; left: var(--mx); top: var(--my); transform: translate(-50%, calc(-50% - 30px)); background: var(--ember); color: #fff; font-weight: 600; font-size: .85rem; padding: .35rem .75rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.entrance-marker::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--ember); }
@keyframes pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Bild-Slots & Platzhalter ---------- */
.img-slot { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: inherit; }
.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; text-align: center; padding: 1rem; background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: inherit; color: var(--muted); }
.placeholder .ph-ico .icon { width: 30px; height: 30px; stroke-width: 1.3; opacity: .7; }
.placeholder .ph-num { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.placeholder .ph-hint { font-size: .85rem; max-width: 90%; }
.placeholder .ph-file { font-family: var(--mono); font-size: .72rem; color: var(--body); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .12rem .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--char); color: #c9bcab; padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.6rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .logo-mark { fill: var(--ember); }
.footer-brand p { margin-top: .7rem; font-size: .92rem; max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .4rem; }
.footer-col a { color: #c9bcab; font-size: .95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col .muted { color: #9c8d7e; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.3rem; font-size: .85rem; color: #9c8d7e; }

/* ---------- Nach-oben-Button ---------- */
.backtop { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: none; border-radius: 50%; background: var(--ember); color: #fff; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(40,22,10,.55); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, background .2s ease; }
.backtop.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.backtop:hover { background: var(--ember-deep); }
.backtop .icon { width: 20px; height: 20px; }

/* ---------- Rechtsseiten ---------- */
.legal { padding-top: clamp(2.5rem, 6vw, 4rem); }
.legal h1 { margin-bottom: .4rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--body); }
.legal ul { padding-left: 1.2rem; }
.legal code { background: var(--paper-2); padding: .12rem .4rem; border-radius: 5px; font-size: .9em; font-family: var(--mono); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--ember); margin-bottom: .6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-burger { display: flex; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; transform: translateY(-130%); transition: transform .3s ease; box-shadow: 0 20px 30px -20px rgba(40,22,10,.4); }
  .nav-links a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav-cta { text-align: center; margin-top: .8rem; border-bottom: none !important; }
  .nav-toggle:checked ~ .nav-links { transform: translateY(0); }

  .hero-inner, .split, .cta-inner, .standort-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; }
  .vrow, .vrow--rev { grid-template-columns: 1fr; }
  .vrow--rev .vrow-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section-head-row { margin-bottom: 1.6rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .product-foot .btn { width: 100%; justify-content: center; }
}

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