/* base.css — Design-Tokens, Reset, Fonts, Basis-Typografie
   Token-Quellen: Inline-CSS von scrape/raw/en/home.html
   (--mainmenu-fontcolor:#6B4A31, --background-color:#B19574,
    color:#373e44, --label-color:#52575C, background-color:#FFFBF8, #e6ddd4). */

/* ---- Selbst-gehostete Fonts (OFL) ------------------------------------ */
/* Sarabun 400 (Body) */
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/DtVjJx26TKEr37c9aBVJn3YO5gg.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/DtVjJx26TKEr37c9aBtJn3YO5gjupg.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Sarabun 700 (Body Bold) */
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/DtVmJx26TKEr37c9YK5silss6yLUrwA.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/DtVmJx26TKEr37c9YK5silUs6yLUrwB0lw.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Tenor Sans 400 (Headings / Nav) */
@font-face {
  font-family: "Tenor Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/TenorSans_Regular.woff") format("woff");
}
/* Great Vibes 400 (Script) — OFL-Ersatz für das nicht-OFL "Valen Valentine Script" */
@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/GreatVibes-Regular.woff2") format("woff2");
}

/* ---- Tokens ---------------------------------------------------------- */
:root {
  --color-primary: #6b4a31;        /* Deep-Brown: Nav-Links, Überschriften-Akzent */
  --color-accent: #b19574;         /* Tan/Gold: CTA-Buttons, aktiver Nav-State */
  --color-accent-strong: #915220;  /* dunkleres Gold: Hover */
  --color-text: #373e44;           /* Body-Text */
  --color-muted: #52575c;          /* Labels, Sekundärtext */
  --color-cream: #fffbf8;          /* Header/Footer-Leiste */
  --color-line: #e6ddd4;           /* Haarlinien / Divider */
  --color-bg: #ffffff;

  --font-body: "Sarabun", "Segoe UI", Tahoma, sans-serif;
  --font-heading: "Tenor Sans", "Trebuchet MS", sans-serif;
  --font-script: "Great Vibes", "Segoe Script", cursive;

  --container: 1200px;
  --header-h: 90px;
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* ---- Mini-Reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-accent-strong); }

ul, ol { list-style: none; padding: 0; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ---- Basis-Typografie ------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: 0.05em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); letter-spacing: 0.05em; }

strong, b { font-weight: 700; }

/* ---- Layout-Utilities ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section-title {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.section-subtitle {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.script {
  font-family: var(--font-script);
  color: var(--color-accent);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

/* ---- Button ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.95em 2em;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { background: var(--color-accent-strong); border-color: var(--color-accent-strong); color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--color-accent-strong);
}
.btn--outline:hover { background: var(--color-accent); color: #fff; }

/* ---- Slider-Pfeile (geteilte Komponente) -----------------------------
   Runde Prev/Next-Buttons für [data-slider]-Karussells (Gallery-Sanctuary,
   Home-Gallery-Teaser). Gesteuert von assets/js/slider.mjs. Liegt in base.css,
   weil mehr als eine Seite das Muster nutzt (Migration aus gallery.css). */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-primary);
  box-shadow: 0 3px 12px rgba(13, 27, 36, 0.2);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.slider-arrow:hover { background: var(--color-accent); color: #fff; }
.slider-arrow .icon { width: 22px; height: 22px; }
.slider-arrow--prev { left: 1rem; }
.slider-arrow--prev .icon { transform: rotate(90deg); }
.slider-arrow--next { right: 1rem; }
.slider-arrow--next .icon { transform: rotate(-90deg); }
/* Ohne JS (kein slider-ready) sind die Pfeile funktionslos -> ausblenden. */
html:not(.slider-ready) .slider-arrow { display: none; }
@media (max-width: 600px) { .slider-arrow { width: 40px; height: 40px; } }

.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;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---- Legal/Policy-Seiten (plain.mustache: data.blocks) ---------------- */
/* Nur diese 9 Seiten (privacy-policy/cookies-policy/cookie-declaration ×
   EN/RU/CN) nutzen .legal — hier statt in einer eigenen page.css, weil base.css
   ohnehin auf jeder Seite lädt und es nur Basis-Typografie wiederherstellt
   (list-style/Tabellenlinien), die der globale Reset weiter oben entfernt. */
.legal { max-width: 78ch; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal h1 { margin-bottom: 1.2rem; }
.legal h2 { margin: 2rem 0 0.8rem; }
.legal p { margin-top: 0.9rem; }
.legal p:first-of-type { margin-top: 0; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin: 0.9rem 0; }
.legal li { margin: 0.3rem 0; }
.legal .table-scroll { overflow-x: auto; margin: 1.2rem 0; }
.legal table { border-collapse: collapse; width: 100%; min-width: 480px; }
.legal th, .legal td { text-align: left; padding: 0.6rem 0.9rem; border: 1px solid var(--color-line); vertical-align: top; }
.legal th { background: #f9f1e9; font-family: var(--font-heading); font-weight: 400; letter-spacing: 0.03em; }
