/* =========================================================
   Lirel.ch  Basis-Stylesheet (geteilt von allen Seiten)
   Marke: Creme + Taupe, Cormorant Garamond + Mulish (laut Markenblatt).
   Radius-System: Buttons = Pill, Karten/Bilder = 16px, Eingabefelder = 12px.
   Seiten-spezifisches CSS gehört in home.css / editor.css / legal.css.
   ========================================================= */

/* ---------- Schriften (lokal, keine Google-Verbindung) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/mulish-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/mulish-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/mulish-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/mulish-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/mulish-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/mulish-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Gravur-Schrift: Arvo (frei, OFL), am nächsten an der Laserschrift auf Korhans Produktfotos (Rockwell-artige Slab-Serif).
   Feste Schrift, feste Grösse, feste Stärke, wie bei der echten Gravur. Tausch an einer Stelle: --font-engrave. */
@font-face { font-family: "Arvo"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/arvo-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Arvo"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/arvo-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  /* Erstes Design (vom Kunden bevorzugt): Creme + Taupe aus dem Markenblatt, Kerzenschein als Glanzlicht */
  --bg: #f4efe9;
  --bg-2: #ebe4db;
  --surface: #fbf8f4;
  --ink: #342d28;
  --muted: #6c6158;
  --line: #ddd2c6;
  --accent: #7b685b;          /* Taupe aus dem Markenblatt */
  --accent-strong: #5f4e43;
  --accent-soft: #e7ddd2;
  --accent-ink: #fbf8f4;
  --glow: #e2ac68;            /* Kerzenschein, nur sparsam */
  --shadow: 0 24px 60px -28px rgb(74 58 46 / 0.38);
  --r-card: 16px;
  --r-input: 12px;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-engrave: "Arvo", "Rockwell", "Roboto Slab", serif;
  --engrave-weight: 400;
  --engrave-stroke: 0.028em;     /* macht Arvo so kräftig wie die Lasergravur */
  --engrave-track: 0.02em;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  color-scheme: light;
}
@media (max-width: 760px) { :root { --nav-h: 60px; } }

/* Dunkelmodus nur auf Wunsch (Umschalter), die Marke ist hell und cremefarben. */
:root[data-theme="dark"] {
  --bg: #221a17; --bg-2: #2a201c; --surface: #2f2420; --ink: #f3e8e0; --muted: #c2ada3; --line: #45352f;
  --accent: #e0a998; --accent-strong: #ebbfae; --accent-soft: #42302a; --accent-ink: #221a17; --glow: #f0c487;
  --shadow: 0 24px 60px -28px rgb(0 0 0 / 0.7); color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2, .display { font-family: var(--font-display); letter-spacing: -0.01em; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
section { padding-block: clamp(56px, 7vw, 104px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Kleine Versal-Label wie im Markenblatt. Sparsam einsetzen (max. 1 pro 3 Sektionen). */
.label { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }

/* Zierlinie mit Zweig wie im Markenblatt (Icon: assets/icons/zweig-quer.svg) */
.rule-branch { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.rule-branch::before { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.55; }
.rule-branch svg { width: 86px; height: 36px; flex: 0 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; line-height: 1; letter-spacing: 0.01em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { background: var(--accent-strong); color: var(--accent-ink); box-shadow: 0 10px 24px -14px rgb(74 58 46 / 0.6); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent-strong) 82%, #000); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: rgb(251 248 244 / 0.94); color: #342d28; }
.btn-light:hover { background: #fff; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.04rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Navigation (wird von common.js eingefügt) ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: auto; height: 38px; color: var(--accent); }
.brand .word { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0.34em; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.94rem; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav .spacer { flex: 1; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 1.15rem; flex: 0 0 auto;
}
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav .wrap { gap: 10px; }
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav .nav-cta { display: none; }
}
/* Transparente Nav über dem Hero-Video der Startseite */
body.over-hero .nav { position: fixed; left: 0; right: 0; }
body.over-hero .nav:not(.solid) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.over-hero .nav:not(.solid) .brand, body.over-hero .nav:not(.solid) .brand svg,
body.over-hero .nav:not(.solid) .nav-links a, body.over-hero .nav:not(.solid) .icon-btn { color: #fbf8f4; }
body.over-hero .nav:not(.solid) .icon-btn { border-color: rgb(251 248 244 / 0.45); }
body.over-hero .nav:not(.solid) .nav-links a:hover { color: #fff; }

/* Mobile-Menü */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 39; background: var(--bg);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 12px 16px 24px; display: grid; gap: 4px;
  transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: transform 0.35s var(--ease), opacity 0.35s var(--ease); }
.mobile-menu a:not(.btn) { display: block; padding: 14px 4px; text-decoration: none; font-family: var(--font-display); font-size: 1.6rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* ---------- Footer (wird von common.js eingefügt) ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--muted); font-size: 0.92rem; background: var(--bg); }
.site-footer .top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.site-footer .logo-block { display: grid; gap: 14px; justify-items: start; color: var(--accent); }
.site-footer .logo-block svg { width: auto; height: 64px; }
.site-footer .logo-block .word { font-size: 1.1rem; letter-spacing: 0.4em; color: var(--ink); font-weight: 600; }
.site-footer .logo-block .claim { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; }
.site-footer h4 { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; }
.site-footer .tagline { letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .logo-block { grid-column: 1 / -1; } }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mobile-menu { transition: none; }
}

/* Warmes Kerzenlicht als ruhige Hintergrund-Stimmung für Sektionen */
.glow-bg { background:
  radial-gradient(55% 70% at 88% 0%, rgb(226 172 104 / 0.16), rgb(226 172 104 / 0) 70%),
  radial-gradient(45% 60% at 0% 100%, rgb(160 106 90 / 0.12), rgb(160 106 90 / 0) 70%),
  var(--bg-2); }

/* ---------- Marken-Symbole aus dem Markenblatt (assets/icons) als Inline-Zeichen ----------
   Auf der ganzen Seite werden nur diese Symbole verwendet (Herz, Hände mit Herz, Zweig, Kerze, Blatt, Stern). */
i.bi-i { display: inline-flex; flex: 0 0 auto; width: 1em; height: 1em; vertical-align: -0.14em; color: var(--accent); font-style: normal; }
i.bi-i svg { width: 100%; height: 100%; display: block; }
/* Menü-Button als Text (kein fremdes Symbol) */
.menu-btn { width: auto; min-width: 44px; padding: 0 16px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
