/* =========================================================
   AUFGUSSZEIT.DE — Design-System "Löyly"
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Farben */
  --char:        #1F1813;  /* verkohltes Holz, fast schwarz */
  --char-soft:   #2C231C;  /* etwas heller für Sektionen */
  --wood:        #8A5A2B;  /* mittleres Saunaholz */
  --wood-deep:   #5E3A1A;  /* dunkles Holz */
  --cream:       #F6EEE0;  /* warmes Holz-Creme (Lesehintergrund) */
  --cream-dim:   #EBDFCB;  /* abgesetztes Creme */
  --ember:       #D24B16;  /* Glut-Orange (Akzent) */
  --ember-glow:  #F08A3C;  /* helles Glühen */
  --stone:       #7A726A;  /* Saunastein-Grau */
  --stone-dark:  #4A443E;  /* dunkler Stein */
  --ink:         #241C15;  /* Fließtext auf hell */
  --ink-soft:    #5C5045;  /* sekundärer Text */
  --line:        #DACBB4;  /* Trennlinien auf hell */
  --green:       #3B7A4B;  /* positiv */
  --warn:        #B4391C;  /* warnung */

  /* Typo */
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Maße */
  --wrap: 1140px;
  --wrap-narrow: 760px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wood-deep); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; color: var(--char); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: .6em; }
h3 { font-size: 1.4rem; margin-bottom: .4em; }
h4 { font-size: 1.1rem; margin-bottom: .4em; }
p { margin-bottom: 1.1em; }
.lead { font-size: 1.25rem; color: var(--ink-soft); line-height: 1.6; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow / Label ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-block;
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--ember-glow); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31,24,19,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(240,138,60,.15);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--cream);
  display: flex; align-items: center; gap: .55rem;
}
.brand:hover { color: var(--cream); }
.brand .flame {
  width: 26px; height: 26px; flex: none;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--cream);
  font-size: .95rem; font-weight: 500;
  padding: .6rem .9rem; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: .3rem;
}
.nav-links a:hover { color: var(--ember-glow); background: rgba(255,255,255,.05); }
.nav-links .has-sub > a::after { content: "▾"; font-size: .7rem; opacity: .7; }

/* Dropdown */
.submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 230px;
  background: var(--char-soft);
  border: 1px solid rgba(240,138,60,.18);
  border-radius: var(--radius-sm);
  padding: 8px;
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: .55rem .8rem; border-radius: 6px; font-weight: 400; }

.nav-toggle { display: none; background: none; border: 0; color: var(--cream); font-size: 1.6rem; cursor: pointer; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--char);
  color: var(--cream);
  padding: 96px 0 120px;
  overflow: hidden;
  text-align: center;
}
/* das aufsteigende Glühen der Saunasteine */
.hero::before {
  content: "";
  position: absolute; left: 50%; bottom: -40%;
  width: 120%; height: 90%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(240,138,60,.45) 0%,
    rgba(210,75,22,.25) 30%,
    rgba(210,75,22,0) 65%);
  pointer-events: none;
}
/* Holzlamellen-Struktur */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.025) 0px,
    rgba(255,255,255,.025) 1px,
    transparent 1px,
    transparent 38px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: var(--cream); max-width: 16ch; margin: 0 auto .8rem; }
.hero h1 em { font-style: italic; color: var(--ember-glow); }
.hero p { font-size: 1.3rem; color: rgba(246,238,224,.82); max-width: 52ch; margin: 0 auto 2.4rem; }

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn--primary { background: var(--ember); color: #fff; }
.btn--primary:hover { background: var(--ember-glow); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(210,75,22,.4); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(246,238,224,.4); }
.btn--ghost:hover { border-color: var(--ember-glow); color: var(--ember-glow); }
.btn--amazon { background: #FF9900; color: #1A1A1A; }
.btn--amazon:hover { background: #ffad33; color: #1A1A1A; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,153,0,.35); }

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

.bg-char { background: var(--char-soft); color: var(--cream); }
.bg-char h2 { color: var(--cream); }
.bg-char h4 { color: var(--cream); }
.bg-char .benefit p { color: rgba(246,238,224,.7); }
.bg-char .section-head p { color: rgba(246,238,224,.7); }
.bg-cream-dim { background: var(--cream-dim); }

/* ---------- Kategorie-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--ember-glow));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(94,58,26,.14); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ico { font-size: 2.2rem; margin-bottom: .8rem; display: block; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.2rem; }
.card .arrow { font-weight: 600; color: var(--ember); font-size: .95rem; }

/* ---------- Benefits-Liste ---------- */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; }
.benefit { display: flex; gap: 1rem; align-items: flex-start; }
.benefit .dot {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(210,75,22,.12); color: var(--ember);
  display: grid; place-items: center; font-size: 1.2rem;
}
.benefit h4 { margin-bottom: .15rem; }
.benefit p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* =========================================================
   ARTICLE / CONTENT
   ========================================================= */
.article-hero {
  background: var(--char); color: var(--cream);
  padding: 72px 0 64px; position: relative; overflow: hidden;
}
.article-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom,
    rgba(255,255,255,.022) 0px, rgba(255,255,255,.022) 1px,
    transparent 1px, transparent 38px);
}
.article-hero .wrap { position: relative; z-index: 2; }
.article-hero h1 { color: var(--cream); max-width: 22ch; }
.article-hero .lead { color: rgba(246,238,224,.8); margin-top: 1rem; max-width: 60ch; }

.breadcrumb { font-size: .85rem; color: rgba(246,238,224,.55); margin-bottom: 1.4rem; }
.breadcrumb a { color: rgba(246,238,224,.8); }
.breadcrumb a:hover { color: var(--ember-glow); }

.article-body { padding: 64px 0 88px; }
.article-body h2 { margin-top: 2.4em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 1.6em; color: var(--wood-deep); }
.article-body ul, .article-body ol { margin: 0 0 1.3em 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body strong { color: var(--char); }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; margin: 1.8em 0; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; background: #fff; }
thead th { background: var(--wood-deep); color: var(--cream); text-align: left; padding: 14px 18px; font-family: var(--body); font-weight: 600; }
tbody td { padding: 13px 18px; border-top: 1px solid var(--line); }
tbody tr:nth-child(even) { background: #FBF6EC; }
tbody tr:hover { background: #FBEFDD; }

/* ---------- Boxen ---------- */
.box { border-radius: var(--radius); padding: 24px 28px; margin: 1.8em 0; }
.box h4 { margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }

.box--info { background: #FBF3E2; border-left: 4px solid var(--ember); }
.box--info h4 { color: var(--wood-deep); }
.box--warn { background: #FBEAE5; border-left: 4px solid var(--warn); }
.box--warn h4 { color: var(--warn); }
.box--tip { background: #EFF6EE; border-left: 4px solid var(--green); }
.box--tip h4 { color: var(--green); }

/* ---------- Produktbox ---------- */
.product {
  background: linear-gradient(135deg, #FFFDF8, #F8EFDD);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 2em 0;
  position: relative;
}
.product .tag {
  position: absolute; top: -13px; left: 24px;
  background: var(--ember); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px;
}
.product-grid { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; }
.product .thumb {
  aspect-ratio: 1; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); display: grid; place-items: center;
  color: var(--stone); font-size: 2.5rem;
}
.product h4 { font-size: 1.25rem; margin-bottom: .6rem; }
.product ul { list-style: none; margin: 0 0 1rem 0 !important; }
.product ul li { padding-left: 1.6rem; position: relative; margin-bottom: .3em; font-size: .95rem; }
.product ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.product .price { font-family: var(--display); font-size: 1.3rem; color: var(--wood-deep); font-weight: 600; margin-bottom: 1rem; }
.affiliate-note { font-size: .8rem; color: var(--stone); margin-top: .8rem; font-style: italic; }

/* ---------- Phasen (Saunieren) ---------- */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 2em 0; }
.phase {
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  border: 1px solid var(--line); background: #fff;
}
.phase .num { font-family: var(--display); font-size: 2.4rem; color: var(--ember); display: block; line-height: 1; margin-bottom: .4rem; }
.phase h4 { margin-bottom: .3rem; }
.phase .time { font-size: .85rem; color: var(--stone); font-weight: 600; }

/* ---------- Weiterlesen ---------- */
.readmore { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; margin-top: 3em; }
.readmore h4 { margin-bottom: 1rem; }
.readmore ul { list-style: none; margin: 0 !important; }
.readmore li { border-top: 1px solid var(--line); }
.readmore li:first-child { border-top: 0; }
.readmore a { display: block; padding: .8rem 0; font-weight: 500; }
.readmore a::before { content: "→ "; color: var(--ember); }

/* =========================================================
   CTA Band
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--wood-deep), var(--ember));
  color: #fff; text-align: center; border-radius: var(--radius);
  padding: 56px 32px; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 48ch; margin: 0 auto 1.8rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--char); color: rgba(246,238,224,.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 32ch; }
.site-footer h5 { color: var(--cream); font-family: var(--body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: rgba(246,238,224,.7); font-size: .94rem; }
.site-footer a:hover { color: var(--ember-glow); }
.footer-bottom { border-top: 1px solid rgba(246,238,224,.12); padding-top: 24px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom .disc { max-width: 60ch; color: rgba(246,238,224,.5); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .cards, .phases { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--char-soft); padding: 16px; gap: 4px;
    border-bottom: 1px solid rgba(240,138,60,.18);
  }
  .nav-links.open .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 12px; background: transparent; }
  .nav-links.open .has-sub > a::after { display: none; }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .product .thumb { max-width: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 17px; }
}

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

/* Focus */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ember-glow); outline-offset: 2px; border-radius: 4px;
}
