/* Miss Miller – Stylesheet
   Design: "Artisan Linen & Millet" (Stitch), umgesetzt als eigenes CSS ohne Framework.
   Aufbau: Tokens, Basis, Layout, Header/Navigation, Komponenten, Seitenbereiche, Footer, Hilfsklassen.
*/

/* ---------- Schriften (selbst gehostet, keine Google-Fonts-Verbindung) ---------- */
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; 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: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; 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; }

/* ---------- Tokens ---------- */
:root {
  --surface: #fff8f5;
  --surface-low: #fff1e9;
  --surface-container: #ffeadc;
  --surface-high: #f9e4d7;
  --surface-variant: #f3dfd1;
  --surface-dim: #ead6c9;
  --on-surface: #241911;
  --on-surface-variant: #454840;
  --outline: #75786f;
  --outline-variant: #c5c8bd;
  --primary: #526046;
  --primary-container: #6a795d;
  --on-primary: #ffffff;
  --primary-fixed: #d8e8c6;
  --secondary: #775a18;
  --secondary-container: #fdd587;
  --tertiary: #715462;
  --error: #ba1a1a;
  --error-container: #ffdad6;
  --line: rgba(36, 25, 17, 0.14);
  --shadow: 0 8px 24px -4px rgba(59, 47, 38, 0.08);
  --shadow-sm: 0 1px 8px rgba(0, 0, 0, 0.04);
  --font-head: "Cabinet Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --r-sm: 0.25rem; --r: 0.5rem; --r-md: 0.75rem; --r-lg: 1rem; --r-xl: 1.5rem;
  --sp-xs: 0.375rem; --sp-sm: 0.75rem; --sp-md: 1.25rem; --sp-lg: 2.25rem; --sp-xl: 4rem;
  --margin: 1.25rem; --gutter: 1.5rem; --max: 1280px; --header-h: 5rem;
}
@media (min-width: 768px) { :root { --margin: 2.5rem; --gutter: 2rem; } }
@media (min-width: 1024px) { :root { --margin: 5rem; --gutter: 3rem; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--surface); color: var(--on-surface); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; overflow-x: clip; min-width: 320px; }
@media (min-width: 768px) { body { font-size: 1.125rem; line-height: 1.66; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 var(--sp-md); color: var(--on-surface); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: var(--sp-sm); }
h4 { font-size: 1.15rem; font-weight: 500; margin-bottom: var(--sp-xs); }
h2 svg, h3 svg { width: 1.1em; height: 1.1em; flex: none; color: var(--secondary); }
.h-icon { display: flex; align-items: center; gap: .5rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; transition: color .2s; }
a:hover { color: var(--primary-container); }
strong { font-weight: 600; }
small, .small { font-size: 0.9rem; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: 0.35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-lg) 0; }
blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; margin: 0 0 var(--sp-md); font-size: 0.98rem; display: block; overflow-x: auto; }
@media (min-width: 640px) { table { display: table; } }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--on-surface-variant); font-size: 0.92rem; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: var(--r-sm); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 0 0 var(--r) 0; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: var(--sp-xl); }
.section--tight { padding-block: var(--sp-lg); }
.section--low { background: var(--surface-low); }
.section--container { background: var(--surface-container); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--sp-lg); }
.prose h3 { margin-top: var(--sp-md); }
.center { text-align: center; }
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-12 { display: grid; gap: var(--gutter); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .grid-12 { grid-template-columns: repeat(12, 1fr); } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; } .col-4 { grid-column: span 4; } .order-first-lg { order: -1; } }
.eyebrow { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); margin-bottom: var(--sp-xs); }
.lead { font-size: 1.2rem; line-height: 1.6; }
@media (min-width: 768px) { .lead { font-size: 1.25rem; } }
.section-head { max-width: 42rem; margin-bottom: var(--sp-lg); }
.section-head--center { margin-inline: auto; text-align: center; }

/* Mondsichel-Trenner */
.divider { display: flex; align-items: center; justify-content: center; gap: var(--sp-md); padding-block: var(--sp-lg); opacity: .7; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--outline-variant); flex: 1; max-width: 20rem; }
.divider svg { width: 1.35rem; height: 1.35rem; color: var(--secondary); flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3rem; padding: .7rem 1.6rem; border-radius: var(--r); font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-container); color: #fff; }
.btn--secondary { background: transparent; color: var(--on-surface); border-color: rgba(36, 25, 17, 0.22); }
.btn--secondary:hover { background: var(--surface-variant); color: var(--on-surface); }
.btn--soft { background: var(--surface-container); color: var(--on-surface); }
.btn--soft:hover { background: var(--surface-high); color: var(--on-surface); }
.btn--sm { min-height: 2.5rem; padding: .45rem 1rem; font-size: .95rem; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-sm) var(--sp-md); align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 248, 245, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.site-header__bar { height: var(--header-h); display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: var(--sp-sm); min-width: 0; }
.site-header__logo { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.site-header__logo img { height: 2.2rem; width: auto; max-width: 48vw; max-height: 2.2rem; object-fit: contain; object-position: left center; }
@media (min-width: 480px) { .site-header__logo img { height: 2.5rem; max-height: 2.5rem; max-width: 14rem; } }
@media (min-width: 768px) { .site-header__logo img { height: 2.9rem; max-height: 2.9rem; max-width: 16rem; } }
.site-nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: var(--sp-sm); flex: 0 0 auto; margin-left: auto; }
.site-header__actions .btn { display: none; }
@media (min-width: 640px) { .site-header__actions .btn { display: inline-flex; } }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid rgba(36,25,17,.2); border-radius: var(--r); padding: 0; width: 44px; height: 44px; min-width: 44px; color: var(--on-surface); cursor: pointer; flex: 0 0 auto; }
/* Burger aus drei CSS-Balken (kein SVG, damit es auf jedem Handybrowser sichtbar ist) */
.burger { position: relative; display: block; width: 22px; height: 16px; }
.burger i { position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: #241911; transition: transform .2s, opacity .2s, top .2s; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 7px; }
.burger i:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (min-width: 1100px) { .site-nav { gap: var(--sp-md); } .site-header__logo img { height: 2.9rem !important; } }
@media (min-width: 1024px) {
  .site-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; flex: 1; }
  .site-header__logo img { height: 2.5rem; }
  .nav-toggle { display: none; }
}
.site-nav__link { white-space: nowrap; font-weight: 600; font-size: .95rem; color: var(--on-surface-variant); text-decoration: none; padding: .5rem .25rem; border-bottom: 2px solid transparent; }
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--on-surface); }
.site-nav__link[aria-current="page"] { border-bottom-color: var(--primary); color: var(--primary); }
.site-nav__item--mega { position: static; }
.site-nav__link--mega { display: inline-flex; align-items: center; gap: .25rem; }
.site-nav__link--mega svg { width: 1rem; height: 1rem; transition: transform .2s; }
.site-nav__item--mega.is-open .site-nav__link--mega svg { transform: rotate(180deg); }

/* Mega-Menü (Produkte), 2. und 3. Ebene */
.mega { position: absolute; left: 50%; top: calc(var(--header-h) - .5rem); transform: translateX(-50%) translateY(6px); width: min(64rem, calc(100vw - 2 * var(--margin))); background: rgba(255, 251, 248, .98); backdrop-filter: blur(12px); border: 1px solid rgba(120, 113, 108, .18); border-radius: var(--r-md); box-shadow: 0 20px 40px -12px rgba(59, 47, 38, .18); padding: var(--sp-md); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s, transform .18s, visibility 0s .18s; z-index: 110; text-align: left; }
.site-nav__item--mega.is-open .mega, .site-nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }
.mega__col h3 { font-size: 1.02rem; font-weight: 500; margin: 0 0 var(--sp-xs); padding-bottom: .3rem; border-bottom: 1px solid rgba(120, 113, 108, .2); }
.mega__col ul, .mega__sub { list-style: none; margin: 0; padding: 0; }
.mega__col li { margin: 0; }
.mega__col a { display: block; padding: .35rem .4rem; border-radius: var(--r-sm); text-decoration: none; color: var(--on-surface); }
.mega__col a:hover, .mega__col a:focus-visible { background: var(--surface-container); color: var(--primary); }
.mega__col a strong { display: block; font-size: .95rem; font-weight: 600; }
.mega__col a span { display: block; font-size: .8rem; color: var(--on-surface-variant); }
.mega__sub { margin: .1rem 0 .35rem .8rem; border-left: 1px solid rgba(120,113,108,.25); padding-left: .35rem; }
.mega__sub a { padding: .25rem .4rem; }
.mega__sub a strong { font-size: .88rem; font-weight: 500; }
.mega__card { background: var(--surface-container); border-radius: var(--r); padding: var(--sp-sm); display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; }
.mega__card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: var(--r-sm); background: var(--surface-high); padding: .5rem; }
.mega__card p { font-family: var(--font-head); font-weight: 500; font-size: .95rem; line-height: 1.35; margin: 0 0 .4rem; }

/* Mobile Navigation */
.mobile-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--surface); z-index: 99; overflow-y: auto; overflow-x: hidden; padding: var(--sp-md) var(--margin) var(--sp-xl); -webkit-overflow-scrolling: touch; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a, .mobile-nav summary { display: block; padding: .9rem 0; font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--on-surface); }
.mobile-nav summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 1.1rem; height: 1.1rem; transition: transform .2s; }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav details ul { padding: 0 0 .5rem .5rem; }
.mobile-nav details h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--secondary); margin: .8rem 0 .2rem; font-family: var(--font-body); font-weight: 600; }
.mobile-nav details a { font-weight: 500; font-size: 1rem; padding: .45rem 0; }
.mobile-nav details .mega__sub { margin-left: .9rem; }
.mobile-nav details .mega__sub a { font-size: .95rem; padding: .3rem 0; }
.mobile-nav .mobile-nav__cta { margin-top: var(--sp-md); }
.mobile-nav .mobile-nav__cta .btn { width: 100%; color: var(--on-primary); padding: .7rem 1.6rem; font-size: 1.02rem; }
body.nav-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--header-h)); min-height: 34rem; display: flex; align-items: flex-end; }
@media (min-width: 768px) { .hero { min-height: min(56rem, 92vh); } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--surface) 0%, rgba(255,248,245,.55) 35%, rgba(255,248,245,.08) 100%); }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--header-h) + var(--sp-xl)); padding-bottom: var(--sp-xl); }
.hero__box { max-width: 40rem; background: rgba(255, 248, 245, .9); backdrop-filter: blur(8px); border-radius: var(--r-md); padding: var(--sp-md); box-shadow: var(--shadow); }
@media (min-width: 768px) { .hero__box { padding: var(--sp-lg); } }
.hero__box h1 { margin-bottom: var(--sp-md); }
.hero__box .lead { margin-bottom: var(--sp-lg); max-width: 34rem; }
.hero--page { min-height: 22rem; }
@media (min-width: 768px) { .hero--page { min-height: 30rem; } }

/* Seitenkopf ohne Bild */
.page-head { padding: var(--sp-lg) 0 var(--sp-md); }
.page-head h1 { margin-bottom: var(--sp-sm); }
.page-head .lead { max-width: 44rem; }
.breadcrumb { font-size: .88rem; color: var(--on-surface-variant); margin: var(--sp-sm) 0 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .3rem; color: var(--outline); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Karten ---------- */
.card { background: var(--surface-variant); border-radius: var(--r-md); padding: var(--sp-md); display: flex; flex-direction: column; justify-content: space-between; transition: box-shadow .3s, transform .3s; min-width: 0; }
.grid > *, .grid-12 > * { min-width: 0; }
p, li, dd, td, h1, h2, h3 { overflow-wrap: break-word; }
@media (min-width: 768px) { .card { padding: var(--sp-lg); } }
.card:hover { box-shadow: var(--shadow); }
.card__media { border-radius: var(--r); overflow: hidden; background: var(--surface-container); margin-bottom: var(--sp-md); aspect-ratio: 4/3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card__media--contain img { object-fit: contain; padding: var(--sp-sm); }
.card:hover .card__media img { transform: scale(1.04); }
.card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-sm); flex-wrap: wrap; margin-bottom: var(--sp-xs); }
.card__title-row h3 { margin: 0; }
.badge { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: .25rem .6rem; border-radius: var(--r-sm); background: var(--surface-container); color: var(--on-surface-variant); white-space: nowrap; }
.badge--primary { background: #f3d9e1; color: #5a3f4d; } /* gedecktes Rosa aus der Design-Palette (tertiary), Christines Wunsch 25.09.2026 */
.badge--live { background: var(--secondary-container); color: #5c4200; }
.card__body { margin-bottom: var(--sp-md); }
.card--surface { background: rgba(255, 248, 245, .85); }
.card--low { background: var(--surface-low); }
.panel { background: var(--surface-variant); border-radius: var(--r-md); padding: var(--sp-md); }
@media (min-width: 768px) { .panel { padding: var(--sp-lg); } }
@media (min-width: 1024px) { .panel--xl { padding: var(--sp-xl); } }
.figure { border-radius: var(--r-md); overflow: hidden; background: var(--surface-variant); box-shadow: var(--shadow); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--45 { aspect-ratio: 4/5; }
.figure--43 { aspect-ratio: 4/3; }
.figure--169 { aspect-ratio: 16/9; }
@media (min-width: 768px) { .figure--wide { aspect-ratio: 21/9; } }
.figure--contain img { object-fit: contain; padding: var(--sp-md); }
figcaption { font-size: .88rem; color: var(--on-surface-variant); padding: .5rem 0 0; }

/* Icon-Zeilen */
.icon-list { list-style: none; padding: 0; margin: 0 0 var(--sp-lg); display: grid; gap: var(--sp-md); max-width: 40rem; }
.icon-list li { display: flex; gap: var(--sp-sm); align-items: flex-start; margin: 0; }
.icon-list svg { width: 1.45rem; height: 1.45rem; color: var(--primary); flex: none; margin-top: .25rem; }
.icon-list p { margin: 0; font-size: 1.1rem; }

/* Kundenstimmen */
.quote-card { background: var(--surface-variant); border-radius: var(--r-md); padding: var(--sp-md); display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .quote-card { padding: var(--sp-lg); } }
.quote-card blockquote { font-size: 1.12rem; font-style: italic; line-height: 1.6; margin-bottom: var(--sp-md); }
.quote-card blockquote p { margin: 0; }
.quote-card footer { display: flex; align-items: center; gap: var(--sp-sm); }
.quote-card .avatar { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--surface-container); color: var(--secondary); display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; flex: none; overflow: hidden; }
.quote-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-card cite { font-style: normal; display: block; font-weight: 600; font-size: .98rem; }
.quote-card cite span { display: block; font-weight: 400; font-size: .88rem; color: var(--on-surface-variant); }

/* ---------- Markttermine ---------- */
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-sm); }
.event { background: rgba(255,248,245,.85); border-radius: var(--r); padding: var(--sp-sm) var(--sp-md); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-sm) var(--sp-md); align-items: start; border-left: 4px solid transparent; min-width: 0; overflow-wrap: anywhere; }
.event[hidden] { display: none; }
.event--live { border-left-color: var(--secondary); background: #fff4dc; }
.event__date { font-family: var(--font-head); font-weight: 500; line-height: 1.1; text-align: center; min-width: 3.4rem; padding-top: .15rem; }
.event__date .d { display: block; font-size: 1.9rem; }
.event__date .m { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--secondary); font-family: var(--font-body); font-weight: 600; }
.event__date .to { display: block; font-size: .78rem; color: var(--on-surface-variant); margin-top: .15rem; font-family: var(--font-body); }
.event__title { font-weight: 600; font-size: 1.05rem; margin: 0 0 .15rem; }
.event__meta { font-size: .92rem; color: var(--on-surface-variant); margin: 0; }
.event__meta span + span::before { content: " · "; }
.event__oepnv { display: flex; gap: .35rem; align-items: flex-start; margin-top: .25rem; }
.event__oepnv svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .2rem; color: var(--secondary); }
.event .badge { margin-bottom: .3rem; }
.event--full { grid-template-columns: 1fr; }
@media (min-width: 640px) { .event--full { grid-template-columns: auto 1fr; } .event--full.has-img { grid-template-columns: auto 1fr 12rem; } }
.event__img { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; }
.event__img img { width: 100%; height: 100%; object-fit: cover; }
.event__desc { margin: .5rem 0 .6rem; font-size: 1rem; }
.event__actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; position: relative; }
.cal-menu { position: relative; display: inline-block; }
.cal-menu__list { position: absolute; left: 0; top: calc(100% + .35rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); list-style: none; margin: 0; padding: .35rem; min-width: 14rem; z-index: 20; display: none; }
.cal-menu.is-open .cal-menu__list { display: block; }
.cal-menu__list a { display: block; padding: .5rem .7rem; border-radius: var(--r-sm); text-decoration: none; color: var(--on-surface); font-size: .95rem; }
.cal-menu__list a:hover { background: var(--surface-container); }
.events-empty { background: rgba(255,248,245,.85); border-radius: var(--r); padding: var(--sp-md); }
.events-empty[hidden] { display: none; }

/* ---------- Produktseite ---------- */
.product-hero { display: grid; gap: var(--gutter); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .product-hero { grid-template-columns: 7fr 5fr; } }
.gallery__main { border-radius: var(--r-md); overflow: hidden; background: var(--surface-variant); aspect-ratio: 4/3; display: grid; place-items: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: var(--sp-sm); }
.gallery__main img.is-cover { object-fit: cover; padding: 0; }
.gallery__thumbs { display: flex; gap: .6rem; margin-top: .6rem; flex-wrap: wrap; }
.gallery__thumbs button { border: 2px solid transparent; background: var(--surface-variant); border-radius: var(--r-sm); padding: 0; width: 5.2rem; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; }
.gallery__thumbs button.is-active { border-color: var(--primary); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price { font-family: var(--font-head); font-size: 1.85rem; line-height: 1.1; }
.price small { font-family: var(--font-body); font-size: .85rem; color: var(--on-surface-variant); font-weight: 400; }
.price-note { font-size: .88rem; color: var(--on-surface-variant); margin: .35rem 0 0; }
.price-note a { color: inherit; }
.configurator { background: var(--surface-variant); border-radius: var(--r-md); padding: var(--sp-md); }
@media (min-width: 768px) { .configurator { padding: var(--sp-lg); } }
.configurator h2 { font-size: 1.45rem; margin-bottom: var(--sp-sm); }
.configurator fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-md); }
.configurator legend { font-weight: 600; margin-bottom: .5rem; padding: 0; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: .7rem .6rem; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch__chip { display: block; position: relative; aspect-ratio: 1; border-radius: var(--r); border: 2px solid transparent; background-color: var(--sw, #ccc); background-image: radial-gradient(var(--sw2, #fff) 1.2px, transparent 1.6px); background-size: 10px 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .15s, border-color .15s; }
.swatch__chip img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) - 2px); }
.swatch input:checked + .swatch__chip { border-color: var(--on-surface); transform: scale(1.04); }
.swatch input:focus-visible + .swatch__chip { outline: 2px solid var(--primary); outline-offset: 2px; }
.swatch__name { display: block; font-size: .72rem; line-height: 1.2; margin-top: .3rem; color: var(--on-surface-variant); text-align: center; hyphens: auto; }
.swatch--placeholder .swatch__chip::after { content: "Foto folgt"; position: absolute; left: 0; right: 0; bottom: 0; font-size: .6rem; line-height: 1.3; text-align: center; background: rgba(255,255,255,.78); color: #444; padding: .1rem 0; border-radius: 0 0 calc(var(--r) - 2px) calc(var(--r) - 2px); }
.config-selected { font-size: .95rem; margin: .5rem 0 0; color: var(--on-surface-variant); }
.config-selected strong { color: var(--on-surface); }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(36,25,17,.22); border-radius: var(--r); background: var(--surface); }
.qty button { background: none; border: 0; width: 2.6rem; height: 2.75rem; font-size: 1.3rem; cursor: pointer; color: var(--on-surface); }
.qty input { width: 3rem; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.trust { display: flex; align-items: flex-start; gap: .55rem; font-size: .95rem; margin: .5rem 0 0; }
.trust svg { width: 1.15rem; height: 1.15rem; color: var(--primary); flex: none; margin-top: .2rem; }

/* Probeschlafen-Garantie Kasten */
.guarantee { border-radius: var(--r-md); background: linear-gradient(135deg, #fff4dc 0%, #ffeadc 100%); border: 1px solid rgba(119, 90, 24, .25); padding: var(--sp-md); display: grid; grid-template-columns: auto 1fr; gap: var(--sp-sm) var(--sp-md); align-items: start; }
.guarantee svg { width: 2.6rem; height: 2.6rem; color: var(--secondary); }
.guarantee h3, .guarantee h2 { font-size: 1.3rem; margin: 0 0 .35rem; }
.guarantee p { margin: 0 0 .5rem; font-size: 1rem; }
.guarantee p:last-child { margin: 0; }
.guarantee--compact { padding: var(--sp-sm) var(--sp-md); }
.guarantee--compact svg { width: 2rem; height: 2rem; }
.guarantee--compact h3 { font-size: 1.1rem; }
.guarantee--compact p { font-size: .95rem; }
.guarantee--muted { background: var(--surface-low); border-color: var(--line); }
.guarantee--muted svg { color: var(--primary); }

/* Auf einen Blick */
.facts { background: var(--surface-low); border-radius: var(--r-md); padding: var(--sp-md); }
@media (min-width: 768px) { .facts { padding: var(--sp-lg); } }
.facts dl { display: grid; grid-template-columns: 1fr; gap: .2rem 1.5rem; margin: 0; }
@media (min-width: 600px) { .facts dl { grid-template-columns: max-content 1fr; } }
.facts dt { font-weight: 600; font-size: .95rem; color: var(--on-surface-variant); padding-top: .55rem; }
.facts dd { margin: 0; padding: .55rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .facts dt { border-bottom: 1px solid var(--line); padding: .55rem 0; } }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
.care-symbols { display: flex; flex-wrap: wrap; gap: var(--sp-md); margin: 0 0 var(--sp-md); }
.care-symbols div { display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: .78rem; color: var(--on-surface-variant); width: 4.6rem; text-align: center; }
.care-symbols svg { width: 2.4rem; height: 2.4rem; color: var(--on-surface); }

/* Produktübersicht */
.product-tile { background: var(--surface-variant); border-radius: var(--r-md); padding: var(--sp-md); display: flex; flex-direction: column; }
.product-tile .card__media { aspect-ratio: 4/3; }
.product-tile h3 { margin-bottom: .3rem; }
.product-tile .price { font-size: 1.35rem; margin-top: auto; padding-top: var(--sp-sm); }
.accessory { background: var(--surface-low); border-radius: var(--r-md); padding: var(--sp-md); display: flex; flex-direction: column; gap: .5rem; }
.accessory h3 { font-size: 1.2rem; margin: 0; }
.accessory .price { font-size: 1.35rem; }

/* Stoffe-Übersicht */
.fabric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: var(--sp-md); }
.fabric { background: var(--surface-low); border-radius: var(--r); padding: .6rem; text-align: center; }
.fabric__chip { aspect-ratio: 1; border-radius: var(--r-sm); background-color: var(--sw); background-image: radial-gradient(var(--sw2) 1.5px, transparent 2px); background-size: 12px 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); margin-bottom: .5rem; position: relative; overflow: hidden; }
.fabric__chip img { width: 100%; height: 100%; object-fit: cover; }
.fabric--placeholder .fabric__chip::after { content: "Foto folgt"; position: absolute; inset: auto 0 0 0; font-size: .7rem; background: rgba(255,255,255,.8); padding: .15rem 0; }
.fabric strong { display: block; font-size: .92rem; font-weight: 600; }
.fabric span { display: block; font-size: .8rem; color: var(--on-surface-variant); }

/* ---------- Ratgeber ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.2rem 1rem 0; font-family: var(--font-head); font-size: 1.25rem; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .85rem; font-size: 1.6rem; line-height: 1; color: var(--secondary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 0 1.2rem; max-width: 62ch; }
.faq__body p { margin-bottom: .8em; }
.faq__link { font-size: .95rem; }
.toc { list-style: none; padding: 0; margin: 0 0 var(--sp-lg); display: flex; flex-wrap: wrap; gap: .5rem; }
.toc a { display: inline-block; padding: .4rem .9rem; border-radius: 999px; background: var(--surface-variant); text-decoration: none; color: var(--on-surface); font-weight: 500; font-size: .95rem; }
.toc a:hover { background: var(--surface-high); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: var(--sp-md); }
.form__row { display: grid; gap: var(--sp-md); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: 1fr 2fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--on-surface-variant); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { width: 100%; font: inherit; color: var(--on-surface); background: var(--surface); border: 1px solid rgba(36,25,17,.22); border-radius: var(--r); padding: .7rem .85rem; min-height: 3rem; }
textarea { min-height: 7.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border: 1.5px solid var(--primary); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--primary); flex: none; }
.form__note { font-size: .9rem; color: var(--on-surface-variant); }
.order-items { display: grid; gap: var(--sp-sm); }
.order-item { background: var(--surface-low); border-radius: var(--r); padding: var(--sp-sm) var(--sp-md); display: grid; gap: var(--sp-sm); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 720px) { .order-item { grid-template-columns: 2fr 2fr 1fr auto; } }
.order-item .btn { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; }
.form-success { background: var(--primary-fixed); color: #2f3d25; border-radius: var(--r); padding: var(--sp-md); }

/* ---------- Über mich / Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--outline-variant); }
.timeline li { position: relative; padding: 0 0 var(--sp-md) var(--sp-md); margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--secondary); }
.timeline time { display: block; font-weight: 600; color: var(--secondary); font-size: .9rem; letter-spacing: .04em; }
.pull-quote { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; font-style: italic; color: var(--on-surface); max-width: 36ch; }
.pull-quote::before { content: "„"; } .pull-quote::after { content: "“"; }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 1.5rem; margin-top: var(--sp-lg); }
.legal h3 { font-size: 1.2rem; }
.legal .box { background: var(--surface-low); border-radius: var(--r); padding: var(--sp-md); margin: var(--sp-md) 0; }
.pruefen { background: #fff4dc; border-left: 3px solid var(--secondary); padding: .5rem .8rem; border-radius: var(--r-sm); font-size: .92rem; }
.note { background: var(--surface-low); border-radius: var(--r); padding: var(--sp-sm) var(--sp-md); font-size: .95rem; }

/* ---------- Abschluss-CTA ---------- */
.cta-final { text-align: center; }
.cta-final > .wrap > svg { width: 2rem; height: 2rem; color: var(--secondary); margin: 0 auto var(--sp-md); }
.cta-final h2 { margin-bottom: var(--sp-lg); }
.cta-final .trust { justify-content: center; margin-top: var(--sp-md); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-low); padding: var(--sp-xl) 0 var(--sp-lg); margin-top: var(--sp-lg); }
.site-footer .divider { padding-top: 0; }
.footer-grid { display: grid; gap: var(--sp-lg); grid-template-columns: 1fr; margin-bottom: var(--sp-lg); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: var(--sp-sm); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--on-surface-variant); text-decoration: none; }
.site-footer a:hover { color: var(--on-surface); }
.site-footer address { font-style: normal; color: var(--on-surface-variant); font-size: .98rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: var(--sp-md); font-size: .88rem; color: var(--on-surface-variant); display: flex; flex-wrap: wrap; gap: .5rem var(--sp-md); justify-content: space-between; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .3rem var(--sp-sm); }

/* ---------- KI-Kennzeichnung (Art. 50 KI-Verordnung) ---------- */
.figure, .card__media, .gallery__main, .event__img, .hero { position: relative; }
.ki-badge { position: absolute; right: .6rem; bottom: .6rem; z-index: 3; font-size: .72rem; font-weight: 600; letter-spacing: .04em; line-height: 1; padding: .35rem .6rem; border-radius: 999px; background: rgba(36, 25, 17, .72); color: #fff8f5; pointer-events: none; white-space: nowrap; }
.ki-badge--hero { right: auto; left: var(--margin); bottom: 1rem; }

/* ---------- Hilfsklassen ---------- */
.mt-0 { margin-top: 0 !important; } .mt-sm { margin-top: var(--sp-sm); } .mt-md { margin-top: var(--sp-md); } .mt-lg { margin-top: var(--sp-lg); }
.mb-0 { margin-bottom: 0 !important; } .mb-sm { margin-bottom: var(--sp-sm); } .mb-md { margin-bottom: var(--sp-md); } .mb-lg { margin-bottom: var(--sp-lg); }
.muted { color: var(--on-surface-variant); }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
