/* ==========================================================================
   Zauberhaft Marketing – Gestaltungssystem
   Markenblau aus dem Logo (#2D313D), Montserrat, ruhige Flächen.
   ========================================================================== */

:root {
  --ink: #2d313d;            /* Logo-Blau, einheitlich für Text, Linien, Grafiken */
  --ink-90: rgba(45, 49, 61, .9);
  --ink-70: rgba(45, 49, 61, .72);
  --ink-40: rgba(45, 49, 61, .4);
  --ink-15: rgba(45, 49, 61, .15);
  --ink-08: rgba(45, 49, 61, .08);
  --paper: #ffffff;
  --mist: #f4f4f6;           /* hellste Stufe des Logo-Blaus für ruhige Wechselflächen */
  --rose: #f584a4;           /* Liebesbrieftaube (bestehende Akzentfarbe der Website) */
  --rose-deep: #e68aa4;
  --rose-paper: #fddeee;
  --rose-soft: #fac6e3;
  --bg: var(--paper);        /* aktuelle Flächenfarbe – Blinzel-Lider nutzen sie */

  --font-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-magic: cubic-bezier(.34, 1.56, .64, 1);

  --cursor-wand: url('../img/cursor/zauberstab.svg') 2 2, url('../img/cursor/zauberstab.png') 2 2, auto;
  --cursor-wand-hover: url('../img/cursor/zauberstab-funkelnd.svg') 2 2, url('../img/cursor/zauberstab-funkelnd.png') 2 2, pointer;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.72 var(--font-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

/* Zauberstab-Cursor: nur bei feiner Maus, Texteingaben behalten den Textcursor */
@media (hover: hover) and (pointer: fine) {
  html.zauber-an, html.zauber-an body { cursor: var(--cursor-wand); }
  html.zauber-an a, html.zauber-an button, html.zauber-an [role="button"], html.zauber-an label[for],
  html.zauber-an summary, html.zauber-an select, html.zauber-an .is-clickable { cursor: var(--cursor-wand-hover); }
  html.zauber-an input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  html.zauber-an textarea, html.zauber-an [contenteditable] { cursor: text; }
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.7rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 600; }
h1 strong, h2 strong { font-weight: 700; }
p { margin: 0 0 1.1em; color: var(--ink-90); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--ink); }
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font: 400 .78rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-70);
  margin-bottom: 1.4rem;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.zitat {
  font: 400 clamp(1.4rem, 2.6vw, 2.05rem)/1.35 var(--font-head); letter-spacing: -.01em; color: var(--ink);
  margin: 0; max-width: 24ch;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { position: relative; padding: clamp(72px, 11vw, 150px) 0; }
.section--mist { background: var(--mist); --bg: var(--mist); }
.section--ink { background: var(--ink); color: var(--paper); --bg: var(--ink); }
.section--ink p { color: rgba(255, 255, 255, .82); }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--flip > :first-child { order: 2; }
  .split--wide-art { grid-template-columns: .9fr 1.1fr; }
}
.prose { max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.kopf.is-scrolled { border-bottom-color: var(--ink-08); box-shadow: 0 8px 30px -22px var(--ink-40); }
.kopf__inner { display: flex; align-items: center; gap: 20px; height: 78px; }
.kopf__logo { position: relative; display: block; width: 188px; flex: none; }
.kopf__logo img { width: 100%; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; text-decoration: none; font: 500 .9rem/1 var(--font-head); padding: 12px 12px; border-radius: 999px;
  color: var(--ink);
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { margin-left: 8px; color: var(--b-fg); padding: 12px 20px; }
.nav .btn::after { display: none; }
.nav .btn--ghost::after { display: block; }
.schalter-gruppe { display: flex; gap: 6px; margin-left: 8px; }
.schalter {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink-15); background: transparent; color: var(--ink);
  font: 500 .74rem/1 var(--font-head); letter-spacing: .02em; padding: 8px 12px 8px 10px; border-radius: 999px; white-space: nowrap;
  transition: background .3s, border-color .3s;
}
.schalter:hover { border-color: var(--ink-40); }
.schalter svg { width: 18px; height: 18px; flex: none; }
.schalter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.schalter .an { display: none; }
.schalter[aria-pressed="true"] .an { display: inline; }
.schalter[aria-pressed="true"] .aus { display: none; }
.schalter .wellen path { opacity: 0; transition: opacity .3s; }
.schalter[aria-pressed="true"] .wellen path { opacity: 1; }

/* Sprachwahl DE · EN · PL */
.sprachwahl { display: inline-flex; align-items: center; gap: 2px; font: 500 .74rem/1 var(--font-head); letter-spacing: .06em; }
.sprachwahl a { text-decoration: none; color: inherit; opacity: .62; padding: 6px 5px; border-radius: 999px; transition: opacity .25s; }
.sprachwahl a:hover, .sprachwahl a[aria-current="page"] { opacity: 1; }
.sprachwahl a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.nav .sprachwahl { margin-left: 6px; }
.nav .sprachwahl a { font: inherit; padding: 6px 3px; }
@media (min-width: 1341px) { .nav a { padding: 12px 10px; } .nav .btn { padding: 12px 18px; } }
.nav .sprachwahl a::after { display: none; }
.nur-de { font: 500 .52rem/1 var(--font-head); letter-spacing: .04em; margin-left: 3px; vertical-align: super; opacity: .7; }
.hinweis-sprache { font-size: .84rem; opacity: .75; margin-top: 10px; }
.fehler-sprachen { margin-top: 18px; font-size: .93rem; opacity: .85; }

.menue-knopf { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--ink-15); border-radius: 50%; background: transparent; color: var(--ink); }
.menue-knopf span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .4s var(--ease-out), opacity .3s; }
.menue-offen .menue-knopf span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menue-offen .menue-knopf span:nth-child(2) { opacity: 0; }
.menue-offen .menue-knopf span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .schalter .lang { display: none; }
}
@media (max-width: 920px) {
  .kopf__inner { height: 68px; }
  .kopf__logo { width: 150px; }
  .menue-knopf { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 10px var(--gutter) 28px; border-bottom: 1px solid var(--ink-08);
    transform-origin: top; transform: perspective(900px) rotateX(-88deg); opacity: 0; visibility: hidden;
    transition: transform .6s var(--ease-out), opacity .35s, visibility 0s .6s;
    box-shadow: 0 30px 40px -30px var(--ink-40);
  }
  .menue-offen .nav { transform: none; opacity: 1; visibility: visible; transition: transform .7s var(--ease-magic), opacity .3s; }
  .nav a { padding: 16px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--ink-08); }
  .nav a::after { display: none; }
  .nav .btn { margin: 18px 0 0; justify-content: center; border-radius: 999px; border-bottom: 0; }
  .schalter-gruppe { margin: 18px 0 0; flex-wrap: wrap; }
  .schalter .lang { display: inline; }
  .nav .sprachwahl { margin: 18px 0 0; gap: 6px; font-size: .95rem; }
  .nav .sprachwahl a { padding: 8px 10px; border: 1px solid var(--ink-15); border-bottom: 1px solid var(--ink-15); }
}

/* ---------- Schaltflächen ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--paper);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .7em;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--b-bg); color: var(--b-fg); text-decoration: none;
  font: 500 .95rem/1 var(--font-head); letter-spacing: .01em;
  transition: transform .5s var(--ease-magic), box-shadow .4s, color .4s;
}
.btn .stern { width: 14px; height: 14px; flex: none; transition: transform .7s var(--ease-magic); }
.btn::before { /* Lichtreflex, der über den Knopf gleitet */
  content: ''; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg); transition: left .9s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px var(--ink); }
.btn:hover::before { left: 120%; }
.btn:hover .stern { transform: rotate(144deg) scale(1.15); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); }
.btn--ghost::after { /* Tinte füllt sich von unten */
  content: ''; position: absolute; inset: 0; z-index: -2; background: var(--ink);
  transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease-out);
}
.btn--ghost::before { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .2), transparent); }
.btn--ghost:hover { color: var(--paper); }
.btn--ghost:hover::after { transform: translateY(0); }
.btn--light { --b-bg: var(--paper); --b-fg: var(--ink); border-color: var(--paper); }
.btn--light::before { background: linear-gradient(100deg, transparent, rgba(45, 49, 61, .12), transparent); }
.btn--rose { --b-bg: var(--rose); --b-fg: #fff; border-color: var(--rose); }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.textlink {
  display: inline-flex; align-items: center; gap: .5em; font: 500 .95rem/1.3 var(--font-head); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px;
  transition: background-size .5s var(--ease-out);
}
.textlink:hover { background-size: 0 1px; background-position: 100% 100%; }
.textlink svg { width: 18px; transition: transform .5s var(--ease-magic); }
.textlink:hover svg { transform: translateX(5px); }

/* ---------- Leistungskarten ---------- */
.karten { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: 1fr; margin-top: clamp(40px, 6vw, 70px); }
@media (min-width: 820px) { .karten { grid-template-columns: repeat(3, 1fr); } }
.karte {
  position: relative; display: flex; flex-direction: column; padding: 28px 28px 30px; border-radius: var(--radius);
  background: var(--paper); text-decoration: none; color: var(--ink); isolation: isolate;
  transition: transform .7s var(--ease-magic), box-shadow .6s var(--ease-out);
  box-shadow: 0 1px 0 var(--ink-08), 0 0 0 1px var(--ink-08);
}
.karte:hover, .karte:focus-visible { transform: translateY(-3px); box-shadow: 0 28px 50px -34px var(--ink), 0 0 0 1px var(--ink-15); }
.karte__rahmen { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.karte__rahmen rect { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 1.3s var(--ease-out); }
.karte:hover .karte__rahmen rect, .karte:focus-visible .karte__rahmen rect { stroke-dashoffset: 0; }
.karte__bild { aspect-ratio: 4 / 3; display: grid; place-items: center; margin: -6px -6px 18px; }
.karte__bild .motiv { width: 100%; }
/* Bild füllt die 4:3-Fläche der Karte so weit, wie es hineinpasst – hohe Motive werden nie größer als die Fläche */
@supports (container-type: size) { .karte__bild { container-type: size; } .karte__bild .motiv { width: min(100cqw, 100cqh * var(--ar, 1)); } }
.karte h3 { margin-bottom: .4em; }
.karte h3 small { display: block; font: 500 .72rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-70); margin-bottom: .7em; }
.karte p { font-size: .97rem; }
.karte .textlink { margin-top: auto; align-self: flex-start; }

/* ---------- Taube (SVG) ---------- */
.taube-svg .line { fill: none; stroke: var(--ink); stroke-width: var(--sw, 2.4); stroke-linecap: round; stroke-linejoin: round; }
.taube-svg .fill { fill: var(--dove-fill, #fff); stroke: none; }
.taube-svg .full { fill: var(--dove-fill, #fff); stroke: var(--ink); stroke-width: var(--sw, 2.4); stroke-linejoin: round; stroke-linecap: round; }
.taube-svg .ink { fill: var(--ink); }
.taube-svg .hi { fill: #fff; }
.taube-svg .g-auge { transform-box: fill-box; transform-origin: 50% 50%; }
.taube-svg .g-auge.zu { transform: scaleY(.12); }
.taube-svg g, .taube-svg path { transform-box: view-box; }

/* ---------- Leistungslisten ---------- */
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.liste li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--ink-08); }
.liste li::before {
  content: ''; position: absolute; left: 4px; top: 22px; width: 12px; height: 12px;
  background: currentColor; -webkit-mask: var(--stern-maske) center / contain no-repeat; mask: var(--stern-maske) center / contain no-repeat;
  transition: transform .6s var(--ease-magic);
}
.liste li:hover::before { transform: rotate(144deg) scale(1.25); }
:root { --stern-maske: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.9 6.6 7.1.6-5.4 4.7 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 8.7l7.1-.6z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (min-width: 760px) { .liste--2 { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

.leistung { display: grid; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--ink-08); }
.leistung:first-child { border-top: 0; }
@media (min-width: 860px) {
  .leistung { grid-template-columns: .9fr 1.1fr; }
  .leistung:nth-child(even) > .szene, .leistung:nth-child(even) > .leistung__bild { order: 2; }
}
.leistung__nr { font: 400 .9rem/1 var(--font-head); letter-spacing: .2em; color: var(--ink-70); display: block; margin-bottom: 1rem; }
.leistung__bild { max-width: 520px; width: 100%; margin-inline: auto; }

/* Ablauf (Events) */
.ablauf { counter-reset: s; display: grid; gap: 22px; margin-top: 46px; }
@media (min-width: 860px) { .ablauf { grid-template-columns: repeat(4, 1fr); } }
.schritt { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--ink-08); transition: transform .6s var(--ease-magic), box-shadow .5s; }
.schritt:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 40px -30px var(--ink), 0 0 0 1px var(--ink-15); }
.schritt__nr { font: 400 3.2rem/1 var(--font-head); color: var(--ink); display: block; margin-bottom: 16px; }
.pakete { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 760px) { .pakete { grid-template-columns: repeat(2, 1fr); } }
.paket { padding: 22px 24px; border-radius: 14px; box-shadow: 0 0 0 1px var(--ink-15); }
.paket b { font-family: var(--font-head); font-weight: 500; display: block; margin-bottom: 4px; }
.paket p { margin: 0; font-size: .96rem; }

/* ---------- Unterseiten-Kopf ---------- */
.seitenkopf { padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 80px); }
.seitenkopf__grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 960px) { .seitenkopf__grid { grid-template-columns: 1fr 1.1fr; } }
.seitenkopf h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.brotkrumen { font: 400 .82rem/1 var(--font-head); color: var(--ink-70); margin-bottom: 26px; display: flex; gap: 10px; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }

/* ---------- Kontakt-Block, Fuß ---------- */
.kontaktwege { display: grid; gap: 14px; margin-top: 28px; }
.kontaktweg {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); transition: background .4s, transform .5s var(--ease-magic);
}
.kontaktweg:hover { background: rgba(255, 255, 255, .08); transform: translateX(6px); }
.kontaktweg svg { width: 24px; height: 24px; flex: none; }
.kontaktweg small { display: block; font: 500 .7rem/1.4 var(--font-head); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.kontaktweg span { font: 400 1.05rem/1.3 var(--font-head); }
.section:not(.section--ink) .kontaktweg { box-shadow: 0 0 0 1px var(--ink-15); }
.section:not(.section--ink) .kontaktweg:hover { background: var(--mist); }

.fuss { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 64px 0 34px; font-size: .93rem; --bg: var(--ink); }
.fuss__grid { display: grid; gap: 34px; }
@media (min-width: 820px) { .fuss__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.fuss__logo { width: 210px; height: auto; }
.fuss h4 { font: 500 .74rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fuss__unten { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .84rem; }
.fuss .weiss { filter: brightness(0) invert(1); }

/* ---------- Formular ---------- */
.formular { display: grid; gap: 18px; }
.feld label { display: block; font: 500 .82rem/1 var(--font-head); letter-spacing: .04em; margin-bottom: 9px; }
.feld input, .feld textarea {
  width: 100%; font: 400 1rem/1.5 var(--font-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--ink-15); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s;
}
.feld textarea { min-height: 170px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--ink-08); }
.einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-90); }
.einwilligung input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.hinweis { font-size: .85rem; color: var(--ink-70); }
.meldung { padding: 18px 20px; border-radius: 14px; background: var(--mist); font-size: .95rem; display: none; }
.meldung.zeigen { display: block; animation: aufklappen .6s var(--ease-magic); }
.meldung a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Honeypot: für Menschen unsichtbar, auch nicht per Tab erreichbar */
.feld--leer { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Hinweis direkt am Feld, solange etwas fehlt */
.feld-fehler { margin: 8px 2px 0; font-size: .86rem; line-height: 1.45; color: var(--ink); }
.feld-fehler::before { content: '✦ '; }
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-08); }
.einwilligung + .feld-fehler { margin-top: -8px; }
.formular button[aria-busy="true"] { cursor: progress; opacity: .75; }
@keyframes aufklappen { from { transform: perspective(600px) rotateX(-70deg); transform-origin: top; opacity: 0; } }
.brief-buehne { position: relative; height: 150px; margin-bottom: 8px; }

/* ---------- Rechtstexte ---------- */
.rechtstext h2 { font-size: 1.35rem; font-weight: 500; margin-top: 2.2em; }
.rechtstext dl { display: grid; gap: 4px 30px; }
@media (min-width: 700px) { .rechtstext dl { grid-template-columns: 260px 1fr; } }
.rechtstext dt { font-family: var(--font-head); font-weight: 500; }
.rechtstext dd { margin: 0 0 14px; }


/* ==========================================================================
   Illustrationen: im Normalmodus ruhig und statisch
   ========================================================================== */
.motiv { position: relative; margin: 0; width: 100%; }
.motiv > img { width: 100%; height: auto; display: block; }
.motiv > img.linien { position: absolute; inset: 0; height: 100%; z-index: 1; pointer-events: none; }   /* scharfe Vektorlinien über Bild und Farbfassung */
@media (min-width: 561px) and (max-width: 959px) {   /* Tablet hochkant: einspaltig, Illustrationen nicht bildschirmfüllend */
  .motiv, .karte__bild .motiv { max-width: 440px; margin-inline: auto; }
}
.motiv__buehne { position: absolute; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; }
.motiv__buehne img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.motiv__buehne .m-ebene { position: absolute; inset: 0; will-change: transform; }
.m-overlay { position: absolute; inset: 0; }
/* Im Zaubermodus tauscht das statische Bild gegen deckungsgleiche Ebenen – ohne Layoutverschiebung */
.motiv.ist-verzaubert .motiv__buehne { opacity: 1; visibility: visible; }
.motiv.ist-verzaubert > img { visibility: hidden; }
.zauber-an .motiv { cursor: inherit; }
.zauber-an .motiv:focus-visible { outline: 2px dashed var(--ink); outline-offset: 8px; border-radius: 8px; }
.m-lid { position: absolute; transform: translate(-50%, -50%); background: #fff; border-radius: 50%; opacity: 0; pointer-events: none; }
.m-lid::after { content: ''; position: absolute; left: 4%; right: 4%; top: 48%; height: max(1.2px, 14%); background: var(--ink); border-radius: 2px; }
.m-lid--mensch { border-radius: 40% 40% 50% 50%; }
.m-lid--mensch::after { top: 62%; left: 0; right: 0; height: max(1.2px, 16%); border-radius: 0 0 60% 60%; }
.m-display { position: absolute; overflow: hidden; pointer-events: none; }
.m-herz { position: absolute; width: 14%; transform: translateY(0); }
.m-herz svg { width: 100%; display: block; }
.m-glanz { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: conic-gradient(from 45deg, transparent 0 20%, #fff 20% 30%, transparent 30% 45%, #fff 45% 55%, transparent 55% 70%, #fff 70% 80%, transparent 80%);
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%); mask: radial-gradient(circle, #000 35%, transparent 70%); filter: drop-shadow(0 0 2px rgba(45, 49, 61, .6)); }
.m-licht { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: multiply; }

/* ==========================================================================
   Zaubermodus: Cursor, Staub, Schalter, Hinweis
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  html.zauber-an, html.zauber-an body { cursor: var(--cursor-wand); }
  html.zauber-an a, html.zauber-an button, html.zauber-an [role="button"], html.zauber-an label[for], html.zauber-an summary, html.zauber-an select,
  html.zauber-an .motiv { cursor: var(--cursor-wand-hover); }
  html.zauber-an input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), html.zauber-an textarea, html.zauber-an [contenteditable] { cursor: text; }
}
.zauberstaub { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
html.zauber-aus .zauberstaub { display: none; }

/* Großer Einstiegsbutton */
.zauberstart { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; padding: 18px 20px 18px 18px; border-radius: 22px; border: 1.5px solid var(--ink); background: var(--paper); max-width: 560px; }
.zauberknopf {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px 16px 18px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper); font: 500 1.08rem/1 var(--font-head); letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 10px 24px -14px var(--ink); transition: transform .3s var(--ease-out), box-shadow .3s, background .3s, color .3s;
}
.zauberknopf:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px var(--ink); }
.zauberknopf svg { width: 30px; height: 30px; flex: none; }
.zauberknopf .z-stern { transition: transform .5s var(--ease-magic); transform-box: fill-box; transform-origin: center; }
.zauberknopf:hover .z-stern { transform: rotate(72deg) scale(1.15); }
.zauberstart p { margin: 0; flex: 1 1 200px; font: 400 .98rem/1.45 var(--font-body); color: var(--ink-90); }
.zauberknopf[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.status-aktiv { display: none; align-items: center; gap: 6px; font: 600 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.zauber-an .status-aktiv { display: inline-flex; }
.status-aktiv i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: block; }

/* Kompakter Schalter in der Kopfzeile (immer erreichbar) */
.zauberschalter {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--paper); color: var(--ink); font: 500 .82rem/1 var(--font-head); white-space: nowrap; cursor: pointer; transition: background .3s, color .3s, opacity .3s;
}
.zauberschalter svg { width: 20px; height: 20px; flex: none; }
.zauberschalter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.zauberschalter[aria-pressed="true"] .an-marke { display: inline-block; }
.an-marke { display: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.klangschalter {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--ink-15);
  background: transparent; color: var(--ink); font: 500 .76rem/1 var(--font-head); white-space: nowrap; cursor: pointer;
}
.klangschalter svg { width: 17px; height: 17px; flex: none; }
.klangschalter[aria-pressed="true"] { border-color: var(--ink); }
.klangschalter .wellen path { opacity: 0; }
.klangschalter[aria-pressed="true"] .wellen path { opacity: 1; }
.kopf-schalter { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
@media (max-width: 1100px) { .klangschalter .lang { display: none; } }
@media (max-width: 920px) {
  .kopf-schalter { margin-left: auto; margin-right: 8px; }
  .zauberschalter { padding: 9px 12px 9px 9px; font-size: .78rem; }
  .klangschalter { padding: 9px; }
}
@media (max-width: 420px) { .zauberschalter .lang { display: none; } }

.zauberhinweis {
  position: fixed; left: 50%; top: 92px; z-index: 120; transform: translate(-50%, -12px); opacity: 0; pointer-events: none;
  max-width: min(92vw, 520px); padding: 14px 20px; border-radius: 14px; background: var(--ink); color: var(--paper);
  font: 400 .95rem/1.45 var(--font-head); text-align: center; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .55); transition: opacity .4s, transform .4s var(--ease-out);
}
.zauberhinweis.zeigen { opacity: 1; transform: translate(-50%, 0); }

/* Logo-Sterne funkeln nur im Zaubermodus beim Überfahren */
.logo-szene { position: relative; display: block; }

@media (prefers-reduced-motion: reduce) {
  .zauberknopf, .btn, .karte { transition: none !important; }
}

/* ---------- Startseite: Einstieg ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 70px) 0 clamp(56px, 8vw, 110px); }
.hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1fr 1.02fr; } }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; font-weight: 500; }
.hero .lead { max-width: 36ch; }
.m-huete { max-width: 640px; margin-inline: auto; }

.karte__titel { text-decoration: none; color: inherit; }
.karte__titel::after { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: var(--radius); }
.karte .textlink { position: relative; z-index: 1; }
.zauber-an .karte .karte__bild { position: relative; z-index: 1; }   /* im Zaubermodus gehört das Bild dem Zauberstab */

/* ==========================================================================
   Blauer Taubenbalken (nur im Zaubermodus)
   ========================================================================== */
:root { --balken-h: 68px; }
html.mit-balken body { padding-bottom: calc(var(--balken-h) + env(safe-area-inset-bottom, 0px)); }
.taubenbalken {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  height: calc(var(--balken-h) + env(safe-area-inset-bottom, 0px)); padding: 0 clamp(12px, 3vw, 32px) env(safe-area-inset-bottom, 0px);
  display: flex; align-items: center; gap: clamp(10px, 2.5vw, 28px);
  background: var(--ink); color: #fff; box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .55);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.taubenbalken[hidden] { display: none; }
html.zauber-aus .tb-aktionen, html.zauber-aus .tb-lauf::after { display: none; }   /* ohne Zauber: nur Logo, Nest und Taube */
.tb-logo { flex: none; display: block; width: clamp(84px, 13vw, 132px); opacity: .95; }
.tb-logo img { width: 100%; height: auto; display: block; }
.tb-logo:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
/* Lauffläche: feine Bodenlinie, auf der das Nest steht */
.tb-lauf { position: relative; flex: 1 1 auto; height: 100%; min-width: 90px; }
.tb-lauf::after { content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 1px; background: rgba(255, 255, 255, .28); }
.tb-marke { position: relative; flex: none; }
.tb-nest { position: absolute; left: 64%; bottom: calc(100% - 8px); transform: translateX(-50%); width: 114px; height: 76px; pointer-events: none; }   /* sitzt oben auf dem Logo */
.tb-nest > svg { pointer-events: auto; cursor: pointer; }   /* Klick aufs Nest holt die Taube zurück */
.tb-nest:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 12px; }
.tb-nest > svg, .tb-nest-vorn svg { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.nest-svg { overflow: visible; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .8)); }
.tb-nest-vorn { position: absolute; inset: 0; clip-path: inset(52% 0 0 0); }   /* vordere Nestkante liegt vor der Taube */
.tb-taube { position: absolute; left: 14px; bottom: 13px; width: 66px; height: auto; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .6)); }
.tb-aktionen { flex: none; display: flex; gap: clamp(4px, 1vw, 10px); }
@media (max-width: 860px) {   /* sieben Aktionen: auf schmalen Bildschirmen seitlich wischbar */
  .tb-aktionen { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; scroll-snap-type: x proximity; }
  .tb-aktionen::-webkit-scrollbar { display: none; }
  .tb-aktion { flex: none; scroll-snap-align: start; }
  .tb-lauf { min-width: 64px; }
}
.tb-aktion {
  position: relative; width: 46px; height: 46px; border-radius: 50%; padding: 0; display: grid; place-items: center;
  background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.tb-aktion svg { width: 28px; height: 28px; }
.tb-aktion:hover { border-color: #fff; transform: translateY(-1px); }
.tb-aktion:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tb-aktion[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.tb-tipp {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); opacity: 0; pointer-events: none; white-space: nowrap;
  background: #fff; color: var(--ink); font: 500 .78rem/1 var(--font-head); padding: 8px 11px; border-radius: 8px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5);
  transition: opacity .2s, transform .2s;
}
.tb-aktion:hover .tb-tipp, .tb-aktion:focus-visible .tb-tipp { opacity: 1; transform: translate(-50%, 0); }
.tb-aktion:last-child .tb-tipp { left: auto; right: 0; transform: translateY(4px); }
.tb-aktion:last-child:hover .tb-tipp, .tb-aktion:last-child:focus-visible .tb-tipp { transform: none; }
.tb-status { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); margin: 0; max-width: min(92vw, 560px);
  background: #fff; color: var(--ink); font: 400 .82rem/1.4 var(--font-head); padding: 8px 14px; border-radius: 10px; box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .5); text-align: center; }
.tb-status:empty { display: none; }
/* Hände als Cursor nur über dem Balken; außerhalb bleibt der Zauberstab */
@media (hover: hover) and (pointer: fine) {
  html.zauber-an .taubenbalken[data-aktion="fuettern"] .tb-lauf { cursor: url('../img/cursor/hand-koerner.svg') 18 22, pointer; }
  html.zauber-an .taubenbalken[data-aktion="streicheln"] .tb-lauf { cursor: url('../img/cursor/hand-streicheln.svg') 18 20, pointer; }
}
@media (max-width: 560px) {
  :root { --balken-h: 62px; }
  .tb-aktion { width: 42px; height: 42px; }
  .tb-aktion svg { width: 25px; height: 25px; }
  .tb-nest { width: 94px; height: 62px; bottom: calc(100% - 6px); }
  .tb-taube { left: 12px; bottom: 11px; width: 56px; }
}
.zauberhinweis { top: auto; bottom: calc(var(--balken-h) + 16px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 440px) {
  .taubenbalken { gap: 8px; padding-left: 10px; padding-right: 10px; }
  .tb-logo { width: 64px; }
  .tb-lauf { min-width: 78px; }
  .tb-aktionen { gap: 3px; }
  .tb-aktion { width: 40px; height: 40px; }
  .tb-aktion svg { width: 23px; height: 23px; }
}
.kontaktweg > div { min-width: 0; }
.kontaktweg span { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .kopf__inner { flex-wrap: wrap; height: auto; padding: 10px 0; row-gap: 8px; }
  .kopf__logo { width: 140px; }
  .menue-knopf { margin-left: auto; order: 2; }
  .kopf-schalter { order: 3; flex-basis: 100%; margin: 0; justify-content: space-between; }
  .zauberschalter { flex: 1; justify-content: center; }
  .nav { inset: 125px 0 auto 0; }
}

/* Die kleine Taube im Balken (Vektorfigur) */
.balkentaube { left: 0; top: 0; z-index: 87; pointer-events: none; will-change: transform; transform-origin: 52% 93%; }   /* Größe ändert sich um die Füße */
/* Futter: helle Sonnenblumenkerne, die auf dem dunklen Balken gut zu sehen sind */
.korn { position: fixed; z-index: 86; width: 9px; height: 14px; margin: -11px 0 0 -4.5px; pointer-events: none;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'><path d='M5 .8C7.6 3 9.2 7.4 8.6 11 8.1 13.8 6.6 15.2 5 15.2S1.9 13.8 1.4 11C.8 7.4 2.4 3 5 .8Z' fill='%23fbf8ef' stroke='%232d313d' stroke-width='.6'/><path d='M5 2.6V13.6M3.2 5.2C2.6 8 2.7 11 3.5 13.2M6.8 5.2C7.4 8 7.3 11 6.5 13.2' fill='none' stroke='%232d313d' stroke-width='.55' stroke-linecap='round' opacity='.55'/></svg>") center / contain no-repeat; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)); }
.balkentaube[hidden], html.zauber-aus .tb-hand, html.zauber-aus .korn, html.zauber-aus .taubenzzz { display: none !important; }
/* Szenen der Balkentaube: Wanne, Ente, Blasen, Tropfen (hinten unter, vorn über der Taube) */
.tb-fx { position: fixed; pointer-events: none; z-index: 88; }
.tb-fx svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tb-wanne--hinten { z-index: 86; }
.tb-wanne--vorn { z-index: 88; }
.tb-ente { z-index: 88; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .6)); }
.tb-blase { z-index: 89; border-radius: 50%; border: 1.3px solid var(--ink); background: radial-gradient(circle at 35% 30%, #fff 0 30%, rgba(255, 255, 255, .7) 31%); }
.tb-tropfen { z-index: 89; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #fff; border: 1px solid var(--ink); }
.balkentaube.am-formular { z-index: 60; }
html.zauber-aus .tb-fx { display: none; }
.balkentaube.tippbar { pointer-events: auto; cursor: pointer; }
.tb-sprechblase { position: fixed; z-index: 90; max-width: min(300px, calc(100vw - 16px)); padding: 14px 34px 14px 16px; border-radius: 16px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .45);
  font: 400 .9rem/1.45 var(--font-body); animation: blase-ein .35s ease-out both; }
.tb-sprechblase::after { content: ''; position: absolute; left: var(--spitze, 30px); bottom: -9px; width: 16px; height: 16px; background: #fff;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); }   /* Spitze zeigt auf die Taube */
.tb-sagt { padding-right: 38px; }
.tb-sagt p { margin: 0; }
.tb-sagt p + p { margin-top: 6px; }
.tb-sagt-titel { font: 600 .95rem/1.35 var(--font-head); }
.tb-anruf { display: inline-flex; align-items: center; gap: 6px; font: 600 1rem/1 var(--font-head); color: #fff; background: var(--ink);
  padding: 10px 14px; border-radius: 999px; text-decoration: none; margin-top: 2px; }
.tb-anruf:hover { box-shadow: 0 0 0 3px var(--ink-15); }
.tb-anruf:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tb-sprechblase p { margin: 0 0 10px; }
.tb-sprechblase.weg { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.tb-blase-frage { font-weight: 600; }
.tb-blase-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-blase-knopf.tb-blase-knopf--leise { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
[data-schalter="zauber"].taube-drueckt { transform: translateY(2px) scale(.96); transition: transform .12s; }
.tb-blase-knopf { font: 500 .85rem/1 var(--font-head); padding: 9px 14px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.tb-blase-knopf:focus-visible, .tb-blase-zu:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tb-blase-zu { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border: 0; background: none; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
@keyframes blase-ein { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tb-sprechblase { animation: none; } }
.balkentaube svg { width: 100%; height: 100%; overflow: visible; display: block; filter: drop-shadow(0 0 1px rgba(255,255,255,.7)); }
.balkentaube.streichelbar:not(.fliegt) { pointer-events: auto; }
@media (hover: hover) and (pointer: fine) { html.zauber-an .balkentaube.streichelbar { cursor: url('../img/cursor/hand-streicheln.svg') 18 20, pointer; } }
.balkentaube.fliegt { pointer-events: none !important; z-index: 95; }
.tb-nest-vorn { position: fixed; z-index: 88; pointer-events: none; clip-path: inset(46% 0 0 0); }
.tb-nest-vorn svg { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.tb-hand { position: fixed; z-index: 89; width: 40px; height: 40px; pointer-events: none; transform: translate(-50%, 0); transform-origin: 50% 80%; }
.tb-hand--streicheln { width: 34px; height: 34px; }
.taubenherz { position: fixed; z-index: 89; width: 18px; pointer-events: none; }
.taubenzzz { position: fixed; z-index: 89; pointer-events: none; font: 600 12px/1 var(--font-head); color: var(--ink); text-shadow: 0 0 2px #fff, 0 0 4px #fff; }
.taubenherz svg { display: block; width: 100%; }

/* Vektor-Animation: deckungsgleiche Zeichnung über dem Originalbild */
.motiv .rig-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: none; overflow: visible; pointer-events: none; }
.motiv.rig-aktiv .rig-svg { display: block; }
.motiv.rig-aktiv > img { visibility: hidden; }
.motiv[data-rig]:focus-visible { outline: 2px dashed var(--ink); outline-offset: 6px; border-radius: 8px; }

/* ---------- Kleiderschrank der Taube ---------- */
.tb-schrank { position: fixed; z-index: 96; right: clamp(8px, 3vw, 32px); bottom: calc(var(--balken-h) + env(safe-area-inset-bottom, 0px) + 12px);
  width: min(360px, calc(100vw - 16px)); max-height: calc(100vh - var(--balken-h) - 40px); overflow: auto; padding: 16px 18px 14px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
  font: 400 .9rem/1.45 var(--font-body); animation: blase-ein .3s ease-out both; }
.tb-schrank[hidden] { display: none; }
html.zauber-aus .tb-schrank { display: none !important; }
.schrank-kopf { display: flex; align-items: center; justify-content: space-between; }
.tb-schrank h2 { margin: 0; font: 400 1.2rem/1.2 var(--font-head); }
.tb-schrank h3 { margin: 14px 0 6px; font: 600 .78rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); }
.schrank-zu { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.schrank-buehne { display: flex; align-items: center; gap: 12px; margin: 8px 0 12px; }
.schrank-vorschau { position: relative; flex: none; width: 120px; height: 100px; border-radius: 14px; background: var(--mist); overflow: hidden; }
.schrank-taube { left: 0; top: 0; pointer-events: none; }
.schrank-taube svg { width: 100%; height: 100%; overflow: visible; display: block; }
.schrank-name { margin: 0 0 6px; font-weight: 600; }
.schrank-palette { margin: 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.schrank-palette span, .schrank-look span { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--ink-40); }
.schrank-palette em { font-style: normal; font-size: .8rem; color: var(--ink-70); margin-left: 4px; }
.schrank-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.schrank-knopf { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: #fff; color: var(--ink); font: 600 .85rem/1 var(--font-body); cursor: pointer; }
.schrank-knopf svg { width: 22px; height: 22px; }
.schrank-knopf--haupt { background: var(--ink); color: #fff; flex: 1 1 100%; justify-content: center; font-size: .95rem; }
.schrank-knopf:hover { transform: translateY(-1px); }
.schrank-knopf:focus-visible, .schrank-zu:focus-visible, .schrank-look:focus-visible, .schrank-weg:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.schrank-saison { display: flex; align-items: center; gap: 8px; margin-top: 12px; cursor: pointer; }
.schrank-saison input { width: 18px; height: 18px; accent-color: var(--ink); }
.schrank-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.schrank-liste li { position: relative; }
.schrank-look { display: flex; gap: 2px; padding: 8px 10px; border: 1.5px solid var(--ink-15); border-radius: 12px; background: #fff; cursor: pointer; }
.schrank-look:hover { border-color: var(--ink); }
.schrank-weg { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border: 1px solid var(--ink-40); border-radius: 50%; background: #fff; color: var(--ink); font-size: .85rem; line-height: 1; cursor: pointer; }
.schrank-leer { color: var(--ink-70); font-size: .85rem; }
.schrank-status { margin: 10px 0 0; min-height: 1.2em; font-size: .85rem; color: var(--ink-70); }
@media (max-width: 560px) { .tb-schrank { left: 8px; right: 8px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .tb-schrank { animation: none; } }

.tb-blase-farben { display: flex; gap: 6px; }
.tb-blase-farben span { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink-40); }
.schrank-knopf[hidden] { display: none; }

/* ---------- Jahreszeiten & Wetter (nur im Zaubermodus) ---------- */
.saisonschalter { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--ink-15);
  background: transparent; color: var(--ink); font: 500 .76rem/1 var(--font-head); white-space: nowrap; cursor: pointer; }
.saisonschalter:hover, .saisonschalter[aria-pressed="true"] { border-color: var(--ink); }
.saisonschalter[aria-pressed="false"] .saison-icon { opacity: .55; }
.saisonschalter:focus-visible, .saison-wahl:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.saison-icon svg { width: 18px; height: 18px; display: block; }
.saison-pfeil { width: 12px; height: 12px; }
html.zauber-aus .saisonschalter, html.zauber-aus .saison-menue, html.zauber-aus .saison-effekte, html.zauber-aus .saison-sonne { display: none !important; }
.kopf-schalter { position: relative; }
.saison-menue { position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; width: min(330px, calc(100vw - 16px)); padding: 14px; border-radius: 18px;
  background: #fff; border: 1.5px solid var(--ink); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); animation: blase-ein .25s ease-out both; }
.saison-menue[hidden] { display: none; }
.saison-titel { margin: 0 0 8px; font: 600 .74rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); }
.saison-gruppe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.saison-gruppe:last-child { margin-bottom: 0; }
.saison-wahl { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px; border-radius: 12px; border: 1.5px solid var(--ink-15); background: #fff;
  color: var(--ink); font: 500 .72rem/1.15 var(--font-head); text-align: center; cursor: pointer; }
.saison-wahl svg { width: 22px; height: 22px; }
.saison-wahl:hover { border-color: var(--ink-40); }
.saison-wahl[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.saison-effekte { position: fixed; inset: 0; z-index: 55; pointer-events: none; }
.saison-sonne { position: fixed; z-index: 55; right: -26px; top: 64px; width: 110px; height: 110px; pointer-events: none; opacity: .9; }
.saison-sonne .strahlen { transform-origin: 60px 60px; animation: sonne-drehen 40s linear infinite; }
@keyframes sonne-drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .saison-sonne .strahlen { animation: none; } .saison-menue { animation: none; } }
@media (max-width: 1240px) { .saison-name { display: none; } }
@media (max-width: 1180px) {   /* Kopfzeile bleibt auch um 1024 px in einer Zeile */
  .kopf__logo { width: 156px; }
  .kopf__inner { gap: 12px; }
  .nav a { padding: 12px 9px; }
  .zauberschalter [data-text-an] { font-size: 0; }
  .zauberschalter [data-text-an]::after { content: 'Zauber'; font-size: .82rem; }
  html:lang(en) .zauberschalter [data-text-an]::after { content: 'Magic'; }
  html:lang(pl) .zauberschalter [data-text-an]::after { content: 'Magia'; }
}
@media (min-width: 921px) and (max-width: 1340px) {   /* Platz für die Sprachwahl */
  .nav a { padding: 12px 7px; }
  .nav .btn { margin-left: 4px; padding: 11px 14px; }
  .nav .sprachwahl { margin-left: 4px; gap: 0; }
  .nav .sprachwahl a { padding: 6px 3px; }
  .kopf .nur-de { display: none; }
  .klangschalter [data-text-an] { display: none; }   /* Zustand zeigen die Schallwellen */
  .klangschalter { padding: 8px 9px; }
  .schalter-gruppe { margin-left: 2px; }
}
@media (min-width: 921px) and (max-width: 1060px) {
  .kopf__logo { width: 136px; }
  .nav a { font-size: .86rem; padding: 12px 6px; }
}
@media (min-width: 921px) and (max-width: 1000px) {
  .zauberschalter [data-text-an]::after { content: none !important; }   /* nur Zauberstab-Symbol */
}
@media (max-width: 640px) { .saison-sonne { width: 72px; height: 72px; right: -18px; top: 120px; } }

/* ---------- Saison-Aktionen der Balkentaube ---------- */
.tb-aktion[hidden] { display: none; }
.tb-tuch, .tb-cocktail { z-index: 86; }
.wetter-schalter { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--ink-15); background: #fff; color: var(--ink); font: 500 .8rem/1.2 var(--font-head); cursor: pointer; }
.wetter-schalter svg { width: 22px; height: 22px; }
.wetter-schalter span:nth-child(2) { flex: 1; text-align: left; }
.wetter-an { position: relative; width: 34px; height: 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; }
.wetter-an::after { content: ''; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--ink-40); transition: transform .2s, background .2s; }
.wetter-schalter[aria-checked="true"] .wetter-an { background: var(--ink); }
.wetter-schalter[aria-checked="true"] .wetter-an::after { transform: translateX(14px); background: #fff; }
.wetter-schalter:disabled { opacity: .45; cursor: default; }
.wetter-schalter:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.saison-deko-schicht { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 54; pointer-events: none; }
.saison-deko { position: absolute; pointer-events: none; }
.saison-deko svg { display: block; width: 100%; height: 100%; overflow: visible; }
.deko-haengend { transform-origin: 50% 0; animation: deko-pendeln 5s ease-in-out infinite; }
@keyframes deko-pendeln { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
html.zauber-aus .saison-deko-schicht { display: none; }
@media (prefers-reduced-motion: reduce) { .deko-haengend { animation: none; } }

/* ---------- Cookie-Frage mit der Taube ---------- */
.keks-dialog { position: fixed; z-index: 97; left: 8px; right: 8px; margin: 0 auto; bottom: calc(var(--balken-h) + env(safe-area-inset-bottom, 0px) + 16px);
  width: auto; max-width: 560px; max-height: calc(100vh - var(--balken-h) - 40px); overflow: auto; padding: 18px 20px 14px; border-radius: 18px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); font: 400 .88rem/1.5 var(--font-body); animation: blase-ein .35s ease-out both; }
html:not(.mit-balken) .keks-dialog { bottom: 16px; }
.keks-dialog.weg { opacity: 0; transition: opacity .3s; }
.keks-dialog h2 { margin: 0 0 8px; font: 400 1.15rem/1.25 var(--font-head); }
.keks-dialog p { margin: 0 0 10px; }
.keks-wahl { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.keks-wahl label { display: flex; gap: 8px; align-items: flex-start; }
.keks-wahl input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.keks-knoepfe { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.keks-knopf { min-height: 42px; padding: 8px 10px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: 600 .82rem/1.2 var(--font-body); cursor: pointer; }
.keks-knopf--leise { background: #fff; color: var(--ink); }
.keks-knopf:focus-visible, .keks-mehr a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.keks-mehr { margin: 10px 0 0 !important; font-size: .8rem; }
.tb-krume { border-radius: 50%; background: #c98d4a; }
@media (max-width: 520px) { .keks-knoepfe { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .keks-dialog { animation: none; } }

/* ---------- Saison-Aktionsplatz ---------- */
.tb-beet, .tb-nestplatz, .tb-karte { z-index: 86; }
.tb-herz { z-index: 90; }
.tb-tropfen--wasser { background: #b9d7f0; border-color: var(--ink); }
.schrank-hinweis { margin: 10px 0 0; font-size: .8rem; color: var(--ink-70); }
.tb-palme, .tb-stuhl, .tb-tisch, .tb-becken--hinten, .tb-eimer, .tb-burg, .tb-stapel { z-index: 86; }
.tb-becken--vorn { z-index: 88; }
.tb-palme .wedel { animation: palme-wiegen 4.2s ease-in-out infinite; }
@keyframes palme-wiegen { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.tb-sand { z-index: 89; border-radius: 50%; background: #e9cf8f; border: .6px solid var(--ink); }
@media (prefers-reduced-motion: reduce) { .tb-palme .wedel { animation: none; } }
/* Frühlingsblumen: gehen auf (Knospe → offen), danach schließen und öffnen sie sich leicht */
.deko-blume { transform: rotate(var(--neig, 0deg)); transform-origin: 50% 100%; }
.deko-blume .bl { transform-box: view-box; transform-origin: 20px 20px; animation: blume-auf 1.6s cubic-bezier(.3,1.3,.6,1) var(--auf, 0s) both, blume-atmen var(--atem, 4.4s) ease-in-out calc(var(--auf, 0s) + 1.6s) infinite; }
.deko-blume .bluete { transform-box: view-box; transform-origin: 20px 20px; animation: blume-wachsen 1.2s ease-out var(--auf, 0s) both; }
@keyframes blume-auf { from { transform: scale(.25, .5); } to { transform: scale(1); } }
@keyframes blume-atmen { 0%, 100% { transform: scale(1); } 50% { transform: scale(.8, .88); } }
@keyframes blume-wachsen { from { transform: scale(.4); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .deko-blume .bl, .deko-blume .bluete { animation: none; } }
.tb-kuerbis, .tb-hutablage { z-index: 86; }
.tb-laub { z-index: 88; }
.tb-reste { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 87; }
.tb-reste i { position: fixed; display: block; border-radius: 40%; border: .5px solid var(--ink); }
.tb-blatt { z-index: 89; }
.tb-kuerbis.leuchtet .zug { fill: #ffd65a; animation: kuerbis-flackern 1.6s ease-in-out infinite; }
@keyframes kuerbis-flackern { 0%, 100% { opacity: 1; } 40% { opacity: .82; } 70% { opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .tb-kuerbis.leuchtet .zug { animation: none; } }
/* kompakte Bühne für Saison-Szenen über dem Balken (schmale Bildschirme), schließbar */
.tb-buehne { position: fixed; z-index: 84; left: 8px; right: 8px; bottom: calc(var(--balken-h) + env(safe-area-inset-bottom, 0px) + 8px);
  background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 22px rgba(45, 49, 61, .16); }
.tb-buehne::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 14px; height: 1px; background: rgba(45, 49, 61, .25); }
.tb-buehne[hidden] { display: none; }
.tb-buehne-zu { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; z-index: 1; }
.tb-buehne-zu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tb-buehne-zu:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
html.zauber-aus .tb-buehne { display: none; }
.tb-schneemann, .tb-schneeflaeche, .tb-huegel { z-index: 86; }
.tb-kugel, .tb-schlitten { z-index: 88; }
.tb-schlitten { transform-origin: 50% 100%; }
.tb-schneestaub { z-index: 89; border-radius: 50%; background: #fff; border: .7px solid var(--ink); }
/* Weihnachten */
.tb-ofen, .tb-backbrett, .tb-baum, .tb-kiste, .tb-geschenk, .tb-geschenk-ding { z-index: 86; }
.tb-blech-angebot { z-index: 92; pointer-events: auto; }
.tb-plaetzchen { position: absolute; top: 2%; width: 26%; aspect-ratio: 1; transform: translateX(-50%); border: 0; padding: 0; cursor: pointer; background: center / contain no-repeat; }
.tb-plaetzchen--rund { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Ccircle cx='5' cy='5' r='4.2' fill='%23e9b765' stroke='%232d313d' stroke-width='.7'/%3E%3Ccircle cx='4' cy='4' r='.5' fill='%23a4682c'/%3E%3Ccircle cx='6.2' cy='5.6' r='.5' fill='%23a4682c'/%3E%3C/svg%3E"); }
.tb-plaetzchen--stern { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 .6l1.3 2.7 3 .4-2.2 2.1.5 3-2.6-1.5-2.6 1.5.5-3L.7 3.7l3-.4z' fill='%23e9b765' stroke='%232d313d' stroke-width='.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tb-plaetzchen--herz { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 9C1 6.4.4 4.2 1.4 2.6 2.4 1.2 4.2 1.4 5 3c.8-1.6 2.6-1.8 3.6-.4C9.6 4.2 9 6.4 5 9z' fill='%23e9b765' stroke='%232d313d' stroke-width='.6'/%3E%3C/svg%3E"); }
.tb-plaetzchen:hover { transform: translateX(-50%) scale(1.15); }
.tb-plaetzchen:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 50%; }
.tb-dampf { z-index: 89; }
.tb-baum .kugel, .tb-baum .lichter, .tb-ofen .ofen-blech, .tb-schneemann .sm-teil, .tb-schneemann .sm-augen, .tb-schneemann .sm-knoepfe { transform-box: fill-box; transform-origin: 50% 50%; }
.tb-baum.leuchtet .licht { animation: licht-funkeln 1.4s ease-in-out infinite; }
@keyframes licht-funkeln { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .tb-baum.leuchtet .licht { animation: none; } }
/* Bühne für alle Aktionen: auf großen Bildschirmen nicht über die ganze Breite */
.tb-buehne { right: auto; width: min(760px, calc(100vw - 16px)); }
html.zauber-an .taubenbalken[data-aktion="fuettern"] ~ .tb-buehne { cursor: url('../img/cursor/hand-koerner.svg') 18 22, pointer; }
/* schmale Bildschirme: alle Aktionen sichtbar, in zwei Reihen */
@media (max-width: 860px) {
  :root { --balken-h: 108px; }
  .tb-aktionen { display: grid; grid-template-columns: repeat(5, 44px); gap: 6px 6px; overflow: visible; padding: 0; flex: none; }
  .tb-aktion { width: 44px; height: 44px; }
  .tb-aktion svg { width: 25px; height: 25px; }
}
@media (max-width: 640px) {
  :root { --balken-h: 100px; }
  .taubenbalken { gap: 10px; padding-left: 10px; padding-right: 10px; }
  .tb-lauf { flex: 0 0 0; min-width: 0; }
  .tb-lauf::after { display: none; }
  .tb-aktionen { flex: 1 1 auto; min-width: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; justify-items: center; }
  .tb-aktion { width: min(42px, 100%); height: auto; aspect-ratio: 1; }
  .tb-aktion svg { width: 58%; height: 58%; }
  .tb-tipp { display: none; }
}
/* ohne Zauber gibt es keine Knöpfe: der Balken bleibt schmal statt zweireihig hoch */
html.zauber-aus { --balken-h: 68px; }
@media (max-width: 560px) { html.zauber-aus { --balken-h: 62px; } }
/* nichts darf die Seite seitlich verbreitern (z. B. die herausfliegende Taube in Lianes Bild) */
html, body { overflow-x: clip; }

/* ---------- Suchbegriff unter der Überschrift, Anschrift, häufige Fragen ---------- */
.h1-zusatz { display: block; margin-top: .55em; font: 400 clamp(1rem, 1.6vw, 1.2rem)/1.35 var(--font-body); letter-spacing: .01em; color: var(--ink); opacity: .75; }
.anschrift { font-style: normal; line-height: 1.6; margin: 0 0 18px; }
.fragen { margin-top: 26px; border-top: 1px solid rgba(45, 49, 61, .25); }
.frage { border-bottom: 1px solid rgba(45, 49, 61, .25); }
.frage summary { padding: 16px 28px 16px 0; font: 400 1.08rem/1.35 var(--font-head); cursor: pointer; list-style: none; position: relative; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: '+'; position: absolute; right: 4px; top: 13px; font-size: 1.4rem; line-height: 1.2; }
.frage[open] summary::after { content: '–'; }
.frage summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.frage p { margin: 0 0 18px; max-width: 68ch; }

/* ---------- Zauberhaft Momente: Menüpunkt und Startseiten-Teaser ---------- */
/* Tauben-Zeichnungen (tools/momente_bilder.py): Linien im Logo-Blau, weiße Flächen */
.mm { display: block; width: 100%; height: auto; overflow: visible; }
.mm .line { fill: none; stroke: var(--ink); stroke-width: var(--sw, 2.6); stroke-linecap: round; stroke-linejoin: round; }
.mm .line.dunn { stroke-width: 1.4; opacity: .4; }
.mm .full { fill: #fff; stroke: var(--ink); stroke-width: var(--sw, 2.6); stroke-linejoin: round; stroke-linecap: round; }
.mm .fill, .mm .hi { fill: #fff; }
.mm .ink { fill: var(--ink); }
.mm .fuge { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.mm .hi-linie { fill: none; stroke: #fff; stroke-width: 1.2; }
.mm .zahl { font: 600 17px/1 var(--font-head); fill: var(--ink); text-anchor: middle; }
.mm .gs-inhalt { opacity: 0; }
.mm .t-kopf, .mm .gs-deckel, .mm .gs-inhalt, .mm .pz-stueck, .mm .kz-stern, .mm .t-fliegt, .mm .vd-spulen circle { transform-box: fill-box; transition: transform .9s var(--ease-magic), opacity .6s; }
.mm .t-kopf { transform-origin: 50% 100%; }
.mm .gs-deckel { transform-origin: 0% 100%; }
.mm .kz-stern { transform-origin: 50% 50%; }
/* Zaubermodus: beim Darüberfahren neigen die Tauben den Kopf, der Deckel hebt sich, die Brieftaube schwebt */
html.zauber-an [data-anim]:hover .t-kopf { transform: translateY(-3px) rotate(-3deg); }
html.zauber-an [data-anim]:hover .gs-deckel { transform: translateY(-14px) rotate(-6deg); }
html.zauber-an [data-anim]:hover .gs-inhalt { opacity: 1; transform: translateY(-10px); }
html.zauber-an [data-anim]:hover .pz-stueck { transform: translate(-10px, 4px) rotate(8deg); }
html.zauber-an [data-anim]:hover .kz-stern { transform: scale(1.12) rotate(8deg); }
html.zauber-an .mm .t-fliegt { animation: taube-schweben 4.5s ease-in-out infinite; }
@keyframes taube-schweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { html.zauber-an .mm * { animation: none !important; transition: none !important; } }

.nav a.nav__momente { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px 9px 11px; border: 1.5px solid var(--ink); border-radius: 999px; margin-left: 4px; overflow: hidden; isolation: isolate; font-weight: 600; }
.nav a.nav__momente::after { display: none; }
.nav a.nav__momente::before { content: ''; position: absolute; inset: -2px auto -2px -60%; width: 40%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(45, 49, 61, .14), transparent); transform: skewX(-18deg); transition: left .9s var(--ease-out); }
.nav a.nav__momente:hover::before, .nav a.nav__momente:focus-visible::before { left: 130%; }
.nav a.nav__momente[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-taube { width: 26px; margin-block: -3px; flex: none; overflow: visible; transition: transform .6s var(--ease-magic); }
.nav a.nav__momente[aria-current="page"] .nav-taube .full, .nav a.nav__momente[aria-current="page"] .nav-taube .fill { fill: var(--ink); stroke: #fff; }
.nav a.nav__momente[aria-current="page"] .nav-taube .line { stroke: #fff; }
.nav a.nav__momente[aria-current="page"] .nav-taube .ink { fill: #fff; }
.nav a.nav__momente[aria-current="page"] .nav-taube .hi { fill: var(--ink); }
.nav a.nav__momente:hover .nav-taube { transform: translate(2px, -2px) rotate(-6deg); }
@media (max-width: 920px) {
  .nav a.nav__momente { margin: 10px 0 4px; padding: 14px 16px; justify-content: center; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 1.1rem; }
}

.momente-teaser { overflow: hidden; }
.momente-teaser__bild { max-width: 560px; margin-inline: auto; width: 100%; }

/* ---------- Kopfzeile mit „Zauberhaft Momente“: alles in einer Zeile ---------- */
.nav a.nav__momente { white-space: nowrap; }
@media (min-width: 921px) {
  .kopf__inner { width: min(100% - 2 * var(--gutter), 1440px); }
}
@media (min-width: 921px) and (max-width: 1500px) {
  .kopf__logo { width: 150px; }
  .kopf__inner { gap: 10px; }
  .kopf-schalter { margin-left: 0; gap: 6px; }
  .nav { gap: 0; }
  .nav a { padding: 12px 7px; }
  .nav a.nav__momente { padding: 8px 12px 8px 9px; margin: 0 3px; }
  .zauberschalter [data-text-an] { font-size: 0; }
  .zauberschalter [data-text-an]::after { content: 'Zauber'; font-size: .82rem; }
  html:lang(en) .zauberschalter [data-text-an]::after { content: 'Magic'; }
  html:lang(pl) .zauberschalter [data-text-an]::after { content: 'Magia'; }
  .klangschalter .lang, .klangschalter [data-text-an] { display: none; }
  .klangschalter { padding: 8px 9px; }
  .saison-name { display: none; }
  .kopf .nur-de { display: none; }
}
@media (min-width: 921px) and (max-width: 1240px) {
  .kopf__logo { width: 128px; }
  .nav a { font-size: .84rem; padding: 12px 5px; }
  .nav a.nav__momente { padding: 7px 10px 7px 8px; gap: 5px; }
  .nav-taube { width: 18px; }
  .nav .btn { padding: 10px 12px; }
  .zauberschalter [data-text-an]::after { content: none !important; }   /* nur Zauberstab-Symbol */
  .zauberschalter { padding: 9px; }
}
@media (min-width: 921px) and (max-width: 1090px) {
  .kopf__logo { width: 112px; }
  .nav a { font-size: .8rem; padding: 12px 4px; }
  .nav .sprachwahl a { padding: 6px 2px; }
}
@media (min-width: 921px) and (max-width: 1040px) {
  .kopf__logo { width: 100px; }
  .nav a.nav__momente { font-size: .76rem; padding: 6px 8px 6px 7px; margin: 0 2px; }
  .nav .btn { padding: 9px 10px; font-size: .8rem; }
  .nav .sprachwahl { margin-left: 2px; }
}
@media (min-width: 1501px) { html:lang(pl) .nav a { padding: 12px 7px; } html:lang(pl) .saison-name { display: none; } }
@media (min-width: 921px) and (max-width: 1100px) { html:lang(pl) .nav a { font-size: .74rem; padding: 12px 3px; } html:lang(pl) .nav a.nav__momente { padding: 6px 7px; } }
@media (min-width: 921px) and (max-width: 970px) {
  .kopf__inner { gap: 6px; }
  .nav a { font-size: .74rem; padding: 12px 3px; }
  .nav a.nav__momente { font-size: .72rem; padding: 6px 7px 6px 6px; gap: 4px; }
  .nav-taube { width: 15px; }
}
@media (min-width: 921px) and (max-width: 970px) { html:lang(pl) .nav a { font-size: .7rem; padding: 12px 2px; } html:lang(pl) .nav a.nav__momente { padding: 6px 6px 6px 5px; } }

/* ==========================================================================
   Farbzauber (eigener Modus, assets/js/farbwerk.js) – Navy/Weiß, Logo und Schrift bleiben;
   Farbe kommt über die Bilder und kleine Details. Kein Lila. Bewegung nur im Zaubermodus.
   ========================================================================== */
:root { --fz-primaer: #e1793a; --fz-sekundaer: #a6502f; --fz-akzent: #e5b23b; --fz-blatt: #d39a2c; --fz-bluete1: #e1793a; --fz-bluete2: #e5b23b;
  --fz-himmel: #c4e5f6; --fz-gold: #e2b441; --fz-rot: #d6463c; --fz-tanne: #2f6a4e; --fz-licht: #fff1bf; --fz-orange: #f1964a; --fz-glas: #d3ecf8; }
.farbschalter {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px 8px 9px; border-radius: 999px; border: 1px solid var(--ink-15);
  background: transparent; color: var(--ink); font: 500 .76rem/1 var(--font-head); white-space: nowrap; cursor: pointer; transition: border-color .3s, background .3s;
}
.farbschalter[aria-pressed="true"], html.farbzauber .farbschalter { border-color: var(--ink); }
.farb-symbol { width: 19px; height: 19px; flex: none; }
.farb-symbol .fp { fill: currentColor; opacity: .32; transition: fill .4s, opacity .4s; }
html.farbzauber .farb-symbol .fp { opacity: 1; }
html.farbzauber .farb-symbol .fp1 { fill: var(--fz-rot); }
html.farbzauber .farb-symbol .fp2 { fill: var(--fz-akzent); }
html.farbzauber .farb-symbol .fp3 { fill: var(--fz-blatt); }
html.farbzauber .farb-symbol .fp4 { fill: #5aa6dc; }
.fz-an { display: none; }
html.farbzauber .fz-an { display: inline; }
html.farbzauber .fz-aus { display: none; }
@media (max-width: 1240px) { .farbschalter .lang { display: none; } }
@media (max-width: 420px) { .farbschalter { padding: 8px 10px 8px 8px; gap: 5px; } }
.farbschalter:focus-visible, .farbknopf:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Einladung: leise, kein Pop-up – verschwindet, sobald gewählt wurde */
.farb-einladung { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 2px 0 0; padding-top: 12px; border-top: 1px dashed var(--ink-15); font: 400 .9rem/1.4 var(--font-body); color: var(--ink-90); }
.farb-einladung[hidden] { display: none; }
.farb-einladung strong { font-weight: 600; }
.farbknopf {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--paper); color: var(--ink); font: 500 .82rem/1 var(--font-head); cursor: pointer; transition: transform .3s var(--ease-out);
}
.farbknopf:hover { transform: translateY(-1px); }
.farbknopf .fp1 { fill: #e2725b; opacity: 1; } .farbknopf .fp2 { fill: #f2c94c; opacity: 1; } .farbknopf .fp3 { fill: #7db764; opacity: 1; } .farbknopf .fp4 { fill: #5aa6dc; opacity: 1; }

/* Eingefärbte Fassung liegt deckungsgleich über der Zeichnung und blendet weich ein */
.motiv > .farb-bild { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
html.farbzauber .motiv > .farb-bild.bereit, html.kleidungszauber .motiv > .farb-bild.bereit { opacity: 1; }
html:not(.farbzauber):not(.kleidungszauber) .motiv > .farb-bild { visibility: hidden; transition: none; }
/* beim Laden mit Farbzauber: die Schwarz-Weiß-Zeichnung nicht kurz aufblitzen lassen (höchstens 2,5 s – dann für alle Fälle wieder sichtbar) */
html.farbzauber .motiv[data-farbe]:not(.farbig):not(.farb-fehlt) > img:not(.farb-bild) { animation: farb-warten 0s 2.5s both; }
@keyframes farb-warten { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .motiv > .farb-bild, .farb-symbol .fp, .farbknopf { transition: none; } }

/* Feste Details der Jahreszeit (nur Farbzauber, ohne Bewegung) */
.fuss { position: relative; }
.farb-girlande { display: none; position: absolute; left: 0; right: 0; top: 10px; height: 40px; pointer-events: none; background: var(--fz-girlande) repeat-x left top / 240px 40px; }
html.farbzauber .farb-girlande { display: block; }
@media print { .farb-girlande { display: none !important; } }

/* Farbzauber in den Zauberhaft-Momente-Zeichnungen: je Gegenstand eine Farbe der Jahreszeit, Tauben bleiben weiß */
.mm .fz-nur { display: none; }
html.farbzauber .mm .fz-nur { display: inline; stroke: none; }
html.farbzauber .mm .fz-primaer { fill: var(--fz-primaer); }
html.farbzauber .mm .fz-rot { fill: var(--fz-rot); }
html.farbzauber .mm .fz-gold { fill: var(--fz-gold); }
html.farbzauber .mm .fz-creme { fill: var(--fz-creme); }
html.farbzauber .mm .fz-himmel { fill: var(--fz-himmel); }
html.farbzauber .mm .fz-holz { fill: var(--fz-holz); }
html.farbzauber .mm .fz-metall { fill: var(--fz-metall); }
html.farbzauber .mm .fz-blau { fill: var(--fz-blau); }
html.farbzauber .mm .fz-gelb { fill: var(--fz-gelb); }
html.farbzauber .mm .fz-nur.fz-himmel { fill: var(--fz-himmel); }
@media print { html.farbzauber .mm [class*="fz-"] { fill: revert; } }
