/* GENUSSRAUM – Variante Familie „Küchentisch-Skizzenbuch“.
   Papier-Creme + Holz-Beige, Grün als einzige Farbe. Handschrift (Caveat), runde Textschrift (Nunito),
   Überschriften Fraunces. Kritzeleien als SVG-Symbole in index.html (per <use>, daher keine Pfad-Animation per CSS). Baut auf ds-classical.css + site.css auf. */

@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url(fonts/caveat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url(fonts/caveat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(fonts/nunito-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url(fonts/nunito-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(fonts/nunito-latin-800-normal.woff2) format("woff2"); }

body.familie {
  --paper: #fbf5ea;
  --paper-2: #f6eddd;
  --wood: #ecdcc2;
  --wood-dark: #c4a77d;
  --green: #3da35d;          /* Kritzeleien, Flächen-Akzente */
  --green-dark: #17703a;     /* Buttons, Text auf Creme (≥ 4.5:1) */
  --green-deep: #1d6b3e;     /* grüne Flächen mit weißem Text */
  --green-soft: #e4f1e3;
  --ink: #2d2a24;
  --hand: "Caveat", "Segoe Print", cursive;
  --color-bg: var(--paper);
  --color-surface: var(--paper-2);
  --color-text: var(--ink);
  --color-accent: var(--green);
  --color-divider: color-mix(in srgb, #2d2a24 14%, transparent);
  --color-accent-100: #eef7ee; --color-accent-200: #d3ead4; --color-accent-300: #9fd0a8; --color-accent-400: #6dba80;
  --color-accent-500: #3da35d; --color-accent-600: #23824a; --color-accent-700: #17703a; --color-accent-800: #125a2e; --color-accent-900: #0b3d1f;
  --color-neutral-700: #59524a; --color-neutral-800: #423c35;
  --link: var(--green-dark);
  --font-body: "Nunito", system-ui, sans-serif;
  font-family: var(--font-body);
  font-size: 17.5px;
  color: var(--ink);
  background-color: var(--paper);
  /* feine Papierstruktur */
  background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.familie h1, .familie h2, .familie h3 { color: var(--ink); }
.hand { font-family: var(--hand); font-weight: 700; }
.hand-eyebrow { margin: 0; font-size: 28px; line-height: 1.1; color: var(--green-dark); transform: rotate(-1.5deg); display: inline-block; }
.hand-light { color: #d8f0d6; }
.familie main h2 { font-weight: 400; letter-spacing: -0.01em; }
.familie main h2 em { font-style: italic; color: var(--green-dark); }

/* Kritzeleien */
.dd { position: absolute; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; pointer-events: none; }

/* Kopfzeile */
.familie .topbar { background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom: 2px dashed color-mix(in srgb, var(--wood-dark) 55%, transparent); margin-bottom: 0; }
.familie .brand, .familie .brand:hover { color: var(--ink); }
.familie .brand-mark { font-family: var(--font-body); font-weight: 800; letter-spacing: 0.18em; }
.familie .brand-sub { color: var(--green-dark); font-weight: 600; }
.familie .topnav-link { color: var(--color-neutral-800); }

/* Buttons: rundes Grün, leicht „aufgeklebt“ */
.familie .btn { font-family: var(--font-body); font-weight: 800; letter-spacing: 0.01em; border-radius: 999px; }
.familie .btn-primary { color: #fff; background: var(--green-dark); border: 2px solid var(--green-dark); box-shadow: 0 4px 0 var(--color-accent-900); transition: transform .12s ease, box-shadow .12s ease; }
.familie .btn-primary:hover { color: #fff; background: var(--color-accent-800); transform: translateY(-1px); box-shadow: 0 5px 0 var(--color-accent-900); }
.familie .btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--color-accent-900); }
.familie .btn-secondary { color: var(--ink); background: #fff; border: 2px solid var(--ink); }

/* Platzhalter */
.familie mark.ph { background: #fde9a8; color: var(--ink); }

/* ================= Hero ================= */
.s-hero { position: relative; overflow: hidden; }
.dd-herb-hero { z-index: 1; }
.s-hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(72px, 8vw, 120px);
  min-height: min(78vh, 760px); box-sizing: border-box; display: flex; align-items: center; }
.s-hero-copy { max-width: 560px; }
/* Hintergrund-Video: rechts das Gerät, links weicher Papier-Verlauf für den Text */
.s-hero-bg { position: absolute; top: 0; bottom: 0; right: 0; left: 40%; z-index: 0; background: #2a2219 url(media/familie-hero-poster.jpg) center / cover no-repeat; }
.s-hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
/* weicher Übergang ins Papier links und unten */
.s-hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 0%, transparent) 18%),
              linear-gradient(0deg, var(--paper) 0%, transparent 12%); }
.s-hero .sticker { right: 6%; top: 8%; }
.hand-kicker { margin: 0; font-size: 26px; color: var(--green-dark); transform: rotate(-2deg); display: inline-block; }
.hand-kicker strong { font-weight: 700; text-decoration: underline wavy color-mix(in srgb, var(--green) 60%, transparent); text-underline-offset: 6px; }
.s-hero h1 { position: relative; margin: 14px 0 0; font-family: var(--font-heading); font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.015em; }
.s-hero h1 em { font-style: italic; color: var(--green-dark); }
.mark-wrap { position: relative; display: inline-block; }
.dd-underline { left: -2%; bottom: -0.18em; width: 104%; height: 0.32em; stroke-width: 4; }
.dd-heart-h1 { width: 0.62em; height: 0.62em; margin-left: 0.15em; position: relative; display: inline-block; vertical-align: top; stroke: #d9534f; transform: rotate(12deg); }
.s-lead { margin: 22px 0 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--color-neutral-800); max-width: 31em; }
.s-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hand-note { position: relative; font-size: 28px; color: var(--green-dark); transform: rotate(-4deg); padding-left: 56px; }
.dd-arrow { left: -6px; top: -26px; width: 64px; height: 40px; transform: scaleX(-1) rotate(10deg); }
.dd-herb-hero { left: -18px; bottom: 8px; width: 120px; height: 120px; opacity: .55; }

.polaroid { position: relative; margin: 0; background: #fff; padding: 12px 12px 10px; border-radius: 4px;
  box-shadow: 0 2px 2px rgba(60, 40, 20, .08), 0 14px 30px -14px rgba(60, 40, 20, .45); }
.polaroid img, .polaroid .photo-ph { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { margin-top: 8px; text-align: center; font-size: 24px; color: var(--ink); line-height: 1.1; }
.tape { position: absolute; width: 92px; height: 26px; background: rgba(236, 220, 194, .78); border: 1px solid rgba(196, 167, 125, .35); box-shadow: 0 1px 2px rgba(0,0,0,.06); z-index: 2; }
.tape-l { left: -18px; top: 10px; transform: rotate(-38deg); }
.tape-r { right: -18px; top: 10px; transform: rotate(38deg); }
.tape-c { left: 50%; top: -12px; transform: translateX(-50%) rotate(-3deg); }
.familie .photo-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px;
  background: repeating-linear-gradient(45deg, var(--paper-2) 0 12px, #f1e6d3 12px 24px); color: var(--color-neutral-800); }
.familie .photo-ph strong { font-family: var(--hand); font-size: 26px; font-weight: 700; color: var(--green-dark); }
.familie .photo-ph span { font-size: 14px; max-width: 26ch; }
.sticker { position: absolute; right: 4%; top: -6px; width: 112px; height: 112px; border-radius: 50%; background: #fde9a8; border: 2px dashed var(--green-dark);
  display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(12deg); box-shadow: 0 8px 18px -10px rgba(60, 40, 20, .5); }
.sticker span { font-family: var(--hand); font-weight: 700; font-size: 28px; line-height: .95; color: var(--green-dark); }

/* ================= Notizzettel ================= */
.s-section { position: relative; }
.notes { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; }
.note { position: relative; background: #fffdf7; padding: 30px 24px 26px; border-radius: 3px;
  background-image: repeating-linear-gradient(180deg, transparent 0 29px, rgba(61, 163, 93, .16) 29px 30px); background-position: 0 58px;
  box-shadow: 0 2px 2px rgba(60, 40, 20, .06), 0 16px 28px -18px rgba(60, 40, 20, .45); }
.note-a { transform: rotate(-1.2deg); } .note-b { transform: rotate(1deg); } .note-c { transform: rotate(-0.6deg); }
.note-time { margin: 0; font-size: 26px; color: #c0504d; }
.note h3 { margin: 6px 0 0; font-family: var(--font-heading); font-weight: 500; font-size: 24px; line-height: 1.2; }
.note p:last-child { margin: 10px 0 0; line-height: 30px; }

/* ================= Grüne Fläche ================= */
.s-green { position: relative; background: var(--green-deep); color: #f3faf2; padding: 24px 0; margin: 40px 0; }
.s-green .wave { position: absolute; left: 0; width: 100%; height: 40px; color: var(--green-deep); }
.wave-top { top: -39px; }
.wave-bottom { bottom: -39px; transform: scaleY(-1); }
.s-green h2, .s-green h3 { color: #fff; }
.s-green main h2 em, .s-green h2 em { color: #bfe6c2; font-style: italic; }
.s-green a { color: #fff; }
.features { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 30px 40px; }
.features li { position: relative; padding-left: 70px; }
.features .ico { position: absolute; left: 0; top: 0; width: 54px; height: 54px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(255, 255, 255, .1); border-radius: 50%; padding: 8px; box-sizing: border-box; }
.features h3 { margin: 4px 0 0; font-family: var(--font-heading); font-weight: 500; font-size: 22px; }
.features p { margin: 6px 0 0; color: #e3f2e1; }
.polaroids { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.tilt-l { transform: rotate(-2.5deg); } .tilt-r { transform: rotate(2deg); } .tilt-l2 { transform: rotate(-1deg); }
.polaroids .polaroid img { background: #1d1916; }
.s-green .small { margin-top: 32px; font-size: 14px; color: #d4ebd2; }

/* ================= Sicherheit ================= */
.s-safety { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.s-safety > div:first-child { position: relative; }
.dd-star-safety { right: 10%; top: 0; width: 46px; height: 46px; stroke: #e0a400; }
.notepad { background: #fffdf7; border-radius: 6px; padding: 28px 28px 22px; border-top: 22px solid var(--green); box-shadow: 0 16px 28px -18px rgba(60, 40, 20, .45);
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(61, 163, 93, .14) 33px 34px); background-position: 0 6px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 4px 0 4px 40px; line-height: 26px; margin-bottom: 8px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 20px; height: 20px; border: 2.5px solid var(--green-dark); border-radius: 5px; transform: rotate(-4deg); }
.checklist li::after { content: ""; position: absolute; left: 9px; top: 6px; width: 9px; height: 15px; border: solid var(--green); border-width: 0 3.5px 3.5px 0; transform: rotate(40deg); }

/* ================= Holz-Abschnitte ================= */
.s-wood { background: var(--wood); border-top: 2px dashed rgba(196, 167, 125, .6); border-bottom: 2px dashed rgba(196, 167, 125, .6); }
.invite { position: relative; max-width: 860px; margin: 0 auto; background: #fffdf7; padding: clamp(28px, 5vw, 56px); border-radius: 10px;
  border: 2px solid var(--green-dark); outline: 2px dashed var(--green); outline-offset: 8px; box-shadow: 0 22px 40px -26px rgba(60, 40, 20, .55); transform: rotate(-0.6deg); }
.invite-hello { margin: 0; font-size: 34px; color: #c0504d; }
.invite h2 { margin-top: 6px; }
.invite-text { max-width: 36em; }
.invite-facts { margin: 22px 0 0; }
.invite-facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--color-divider); align-items: baseline; }
.invite-facts dt { font-size: 26px; color: var(--green-dark); }
.invite-facts dd { margin: 0; }
.dd-steam-invite { right: 28px; top: 18px; width: 60px; height: 60px; opacity: .7; }

/* Schritte */
.s-steps { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 30px; }
.s-steps li { position: relative; }
.s-step-n { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; font-size: 40px; color: var(--green-dark);
  border: 3px solid var(--green); border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; background: #fffdf7; }
.s-steps h3 { margin: 12px 0 0; font-family: var(--font-heading); font-weight: 500; font-size: 23px; }
.s-steps p { margin: 6px 0 0; }

/* Über mich */
.s-about { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.signature { font-size: 32px; color: var(--green-dark); position: relative; display: inline-block; }
.dd-heart-sig { position: relative; display: inline-block; width: 30px; height: 30px; vertical-align: middle; stroke: #d9534f; }

/* FAQ */
.familie .faq summary { font-family: var(--font-heading); font-weight: 500; }
.familie .faq summary::after { color: var(--green-dark); font-family: var(--hand); font-size: 30px; }
.familie .faq details { border-bottom: 2px dashed var(--color-divider); }

/* Anfrage */
.s-request { margin-bottom: 0; padding-bottom: 64px; }
.s-request .wave-bottom { display: none; }
.s-request-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.s-request-intro { position: relative; }
.s-request-intro h2 { margin-top: 8px; }
.s-request-intro p { color: #e3f2e1; }
.dd-heart-req { position: relative; display: block; width: 70px; height: 70px; margin-top: 18px; stroke: #ffb3a7; transform: rotate(-10deg); }
.letter { background: #fffdf7; color: var(--ink); border-radius: 8px; padding: clamp(22px, 4vw, 40px); transform: rotate(0.6deg);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .55);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(61, 163, 93, .12) 31px 32px); }
.letter h3 { color: var(--ink); }
.letter a { color: var(--green-dark); }
.familie .letter .input { background: #fff; border: 2px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 10px; }
.familie .letter .input:focus-visible { border-color: var(--green-dark); }
.familie .field > label { font-weight: 600; color: var(--ink); }
.familie .footer { background: var(--paper); }

/* Mobile CTA-Leiste */
.familie .buybar { background: #fffdf7; border-top: 2px dashed var(--wood-dark); }
.familie .buybar-info span { color: var(--color-neutral-700); }
.familie .buybar-info strong { color: var(--ink); font-family: var(--hand); font-size: 24px; }

@media (max-width: 900px) {
  /* Video oben als Bild, Text darunter auf Papier */
  .s-hero-bg { position: relative; inset: auto; left: auto; aspect-ratio: 16 / 9; }
  .s-hero-bg::after { background: linear-gradient(0deg, var(--paper) 0%, transparent 22%); }
  .s-hero-bg video { object-position: 55% 50%; }
  .s-hero-inner { min-height: 0; padding-top: 4px; }
  .s-hero .sticker { top: -96px; right: 10px; width: 84px; height: 84px; }
  .s-hero .sticker span { font-size: 21px; }
        .s-safety, .s-about, .s-request-inner { grid-template-columns: 1fr; }
  .polaroids { grid-template-columns: 1fr 1fr; }
  .polaroids .polaroid:last-child { grid-column: 1 / -1; width: 70%; justify-self: center; }
}
@media (max-width: 560px) {
  body.familie { font-size: 16.5px; }
  .s-hero-inner { padding-top: 0; }
  .hand-kicker { font-size: 22px; }
  .s-hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .s-lead { font-size: 16.5px; margin-top: 14px; }
  .s-actions { margin-top: 20px; gap: 10px 18px; }
  .hand-note { font-size: 24px; }
  .sticker { width: 88px; height: 88px; right: 2%; top: 0; }
  .sticker span { font-size: 22px; }
  .dd-herb-hero { display: none; }
  .invite-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .invite { outline-offset: 5px; }
}
@media (max-width: 400px) {
  .familie .topbar { gap: 8px; }
  .familie .topbar .btn { font-size: 13px; font-weight: 700; padding: 0 12px; box-shadow: 0 3px 0 var(--color-accent-900); }
  .familie .brand-mark { font-size: 14px; letter-spacing: 0.12em; }
}
@media (max-width: 350px) {
  .familie .topbar { padding: 0 12px; }
  .familie .topbar .btn { font-size: 12.5px; padding: 0 10px; }
  .familie .brand-mark { font-size: 13px; letter-spacing: 0.08em; }
  .familie .brand-sub { font-size: 10px; letter-spacing: 0.06em; }
}
/* Kursive Wörter in Überschriften auf grünen Flächen hell halten (schlägt .familie main h2 em) */
.familie main .s-green h2 em { color: #bfe6c2; }
.polaroid figcaption { overflow-wrap: anywhere; }
.polaroid .portrait { border-radius: 2px; }

/* ================= Rechtsseiten ================= */
.s-legal h1 { margin: 6px 0 0; font-family: var(--font-heading); font-weight: 400; font-size: clamp(36px, 6vw, 60px); line-height: 1.05; hyphens: auto; overflow-wrap: anywhere; }
.legal-sheet { position: relative; margin-top: 28px; background: #fffdf7; border-radius: 6px; padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 2px 2px rgba(60, 40, 20, .06), 0 18px 32px -20px rgba(60, 40, 20, .45);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(61, 163, 93, .10) 31px 32px); }
.legal-sheet h2 { margin: 28px 0 6px; font-family: var(--hand); font-weight: 700; font-size: 30px; color: var(--green-dark); line-height: 1.1; }
.legal-sheet h2:first-of-type { margin-top: 4px; }
.legal-sheet p { margin: 0 0 10px; max-width: 44em; line-height: 1.65; }
.legal-sheet a { color: var(--green-dark); }
.legal-back { margin-top: 28px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.polaroids-2 { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
@media (max-width: 900px) { .polaroids-2 { grid-template-columns: 1fr 1fr; } }
