
/* ==========================================================================
   Kleines Friesen-Törtchen — Stylesheet
   Pastell-Holzbalken-Stil · St. Peter-Ording
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #d4567a; outline-offset: 2px; border-radius: 6px; }
html { scroll-behavior: smooth; }

/* ---------- Tokens ---------- */
:root {
  /* Backgrounds */
  --plank-1:    #c4dcef;
  --plank-2:    #bdd6ea;
  --plank-3:    #c8dff2;
  --plank-4:    #b8d2e8;
  --plank-line: rgba(60,80,100,.2);
  --plank-high: rgba(255,255,255,.45);
  --plank-knot: rgba(60,80,100,.18);

  /* Paper / Cream */
  --paper:      #fffaf0;
  --paper-2:    #fff5e0;
  --paper-3:    #faebcb;
  --cream:      #fffefb;
  --cream-edge: rgba(60,80,100,.08);

  /* Ink */
  --ink:        #3a3026;
  --ink-soft:   #5a4a38;
  --ink-fade:   #8a7560;

  /* Accents — Berry, Honey, Sage */
  --berry:      #d4567a;
  --berry-dk:   #a83d5e;
  --berry-soft: #f2a5b8;
  --berry-bg:   #fbe1e6;
  --honey:      #f5d28a;
  --honey-dk:   #d4a85a;
  --honey-bg:   #fff5e0;
  --sage:       #a8c08d;
  --sage-dk:    #4f6a44;
  --sage-bg:    #e1ead5;

  /* Shadows */
  --shadow-sm: 0 3px 8px -2px rgba(60,80,100,.2);
  --shadow:    0 6px 14px -6px rgba(60,80,100,.35);
  --shadow-md: 0 10px 22px -10px rgba(60,80,100,.4);
  --shadow-lg: 0 18px 30px -10px rgba(60,80,100,.4);

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1180px;

  --font-serif:  "Fraunces", Georgia, "Times New Roman", serif;
  --font-script: "Caveat", "Patrick Hand", cursive;
  --font-body:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.6;
  color: var(--ink);
  background: var(--plank-1);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Holzplanken-Hintergrund ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    repeating-linear-gradient(180deg,
      transparent 0, transparent 110px,
      var(--plank-line) 110px, var(--plank-line) 111px,
      var(--plank-high) 111px, var(--plank-high) 112px,
      transparent 112px, transparent 118px),
    repeating-linear-gradient(180deg,
      var(--plank-1) 0, var(--plank-1) 118px,
      var(--plank-2) 118px, var(--plank-2) 236px,
      var(--plank-3) 236px, var(--plank-3) 354px,
      var(--plank-4) 354px, var(--plank-4) 472px);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(ellipse 32px 9px at 12% 70px,   var(--plank-knot), transparent 70%),
    radial-gradient(ellipse 22px 6px at 78% 195px,  var(--plank-knot), transparent 70%),
    radial-gradient(ellipse 28px 8px at 38% 320px,  var(--plank-knot), transparent 70%),
    radial-gradient(ellipse 24px 7px at 88% 440px,  var(--plank-knot), transparent 70%),
    radial-gradient(ellipse 30px 9px at 22% 560px,  var(--plank-knot), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 0%,      rgba(255,240,210,.22), transparent 60%),
    repeating-linear-gradient(91deg,
      transparent 0, transparent 30px,
      rgba(255,255,255,.05) 30px, rgba(255,255,255,.05) 32px,
      transparent 32px, transparent 80px);
}

/* ---------- Container ---------- */
.kft-container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.4px;
  line-height: 1.1;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 500; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p { margin: 0 0 1em; }
a { text-decoration: none; }

.kft-script { font-family: var(--font-script); font-weight: 700; }
.kft-serif  { font-family: var(--font-serif); }

.kft-link {
  position: relative; color: var(--berry-dk); font-weight: 600; white-space: nowrap;
}
.kft-link::after {
  content: ""; position: absolute;
  left: -2%; right: -2%; bottom: -3px; height: 5px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 5' preserveAspectRatio='none'><path d='M2 3 Q 10 1 18 2.5 T 34 2.5 T 50 2.5 T 58 2.5' stroke='%23d4567a' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-size: 100% 100%; background-repeat: no-repeat;
}

/* ---------- Buttons ---------- */
.kft-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.kft-btn--primary {
  background: var(--berry); color: var(--paper);
  box-shadow: 0 4px 0 var(--berry-dk), 0 8px 18px -6px rgba(168,61,94,.5);
}
.kft-btn--primary:hover { transform: translateY(-2px) rotate(-.5deg); box-shadow: 0 6px 0 var(--berry-dk), 0 12px 22px -6px rgba(168,61,94,.55); }
.kft-btn--honey {
  background: var(--honey); color: #5a3a18;
  box-shadow: 0 4px 0 var(--honey-dk);
  border: 1.5px solid var(--honey-dk);
}
.kft-btn--honey:hover { transform: translateY(-2px) rotate(.5deg); }
.kft-btn--ghost {
  background: var(--paper); color: var(--ink-soft);
  border: 1.5px solid rgba(60,80,100,.2);
  box-shadow: 0 3px 0 rgba(60,80,100,.18);
}
.kft-btn--ghost:hover { transform: translateY(-2px); }
.kft-btn--block { display: flex; width: 100%; justify-content: center; }
.kft-btn--sm { padding: 9px 16px; font-size: 13px; }
.kft-btn--lg { padding: 14px 28px; font-size: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.kft-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.kft-header__inner {
  background: var(--paper);
  border-radius: 999px;
  padding: 9px 18px 9px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(255,255,255,.7);
}
.kft-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.kft-logo__img {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); padding: 2px;
  border: 1.5px solid var(--berry-soft);
  object-fit: contain;
}
.kft-logo__name { line-height: 1.05; font-family: var(--font-serif); }
.kft-logo__name b { display: block; font-weight: 500; font-size: 15px; color: var(--ink); }
.kft-logo__name small {
  display: block; font-family: var(--font-script); font-weight: 700;
  font-size: 14px; color: var(--berry); margin-top: 1px;
}

.kft-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.kft-nav a {
  position: relative; padding: 4px 0;
  color: var(--ink-soft); font-weight: 500; text-decoration: none;
}
.kft-nav a:hover, .kft-nav a.is-active { color: var(--berry); }
.kft-nav a.is-active::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -3px; height: 5px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 5' preserveAspectRatio='none'><path d='M2 3 Q 10 1 18 2.5 T 34 2.5 T 50 2.5 T 58 2.5' stroke='%23d4567a' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-size: 100% 100%; background-repeat: no-repeat;
}

.kft-tray-btn {
  background: var(--honey); color: #5a3a18;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--honey-dk);
  box-shadow: 0 3px 0 var(--honey-dk);
  transition: transform .15s ease;
}
.kft-tray-btn:hover { transform: translateY(-1px) rotate(-1deg); }
.kft-tray-btn__badge {
  background: var(--berry); color: #fff;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.kft-tray-btn__badge[data-count="0"] { display: none; }

.kft-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(60,80,100,.15);
  background: var(--paper);
  border-radius: 12px;
}
.kft-burger span, .kft-burger span::before, .kft-burger span::after {
  display: block; content: ""; width: 18px; height: 2.5px;
  background: var(--ink); margin: 0 auto; border-radius: 2px; position: relative;
}
.kft-burger span::before { position: absolute; top: -6px; left: 0; }
.kft-burger span::after  { position: absolute; top:  6px; left: 0; }
@media (max-width: 900px) {
  .kft-nav { display: none; }
  .kft-burger { display: block; }
  .kft-logo__name small { display: none; }
}

/* ============================================================
   DRAWER
   ============================================================ */
.kft-drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.kft-drawer.is-open { visibility: visible; pointer-events: auto; }
.kft-drawer__bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.kft-drawer.is-open .kft-drawer__bg { opacity: 1; }
.kft-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--paper);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transform: translateX(110%); transition: transform .3s;
  box-shadow: -16px 0 30px rgba(0,0,0,.25);
}
.kft-drawer.is-open .kft-drawer__panel { transform: translateX(0); }
.kft-drawer__panel a {
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: 10px 6px; border-bottom: 1px dashed rgba(60,80,100,.15);
}
.kft-drawer__close {
  align-self: flex-end;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid rgba(60,80,100,.15);
  font-size: 1.3rem;
}

/* ============================================================
   HERO
   ============================================================ */
.kft-hero { padding: 40px 0 60px; }
.kft-hero__inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 36px; align-items: center;
}

.kft-kicker,
.kft-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper);
  color: var(--berry);
  font-family: var(--font-script); font-weight: 700; font-size: 18px;
  padding: 5px 16px; border-radius: 999px;
  transform: rotate(-1.5deg);
  margin-bottom: 16px;
  border: 1.5px solid var(--berry-soft);
  box-shadow: 0 3px 0 rgba(60,80,100,.08);
}
.kft-kicker::before,
.kft-eyebrow::before { content: "✿"; color: var(--berry); }

.kft-hero__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: .98; margin: 0 0 8px;
  letter-spacing: -.6px; color: var(--ink);
  text-shadow: 1.5px 1.5px 0 rgba(255,255,255,.55);
}
.kft-hero__title em {
  display: block; font-style: normal;
  font-family: var(--font-script); font-weight: 700;
  color: var(--berry); font-size: 1em; transform: rotate(-1deg);
  text-shadow: 2px 2px 0 var(--paper);
  margin-top: 4px;
}

.kft-hero__sub {
  color: var(--ink);
  font-size: 15px; line-height: 1.55;
  max-width: 42ch;
  margin: 14px 0 22px;
  background: rgba(255,250,240,.7);
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 3px solid var(--berry-soft);
  box-shadow: var(--shadow-sm);
}

.kft-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kft-hero__art {
  position: relative;
  transform: rotate(1.5deg);
}
.kft-hero__art img {
  width: 100%; max-width: 540px; margin-inline: auto;
  filter: drop-shadow(0 14px 22px rgba(60,80,100,.3));
}

.kft-sticker {
  position: absolute; top: -10px; right: -10px;
  width: 96px; height: 96px;
  background: var(--honey); color: #5a3a18;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-script); font-weight: 700;
  font-size: 14px; line-height: 1.1; text-align: center; padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
  transform: rotate(12deg);
  border: 2.5px solid var(--paper);
  animation: kftWobble 4s ease-in-out infinite;
  z-index: 3;
}
.kft-sticker b {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 22px; color: var(--berry); display: block;
}
@keyframes kftWobble {
  0%, 100% { transform: rotate(12deg); }
  50%      { transform: rotate(4deg); }
}

.kft-bee {
  position: absolute; top: 16%; left: -16px;
  font-size: 32px; z-index: 4;
  animation: kftBee 6s ease-in-out infinite;
}
@keyframes kftBee {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  50%      { transform: translate(18px, -14px) rotate(10deg); }
}

/* Hours-Karte */
.kft-hours-card {
  position: relative;
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  box-shadow: var(--shadow);
  transform: rotate(-.4deg);
  margin-top: 8px;
  border: 1.5px solid rgba(255,255,255,.7);
}
.kft-hours-card::before {
  content: ""; position: absolute;
  top: -8px; left: 36px; width: 70px; height: 18px;
  background: rgba(242,165,184,.75);
  transform: rotate(-5deg);
}
.kft-hours-card__label {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500;
  display: flex; align-items: center; gap: 8px; color: var(--ink);
}
.kft-hours-card__days {
  font-family: var(--font-script); font-weight: 700;
  font-size: 1.05rem; color: var(--ink-soft);
}
.kft-hours-card__pill {
  background: var(--sage-bg); color: var(--sage-dk);
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--sage);
  display: inline-flex; align-items: center; gap: 6px;
}
.kft-hours-card__pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage-dk); }
.kft-hours-card__pill[data-status="closed"] { background: var(--berry-bg); color: var(--berry-dk); border-color: var(--berry-soft); }
.kft-hours-card__pill[data-status="closed"]::before { background: var(--berry-dk); }

@media (max-width: 820px) {
  .kft-hero__inner { grid-template-columns: 1fr; }
  .kft-hero__art { order: -1; transform: none; margin: 0 auto; max-width: 480px; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.kft-section { padding: 60px 0; position: relative; }
.kft-section--paper {
  background: var(--paper);
  border-top: 2px dashed rgba(60,80,100,.15);
  border-bottom: 2px dashed rgba(60,80,100,.15);
}
.kft-section--honey {
  background: var(--honey-bg);
  border-top: 2px dashed rgba(60,80,100,.15);
  border-bottom: 2px dashed rgba(60,80,100,.15);
}
.kft-section--sage {
  background: var(--sage-bg);
  border-top: 2px dashed rgba(60,80,100,.15);
  border-bottom: 2px dashed rgba(60,80,100,.15);
}

.kft-section__head { text-align: center; margin-bottom: 36px; }
.kft-section__head .eyebrow,
.kft-section__head .kft-kicker {
  display: inline-block;
  font-family: var(--font-script); font-weight: 700; font-size: 18px;
  color: var(--paper);
  background: var(--berry);
  padding: 4px 18px;
  border-radius: 999px;
  transform: rotate(-1.5deg);
  margin-bottom: 10px;
  box-shadow: 0 4px 10px -4px rgba(168,61,94,.5);
  border: none;
}
.kft-section__head .kft-kicker::before { content: none; }
.kft-section__head h2 {
  display: inline-block;
  font-family: var(--font-serif); font-weight: 500;
  position: relative; padding: 0 14px;
  text-shadow: 1.5px 1.5px 0 rgba(255,255,255,.5);
}
.kft-section--paper .kft-section__head h2,
.kft-section--honey .kft-section__head h2,
.kft-section--sage .kft-section__head h2 { text-shadow: none; }

.kft-section__head h2::before, .kft-section__head h2::after {
  content: "✿"; color: var(--berry); font-size: 1rem;
  margin: 0 12px; vertical-align: middle;
}
.kft-section__head > p {
  font-family: var(--font-script); font-weight: 700;
  font-size: 1.15rem; color: var(--berry-dk);
  max-width: 56ch; margin: 8px auto 0;
}

/* ============================================================
   HEUTE FRISCH - Paper Card
   ============================================================ */
.kft-today {
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,.4), transparent 65%),
    var(--paper);
  border-radius: 18px;
  padding: 28px 30px 24px;
  box-shadow: var(--shadow);
  border: 1.5px solid rgba(255,255,255,.7);
  position: relative;
}
.kft-today::before, .kft-today::after {
  content: ""; position: absolute; width: 60px; height: 18px;
  background: rgba(242,165,184,.75);
}
.kft-today::before { top: -8px; left: 40px; transform: rotate(-5deg); }
.kft-today::after  { top: -8px; right: 40px; transform: rotate(4deg); background: rgba(245,210,138,.8); }
.kft-today__head { text-align: center; margin-bottom: 14px; }
.kft-today__head em {
  display: block; font-style: normal;
  font-family: var(--font-script); font-weight: 700;
  color: var(--berry); font-size: 18px;
  transform: rotate(-1deg); margin-bottom: 2px;
}
.kft-today__head h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.8rem; margin: 0;
}
.kft-today__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
  font-family: var(--font-script); font-weight: 700;
  font-size: 1.15rem; color: var(--ink-soft);
  text-align: center;
}
.kft-today__list span { padding: 0 14px; position: relative; }
.kft-today__list span + span::before { content: "·"; color: var(--berry); position: absolute; left: -2px; }

/* ============================================================
   CAFFE-MASCHINE-SEKTION
   ============================================================ */
.kft-machine {
  padding: 60px 0;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(255,250,240,.5), transparent 70%);
}
.kft-machine__inner {
  background: var(--paper);
  border-radius: 22px;
  padding: 40px 30px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid rgba(255,255,255,.7);
  position: relative;
}
.kft-machine__inner::before, .kft-machine__inner::after {
  content: ""; position: absolute; width: 80px; height: 22px;
}
.kft-machine__inner::before { top: -10px; left: 50px; background: rgba(242,165,184,.75); transform: rotate(-4deg); }
.kft-machine__inner::after  { top: -10px; right: 50px; background: rgba(245,210,138,.8); transform: rotate(5deg); }

.kft-machine__head { text-align: center; margin-bottom: 24px; }
.kft-machine__head em {
  display: block; font-style: normal;
  font-family: var(--font-script); font-weight: 700;
  color: var(--berry); font-size: 1.15rem;
  transform: rotate(-1deg); margin-bottom: 4px;
}
.kft-machine__head h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0;
}
.kft-machine__lead {
  text-align: center; max-width: 56ch; margin: 0 auto 24px;
  font-family: var(--font-script); font-weight: 700;
  font-size: 1.2rem; color: var(--ink-soft);
}
.kft-machine__img {
  display: block; width: 100%; max-width: 1000px;
  margin: 0 auto;
  border-radius: 14px;
}
.kft-machine__caption {
  text-align: center; margin-top: 18px;
  font-family: var(--font-script); font-weight: 700;
  font-size: 1.1rem; color: var(--berry);
}

/* ============================================================
   VITRINE - Produkt-Karten
   ============================================================ */
.kft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.kft-prod {
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid var(--cream-edge);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.kft-prod:nth-child(3n+1) { transform: rotate(-.7deg); }
.kft-prod:nth-child(3n+2) { transform: rotate(.5deg); }
.kft-prod:nth-child(3n+3) { transform: rotate(-.3deg); }
.kft-prod:hover {
  transform: translateY(-5px) rotate(0deg);
  box-shadow: var(--shadow-lg);
}
.kft-prod__media {
  aspect-ratio: 4/3;
  position: relative; overflow: hidden;
  background: var(--paper-2);
  display: block;
}
.kft-prod__media img { width: 100%; height: 100%; object-fit: cover; }
.kft-prod__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--paper); color: var(--berry);
  font-family: var(--font-script); font-weight: 700; font-size: 14px;
  padding: 2px 12px; border-radius: 999px;
  transform: rotate(-5deg);
  box-shadow: 0 3px 6px rgba(0,0,0,.15);
  border: 1.5px solid var(--berry-soft);
  z-index: 2;
}
.kft-prod__tape {
  position: absolute; top: -6px; right: 18px;
  width: 50px; height: 14px;
  background: rgba(245,210,138,.85);
  transform: rotate(15deg);
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
  z-index: 2;
}
.kft-prod__body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.kft-prod__name {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 16px; margin: 0 0 4px;
}
.kft-prod__name a { color: var(--ink); text-decoration: none; }
.kft-prod__sub {
  font-family: var(--font-script); font-weight: 700;
  font-size: 14px; color: var(--ink-fade);
  margin: 0 0 12px; flex: 1;
}
.kft-prod__row { display: flex; justify-content: space-between; align-items: center; }
.kft-prod__price {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 18px; color: var(--berry);
}
.kft-prod__add {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--honey); color: #5a3a18;
  border: 2px solid var(--paper); cursor: pointer;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 0 var(--honey-dk);
  transition: transform .2s, background .2s;
}
.kft-prod__add:hover { background: #f5b85a; transform: rotate(90deg) scale(1.1); }
.kft-prod__add.is-added { background: var(--sage); color: #fff; box-shadow: 0 3px 0 var(--sage-dk); }

/* Produkt-Detail */
.kft-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.kft-detail__media {
  background: var(--paper);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  transform: rotate(-.6deg);
  position: relative;
}
.kft-detail__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.kft-detail__body {
  background: var(--paper);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transform: rotate(.4deg);
}
.kft-detail__price {
  display: inline-block;
  font-family: var(--font-serif); font-weight: 500;
  font-size: 2rem; color: var(--berry); margin-bottom: 14px;
}
.kft-detail__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-script); font-weight: 700; margin-bottom: 16px;
  color: var(--berry-dk);
}
@media (max-width: 820px) { .kft-detail { grid-template-columns: 1fr; } }

/* ============================================================
   STORY (About)
   ============================================================ */
.kft-story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.kft-story__img {
  margin: 0;
  border: 12px solid var(--paper);
  border-bottom-width: 56px;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.2deg);
  background: var(--paper);
  position: relative;
}
.kft-story__img img { width: 100%; height: auto; object-fit: cover; display: block; }
.kft-story__img figcaption {
  position: absolute; left: 0; right: 0; bottom: -48px;
  text-align: center;
  font-family: var(--font-script); font-weight: 700;
  font-size: 1.25rem; color: var(--ink);
}
@media (max-width: 820px) { .kft-story { grid-template-columns: 1fr; } }

/* ============================================================
   REVIEWS
   ============================================================ */
.kft-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.kft-review {
  background: var(--paper);
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  position: relative;
}
.kft-review:nth-child(odd)  { transform: rotate(-.7deg); }
.kft-review:nth-child(even) { transform: rotate(.6deg); }
.kft-review::before {
  content: ""; position: absolute;
  top: -8px; left: 30px; width: 60px; height: 16px;
  background: rgba(242,165,184,.7); transform: rotate(-5deg);
}
.kft-review__stars { color: var(--honey-dk); margin-bottom: 8px; letter-spacing: 2px; font-size: 1rem; }
.kft-review__text {
  font-family: var(--font-script); font-weight: 700;
  font-size: 1.1rem; color: var(--ink); margin-bottom: 12px;
}
.kft-review__author {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1rem; color: var(--berry);
}

/* ============================================================
   INFO-CARDS (3-col)
   ============================================================ */
.kft-cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.kft-info-card {
  background: var(--paper);
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1.5px solid rgba(255,255,255,.6);
}
.kft-info-card:nth-child(3n+1) { transform: rotate(-.6deg); }
.kft-info-card:nth-child(3n+2) { transform: rotate(.5deg); }
.kft-info-card:nth-child(3n+3) { transform: rotate(-.2deg); }
.kft-info-card:hover { transform: translateY(-4px) rotate(0deg); box-shadow: var(--shadow-md); }
.kft-info-card__icon {
  width: 56px; height: 56px;
  background: var(--honey-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 12px;
  border: 1.5px solid var(--honey);
}
.kft-info-card h3 { margin-bottom: 8px; font-family: var(--font-serif); font-weight: 500; }
.kft-info-card a { color: var(--berry); font-weight: 600; }

/* ============================================================
   FORMS
   ============================================================ */
.kft-form {
  background: var(--paper);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1.5px solid rgba(255,255,255,.7);
}
.kft-form::before {
  content: ""; position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 110px; height: 22px;
  background: rgba(242,165,184,.75);
}
.kft-form__row { display: grid; gap: 14px; margin-bottom: 18px; }
.kft-form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .kft-form__row--2 { grid-template-columns: 1fr; } }

.kft-field { display: flex; flex-direction: column; gap: 6px; }
.kft-field label {
  font-family: var(--font-script); font-weight: 700;
  font-size: 1rem; color: var(--ink-soft);
}
.kft-field input,
.kft-field textarea,
.kft-field select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid rgba(60,80,100,.18);
  border-radius: 10px;
  background: var(--paper-2);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.kft-field textarea { min-height: 130px; resize: vertical; }
.kft-field input:focus, .kft-field textarea:focus {
  outline: none; border-color: var(--berry-soft);
  box-shadow: 0 0 0 3px var(--berry-bg);
}

.kft-msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-family: var(--font-script); font-weight: 700; }
.kft-msg--ok  { background: var(--sage-bg);  border: 1.5px solid var(--sage);  color: var(--sage-dk); }
.kft-msg--err { background: var(--berry-bg); border: 1.5px solid var(--berry-soft); color: var(--berry-dk); }

.kft-bz-list {
  background: var(--paper-2);
  border: 1.5px dashed rgba(60,80,100,.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.kft-bz-empty { text-align: center; font-family: var(--font-script); font-weight: 700; color: var(--ink-fade); padding: 16px; }
.kft-bz-item {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 12px; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed rgba(60,80,100,.15);
}
.kft-bz-item:last-child { border: 0; }
.kft-bz-item__name { font-family: var(--font-script); font-weight: 700; font-size: 1.05rem; }
.kft-bz-item__qty  { font-family: var(--font-serif); font-weight: 500; color: var(--berry); }
.kft-bz-item__rm {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid rgba(60,80,100,.2);
  font-weight: 700; cursor: pointer;
}
.kft-bz-total {
  margin-top: 12px; padding-top: 12px;
  border-top: 1.5px dashed rgba(60,80,100,.2);
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.2rem; text-align: right; color: var(--berry);
}

/* ============================================================
   TRAY-FAB & SHEET
   ============================================================ */
.kft-tray-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--honey); color: #5a3a18;
  border: 2.5px solid var(--paper);
  box-shadow: 0 4px 0 var(--honey-dk), 0 12px 20px rgba(0,0,0,.2);
  display: none; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.kft-tray-fab__badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--berry); color: #fff;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  border: 2px solid var(--paper);
}
.kft-tray-fab__badge[data-count="0"] { display: none; }
@media (max-width: 700px) { .kft-tray-fab { display: inline-flex; } }

.kft-sheet { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.kft-sheet.is-open { visibility: visible; pointer-events: auto; }
.kft-sheet__bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.kft-sheet.is-open .kft-sheet__bg { opacity: 1; }
.kft-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 80vh; overflow: auto;
  background: var(--paper);
  border-radius: 22px 22px 0 0;
  padding: 22px;
  transform: translateY(110%); transition: transform .3s;
}
.kft-sheet.is-open .kft-sheet__panel { transform: translateY(0); }
.kft-sheet__title { font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 12px; }
.kft-sheet__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid rgba(60,80,100,.2);
  font-size: 1.2rem;
}

/* ============================================================
   TOAST + CONFETTI
   ============================================================ */
.kft-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px);
  z-index: 110;
  padding: 12px 22px;
  background: var(--sage); color: #fff;
  border-radius: 999px;
  font-family: var(--font-serif); font-weight: 500; font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  opacity: 0; transition: transform .25s, opacity .25s;
  pointer-events: none;
}
.kft-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

.kft-confetti { position: fixed; pointer-events: none; z-index: 105; top: 0; left: 0; width: 0; height: 0; }
.kft-confetti span {
  position: absolute; width: 8px; height: 12px;
  border-radius: 2px;
  animation: kftConfetti 1s ease-out forwards;
}
@keyframes kftConfetti {
  0%   { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(720deg); opacity: 0; }
}

/* ============================================================
   FOOTER (Pastell-passend, nicht dunkelbraun!)
   ============================================================ */
.kft-footer {
  margin-top: 40px;
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,.5), transparent 65%),
    var(--paper);
  color: var(--ink);
  padding: 50px 0 24px;
  border-top: 4px solid var(--berry-soft);
  position: relative;
}
.kft-footer::before {
  content: ""; position: absolute; top: -4px; left: 0; right: 0;
  height: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 4' preserveAspectRatio='none'><path d='M0 2 Q 5 0 10 2 T 20 2 T 30 2 T 40 2 T 50 2 T 60 2 T 70 2 T 80 2 T 90 2 T 100 2' stroke='%23d4567a' stroke-width='1.5' fill='none'/></svg>");
}
.kft-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 26px; }
.kft-footer h4 {
  color: var(--berry-dk);
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.15rem; margin-bottom: 10px;
}
.kft-footer a { color: var(--ink-soft); }
.kft-footer a:hover { color: var(--berry); }
.kft-footer__brand { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; color: var(--ink); margin-bottom: 4px; }
.kft-footer__sub { font-family: var(--font-script); font-weight: 700; color: var(--berry); font-size: 1.15rem; }
.kft-footer ul { list-style: none; padding: 0; margin: 0; }
.kft-footer li { margin: 6px 0; font-family: var(--font-script); font-weight: 700; font-size: 1.05rem; color: var(--ink-soft); }
.kft-footer__bottom {
  border-top: 1px dashed rgba(60,80,100,.2);
  padding-top: 18px;
  display: flex; justify-content: space-between; gap: 18px;
  font-family: var(--font-body); font-size: 13px;
  color: var(--ink-fade); flex-wrap: wrap;
}
@media (max-width: 700px) { .kft-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   MAP CONSENT
   ============================================================ */
.kft-map-consent {
  background: var(--paper);
  border: 1.5px dashed var(--berry-soft);
  border-radius: 14px;
  padding: 36px 24px; text-align: center;
  box-shadow: var(--shadow);
}
.kft-map iframe { width: 100%; height: 440px; border: 0; border-radius: 14px; }

.kft-band {
  background:
    repeating-linear-gradient(135deg,
      var(--honey-bg) 0, var(--honey-bg) 18px,
      var(--paper) 18px, var(--paper) 36px);
  padding: 28px 0; text-align: center;
  font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem;
  margin: 26px 0;
}

.kft-center { text-align: center; }
.kft-mt-2 { margin-top: 14px; }
.kft-mt-3 { margin-top: 24px; }
.kft-mb-3 { margin-bottom: 24px; }
.kft-flex-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ============================================================
   ADMIN
   ============================================================ */
.kft-admin-body { background: #f5efe1; font-family: var(--font-body); color: var(--ink); }
.kft-admin-body::before, .kft-admin-body::after { display: none !important; }
.kft-admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.kft-admin__nav { background: #2a1f15; color: #fdf6e8; padding: 24px 18px; }
.kft-admin__nav h1 { color: var(--honey); font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 22px; }
.kft-admin__nav a {
  display: block; padding: 9px 12px; margin-bottom: 4px;
  color: #fdf6e8; text-decoration: none;
  border-radius: 8px; font-size: 14px;
}
.kft-admin__nav a:hover { background: rgba(255,255,255,.08); }
.kft-admin__nav a.is-active { background: var(--honey); color: #2a1f15; font-weight: 600; }
.kft-admin__main { padding: 30px; }
.kft-admin__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1.5px dashed rgba(0,0,0,.15);
}
.kft-admin__header h1 { font-family: var(--font-serif); font-weight: 500; font-size: 1.8rem; margin: 0; color: var(--ink); }
.kft-admin__card { background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 4px 12px rgba(0,0,0,.06); margin-bottom: 20px; }
.kft-admin__table { width: 100%; border-collapse: collapse; }
.kft-admin__table th, .kft-admin__table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(0,0,0,.08); }
.kft-admin__table th { font-family: var(--font-serif); font-weight: 500; background: #faf4e3; }
.kft-admin__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 24px; }
.kft-admin__stat { background: #fff; padding: 18px; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.kft-admin__stat b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 2.2rem; color: var(--berry); }
.kft-admin__stat span { font-family: var(--font-script); font-weight: 700; color: var(--ink-soft); }
@media (max-width: 820px) { .kft-admin { grid-template-columns: 1fr; } }


/* ============================================================
   MAGIC LAYER — Pinselstrich, Doodles, Post-its, Stempel
   ============================================================ */

/* ---------- Pinselstrich-Hover unter Nav-Links ---------- */
.kft-nav a {
  overflow: visible;
  isolation: isolate;
}
.kft-nav a::before {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: -2px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'><path d='M 2 8 Q 15 4 30 7 T 60 8 T 95 6 L 95 12 Q 80 13 60 11 T 30 12 T 5 13 Z' fill='%23f2a5b8' opacity='.85'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
  pointer-events: none;
}
.kft-nav a:hover::before,
.kft-nav a.is-active::before { transform: scaleX(1); }
/* Active-Underline aus dem Basis-Stylesheet ausschalten — Pinselstrich übernimmt */
.kft-nav a.is-active::after { display: none; }

/* ---------- Pinselstrich-Sweep auf Buttons ---------- */
.kft-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.kft-btn::before {
  content: "";
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
  pointer-events: none;
}
.kft-btn--primary::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'><path d='M 0 5 Q 25 2 50 6 T 100 5 L 100 24 Q 75 28 50 24 T 0 25 Z' fill='%23ffffff' opacity='.28'/></svg>");
}
.kft-btn--honey::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'><path d='M 0 5 Q 25 2 50 6 T 100 5 L 100 24 Q 75 28 50 24 T 0 25 Z' fill='%23ffffff' opacity='.35'/></svg>");
}
.kft-btn--ghost::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'><path d='M 0 5 Q 25 2 50 6 T 100 5 L 100 24 Q 75 28 50 24 T 0 25 Z' fill='%23f2a5b8' opacity='.55'/></svg>");
}
.kft-btn:hover::before { transform: scaleX(1); }

/* Pinselstrich auch unter normalen Text-Links beim Hover */
.kft-link::before {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: -3px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'><path d='M 2 5 Q 15 1 30 4 T 60 5 T 95 3 L 95 8 Q 80 9 60 7 T 30 8 T 5 9 Z' fill='%23f2a5b8' opacity='.75'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
  pointer-events: none;
}
.kft-link {
  position: relative;
  isolation: isolate;
}
.kft-link:hover::before { transform: scaleX(1); }
/* die alte Scribble-Linie schalten wir bei Hover aus, damit nicht doppelt */
.kft-link:hover::after { opacity: 0; }

/* ---------- Schwebende Doodles ---------- */
.kft-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.kft-doodle {
  position: absolute;
  font-size: 24px;
  opacity: .75;
  filter: drop-shadow(0 2px 3px rgba(60,80,100,.15));
}
.kft-doodle--anim-a { animation: kftFloatA 9s ease-in-out infinite; }
.kft-doodle--anim-b { animation: kftFloatB 11s ease-in-out infinite; }
.kft-doodle--anim-c { animation: kftFloatA 13s ease-in-out infinite -3s; }
@keyframes kftFloatA {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  50%      { transform: translate(10px, -14px) rotate(8deg); }
}
@keyframes kftFloatB {
  0%, 100% { transform: translate(0, 0) rotate(10deg); }
  50%      { transform: translate(-12px, -10px) rotate(-6deg); }
}

/* Section soll Doodles aufnehmen können */
.kft-section,
.kft-hero,
.kft-machine { position: relative; }
.kft-section > .kft-container,
.kft-hero > .kft-container,
.kft-machine > .kft-container { position: relative; z-index: 2; }

/* ---------- Post-it-Notiz ---------- */
.kft-postit {
  background: #fff9d4;
  padding: 14px 16px 18px;
  font-family: var(--font-script); font-weight: 700;
  font-size: 1.05rem; line-height: 1.25;
  color: var(--ink-soft);
  box-shadow:
    0 1px 1px rgba(0,0,0,.08),
    0 8px 18px -8px rgba(60,80,100,.45);
  position: relative;
  max-width: 200px;
}
.kft-postit::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 72px; height: 16px;
  background: rgba(196,180,80,.45);
}
.kft-postit__sign {
  display: block;
  margin-top: 6px;
  color: var(--berry);
  font-size: 1rem;
}
/* Pin als absolute Variante in Hero */
.kft-hero__art .kft-postit {
  position: absolute;
  top: 30%; right: -20px;
  transform: rotate(6deg);
  z-index: 4;
  width: 150px;
}

/* ---------- Kaffeering-Stempel ---------- */
.kft-stamp {
  position: absolute;
  width: 64px; height: 64px;
  border: 2.5px solid rgba(196,140,90,.45);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-12deg);
  z-index: 1;
}
.kft-stamp::after {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px solid rgba(196,140,90,.3);
  border-radius: 50%;
}
.kft-stamp--card { bottom: 50px; right: 6px; }

/* ---------- Stern (Liebling-Marker) ---------- */
.kft-star {
  position: absolute;
  top: 8px; right: 10px;
  font-family: var(--font-script); font-weight: 700;
  font-size: 26px; color: #f5b85a;
  transform: rotate(-15deg);
  text-shadow: 1px 1px 0 #fff;
  z-index: 3;
  pointer-events: none;
}

/* ---------- Hand-drawn Pfeil ---------- */
.kft-handarrow {
  position: absolute;
  font-family: var(--font-script); font-weight: 700;
  color: var(--berry); font-size: 16px;
  transform: rotate(8deg);
  z-index: 4;
  text-align: center;
  pointer-events: none;
}
.kft-handarrow svg { display: block; margin: -2px auto 0; }

/* ---------- Margin-Notiz (senkrecht am Rand) ---------- */
.kft-margin-note {
  position: absolute;
  left: 8px; bottom: 24px;
  font-family: var(--font-script); font-weight: 700;
  color: var(--berry); font-size: 1rem;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  white-space: nowrap;
  opacity: .65;
  pointer-events: none;
  z-index: 1;
}
.kft-margin-note--right {
  left: auto; right: 8px;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

/* ---------- Dampf aus Tassen ---------- */
.kft-steam {
  position: absolute;
  width: 4px; height: 28px;
  background: rgba(255,255,255,.65);
  border-radius: 4px;
  filter: blur(2px);
  animation: kftSteam 3s ease-in infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes kftSteam {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  20%  { opacity: .85; }
  100% { opacity: 0; transform: translateY(-44px) scale(1.6); }
}

/* ---------- Fallende Blütenblätter (Hero-Sektion) ---------- */
.kft-petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.kft-petal {
  position: absolute;
  top: -20px;
  font-size: 14px;
  opacity: .6;
  animation: kftPetal 14s linear infinite;
}
@keyframes kftPetal {
  0%   { top: -20px; transform: translateX(0) rotate(0); opacity: 0; }
  10%  { opacity: .6; }
  100% { top: 110%; transform: translateX(40px) rotate(540deg); opacity: 0; }
}

/* ---------- Wischer-Stempel hinter Section-Heads ---------- */
.kft-section__head h2 { isolation: isolate; }
.kft-section__head h2::before {
  /* überschreibt das ✿-Vorzeichen NICHT (das ist content), aber wir ergänzen
     einen Pinselstrich unter dem Titel über ein extra Element */
}
.kft-section__head .kft-brushed {
  position: relative; display: inline-block;
}
.kft-section__head .kft-brushed::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: -6px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'><path d='M 2 8 Q 15 4 30 7 T 60 8 T 95 6 L 95 12 Q 80 13 60 11 T 30 12 T 5 13 Z' fill='%23f2a5b8' opacity='.65'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
}

/* ---------- Confetti-Effekt (Add-Button) — schon im Basis-CSS,
   aber wir geben den Spans hier eine Beere-Honig-Salbei-Palette via JS ---------- */

/* ---------- Reduzierte Animationen für Sparsame ---------- */
@media (prefers-reduced-motion: reduce) {
  .kft-doodle, .kft-doodle--anim-a, .kft-doodle--anim-b, .kft-doodle--anim-c,
  .kft-steam, .kft-petal, .kft-bee, .kft-sticker {
    animation: none;
  }
}


/* ============================================================
   MAGIC LAYER · UPDATE
   Größere, statische Café-SVG-Doodles statt Emojis
   ============================================================ */

/* Doodles werden jetzt als SVG eingebunden, größer und ruhiger */
.kft-doodle--svg {
  position: absolute;
  opacity: .55;
  filter: drop-shadow(0 3px 5px rgba(60,80,100,.18));
  pointer-events: none;
}
.kft-doodle--svg svg { width: 100%; height: 100%; display: block; }

/* Animationen sehr sanft, nicht mehr ablenkend */
.kft-doodle--anim-a { animation: kftFloatSoft 16s ease-in-out infinite; }
.kft-doodle--anim-b { animation: kftFloatSoft 19s ease-in-out infinite -4s; }
.kft-doodle--anim-c { animation: kftFloatSoft 22s ease-in-out infinite -8s; }
@keyframes kftFloatSoft {
  0%, 100% { transform: translate(0, 0) rotate(var(--rot, -6deg)); }
  50%      { transform: translate(6px, -8px) rotate(calc(var(--rot, -6deg) + 4deg)); }
}

/* Stempel ausblenden — wirkt verwirrend auf Produkten */
.kft-stamp, .kft-stamp--card { display: none !important; }

/* Doodles per Default in den Sektionen nicht clippen */
.kft-doodles { overflow: visible; }
