/* ==========================================================================
   Landkräuterei — base.css
   Design-Tokens, Reset, Pergament-Textur, Typografie, Layout-Helfer, Buttons.
   Naturwaren-Manufaktur · dörflich · handwerklich · warm.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Farbwelt: Pergament, Rinde, Moos, Salbei, Siegelrot */
  --parchment:       #f4ecd8;  /* Seitenhintergrund, altes Papier   */
  --parchment-deep:  #e9ddc1;  /* abgesetzte Flächen                */
  --paper-card:      #fbf6ea;  /* helle Kartenfläche                */
  --bark:            #3a2c1d;  /* dunkles Braun, Haupttext / Holz   */
  --bark-soft:       #5b4632;  /* gedämpftes Braun                  */
  --moss:            #58683f;  /* Moosgrün, Naturakzent             */
  --moss-deep:       #3f4c2c;  /* dunkles Moos für Hover            */
  --sage:            #8c9a78;  /* Salbei, dezente Akzente           */
  --seal:            #7c2f23;  /* dunkles Rot, Siegel / Akzente     */
  --gold:            #ad8a52;  /* warmes Messing für feine Linien   */
  --ink-muted:       #7a6a54;  /* gedämpfter Fließtext              */

  /* Typografie — elegante, alt wirkende Serifen ohne Gothic/Fantasy.
     Lokale Systemschriften zuerst, damit ohne CDN alles funktioniert. */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype",
                  Palatino, "Book Antiqua", Georgia, serif;
  --font-body:    "Iowan Old Style", "Palatino Linotype", Palatino,
                  Georgia, "Times New Roman", serif;

  /* Maße */
  --container: 1140px;
  --radius:    10px;
  --radius-lg: 18px;
  --shadow:    0 8px 24px rgba(58, 44, 29, 0.10);
  --shadow-sm: 0 3px 10px rgba(58, 44, 29, 0.08);
  --border:    1px solid rgba(122, 90, 50, 0.28);
  --border-strong: 1px solid rgba(122, 90, 50, 0.45);
}

/* ---------------------------------------------------------- 2. Reset/Basis */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--bark);
  background-color: var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--moss-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--seal); }

:focus-visible {
  outline: 3px solid rgba(88, 104, 63, .55);
  outline-offset: 2px;
  border-radius: 4px;
}

/* für Screenreader ausgeblendet, per Tab erreichbar */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--moss);
  color: #f6f1e3;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------- 3. Papier-/Pergamenttextur
   Sehr dezente, mehrlagige Verläufe + feines SVG-Rauschen als Daten-URI. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--parchment);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(173, 138, 82, 0.10), transparent 45%),
    radial-gradient(circle at 85% 8%,  rgba(140, 154, 120, 0.10), transparent 40%),
    radial-gradient(circle at 70% 92%, rgba(124, 47, 35, 0.05),  transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ 4. Typografie */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--bark);
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p  { margin: 0 0 1.1em; }

/* Etiketten-/Holzschild-Vorzeile über Überschriften */
.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--seal);
  margin: 0 0 .9rem;
  font-weight: 600;
}

.lead { font-size: 1.2rem; color: var(--bark-soft); max-width: 60ch; }
.muted { color: var(--ink-muted); }

/* ----------------------------------------------------------- 5. Layout-Helfer */
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 2.6rem; }
.section-head .lead { margin-inline: auto; }

/* abgesetzte Pergament-Fläche */
.parchment-band {
  background: linear-gradient(rgba(233, 221, 193, 0.65), rgba(233, 221, 193, 0.65));
  border-top: var(--border);
  border-bottom: var(--border);
}

/* Ornamentaler Trenner mit kleiner Illustration in der Mitte */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 0 auto;
  width: min(100% - 2.4rem, 520px);
  color: var(--gold);
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(173, 138, 82, .7), transparent);
}
.divider img { width: 46px; opacity: .9; }

/* Schlichter Seitenkopf für Unterseiten */
.page-head {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}
.page-head .lead { margin-inline: auto; }
.page-head .breadcrumb { justify-content: center; display: flex; }

/* ---------------------------------------------------------------- 6. Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  padding: .72rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  line-height: 1;
}
.button.primary {
  background: var(--moss);
  color: #f6f1e3;
  box-shadow: var(--shadow-sm);
}
.button.primary:hover {
  background: var(--moss-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.button.secondary {
  background: transparent;
  color: var(--bark);
  border-color: rgba(122, 90, 50, .5);
}
.button.secondary:hover {
  background: rgba(173, 138, 82, .14);
  color: var(--bark);
  transform: translateY(-2px);
}
.button.small { padding: .5rem 1rem; font-size: .92rem; }
.button.block { width: 100%; }
.button.whatsapp { background: #4a6b39; color: #f6f1e3; }
.button.whatsapp:hover { background: var(--moss-deep); color: #fff; }
.button[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
