/* Quendel — concept study 04 "Handwerk & Natur": an apothecary / slow-craft language. Own design system, nothing
   shared with other concepts: kraft paper with fibres, deep moss fields with torn edges, register tabs, arch-topped
   windows, an open recipe book, hand-drawn ink illustrations, a herbarium label, Young Serif + Alegreya Sans + Kalam. */

@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("../fonts/kalam-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #efe4cc;
  --card: #fbf5e7;
  --kraft: #e3cfa5;
  --moss: #2f3b24;
  --moss-2: #435230;
  --on-moss: #f1e8d2;
  --on-moss-soft: #cfcaa9;
  --ink: #3a2618;
  --muted: #65503f;
  --clay: #9e4326;
  --honey: #e2a73c;
  --rule: rgb(47 59 36 / 0.16);
  --tex: url("../img/papier.svg");
  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", system-ui, sans-serif;
  --hand: "Kalam", "Bradley Hand", "Segoe Print", cursive;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1240px;
  --blob: 26px 18px 30px 16px / 18px 28px 16px 30px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* KI entry points stay invisible until the KI-Service shows them */
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tex), var(--paper); font: 400 18.5px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
:focus-visible { outline: 2px dashed var(--clay); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 30; padding: 10px 16px; background: var(--moss); color: var(--on-moss); }
.skip:focus { left: 16px; }
.hand { font-family: var(--hand); font-weight: 400; line-height: 1.35; }
.klein { font-size: 15px; color: var(--muted); }
.drawing { display: block; stroke-width: 1.5; }
.drawing circle { fill: none; }

/* links, buttons */
.strich { display: inline-block; padding: 10px 2px 8px; text-decoration: none; font-weight: 700; color: var(--ink); background: url("../img/strich.svg") left bottom / 100% 8px no-repeat; }
.strich:hover { color: var(--clay); }
.knopf {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border-radius: var(--blob); background: var(--moss); color: var(--on-moss); font: 700 17.5px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
}
.knopf::after { content: ""; position: absolute; inset: -5px -4px -4px -6px; border: 1.5px solid var(--moss); border-radius: 18px 30px 16px 28px / 28px 16px 30px 18px; pointer-events: none; transition: transform 0.4s; }
.knopf:hover::after { transform: rotate(-1.5deg); }
.frage, .zettel-frage {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 2px; border: 0; background: none; cursor: pointer;
  font: 400 18px/1.2 var(--hand); color: var(--clay);
}
.frage span, .zettel-frage span { text-decoration: underline wavy rgb(158 67 38 / 0.55); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.frage::before { content: "?"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1.5px solid currentColor; border-radius: 52% 48% 50% 50%; font: 400 15px/1 var(--serif); }
.frage:hover, .zettel-frage:hover { color: var(--ink); }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- head: moss binder with register tabs ---------- */
.kopf { background: var(--tex), var(--moss); color: var(--on-moss); }
.kopf-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 14px; }
.marke { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-decoration: none; color: var(--on-moss); }
.marke img { grid-row: 1 / 3; width: 34px; min-width: 34px; height: 34px; }
.marke-name { font: 400 31px/1 var(--serif); letter-spacing: -0.01em; }
.marke-sub { height: 18px; font: 400 14px/18px var(--hand); color: var(--on-moss-soft); white-space: nowrap; }
.kopf-info { margin-left: auto; text-align: right; font-size: 15px; line-height: 1.4; color: var(--on-moss-soft); }
.kopf-info a { color: var(--on-moss); text-decoration: none; }
.kopf-cta { display: inline-flex; flex: none; align-items: center; height: 44px; padding: 0 20px; white-space: nowrap; line-height: 1; border: 1.5px solid var(--on-moss); border-radius: var(--blob); color: var(--on-moss); font-weight: 700; text-decoration: none; }
.kopf-cta:hover { background: var(--on-moss); color: var(--moss); }
.reiter { display: flex; align-items: flex-end; gap: 6px; max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 0; }
.reiter a {
  position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 8px 26px 6px; margin-bottom: -1px;
  border-radius: 18px 22px 0 0 / 16px 20px 0 0; color: var(--ink); font: 400 19px/1 var(--serif); text-decoration: none;
}
.reiter-1 { background: #d6c59c; } .reiter-2 { background: #ddb467; } .reiter-3 { background: #c98f6f; }
.reiter a:hover { transform: translateY(-3px); }
.reiter a[aria-current="page"] { min-height: 54px; background: var(--tex), var(--paper); transform: none; }
.reiter a[aria-current="page"]::before { content: ""; position: absolute; left: 50%; top: 9px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--clay); }
@media (max-width: 760px) {
  .kopf-in { padding: 14px var(--gutter) 10px; }
  .kopf-info { display: none; }
  .marke-name { font-size: 27px; }
  .marke-sub { font-size: 12.5px; }
  .kopf-cta { padding: 0 14px; font-size: 15.5px; }
  .reiter { gap: 5px; padding-top: 4px; }
  .reiter a { flex: 1; justify-content: center; padding: 8px 6px 6px; font-size: 17px; }
}
@media (max-width: 360px) {
  .marke-sub { display: none; }
  /* the logo sprig keeps its 34 px — the name and the gaps give way instead */
  .kopf-in { column-gap: 12px; }
  .marke { column-gap: 8px; }
  .marke-name { font-size: 24px; }
}

/* ---------- coloured fields with torn edges ---------- */
.feld { position: relative; }
.feld--moos { background: var(--tex), var(--moss); color: var(--on-moss); }
.feld--kraft { background: var(--tex), var(--kraft); }
.feld::before, .feld::after { content: ""; position: absolute; left: 0; right: 0; height: 18px; background: 0 0 / 100% 100% no-repeat; pointer-events: none; }
.feld::before { top: -17px; }
.feld::after { bottom: -17px; transform: scaleY(-1); z-index: 1; }
.feld--moos::before, .feld--moos::after { background-image: url("../img/kante-moos.svg"); }
.feld--kraft::before, .feld--kraft::after { background-image: url("../img/kante-kraft.svg"); }
.fuss::after { display: none; }

/* ---------- home: the opening ---------- */
.auftakt { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(40px, 6vw, 72px); text-align: center; }
.auftakt-text { max-width: 820px; margin: 0 auto; }
.auftakt-zweig { width: clamp(54px, 6vw, 76px); height: auto; margin: 0 auto 6px; color: var(--moss); }
.auftakt-ort { font-size: clamp(16px, 1.4vw, 19px); color: var(--clay); }
.auftakt h1 { margin-top: 8px; font-size: clamp(42px, 6.4vw, 88px); line-height: 1.02; }
.auftakt h1 span { display: block; color: var(--moss); }
.auftakt-lede { max-width: 38em; margin: 18px auto 0; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }
.auftakt .aktionen { justify-content: center; margin-top: 26px; }
@media (max-width: 480px) { .auftakt .aktionen { flex-direction: column; gap: 6px; } } /* stable while the web fonts swap in */
.boegen { display: grid; grid-template-columns: 0.8fr 1fr 0.8fr; align-items: end; gap: clamp(14px, 3.4vw, 56px); max-width: 1060px; margin: clamp(40px, 5vw, 64px) auto 0; }
.bogen { position: relative; margin: 0; }
.bogen img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 999px 999px 6px 6px; outline: 1.5px solid rgb(58 38 24 / 0.5); outline-offset: 7px; }
.boegen .bogen--2 img { aspect-ratio: 5 / 6.4; }
.boegen .bogen--1, .boegen .bogen--3 { margin-bottom: clamp(20px, 4vw, 56px); }
.notiz { position: absolute; display: flex; align-items: flex-start; gap: 4px; width: max-content; max-width: 15ch; font: 400 clamp(16px, 1.35vw, 19px)/1.25 var(--hand); color: var(--clay); text-align: left; }
.notiz .arrow { flex: none; width: 58px; height: 44px; }
.notiz--1 { left: -6%; top: -20%; flex-direction: row-reverse; }
.notiz--1 .arrow { margin-top: 18px; }
.boegen { padding-bottom: 3em; }
.notiz--2 { left: 50%; bottom: -3.1em; transform: translateX(-50%); align-items: center; max-width: none; white-space: nowrap; }
.notiz--2 .arrow { width: 40px; height: 34px; transform: scaleX(-1) rotate(-12deg); }
.notiz--3 { right: -8%; top: -22%; }
.notiz--3 .arrow { margin-top: 16px; }
/* narrower than the annotations need: they become captions under the arches */
@media (max-width: 1180px) {
  .boegen { padding-bottom: 8px; }
  .notiz { position: static; justify-content: center; margin-top: 16px; max-width: none; width: auto; text-align: center; white-space: normal; }
  .notiz--2 { transform: none; }
  .notiz .arrow { display: none; }
}
@media (max-width: 700px) {
  .boegen { gap: 14px; margin-top: 36px; }
  .bogen img { outline-offset: 4px; }
  .notiz { margin-top: 12px; font-size: 14.5px; }
  .boegen .bogen--1, .boegen .bogen--3 { margin-bottom: 26px; }
}

/* hand-drawn wave rule */
.welle-wrap { max-width: 520px; margin: 0 auto; padding: 8px var(--gutter) 40px; color: var(--clay); }
.wave { display: block; width: 100%; height: 20px; }

/* the sprig draws itself — only with motion allowed */
@media (prefers-reduced-motion: no-preference) {
  .auftakt-zweig .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichnen 2.6s cubic-bezier(0.45, 0, 0.2, 1) 0.2s forwards; }
  .auftakt-zweig .draw path:nth-child(n + 4) { animation-duration: 1.2s; animation-delay: 1.2s; }
  .auftakt-zweig .tufts { opacity: 0; animation: tupfen 0.8s ease 2.4s forwards; }
  @keyframes zeichnen { to { stroke-dashoffset: 0; } }
  @keyframes tupfen { to { opacity: 1; } }
}

/* ---------- the workbench (moss) ---------- */
.werkbank { margin-top: 20px; }
.werkbank-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter); }
.werkbank-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 8px 8px; }
.werkbank-bild figcaption { margin-top: 14px; font-size: 18px; color: var(--on-moss-soft); }
.werkbank-zeichnung { width: 110px; margin-bottom: 18px; color: var(--honey); }
.werkbank h2 { font-size: clamp(36px, 4.4vw, 60px); }
.werkbank-text p { margin-top: 18px; max-width: 36em; color: var(--on-moss-soft); }
.stempel { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.stempel li { display: grid; place-items: center; width: 118px; height: 118px; padding: 14px; border: 1.5px dashed var(--honey); border-radius: 50%; outline: 1.5px solid var(--honey); outline-offset: 4px; color: var(--honey); font: 400 18px/1.15 var(--hand); text-align: center; }
.stempel li:nth-child(2) { transform: rotate(-6deg); }
.stempel li:nth-child(3) { transform: rotate(5deg); }
@media (max-width: 860px) { .werkbank-in { grid-template-columns: 1fr; } .werkbank-bild img { aspect-ratio: 4 / 3.4; } }
@media (max-width: 420px) { .stempel li { width: 100px; height: 100px; font-size: 16px; } }

/* ---------- recipe cards ---------- */
.rezepte { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--gutter) clamp(56px, 8vw, 100px); }
.rezepte--gruppe { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 48px); }
.kopfzeile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; margin-bottom: clamp(28px, 4vw, 48px); }
.kopfzeile h2 { font-size: clamp(34px, 4.2vw, 58px); }
.kopfzeile .hand { font-size: clamp(18px, 1.6vw, 22px); color: var(--clay); }
/* the open recipe book: two pages and a fold; one long page on the phone */
.buch {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1140px; margin: 0 auto; border-radius: 5px; background: var(--tex), var(--card);
  box-shadow: -3px 3px 0 -1px #f4ead5, -6px 6px 0 -2px #e8dabd, -9px 9px 0 -3px #d9c7a2, 3px 3px 0 -1px #f4ead5, 6px 6px 0 -2px #e8dabd, 9px 9px 0 -3px #d9c7a2, 0 44px 50px -36px rgb(58 38 24 / 0.7);
}
.buch::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 96px; margin-left: -48px; pointer-events: none; background: linear-gradient(to right, rgb(58 38 24 / 0), rgb(58 38 24 / 0.09) 40%, rgb(58 38 24 / 0.24) 50%, rgb(58 38 24 / 0.09) 60%, rgb(58 38 24 / 0)); }
.buch-seite { position: relative; display: flex; flex-direction: column; gap: clamp(28px, 3vw, 38px); min-width: 0; padding: clamp(34px, 4vw, 54px) clamp(24px, 4vw, 58px) 70px; }
.buch-fuss { position: absolute; bottom: 24px; font: 400 16px/1 var(--hand); color: var(--muted); }
.buch-seite--links .buch-fuss { left: clamp(24px, 4vw, 58px); }
.buch-seite--rechts .buch-fuss { right: clamp(24px, 4vw, 58px); }
.seite-kopf { padding-bottom: 8px; }
.seite-kopf h2 { font-size: clamp(32px, 3.4vw, 46px); }
.seite-kopf .hand { margin-top: 6px; font-size: 19px; line-height: 1.35; color: var(--clay); }
.rezept + .rezept { padding-top: clamp(26px, 3vw, 36px); border-top: 1.5px dashed rgb(58 38 24 / 0.28); }
.rezept-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.rezept-nr { font: 400 17px/1 var(--hand); color: var(--clay); }
.rezept-name { font-size: clamp(30px, 2.7vw, 38px); }
.rezept-stempel { padding: 2px 10px; border: 1.5px solid var(--clay); border-radius: 4px; color: var(--clay); font: 400 14.5px/1.3 var(--hand); transform: rotate(-3deg); }
.rezept-unter { margin-top: 4px; font-size: 16.5px; line-height: 1.4; color: var(--muted); }
.rezept-koerper { display: grid; grid-template-columns: minmax(140px, 0.75fr) minmax(0, 1.4fr); gap: 16px clamp(16px, 2vw, 28px); margin-top: 18px; }
.rezept-rand { padding-right: clamp(12px, 1.6vw, 22px); border-right: 1px solid var(--rule); }
.rezept-label { margin-bottom: 4px; font: 400 16px/1.2 var(--hand); color: var(--clay); }
.zutaten { margin: 6px 0 0; padding: 0; list-style: none; }
.zutaten li { display: flex; align-items: center; gap: 10px; min-height: 36px; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.2; }
.zutaten .ico { flex: none; width: 26px; height: 26px; color: var(--moss); }
.rezept-text > p:first-child { font-size: 17px; line-height: 1.55; color: var(--muted); }
.rezept-mass { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-top: 14px; }
.rezept-dauer { font: 400 18px/1 var(--hand); color: var(--muted); }
.rezept-preis { padding-bottom: 6px; font: 400 31px/1 var(--hand); color: var(--clay); white-space: nowrap; background: url("../img/strich.svg") left bottom / 100% 7px no-repeat; }
.rezept-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; margin-top: 8px; }
@media (max-width: 1120px) {
  .rezept-koerper { grid-template-columns: 1fr; }
  .rezept-rand { padding: 0; border: 0; }
  .rezept .zutaten { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .rezept .zutaten li { border: 0; min-height: 34px; }
}
@media (max-width: 860px) {
  .buch { grid-template-columns: 1fr; box-shadow: -3px 3px 0 -1px #f4ead5, -6px 6px 0 -2px #e8dabd, 3px 3px 0 -1px #f4ead5, 6px 6px 0 -2px #e8dabd, 0 34px 40px -30px rgb(58 38 24 / 0.6); }
  .buch::before { display: none; }
  .buch-seite--links { border-bottom: 1.5px dashed rgb(58 38 24 / 0.3); }
}
.rezepte-mehr { margin-top: clamp(36px, 5vw, 56px); text-align: center; }
.rezepte .klein { margin-top: 8px; text-align: center; }

/* ---------- the six ingredients (kraft) ---------- */
.kunde { margin-top: 26px; }
.kunde-in { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 110px) var(--gutter); }
.frag-uns { max-width: 760px; margin: -8px 0 clamp(32px, 4vw, 48px); padding: 22px 26px 24px; background: var(--card); border-left: 4px solid var(--moss); box-shadow: 0 16px 28px -24px rgb(58 38 24 / 0.6); }
.frag-titel { font: 400 clamp(24px, 2.4vw, 30px)/1.15 var(--serif); color: var(--moss); }
.frag-uns p + p { margin-top: 10px; color: var(--muted); }
.kunde-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.kunde-eintrag { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 18px; align-items: start; }
.kunde-zeichnung { grid-row: 1 / 4; width: 96px; height: 124px; color: var(--moss); }
.kunde-eintrag h3 { font-size: 27px; padding-top: 14px; }
.kunde-eintrag .hand { margin-top: 2px; font-size: 18px; color: var(--muted); }
.zettel-frage { align-self: start; justify-self: start; margin-top: 4px; font-size: 17px; }
.kunde-mehr { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) { .kunde-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .kunde-liste { grid-template-columns: 1fr; gap: 18px; }
  .kunde-eintrag { grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; }
  .kunde-zeichnung { width: 72px; height: 94px; }
  .kunde-eintrag h3 { font-size: 24px; padding-top: 8px; }
}

/* ---------- visit teaser ---------- */
.besuch-kurz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter) clamp(80px, 10vw, 130px); }
.besuch-kurz h2 { font-size: clamp(36px, 4.4vw, 60px); }
.adresse { margin-top: 20px; font: 400 clamp(22px, 2vw, 27px)/1.3 var(--serif); font-style: normal; }
.zeiten { margin: 22px 0 0; max-width: 360px; }
.zeiten div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px dashed rgb(58 38 24 / 0.28); }
.zeiten dt { font: 400 18px/1.4 var(--hand); color: var(--clay); }
.zeiten dd { font-variant-numeric: tabular-nums; }
.besuch-kurz .klein { margin-top: 10px; }
.besuch-kurz .aktionen { margin-top: 28px; }
.besuch-skizze { padding: clamp(18px, 3vw, 34px); background: var(--card); box-shadow: 0 20px 36px -26px rgb(58 38 24 / 0.6); transform: rotate(1.2deg); }
.map { width: 100%; height: auto; color: var(--ink); }
.map-label { fill: var(--ink); stroke: none; font: 400 17px var(--hand); }
.map-label--door { fill: var(--clay); }
.map-dash path { stroke: var(--clay); stroke-dasharray: 2 7; }
@media (max-width: 860px) { .besuch-kurz { grid-template-columns: 1fr; } .besuch-skizze { transform: none; } }

/* ---------- footer ---------- */
.fuss { margin-top: 30px; }
.fuss-in { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter) 36px; }
.herbar { display: grid; grid-template-columns: auto minmax(0, 580px); justify-content: start; align-items: end; gap: clamp(8px, 2vw, 24px); }
.herbar-zweig { width: clamp(90px, 13vw, 190px); height: auto; margin-bottom: -10px; color: var(--on-moss); transform: rotate(-12deg); }
.etikett { padding: 18px 24px 20px; background: var(--tex), var(--card); color: var(--ink); box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 5px rgb(58 38 24 / 0.4), 0 22px 30px -22px rgb(0 0 0 / 0.7); transform: rotate(-1.2deg); }
.etikett-kopf { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0 10px; border-bottom: 1px solid var(--rule); font: 700 12.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.etikett-name { margin-top: 14px; font: 400 clamp(42px, 5vw, 66px)/1 var(--serif); color: var(--moss); }
.etikett-latein { margin-top: 6px; font: 400 19px/1.3 var(--hand); color: var(--clay); }
.etikett-daten { display: grid; margin: 14px 0 0; }
.etikett-daten div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 6px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.4; }
.etikett-daten dt { font: 400 15.5px/1.45 var(--hand); color: var(--clay); }
.etikett-daten dd { margin: 0; overflow-wrap: anywhere; }
.etikett a { color: var(--ink); }
@media (max-width: 640px) { .herbar { grid-template-columns: 1fr; justify-items: start; } .herbar-zweig { width: 64px; } .etikett { transform: none; width: 100%; } }
.fuss-spalten { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 48px; margin-top: 36px; padding-top: 24px; border-top: 1px dashed rgb(241 232 210 / 0.35); font-size: 16px; color: var(--on-moss-soft); }
.fuss-spalten a { color: var(--on-moss); }
.fuss-spalten nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.fuss-spalten nav a { padding: 6px 0; text-decoration: none; }
.fuss-spalten nav a:hover { text-decoration: underline; }
@media (max-width: 800px) { .fuss-spalten { grid-template-columns: 1fr; } }

/* ---------- sub pages ---------- */
.seitenkopf { max-width: 900px; margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(24px, 4vw, 48px); text-align: center; }
.seitenkopf h1 { font-size: clamp(46px, 6.6vw, 92px); }
.seitenkopf-zeichnung { width: clamp(70px, 8vw, 104px); margin: 0 auto 10px; color: var(--clay); }
.inhalt { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 26px; }
.inhalt a { padding: 8px 2px; font-size: 19px; color: var(--moss); text-decoration: underline wavy rgb(47 59 36 / 0.45); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.gespraech { margin: clamp(40px, 6vw, 80px) 0; }
.gespraech-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 64px; align-items: end; max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter); }
.gespraech .hand { font-size: 20px; color: var(--honey); }
.gespraech h2 { margin-top: 6px; font-size: clamp(34px, 4.2vw, 56px); }
.gespraech p:not(.hand):not(.aktionen) { margin-top: 16px; max-width: 40em; color: var(--on-moss-soft); }
.gespraech .knopf { background: var(--honey); color: var(--ink); }
.gespraech .knopf::after { border-color: var(--honey); }
.frage--hell { color: var(--honey); }
.frage--hell span { text-decoration-color: rgb(226 167 60 / 0.6); }
.frage--hell:hover { color: var(--on-moss); }
@media (max-width: 800px) { .gespraech-in { grid-template-columns: 1fr; } }
.boegen-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(18px, 4vw, 64px); max-width: 1060px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.boegen-band .bogen img { aspect-ratio: 4 / 5; }
.boegen-band .bogen--hoch img { aspect-ratio: 3 / 4.4; }
.boegen-band figcaption { margin-top: 14px; text-align: center; font-size: 18px; color: var(--clay); }
@media (max-width: 700px) {
  .boegen-band { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .boegen-band figcaption { font-size: 14.5px; }
}
.zutatenkunde { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 10vw, 120px); }
.blaetter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.blatt { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 22px; padding: 28px 26px 24px; background: var(--card); box-shadow: 0 18px 30px -24px rgb(58 38 24 / 0.6); }
.blatt::before { content: ""; position: absolute; top: -11px; left: 26px; width: 70px; height: 22px; background: rgb(226 167 60 / 0.55); transform: rotate(-4deg); }
.blatt:nth-child(3n + 2)::before { left: auto; right: 30px; transform: rotate(3deg); background: rgb(201 143 111 / 0.55); }
.blatt-zeichnung { width: 116px; height: 150px; color: var(--moss); }
.blatt h3 { font-size: 30px; }
.blatt p { margin-top: 8px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.blatt .frage { margin-top: 6px; }
@media (max-width: 860px) { .blaetter { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .blatt { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 24px 18px 18px; }
  .blatt-zeichnung { width: 58px; height: 76px; }
  .blatt h3 { font-size: 26px; }
  .zutaten li { font-size: 16.5px; }
  .zutaten .ico { width: 22px; height: 22px; }
}
.gut { margin: 20px 0 10px; }
.gut-in { max-width: 900px; margin: 0 auto; padding: clamp(64px, 9vw, 110px) var(--gutter); }
.gut h2 { font-size: clamp(34px, 4.2vw, 56px); margin-bottom: 26px; }
.notizen div { padding: 18px 0; border-top: 1px dashed rgb(58 38 24 / 0.35); }
.notizen dt { font: 400 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); }
.notizen dd { margin-top: 6px; max-width: 46em; color: var(--muted); }

.seitenkopf--besuch { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; max-width: 1060px; text-align: left; }
.seitenkopf--besuch .auftakt-lede { margin: 18px 0 0; }
.seitenkopf--besuch .bogen img { aspect-ratio: 3 / 4; }
.seitenkopf--besuch figcaption { margin-top: 14px; text-align: center; font-size: 18px; color: var(--clay); }
@media (max-width: 760px) { .seitenkopf--besuch { grid-template-columns: 1fr; } .seitenkopf--besuch .bogen { max-width: 260px; margin: 8px auto 0; } }
.weg { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); max-width: 1060px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(72px, 10vw, 120px); }
.weg h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.weg-skizze { padding: clamp(20px, 3vw, 34px); background: var(--card); box-shadow: 0 20px 36px -26px rgb(58 38 24 / 0.6); }
.weg-tipp { margin-top: 24px; font: 400 19px/1.4 var(--hand); color: var(--clay); }
@media (max-width: 800px) { .weg { grid-template-columns: 1fr; } }
.anfrage { margin-top: 20px; }
.anfrage-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 110px) var(--gutter); }
.anfrage h2 { font-size: clamp(38px, 4.6vw, 64px); }
.anfrage-in > div p { margin-top: 16px; max-width: 34em; color: var(--muted); }
.wege { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.wege li { display: grid; gap: 2px; padding: 16px 22px 18px; background: var(--card); color: var(--ink); filter: drop-shadow(0 10px 12px rgb(58 38 24 / 0.16)); clip-path: polygon(0 3%, 3% 0, 30% 2%, 58% 0, 86% 3%, 100% 0, 99% 50%, 100% 97%, 70% 100%, 40% 97%, 12% 100%, 0 98%, 1% 50%); }
.wege li:nth-child(even) { transform: rotate(-0.8deg); }
.wege .hand { font-size: 17px; color: var(--clay); }
.wege a, .wege button { justify-self: start; min-height: 32px; padding: 0; border: 0; background: none; font: 400 clamp(20px, 2vw, 26px)/1.2 var(--serif); color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; overflow-wrap: anywhere; }
.wege a:hover, .wege button:hover { color: var(--clay); text-decoration: underline wavy; text-underline-offset: 6px; text-decoration-thickness: 1px; }
@media (max-width: 860px) { .anfrage-in { grid-template-columns: 1fr; } }

/* ---------- the KI-Mitarbeiter: a paper note in the middle of the page ---------- */
html.ki-open { overflow: hidden; }
.ki-panel {
  position: fixed; inset: 0; width: min(580px, calc(100vw - 32px)); height: min(740px, calc(100dvh - 40px)); max-width: none; max-height: none; margin: auto; padding: 0;
  border: 0; color: var(--ink); flex-direction: column;
  background: linear-gradient(to right, transparent 46px, rgb(158 67 38 / 0.45) 46px 47.5px, transparent 47.5px), var(--card);
  -webkit-mask: url("../img/zettel.svg") 0 0 / 100% 100%; mask: url("../img/zettel.svg") 0 0 / 100% 100%;
}
.ki-panel[open] { display: flex; }
.ki-panel::backdrop { background: rgb(31 40 22 / 0.62); }
@media (prefers-reduced-motion: no-preference) {
  .ki-panel[open] { animation: zettel 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
  @keyframes zettel { from { opacity: 0; transform: translateY(18px) rotate(-1.2deg); } }
}
.ki-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 18px 10px 60px; }
.ki-who { display: flex; align-items: center; gap: 12px; }
.ki-mark { flex: none; width: 34px; height: 34px; background: url("../img/zweig.svg") center / contain no-repeat; }
.ki-name { font: 400 24px/1.1 var(--hand); color: var(--moss); }
.ki-badge { margin-top: 2px; font-size: 14px; color: var(--muted); }
.ki-close { width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 48% 52% 50% 50%; background: none; font: 400 26px/1 var(--serif); color: var(--ink); cursor: pointer; }
.ki-close:hover { background: var(--ink); color: var(--card); }
.ki-note { padding: 2px 22px 12px 60px; font-size: 14px; line-height: 1.45; color: var(--muted); border-bottom: 1.5px dashed rgb(58 38 24 / 0.3); }
.ki-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 30px 60px; display: flex; flex-direction: column; gap: 30px;
  background: repeating-linear-gradient(to bottom, transparent 0 29px, rgb(73 96 120 / 0.2) 29px 30px) local; }
.ki-msg { line-height: 30px; }
.ki-msg p + p, .ki-msg ul + p { margin-top: 0; }
.ki-msg ul { margin: 0; padding-left: 18px; }
.ki-msg--bot { max-width: 96%; font-size: 17px; padding-top: 6px; }
.ki-msg--bot strong { font-weight: 700; color: var(--moss); }
.ki-msg--user { align-self: flex-end; max-width: 80%; padding-top: 7px; font: 400 20px/30px var(--hand); color: var(--clay); text-align: right; }
.ki-typing { display: flex; gap: 6px; padding: 8px 0; }
.ki-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--moss); animation: ki-tupf 1.1s infinite ease-in-out; }
.ki-typing span:nth-child(2) { animation-delay: 0.15s; }
.ki-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ki-tupf { 0%, 80%, 100% { opacity: 0.2; } 40% { opacity: 1; } }
.ki-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; max-height: 42%; overflow-y: auto; padding: 10px 24px 20px 60px; border-top: 1.5px dashed rgb(58 38 24 / 0.3); }
.ki-chip { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; padding: 8px 0; border: 0; background: none; text-align: left; font: 400 17px/1.3 var(--hand); color: var(--ink); cursor: pointer; }
.ki-chip::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 3px; border: 1.5px solid var(--moss); border-radius: 3px 5px 3px 4px; }
.ki-chip:hover { color: var(--clay); }
.ki-chip:hover::before { background: linear-gradient(45deg, transparent 44%, var(--clay) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--clay) 44% 56%, transparent 56%); }
.ki-form { display: grid; gap: 12px; padding: 18px 20px; background: rgb(227 207 165 / 0.45); border: 1.5px dashed rgb(58 38 24 / 0.35); }
.ki-form-title { font: 400 24px/1.1 var(--serif); }
.ki-form-sub, .ki-form-note { font-size: 14.5px; color: var(--muted); }
.ki-field { display: grid; gap: 0; }
.ki-field label { font: 400 15px/1.3 var(--hand); color: var(--clay); }
.ki-field input, .ki-field select { width: 100%; min-height: 40px; padding: 6px 0; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; font: 400 17px/1.3 var(--sans); color: var(--ink); appearance: none; }
.ki-submit { justify-self: start; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--blob); background: var(--moss); color: var(--on-moss); font: 700 16.5px/1 var(--sans); cursor: pointer; }
.ki-sent { align-self: flex-start; padding: 10px 18px; border: 2px solid var(--clay); border-radius: 50% 46% 52% 48% / 40% 50% 44% 56%; color: var(--clay); transform: rotate(-4deg); text-align: center; }
.ki-sent-title { font: 400 20px/1.2 var(--hand); }
.ki-sent-ref { font-size: 14px; }
.ki-owner { padding: 14px 18px; background: var(--moss); color: var(--on-moss); }
.ki-owner-title { font: 400 16px/1.3 var(--hand); color: var(--honey); }
.ki-owner-card p { margin-top: 3px; font-size: 15.5px; }
.ki-owner-card .ki-owner-via { color: var(--on-moss-soft); font-size: 14px; }
@media (max-width: 640px) {
  .ki-panel { inset: auto 0 0 0; width: 100%; height: min(90dvh, 780px); margin: 0;
    background: linear-gradient(to right, transparent 30px, rgb(158 67 38 / 0.45) 30px 31.5px, transparent 31.5px), var(--card);
    -webkit-mask: url("../img/kante-kraft.svg") 0 0 / 100% 16px no-repeat, linear-gradient(#000, #000) 0 15px / 100% 100% no-repeat;
    mask: url("../img/kante-kraft.svg") 0 0 / 100% 16px no-repeat, linear-gradient(#000, #000) 0 15px / 100% 100% no-repeat; }
  .ki-head { padding: 24px 12px 8px 42px; }
  .ki-name { font-size: 20px; }
  .ki-note { padding: 0 16px 8px 42px; }
  .ki-log { padding: 8px 16px 12px 42px; }
  .ki-chips { grid-template-columns: 1fr; padding: 8px 16px 18px 42px; }
}

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