/* Mary Tale – Stylesheet
   Fonts: Fraunces, Instrument Sans, Caveat (SIL Open Font License, lokal eingebunden) */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }

:root {
  --cream: #F4EDE1;
  --paper: #FBF7F0;
  --ink: #2B2420;
  --ink-soft: #5A4E45;
  --brick: #A6402B;
  --brick-deep: #8A3322;
  --ochre: #E3A23B;
  --sage: #8A9A7B;
  --sage-deep: #55664D;
  --sage-pale: #E3E7D9;
  --terra: #C4704D;
  --wood: #C99A5B;
  --line: #DCCFBA;

  /* Additional Theme Colors */
  --rose-pale: #F8ECE9;
  --rose-deep: #A05262;
  --forest-pale: #E8EFE5;
  --forest-deep: #3D5A45;
  --amber-pale: #FAF3E8;
  --amber-deep: #B56B24;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;

  --wrap: 72rem;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  /* feines Papierkorn */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .14 0 0 0 0 .12 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brick); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; font-variation-settings: "opsz" 96, "SOFT" 50; letter-spacing: -.01em; word-spacing: .04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; }

.kicker {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brick);
  margin-bottom: 1rem;
}

/* ---------- Header & Animiertes Logo ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 237, 225, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); transition: transform .2s ease; }
.brand:hover { transform: translateY(-1px); }
.brand__flags { width: 52px; height: 20px; overflow: visible; }
.brand__flags .flag-1 { transform-origin: 13px 6px; animation: flag-sway-1 3.2s ease-in-out infinite; }
.brand__flags .flag-2 { transform-origin: 30px 8px; animation: flag-sway-2 3.6s ease-in-out infinite .3s; }
.brand__flags .flag-3 { transform-origin: 47px 6px; animation: flag-sway-3 3.4s ease-in-out infinite .6s; }

@keyframes flag-sway-1 {
  0%, 100% { transform: rotate(0deg) skewX(0deg); }
  50% { transform: rotate(7deg) skewX(-4deg); }
}
@keyframes flag-sway-2 {
  0%, 100% { transform: rotate(0deg) skewX(0deg); }
  50% { transform: rotate(-6deg) skewX(3deg); }
}
@keyframes flag-sway-3 {
  0%, 100% { transform: rotate(0deg) skewX(0deg); }
  50% { transform: rotate(8deg) skewX(-5deg); }
}

.brand__name {
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.85rem; line-height: 1;
  letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--brick);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.brand__sparkle {
  color: var(--ochre);
  font-size: .95rem;
  display: inline-block;
  animation: sparkle-twinkle 2.8s ease-in-out infinite;
}

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; align-items: center; font-size: .95rem; }
.nav__list a { text-decoration: none; font-weight: 500; transition: color .15s ease; }
.nav__list a:not(.nav__cta):hover { color: var(--brick); text-decoration: underline; }
.nav__cta {
  border: 1.5px solid var(--ink); padding: .45rem 1rem; border-radius: 999px;
  background: transparent; color: var(--ink); transition: all .2s ease;
}
.nav__cta:hover { background: var(--ink); color: var(--paper) !important; transform: translateY(-1px); }
.nav__toggle { display: none; }

@media (max-width: 760px) {
  .nav__toggle {
    display: inline-block; font: inherit; font-weight: 600; background: none; color: var(--ink);
    border: 1.5px solid var(--ink); border-radius: 999px; padding: .35rem .95rem; cursor: pointer;
  }
  .nav__list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gut) 1.25rem;
    box-shadow: 0 12px 24px -10px rgba(43,36,32,.2);
  }
  .nav__list.is-open { display: flex; }
  .nav__list li { width: 100%; border-bottom: 1px dashed var(--line); }
  .nav__list li:last-child { border: 0; padding-top: .9rem; }
  .nav__list a { display: block; padding: .8rem 0; font-size: 1.1rem; }
  .nav__list a.nav__cta { display: inline-block; padding: .55rem 1.2rem; }
  .no-js .nav__list { display: flex; position: static; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: .9rem 1.6rem; border-radius: 999px; border: 0; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--brick); color: var(--paper); box-shadow: 0 2px 0 var(--brick-deep); }
.btn--primary:hover { background: var(--brick-deep); color: var(--paper); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(166,64,43,.3); }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color .15s ease, border-color .15s ease; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--brick); border-color: var(--brick); }

/* ---------- Bild-Rahmen, Fotos & KI-Badges ---------- */
.ph { margin: 0; position: relative; }
.ph__frame {
  aspect-ratio: var(--ar, 4 / 3);
  position: relative;
  border: 10px solid var(--paper);
  outline: 1px solid var(--line);
  box-shadow: 0 1px 1px rgba(43,36,32,.06), 0 12px 24px -14px rgba(43,36,32,.35);
  background: var(--paper);
  overflow: hidden;
  display: block;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ph__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2,.8,.4,1);
}
.ph:hover .ph__img {
  transform: scale(1.03);
}
.ph--round .ph__frame {
  border-radius: 50%;
}

.ai-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .55rem;
  background: rgba(43, 36, 32, .84);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--paper);
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 4px;
  line-height: 1.2;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.ai-badge__icon {
  color: var(--ochre);
  font-size: .75rem;
  line-height: 1;
  animation: sparkle-twinkle 2.5s ease-in-out infinite;
}
@keyframes sparkle-twinkle {
  0%, 100% { opacity: .75; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.2) rotate(12deg); }
}
.ph--round .ai-badge {
  bottom: 12px;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  font-size: .62rem;
  padding: .15rem .45rem;
}

.ph--tilt-r { transform: rotate(1.6deg); }
.ph--tilt-l { transform: rotate(-1.8deg); }
.ph--tape::after {
  content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(227, 162, 59, .6); box-shadow: 0 1px 2px rgba(0,0,0,.08);
  clip-path: polygon(3% 0, 97% 4%, 100% 100%, 0 94%);
  z-index: 3;
}
.ph--small .ph__frame { border-width: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.8rem); font-weight: 400; line-height: 1.04; margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero__title em {
  display: inline-block;
  color: var(--brick);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  animation: soft-sway 5s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes soft-sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-1deg) translateY(-2px); }
}

.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); max-width: 38rem; color: var(--ink); margin-bottom: .8rem; font-weight: 450; }
.lead-sub { font-size: 1.05rem; max-width: 38rem; color: var(--ink-soft); margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 1.5rem; }

.hero__visual { position: relative; padding-bottom: 6.5rem; }
.hero__visual > .ph:first-child { width: 86%; margin-left: auto; }
.hero__visual > .ph--small { position: absolute; width: 44%; left: 0; bottom: 0; }
.note { font-family: var(--hand); font-size: 1.5rem; line-height: 1.05; color: var(--ink); }
.note--hero {
  position: absolute; right: 0; bottom: 0; transform: rotate(-4deg);
  text-align: left; display: flex; align-items: flex-end; gap: .25rem;
  max-width: 14rem;
}
.note--hero .note__arrow { flex-shrink: 0; width: 52px; height: 26px; order: -1; margin: 0 0 1.2rem; transform: scaleY(-1) rotate(10deg); color: var(--brick); }

/* ---------- Natürliche Wimpelketten-Animation (echtes Pendeln im Wind) ---------- */
.bunting-scene {
  position: absolute;
  left: -2%;
  right: -2%;
  top: 0;
  width: 104%;
  pointer-events: none;
  overflow: visible;
  z-index: 4;
}
.bunting-scene--hero {
  height: 78px;
}
.bunting-scene--footer {
  height: 72px;
}
.bunting-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.bunting-svg--back {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  filter: blur(0.2px);
  animation: cord-breathe-slow 8.5s cubic-bezier(.42, 0, .58, 1) infinite;
}
.bunting-svg--front {
  position: relative;
  animation: cord-breathe 6.8s cubic-bezier(.42, 0, .58, 1) infinite;
}

/* Themen- & Abschnitts-Wimpelgirlanden */
.bunting-divider {
  position: absolute;
  top: -4px;
  left: -1%;
  width: 102%;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}
.bunting-divider--steps {
  top: 0;
}

/* Sanftes Durchschwingen der Schnur */
@keyframes cord-breathe {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(2.5px) rotate(0.18deg); }
  70% { transform: translateY(1px) rotate(-0.15deg); }
}
@keyframes cord-breathe-slow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(3.5px) translateX(4px); }
}

/* Jeder einzelne Wimpel pendelt um seinen eigenen Aufhängepunkt an der Schnur! */
.pennant {
  transform-box: view-box;
  transform-origin: var(--tx, 50%) var(--ty, 12px);
  will-change: transform;
}
.pennant.p-a {
  animation: pennant-flutter-a 3.8s cubic-bezier(.37, 0, .63, 1) infinite;
  animation-delay: var(--d, 0s);
}
.pennant.p-b {
  animation: pennant-flutter-b 4.4s cubic-bezier(.37, 0, .63, 1) infinite;
  animation-delay: var(--d, 0.3s);
}
.pennant.p-c {
  animation: pennant-flutter-c 3.5s cubic-bezier(.37, 0, .63, 1) infinite;
  animation-delay: var(--d, 0.6s);
}
.pennant.p-d {
  animation: pennant-flutter-d 4.9s cubic-bezier(.37, 0, .63, 1) infinite;
  animation-delay: var(--d, 0.9s);
}

@keyframes pennant-flutter-a {
  0%, 100% { transform: rotate(-2.5deg) skewX(1deg) scaleY(1); }
  30% { transform: rotate(5.5deg) skewX(-3.5deg) scaleY(0.97); }
  65% { transform: rotate(-4deg) skewX(2deg) scaleY(1.01); }
}
@keyframes pennant-flutter-b {
  0%, 100% { transform: rotate(3deg) skewX(-1.5deg) scaleY(1); }
  40% { transform: rotate(-6deg) skewX(4deg) scaleY(0.96); }
  75% { transform: rotate(4.5deg) skewX(-2.5deg) scaleY(0.99); }
}
@keyframes pennant-flutter-c {
  0%, 100% { transform: rotate(-1.5deg) skewX(0.5deg); }
  25% { transform: rotate(6.5deg) skewX(-4.5deg) scaleY(0.96); }
  55% { transform: rotate(1deg) skewX(-1deg) scaleY(1); }
  80% { transform: rotate(-4.5deg) skewX(2.5deg) scaleY(0.98); }
}
@keyframes pennant-flutter-d {
  0%, 100% { transform: rotate(2deg) skewX(-1deg); }
  35% { transform: rotate(-5.5deg) skewX(3.5deg) scaleY(0.97); }
  70% { transform: rotate(5deg) skewX(-3deg) scaleY(0.98); }
}

/* Badge für Holzwerkstatt-Bilder */
.ai-badge--craft {
  background: rgba(138, 51, 34, .9);
  border: 1px solid rgba(251, 247, 240, .25);
}

/* ---------- Sektion: Kleine Holzschätze zum Spielen & Bemalen ---------- */
.craft-showcase {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  border-top: 2px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.craft-hero-banner {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.craft-hero-banner .ph__frame {
  border-width: 12px;
  border-radius: 14px;
}
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.craft-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px -14px rgba(43, 36, 32, .22);
  transition: transform .3s cubic-bezier(.2, .8, .4, 1), box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.craft-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px -14px rgba(43, 36, 32, .3);
}
.craft-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.craft-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .4, 1);
}
.craft-card:hover .craft-card__media img {
  transform: scale(1.05);
}
.craft-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(251, 247, 240, .94);
  color: var(--brick-deep);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.craft-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
}
.craft-card__body h3 {
  font-size: 1.35rem;
  margin: 0 0 .45rem;
  color: var(--ink);
}
.craft-card__body p {
  font-size: .95rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 960px) {
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .craft-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 30rem; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding-top: 4rem; }
  .note--hero { left: auto; top: auto; right: 0; bottom: .25rem; font-size: 1.35rem; max-width: 11rem; }
  .hero__visual { padding-bottom: 7rem; }
  .hero__visual > .ph:first-child { width: 78%; }
}

/* ---------- Facts (4 Spalten) ---------- */
.facts { border-block: 1px solid var(--ink); background: var(--paper); }
.facts__list { display: grid; grid-template-columns: .85fr 1.35fr 1.45fr 1.15fr; margin: 0; }
.facts__list > div { padding: 1.25rem 1.25rem 1.25rem 0; }
.facts__list > div + div { border-left: 1px solid var(--line); padding-left: 1.25rem; }
.facts dt { font-family: var(--hand); font-size: 1.35rem; color: var(--brick); line-height: 1; margin-bottom: .25rem; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; }
@media (max-width: 860px) {
  .facts__list { grid-template-columns: 1fr 1fr; }
  .facts__list > div { padding: 1rem .75rem 1rem 0; }
  .facts__list > div + div { border-left: 0; padding-left: 0; }
  .facts__list > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: .9rem; }
  .facts__list > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.section-head h2 { margin: 0; }
.section-head__aside { margin: 0; color: var(--ink-soft); max-width: 32rem; padding-bottom: .4rem; font-size: 1.05rem; }
.section-head--narrow { grid-template-columns: 1fr; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Themen (4 Themenwelten) ---------- */
.themes { padding: clamp(4rem, 9vw, 7.5rem) 0 0; }
.theme { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* Themenspezifische Akzente */
.theme--vet { background: var(--sage-pale); border-top: 6px solid var(--sage-deep); }
.theme--vet .theme__no { color: var(--sage-deep); }
.theme--vet h3 { color: var(--sage-deep); }

.theme--kitchen { background: var(--amber-pale); border-top: 6px solid var(--ochre); }
.theme--kitchen .theme__no { color: var(--amber-deep); }
.theme--kitchen h3 { color: var(--brick); }

.theme--salon { background: var(--rose-pale); border-top: 6px solid var(--rose-deep); }
.theme--salon .theme__no { color: var(--rose-deep); }
.theme--salon h3 { color: var(--rose-deep); }

.theme--knights { background: var(--forest-pale); border-top: 6px solid var(--forest-deep); }
.theme--knights .theme__no { color: var(--forest-deep); }
.theme--knights h3 { color: var(--forest-deep); }

.theme__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.theme__grid--flip { grid-template-columns: 1.1fr .9fr; }
.theme__media { position: relative; padding-bottom: 4rem; }
.theme__media > .ph:first-child { width: 82%; }
.theme__media > .ph--offset { position: absolute; right: 0; bottom: 0; width: 52%; }
.theme__grid--flip .theme__media > .ph:first-child { margin-left: auto; }
.theme__grid--flip .theme__media > .ph--offset { right: auto; left: 0; }
.theme__body { position: relative; }
.theme__no { font-family: var(--hand); font-size: 1.55rem; margin-bottom: .2rem; }
.theme__body h3 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 60; }
.theme__intro { font-size: 1.15rem; max-width: 36rem; line-height: 1.6; }

.packlist {
  margin-top: 2rem; padding: 1.5rem 1.6rem 1.25rem; background: var(--paper);
  border: 1px solid var(--line); border-left: 4px solid var(--wood);
  max-width: 36rem; position: relative; box-shadow: 0 4px 12px -6px rgba(43,36,32,.08);
}
.packlist--sage { border-left-color: var(--sage-deep); }
.packlist--kitchen { border-left-color: var(--ochre); }
.packlist--salon { border-left-color: var(--rose-deep); }
.packlist--knights { border-left-color: var(--forest-deep); }

.packlist__title { font-family: var(--hand); font-weight: 600; font-size: 1.7rem; margin-bottom: .5rem; line-height: 1; }
.packlist__items { list-style: none; margin: 0; padding: 0; }
.packlist__items li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px dashed var(--line); font-size: 1rem; }
.packlist__items li:last-child { border-bottom: 0; }
.packlist__items li::before {
  content: ""; position: absolute; left: 0; top: .85rem; width: 1.15rem; height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M2 10 C 4 11, 6 13, 7.5 16 C 10 9, 14 5, 19 1.5' fill='none' stroke='%23A6402B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.packlist--sage .packlist__items li::before { filter: hue-rotate(60deg) saturate(.7); }
.packlist--kitchen .packlist__items li::before { filter: hue-rotate(20deg) saturate(1.2); }
.packlist--salon .packlist__items li::before { filter: hue-rotate(320deg) saturate(1.1); }
.packlist--knights .packlist__items li::before { filter: hue-rotate(110deg) saturate(.6); }

/* Buttons für Kisten-Inhalte & Video */
.theme__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.15rem;
  align-items: center;
}
.btn-view-kit, .btn-view-video {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  padding: .65rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-view-kit {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.btn-view-kit:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(43,36,32,.25);
}
.btn-view-video {
  background: transparent;
  color: var(--ink);
  border: 1.5px dashed var(--ink-soft);
}
.btn-view-video:hover {
  background: rgba(43,36,32,.06);
  border-style: solid;
  transform: translateY(-2px);
}

.doodle { position: absolute; pointer-events: none; }
.doodle--paw { width: 80px; right: 2rem; top: -.5rem; color: var(--sage-deep); transform: rotate(-12deg); opacity: .8; }
.doodle--chef { width: 90px; right: 1.5rem; top: -.5rem; color: var(--ochre); transform: rotate(10deg); opacity: .85; }
.doodle--mirror { width: 80px; right: 2rem; top: -.5rem; color: var(--rose-deep); transform: rotate(-8deg); opacity: .8; }
.doodle--shield { width: 85px; right: 1.5rem; top: -.5rem; color: var(--forest-deep); transform: rotate(6deg); opacity: .85; }

@media (max-width: 860px) {
  .theme__grid, .theme__grid--flip { grid-template-columns: 1fr; }
  .theme__grid--flip .theme__media { order: -1; }
  .theme__media { max-width: 28rem; width: 100%; }
  .doodle { width: 60px !important; right: 0 !important; }
}

/* ---------- Ablauf: 4 verspielte Schritt-Karten ---------- */
.steps { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; background: var(--cream); }
.steps-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.steps-head .kicker { justify-content: center; margin-bottom: .5rem; }
.steps-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-family: var(--hand); font-weight: 600; color: var(--brick); }

.heart-doodle {
  display: inline-block;
  color: var(--terra);
  font-family: var(--hand);
  font-size: 1.25em;
  animation: heart-pulse 2.4s ease-in-out infinite;
  transform-origin: center center;
  vertical-align: middle;
  margin-left: .35rem;
}
@keyframes heart-pulse {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.25); color: var(--brick); }
  28% { transform: scale(1.08); }
  42% { transform: scale(1.28); color: var(--brick); }
  56% { transform: scale(1); }
}

.steps-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: 1rem;
}
.step-card {
  position: relative;
  background: #FDFBF7;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.25rem 1.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 4px 16px -8px rgba(43,36,32,.14), 0 1px 3px rgba(43,36,32,.06);
  transition: transform .25s cubic-bezier(.2,.8,.4,1), box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-card:nth-child(1) { transform: rotate(-1deg); }
.step-card:nth-child(2) { transform: rotate(1.2deg); }
.step-card:nth-child(3) { transform: rotate(-0.8deg); }
.step-card:nth-child(4) { transform: rotate(1.5deg); }
.step-card:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.02);
  box-shadow: 0 16px 32px -12px rgba(43,36,32,.22), 0 3px 8px rgba(43,36,32,.08);
  z-index: 2;
}

.step-card__tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 80px;
  height: 24px;
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  clip-path: polygon(3% 0, 97% 4%, 100% 100%, 0 94%);
  pointer-events: none;
}
.step-card--tape-beige .step-card__tape { background: rgba(227, 162, 59, .55); }
.step-card--tape-sage .step-card__tape { background: rgba(138, 154, 123, .6); transform: translateX(-50%) rotate(2deg); }
.step-card--tape-terracotta .step-card__tape { background: rgba(196, 112, 77, .55); transform: translateX(-50%) rotate(-1.5deg); }
.step-card--tape-ochre .step-card__tape { background: rgba(227, 162, 59, .6); transform: translateX(-50%) rotate(1.8deg); }

.step-card__no {
  position: absolute;
  top: -14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wood);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 5px rgba(43,36,32,.25);
  line-height: 1;
}
.step-card:nth-child(2) .step-card__no { background: var(--sage); }
.step-card:nth-child(3) .step-card__no { background: var(--terra); }
.step-card:nth-child(4) .step-card__no { background: var(--ochre); }

.step-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: .75rem;
  color: var(--wood);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card:nth-child(2) .step-card__icon { color: var(--sage); }
.step-card:nth-child(3) .step-card__icon { color: var(--terra); }
.step-card:nth-child(4) .step-card__icon { color: var(--ochre); }
.step-card__icon svg { width: 100%; height: 100%; stroke-width: 1.6; }

.step-card__title {
  font-family: var(--hand);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .4rem;
  line-height: 1.15;
}
.step-card__text {
  font-size: .95rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 900px) {
  .steps-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem 1.5rem;
  }
}
@media (max-width: 520px) {
  .steps-cards {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    max-width: 22rem;
    margin-inline: auto;
  }
  .step-card { transform: none !important; }
}

/* ---------- Preise ---------- */
.prices { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--paper); border-block: 1px solid var(--line); }
.prices__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.prices__intro h2 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); }

.pricecard {
  background: var(--cream); border: 1.5px solid var(--ink); padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 8px 8px 0 var(--sage); transform: rotate(-.3deg);
}
.pricecard__main {
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
}
.pricecard__main-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.pricecard__main-head h3 { font-size: 1.75rem; margin: 0; }
.pricecard__main-head .pricecard__price {
  font-size: 2rem !important;
  color: var(--brick) !important;
  font-family: var(--serif);
  font-weight: 600;
}
.pricecard__main p {
  margin: .5rem 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.5;
}
.pricecard__subhead {
  font-family: var(--hand);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--brick);
  margin: 1.5rem 0 .5rem;
}
.pricecard__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: .75rem 0;
  border-bottom: 1px dashed var(--line);
}
.pricecard__row h4 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 600;
  margin: 0;
}
.pricecard__row p {
  margin: .15rem 0 0;
  color: var(--ink-soft);
  font-size: .88rem;
}
.pricecard__price { font-family: var(--serif); font-size: 1.35rem !important; color: var(--ink) !important; white-space: nowrap; font-weight: 600; }
.pricecard__foot { margin: 1.25rem 0 0; font-size: .85rem; color: var(--ink-soft); line-height: 1.4; }

@media (max-width: 760px) {
  .prices__grid { grid-template-columns: 1fr; }
  .pricecard__row { flex-direction: column; gap: .25rem; }
}

/* ---------- Über mich ---------- */
.about { padding: clamp(4rem, 8vw, 6rem) 0; }
.about__grid { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 58rem; }
.about__hello { font-family: var(--hand); font-weight: 600; font-size: clamp(2.3rem, 4vw, 3.2rem); color: var(--brick); margin-bottom: 1rem; }
.about__text p { font-size: 1.1rem; line-height: 1.65; color: var(--ink-soft); margin-bottom: 1rem; }
.about__text p:first-of-type { color: var(--ink); font-weight: 500; font-size: 1.15rem; }
@media (max-width: 640px) { .about__grid { grid-template-columns: 1fr; } .about__grid .ph { max-width: 12rem; } }

/* ---------- Anfrage ---------- */
.booking { padding: clamp(4rem, 9vw, 7.5rem) 0; background: var(--paper); border-top: 1px solid var(--line); }
.booking__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-card { margin-top: 2rem; border-top: 1.5px solid var(--ink); }
.contact-card p { margin: 0; padding: .8rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-card__label { font-family: var(--hand); font-size: 1.25rem; color: var(--brick); line-height: 1.1; }
.contact-card a { text-decoration: none; }

.form { background: var(--cream); border: 1px solid var(--line); padding: clamp(1.25rem, 3.5vw, 2.5rem); box-shadow: 0 18px 40px -28px rgba(43,36,32,.35); border-radius: 4px; }
.form__row { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.form__row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form label, .form legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: .65rem .4rem; min-height: 2.9rem;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%232B2420' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5rem center; background-size: 12px; }
.form textarea { resize: vertical; border: 1.5px solid var(--ink); padding: .7rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background-color: #fff; box-shadow: 0 2px 0 var(--brick); }
.form [aria-invalid="true"] { border-color: var(--brick); background-color: #F8E3DC; }
.form__choice { display: flex; flex-wrap: wrap; gap: .6rem; }
.form__choice legend { width: 100%; }
.chip { position: relative; display: inline-block; margin: 0 !important; font-weight: 500 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); transition: transform .15s ease, background .15s ease, color .15s ease; }
.chip input:checked + span { background: var(--brick); border-color: var(--brick); color: var(--paper); transform: scale(1.03); }
.chip--sage input:checked + span { background: var(--sage-deep); border-color: var(--sage-deep); }
.chip--kitchen input:checked + span { background: var(--amber-deep); border-color: var(--amber-deep); }
.chip--salon input:checked + span { background: var(--rose-deep); border-color: var(--rose-deep); }
.chip--knights input:checked + span { background: var(--forest-deep); border-color: var(--forest-deep); }
.chip--plain input:checked + span { background: var(--ink); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }
.form__check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.form__check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--brick); }
.form__check label { font-weight: 400; font-size: .9rem; color: var(--ink-soft); margin: 0; }
.form__error { color: var(--brick-deep); font-weight: 600; background: #F8E3DC; padding: .6rem .8rem; }
.form__hint { font-size: .85rem; color: var(--ink-soft); margin: .9rem 0 0; }
@media (max-width: 860px) { .booking__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row--half { grid-template-columns: 1fr; } }

/* ---------- Interactive Modals für Kisten & Videos ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43, 36, 32, .68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}
.kit-modal {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 52rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(43,36,32,.45);
  transform: translateY(20px) scale(.98);
  transition: transform .25s cubic-bezier(.2,.8,.4,1);
}
.modal-backdrop.is-active .kit-modal {
  transform: translateY(0) scale(1);
}
.kit-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background .15s ease, color .15s ease;
}
.kit-modal__close:hover {
  background: var(--ink);
  color: var(--paper);
}
.kit-modal__title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .25rem; }
.kit-modal__subtitle { color: var(--ink-soft); margin-bottom: 1.5rem; font-size: 1.05rem; }
.kit-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.kit-modal__media-frame {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 4px 12px rgba(43,36,32,.15);
  position: relative;
}
.kit-modal__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kit-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kit-modal__list li {
  position: relative;
  padding: .5rem 0 .5rem 1.75rem;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
}
.kit-modal__list li:last-child { border-bottom: 0; }
.kit-modal__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .5rem;
  color: var(--brick);
  font-weight: 700;
}

.video-mockup {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, #3D332D 0%, #1E1916 100%);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  margin-top: 1rem;
}
.video-mockup__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: .75rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
  transition: transform .2s ease;
  cursor: pointer;
}
.video-mockup:hover .video-mockup__play {
  transform: scale(1.12);
}
.video-mockup__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,.7);
  padding: .25rem .55rem;
  border-radius: 4px;
  font-size: .75rem;
  letter-spacing: .05em;
  font-weight: 600;
}
.video-mockup__hint {
  font-size: .88rem;
  opacity: .9;
  max-width: 24rem;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .kit-modal__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #DCD2C3; padding: 5rem 0 2.5rem; overflow: hidden; }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; align-items: end; }
.brand__name--footer { color: var(--cream); font-size: 2.4rem; margin-bottom: .5rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--ochre); }
.site-footer__small { font-size: .85rem; margin: 0; text-align: right; }
.site-footer__ai-note { font-size: .76rem; opacity: .75; margin: .35rem 0 0; line-height: 1.35; text-align: right; }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; } .site-footer__small, .site-footer__ai-note { text-align: left; } }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 400; }
.legal h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.legal address { font-style: normal; }
.back { display: inline-block; margin-bottom: 2rem; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Holz, Papier und ruhige Bewegung */
.ph__frame { border-radius: 9px; box-shadow: 0 2px 3px #63442212, 0 22px 40px -20px #63442255; }
.packlist { border-radius: 16px; }
.theme__media .ph__img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.theme__media:hover .ph__img { transform: scale(1.045); }
.reveal { opacity: 0; translate: 0 26px; transition: opacity .8s ease var(--reveal-delay, 0ms), translate .8s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; translate: 0 0; }
.hero__visual > .ph--small { animation: keepsake-float 7s ease-in-out infinite; }
@keyframes keepsake-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.story-preview { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--cream); isolation: isolate; }
.story-preview__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: story-first 12s infinite ease-in-out; }
.story-preview__image--second { animation-name: story-second; }
.story-preview__label { position: absolute; inset: auto 1rem 1rem; padding: .75rem 1rem; border-radius: 12px; background: #fbf7f0ed; font-family: var(--hand); font-size: clamp(1.2rem, 3vw, 1.7rem); text-align: center; }
.story-preview__controls { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1.25rem; }
.story-preview.is-paused img { animation-play-state: paused; }
@keyframes story-first { 0%,40%,100% { opacity: 1; transform: scale(1); } 48%,90% { opacity: 0; transform: scale(1.06); } }
@keyframes story-second { 0%,40%,100% { opacity: 0; transform: scale(1.06); } 48%,90% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .hero__visual > .ph--small, .story-preview__image { animation: none; }
  .story-preview__image--second { display: none; }
  .story-preview__controls #story-pause { display: none; }
}
