/* =================================================================
   TILDA – Stylesheet im "Modern-Retro"-Look
   Aufbau dieser Datei:
   1. Farben & Grundwerte (Variablen)
   2. Grundlayout (App-Rahmen, Screens, Filmkorn)
   3. Allgemeine Bausteine (Knöpfe, Chips, Karten, Polaroids)
   4. Tab-Leiste & Kamera-Linse
   5. Sheet (Einblend-Fenster) & Toast
   6. Styles für die einzelnen Screens
   ================================================================= */


/* ---------- 1. Farben & Grundwerte ---------- */
:root {
  --creme: #F3EADB;          /* Hintergrund */
  --creme-dunkel: #E7DAC4;   /* leicht dunklere Flächen */
  --papier: #FFFDF8;         /* Polaroid-Rahmen, Karten */
  --braun: #4A3426;          /* Haupt-Textfarbe */
  --braun-mittel: #7A5B45;   /* Nebentext */
  --braun-hell: #B9A089;     /* Linien, inaktive Symbole */
  --senf: #D9A23B;           /* Akzent 1 */
  --senf-hell: #F4DFAE;
  --rost: #B4532A;           /* Akzent 2 */
  --rost-hell: #F1D3C3;
  --gruen: #55704C;          /* Second-Hand / Nachhaltigkeit */
  --gruen-hell: #DCE5CF;

  --schrift-titel: "Young Serif", Georgia, serif;
  --schrift-text: "DM Sans", -apple-system, "Segoe UI", sans-serif;
  --schrift-hand: "Caveat", "Comic Sans MS", cursive;

  --schatten: 0 1px 2px rgba(74, 52, 38, .10), 0 8px 20px rgba(74, 52, 38, .12);
  --schatten-klein: 0 1px 2px rgba(74, 52, 38, .12), 0 3px 8px rgba(74, 52, 38, .08);
  --radius: 18px;

  /* Höhe der Tab-Leiste (ohne den Home-Balken des iPhones) */
  --tab-hoehe: 68px;
}


/* ---------- 2. Grundlayout ---------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--creme-dunkel);
  color: var(--braun);
  font-family: var(--schrift-text);
  font-size: 16px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent; /* kein grauer Blitz beim Tippen auf dem iPhone */
}

/* Der App-Rahmen: auf dem Handy volle Breite, am Computer mittig wie ein Handy */
#app {
  position: relative;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--creme);
  overflow-x: hidden;
}

/* Dezentes Filmkorn über allem – ein gezeichnetes Rauschen als SVG */
#app::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none; /* wichtig: das Korn darf keine Klicks abfangen */
  z-index: 900;
  opacity: .16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='k'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .29  0 0 0 0 .2  0 0 0 0 .15  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23k)'/></svg>");
}

/* Jeder Screen ist unsichtbar, außer er hat die Klasse "aktiv" */
.screen {
  display: none;
  padding:
    calc(env(safe-area-inset-top) + 14px)
    calc(env(safe-area-inset-right) + 18px)
    calc(env(safe-area-inset-bottom) + var(--tab-hoehe) + 34px)
    calc(env(safe-area-inset-left) + 18px);
  animation: einblenden .25s ease-out;
}
.screen.aktiv { display: block; }

@keyframes einblenden {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Etwas für Screenreader und das versteckte Dateifeld */
.unsichtbar {
  position: absolute !important;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

h1, h2, h3 {
  /* Young Serif gibt es nur in einer Stärke: kein künstliches Fett/Kursiv */
  font-synthesis: none;
  font-family: var(--schrift-titel);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.01em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.3rem; margin: 28px 0 12px; }
h3 { font-size: 1.08rem; font-weight: 600; }
p  { margin: 0 0 10px; }

.klein   { font-size: .86rem; color: var(--braun-mittel); }
.hand    { font-family: var(--schrift-hand); font-size: 1.35rem; line-height: 1.1; }
.mitte   { text-align: center; }
.abstand { height: 16px; }


/* ---------- 3. Allgemeine Bausteine ---------- */

/* Kopfbereich eines Screens */
.kopf { margin-bottom: 18px; }
.kopf-zeile { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.kopf .untertitel { margin-top: 6px; color: var(--braun-mittel); }
.kopf h1 em { font-style: italic; color: var(--rost); }

.zurueck-knopf {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--papier);
  box-shadow: var(--schatten-klein);
  color: var(--braun);
  font-size: 1.3rem;
  cursor: pointer;
}

/* Knöpfe – mindestens 48px hoch, damit man sie gut trifft */
.knopf, .knopf-zweit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 999px;
  font: 700 1rem var(--schrift-text);
  cursor: pointer;
  text-decoration: none;
  transition: transform .1s;
}
.knopf {
  border: none;
  background: var(--braun);
  color: var(--papier);
  box-shadow: 0 3px 0 #2c1e15, var(--schatten-klein);
}
.knopf-zweit {
  border: 2px solid var(--braun);
  background: transparent;
  color: var(--braun);
}
.knopf:active, .knopf-zweit:active { transform: translateY(2px); }
.knopf.senf { background: var(--senf); color: var(--braun); box-shadow: 0 3px 0 #a87a22, var(--schatten-klein); }
.knopf.rost { background: var(--rost); box-shadow: 0 3px 0 #7d3618, var(--schatten-klein); }
.knopf.gruen { background: var(--gruen); box-shadow: 0 3px 0 #3a4f34, var(--schatten-klein); }
.knopf:disabled { opacity: .55; }

.knopf-text {
  border: none;
  background: none;
  padding: 12px 8px;
  min-height: 44px;
  color: var(--braun-mittel);
  font: 500 .95rem var(--schrift-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.knopf-reihe { display: flex; gap: 10px; }
.knopf-reihe > * { flex: 1; }
.knopf-stapel { display: grid; gap: 10px; }

/* Chips = kleine runde Auswahl-Knöpfe */
.chip-reihe {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -18px;           /* darf bis an den Rand scrollen */
  padding: 4px 18px 10px;
  scrollbar-width: none;
}
.chip-reihe::-webkit-scrollbar { display: none; }
.chip-umbruch { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 16px;
  border: 1.5px solid var(--braun-hell);
  border-radius: 999px;
  background: var(--papier);
  color: var(--braun);
  font: 500 .92rem var(--schrift-text);
  white-space: nowrap;
  cursor: pointer;
}
.chip.aktiv {
  background: var(--braun);
  border-color: var(--braun);
  color: var(--papier);
}

/* Karte = Papierfläche mit weichem Schatten */
.karte {
  background: var(--papier);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--schatten);
  margin-bottom: 14px;
}

/* Schnellzugriff-Karten auf dem Schrank-Screen */
.schnell-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.schnell-karte {
  display: flex; flex-direction: column; gap: 4px;
  min-height: 92px;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  background: var(--senf-hell);
  color: var(--braun);
  text-align: left;
  font: inherit;
  box-shadow: var(--schatten-klein);
  cursor: pointer;
}
.schnell-karte.rost { background: var(--rost-hell); }
.schnell-karte .symbol { font-size: 1.4rem; }
.schnell-karte strong { font-family: var(--schrift-titel); font-size: 1.02rem; }
.schnell-karte span:last-child { font-size: .8rem; color: var(--braun-mittel); }

/* ---- Polaroids ---- */
.polaroid {
  position: relative;
  background: var(--papier);
  padding: 8px 8px 0;
  border-radius: 3px;
  box-shadow: var(--schatten);
  border: none;
  font: inherit;
  color: inherit;
  text-align: center;
  width: 100%;
  cursor: pointer;
  transition: transform .2s;
}
/* leicht schief – wie echte Fotos auf dem Tisch */
.raster .polaroid:nth-child(3n+1) { transform: rotate(-1.4deg); }
.raster .polaroid:nth-child(3n+2) { transform: rotate(1deg); }
.raster .polaroid:nth-child(3n)   { transform: rotate(-.4deg); }
.raster .polaroid:active { transform: scale(.97); }

.polaroid-bild {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #EFE5D3, #E3D5BD);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* leichter Innenschatten wie bei Fotopapier */
  box-shadow: inset 0 0 0 1px rgba(74, 52, 38, .06), inset 0 0 22px rgba(74, 52, 38, .08);
}
.polaroid-bild svg { width: 78%; height: 78%; filter: drop-shadow(0 3px 3px rgba(74,52,38,.18)); }
.polaroid-bild img { width: 100%; height: 100%; object-fit: cover; }

.polaroid-notiz {
  font-family: var(--schrift-hand);
  font-size: 1.25rem;
  line-height: 1.05;
  padding: 8px 4px 10px;
  min-height: 46px;
  display: flex; align-items: center; justify-content: center;
}
.polaroid-name {
  display: block;
  font-family: var(--schrift-text);
  font-size: .78rem;
  color: var(--braun-mittel);
}

/* Klebestreifen oben auf manchen Polaroids */
.polaroid.mit-tape::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%;
  width: 70px; height: 22px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(217, 162, 59, .55);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

/* Raster für Polaroids */
.raster { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }

/* Outfit-Collage: mehrere Kleidungsstücke in einem Bild */
.collage {
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 6%;
  gap: 2%;
}
.collage > div { display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 4px; }
.collage svg { width: 92%; height: 92%; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
/* nur 3 Teile? Dann geht das erste über zwei Zeilen */
.collage.drei > div:first-child { grid-row: span 2; }

.markierung {
  position: absolute;
  top: 14px; left: 14px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--rost);
  color: var(--papier);
  font: 700 .7rem var(--schrift-text);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Hinweis-Zeile mit Schloss (Datenschutz) */
.datenschutz-zeile {
  display: flex; gap: 8px; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--gruen);
  font-weight: 500;
  text-align: center;
}


/* ---------- 4. Tab-Leiste & Kamera-Linse ---------- */
#tableiste {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr 1fr;
  align-items: end;
  height: calc(var(--tab-hoehe) + env(safe-area-inset-bottom));
  padding: 0 calc(env(safe-area-inset-right) + 6px) env(safe-area-inset-bottom) calc(env(safe-area-inset-left) + 6px);
  background: rgba(255, 253, 248, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(74, 52, 38, .1);
  box-shadow: 0 -4px 20px rgba(74, 52, 38, .06);
}
/* 4 Knöpfe + Lücke: Kamera in Spalte 3 */
#tableiste .tab:nth-child(1) { grid-column: 1 / 3; }
#tableiste .tab:nth-child(2) { grid-column: 3; }
#tableiste .tab:nth-child(3) { grid-column: 4; }
#tableiste .tab:nth-child(4) { grid-column: 5; }
#tableiste.versteckt { display: none; }

.tab {
  height: var(--tab-hoehe);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: none;
  background: none;
  color: var(--braun-hell);
  font: 500 .72rem var(--schrift-text);
  cursor: pointer;
}
.tab svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tab.aktiv { color: var(--braun); font-weight: 700; }

/* Kamera-Tab ragt nach oben heraus */
.tab-kamera { position: relative; }
.tab-kamera .linse { position: absolute; bottom: 14px; }

/* Die Linse: mehrere Ringe mit Verläufen ergeben den 3D-Effekt */
.linse {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* äußerer Ring: Senfgelb mit Licht von oben links */
  background: radial-gradient(circle at 32% 28%, #F6D58A, var(--senf) 45%, #9E7120 100%);
  box-shadow:
    0 6px 0 #7f5a17,                    /* "Dicke" nach unten */
    0 12px 24px rgba(74, 52, 38, .35),  /* weicher Schatten */
    inset 0 2px 3px rgba(255,255,255,.5);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.linse:active { transform: translateY(4px); box-shadow: 0 2px 0 #7f5a17, 0 6px 12px rgba(74,52,38,.3); }
.linse-klein { width: 62px; height: 62px; }
.linse-gross { width: 168px; height: 168px; margin: 10px auto 0; }

/* der braune Ring um das Glas */
.linse::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8a654c, var(--braun) 60%, #24170f);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.5);
}
/* das Glas selbst: dunkel mit bläulichem Schimmer */
.linse-glas {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.85) 0 7%, transparent 8%),   /* Lichtpunkt */
    radial-gradient(circle at 62% 66%, rgba(255,255,255,.25) 0 5%, transparent 6%),   /* zweiter Reflex */
    radial-gradient(circle at 50% 50%, #3b5a73 0%, #1d2c3a 45%, #0b1118 75%);
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.35), inset 0 -6px 10px rgba(120, 170, 210, .25);
}
.linse-gross .linse-glas::after {
  /* zusätzlicher Bogen-Reflex auf der großen Linse */
  content: "";
  position: absolute;
  inset: 14% 18% 52% 18%;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.28), transparent);
}
.tab-kamera.aktiv .linse { box-shadow: 0 6px 0 #7f5a17, 0 0 0 4px var(--papier), 0 0 0 6px var(--rost), 0 12px 24px rgba(74,52,38,.35); }


/* ---------- 5. Sheet & Toast ---------- */
#sheet-hintergrund {
  position: fixed; inset: 0;
  z-index: 600;
  background: rgba(40, 26, 18, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
#sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 610;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translate(-50%, 105%);
  transition: transform .3s cubic-bezier(.2, .9, .3, 1);
  background: var(--creme);
  border-radius: 24px 24px 0 0;
  padding: 10px 20px calc(env(safe-area-inset-bottom) + 22px);
  box-shadow: 0 -10px 40px rgba(40, 26, 18, .25);
}
body.sheet-offen #sheet-hintergrund { opacity: 1; pointer-events: auto; }
body.sheet-offen #sheet { transform: translate(-50%, 0); }
.sheet-griff { width: 44px; height: 5px; border-radius: 3px; background: var(--braun-hell); margin: 0 auto 16px; }

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + var(--tab-hoehe) + 18px);
  z-index: 700;
  max-width: min(420px, 90vw);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--braun);
  color: var(--papier);
  font-size: .92rem;
  text-align: center;
  box-shadow: var(--schatten);
  transition: opacity .25s, transform .25s;
}
#toast.sichtbar { opacity: 1; transform: translate(-50%, 0); }


/* ---------- 6. Screens ---------- */

/* ---- Onboarding ---- */
#screen-onboarding { padding: 0; }
.onb {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(env(safe-area-inset-top) + 12px) 0 calc(env(safe-area-inset-bottom) + 20px);
}
.onb-oben { display: flex; justify-content: space-between; align-items: center; padding: 0 18px; }
.logo { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.25rem; }
.logo span { color: var(--rost); }
.logo { display: flex; align-items: center; gap: 7px; }
.logo-zeichen { width: 22px; height: 26px; flex: none; }
.logo .logo-name { color: inherit; }
.logo .logo-name span { color: var(--rost); }

.onb-karten {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.onb-karten::-webkit-scrollbar { display: none; }
.onb-karte {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 26px;
}
.onb-bild { position: relative; height: 270px; margin-bottom: 26px; }
.onb-karte h1 { font-size: 2.1rem; }
.onb-karte h1 em { color: var(--rost); }
.onb-karte p { margin-top: 14px; font-size: 1.05rem; color: var(--braun-mittel); }

/* Sofortbilder im Onboarding sind nur Deko, nicht antippbar (Anordnung: siehe .onb-tage weiter unten) */
.onb-bild .polaroid { position: absolute; width: 56%; cursor: default; }

/* Bild auf Karte 2: Spiegel-Selfie → Pfeil → drei Sofortbilder */
.onb-selfie-reihe { display: flex; align-items: center; justify-content: center; gap: 8px; }
.onb-selfie .spiegel { width: 42%; }
.selfie-pfeil { font-family: var(--schrift-hand); font-size: 2.4rem; color: var(--rost); line-height: 1; }
.selfie-stapel { width: 30%; display: flex; flex-direction: column; }
.onb-selfie .selfie-stapel .polaroid { position: relative; width: 100%; padding: 4px 4px 0; cursor: default; }
.selfie-stapel .polaroid + .polaroid { margin-top: -22px; }          /* leicht übereinander */
.selfie-stapel .polaroid:nth-child(1) { transform: rotate(-6deg); }
.selfie-stapel .polaroid:nth-child(2) { transform: rotate(4deg) translateX(8px); z-index: 1; }
.selfie-stapel .polaroid:nth-child(3) { transform: rotate(-3deg); z-index: 2; }
.selfie-stapel .polaroid-notiz { min-height: 22px; font-size: .9rem; padding: 2px 2px 4px; }

/* Bild auf Karte 3: Handy mit Schloss */
.schloss-bild {
  width: 150px; height: 240px;
  margin: 10px auto 0;
  border-radius: 28px;
  background: var(--papier);
  border: 6px solid var(--braun);
  box-shadow: var(--schatten);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.schloss-bild svg { width: 64px; height: 64px; }

.onb-punkte { display: flex; justify-content: center; gap: 8px; margin: 10px 0 18px; }
.onb-punkte span { width: 8px; height: 8px; border-radius: 4px; background: var(--braun-hell); transition: width .2s, background .2s; }
.onb-punkte span.aktiv { width: 26px; background: var(--rost); }
.onb-unten { padding: 0 22px; }

.versprechen-liste { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.versprechen-liste li { display: flex; gap: 10px; align-items: flex-start; }
.versprechen-liste li::before { content: "✓"; color: var(--gruen); font-weight: 700; }

/* ---- Schrank ---- */
.teil-detail-kopf { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.teil-detail-kopf .polaroid { width: 132px; flex-shrink: 0; transform: rotate(-2deg); cursor: default; }
.eigenschaften { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.eigenschaft { background: var(--papier); border-radius: 12px; padding: 10px 12px; box-shadow: var(--schatten-klein); }
.eigenschaft small { display: block; font-size: .75rem; color: var(--braun-mittel); text-transform: uppercase; letter-spacing: .05em; }
.eigenschaft strong { font-weight: 700; }
.farbpunkt { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.15); }
.leer-hinweis { padding: 30px 10px; text-align: center; color: var(--braun-mittel); }

/* ---- Kamera ---- */
.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--creme-dunkel);
  margin-bottom: 20px;
}
.segment button {
  min-height: 44px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--braun-mittel);
  font: 700 .92rem var(--schrift-text);
  cursor: pointer;
}
.segment button.aktiv { background: var(--papier); color: var(--braun); box-shadow: var(--schatten-klein); }

.kamera-buehne { text-align: center; padding: 6px 0 4px; }
.kamera-buehne .hand { margin-top: 26px; color: var(--rost); font-size: 1.6rem; }
.kamera-tipp { margin: 6px auto 0; max-width: 300px; color: var(--braun-mittel); font-size: .93rem; }

/* ---- Erkennung (Lade-Animation) ---- */
.scan-rahmen { position: relative; width: 78%; max-width: 300px; margin: 18px auto 26px; transform: rotate(-1.5deg); }
.scan-rahmen .polaroid { cursor: default; }
.scan-linie {
  position: absolute;
  left: 8px; right: 8px;
  height: 3px;
  background: var(--senf);
  box-shadow: 0 0 14px 4px rgba(217, 162, 59, .7);
  animation: scannen 1.4s ease-in-out infinite alternate;
}
@keyframes scannen {
  from { top: 10px; }
  to   { top: calc(100% - 60px); }
}
/* Ecken wie im Kamera-Sucher */
.sucher-ecke { position: absolute; width: 26px; height: 26px; border: 3px solid var(--rost); }
.sucher-ecke.lo { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.sucher-ecke.ro { top: 16px; right: 16px; border-left: none; border-bottom: none; }
.sucher-ecke.lu { bottom: 68px; left: 16px; border-right: none; border-top: none; }
.sucher-ecke.ru { bottom: 68px; right: 16px; border-left: none; border-top: none; }

.status-text { font-family: var(--schrift-titel); font-size: 1.3rem; font-weight: 600; text-align: center; min-height: 1.6em; }
.lade-punkte { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.lade-punkte span { width: 9px; height: 9px; border-radius: 50%; background: var(--braun); animation: huepfen 1s infinite ease-in-out; }
.lade-punkte span:nth-child(2) { animation-delay: .15s; }
.lade-punkte span:nth-child(3) { animation-delay: .3s; }
@keyframes huepfen { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-7px); opacity: 1; } }

/* ---- Ergebnis (Merkmale) ---- */
.ergebnis-polaroid { width: 62%; max-width: 250px; margin: 6px auto 22px; transform: rotate(1.5deg); cursor: default; }
.merkmal-liste { display: grid; gap: 10px; margin-bottom: 22px; }
.merkmal {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px;
  padding: 10px 16px;
  border: none;
  border-radius: 14px;
  background: var(--papier);
  box-shadow: var(--schatten-klein);
  font: inherit; color: inherit;
  text-align: left;
  cursor: pointer;
}
.merkmal small { display: block; font-size: .75rem; color: var(--braun-mittel); text-transform: uppercase; letter-spacing: .05em; }
.merkmal strong { font-size: 1.05rem; }
.merkmal .stift { color: var(--rost); font-size: .85rem; font-weight: 700; }

.auswahl-liste { display: grid; gap: 8px; }
.auswahl-liste button {
  display: flex; align-items: center; gap: 10px;
  min-height: 50px;
  padding: 10px 16px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--papier);
  font: 500 1rem var(--schrift-text);
  color: var(--braun);
  text-align: left;
  cursor: pointer;
}
.auswahl-liste button.aktiv { border-color: var(--braun); font-weight: 700; }

/* ---- Was passt dazu? ---- */
.basis-teil { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.basis-teil .polaroid { width: 96px; flex-shrink: 0; padding: 6px 6px 0; transform: rotate(-3deg); cursor: default; }
.basis-teil .polaroid-notiz { min-height: 26px; font-size: 1rem; padding: 4px 2px 6px; }

.outfit-karte { margin-bottom: 30px; }
.outfit-karte .polaroid { cursor: default; margin-bottom: 14px; }
.outfit-karte:nth-child(odd) .polaroid { transform: rotate(-1deg); }
.outfit-karte:nth-child(even) .polaroid { transform: rotate(1deg); }
.outfit-karte .polaroid-notiz { font-size: 1.55rem; }
.begruendung { background: var(--papier); border-radius: 14px; padding: 14px 16px; box-shadow: var(--schatten-klein); }
.begruendung p { margin: 0; }

.feedback-zeile { display: flex; align-items: center; gap: 10px; margin: 12px 0 10px; }
.daumen {
  width: 52px; height: 52px;
  border: 2px solid var(--braun-hell);
  border-radius: 50%;
  background: var(--papier);
  font-size: 1.35rem;
  cursor: pointer;
}
.daumen.aktiv { border-color: var(--braun); background: var(--senf-hell); }
.feedback-zeile .klein { flex: 1; }

/* ---- Frag deinen Schrank (Chat) ---- */
#screen-frag { padding-bottom: calc(env(safe-area-inset-bottom) + var(--tab-hoehe) + 96px); }
.chat { display: flex; flex-direction: column; gap: 12px; }
.blase { max-width: 86%; padding: 12px 16px; border-radius: 20px; box-shadow: var(--schatten-klein); }
.blase.ich { align-self: flex-end; background: var(--braun); color: var(--papier); border-bottom-right-radius: 6px; }
.blase.schrank { align-self: flex-start; background: var(--papier); border-bottom-left-radius: 6px; }
.blase.schrank .polaroid { width: 210px; margin: 12px 4px 6px; transform: rotate(-1.5deg); cursor: default; }
.blase p:last-child { margin-bottom: 0; }
.blase .tipp { margin-top: 8px; font-size: .88rem; color: var(--braun-mittel); }
.tippt span { animation: huepfen 1s infinite; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--braun-mittel); margin: 0 2px; }
.tippt span:nth-child(2) { animation-delay: .15s; }
.tippt span:nth-child(3) { animation-delay: .3s; }

.chat-eingabe {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom) + var(--tab-hoehe));
  z-index: 400;
  width: 100%;
  max-width: 480px;
  display: flex; gap: 8px;
  padding: 10px calc(env(safe-area-inset-right) + 14px) 10px calc(env(safe-area-inset-left) + 14px);
  background: var(--creme);
  border-top: 1px solid rgba(74, 52, 38, .08);
}
.chat-eingabe input {
  flex: 1;
  min-height: 48px;
  padding: 0 18px;
  border: 1.5px solid var(--braun-hell);
  border-radius: 999px;
  background: var(--papier);
  color: var(--braun);
  font: 16px var(--schrift-text); /* 16px verhindert das automatische Zoomen auf dem iPhone */
}
.chat-eingabe button {
  width: 48px; height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--rost);
  color: var(--papier);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---- Schrank-Check ---- */
.statistik { display: flex; align-items: center; gap: 16px; }
.statistik .zahl { font-family: var(--schrift-titel); font-size: 2.6rem; font-weight: 800; color: var(--rost); line-height: 1; }
.balken { height: 10px; border-radius: 5px; background: var(--creme-dunkel); overflow: hidden; margin-top: 12px; }
.balken div { height: 100%; background: linear-gradient(90deg, var(--senf), var(--rost)); border-radius: 5px; }

.quer-liste { display: flex; gap: 16px; overflow-x: auto; margin: 0 -18px; padding: 8px 18px 16px; scrollbar-width: none; }
.quer-liste::-webkit-scrollbar { display: none; }
.quer-liste > * { flex: 0 0 150px; }
.quer-liste .polaroid { cursor: default; }
.quer-liste .knopf-zweit { min-height: 42px; margin-top: 10px; font-size: .88rem; padding: 8px 10px; }

.luecke h3 { margin-bottom: 6px; }
.luecke .hand { color: var(--rost); }
.luecke-optionen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.option {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 12px 12px;
  border-radius: 14px;
  font-size: .88rem;
}
.option.second-hand { background: var(--gruen-hell); }
.option.anzeige { background: var(--creme); border: 1px dashed var(--braun-hell); color: var(--braun-mittel); }
.option strong { color: var(--braun); font-size: .95rem; }
.anzeige-label {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--braun-hell);
  color: var(--papier);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.option button { margin-top: auto; min-height: 42px; font-size: .86rem; padding: 8px 10px; }

.verkauf-zeile { display: flex; align-items: center; gap: 14px; }
.verkauf-zeile .polaroid { width: 84px; flex-shrink: 0; padding: 5px 5px 0; cursor: default; }
.verkauf-zeile .polaroid-notiz { display: none; }
.verkauf-zeile .polaroid { padding-bottom: 14px; }
.verkauf-zeile > div:nth-child(2) { flex: 1; }
.verkauf-zeile .knopf { width: auto; min-height: 44px; padding: 8px 16px; font-size: .9rem; }

/* ---- Verkaufshilfe ---- */
.anzeige-vorschau .polaroid { width: 70%; max-width: 260px; margin: 6px auto 20px; transform: rotate(-1.5deg); cursor: default; }
.feld { display: block; margin-bottom: 14px; }
.feld > span { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--braun-mittel); margin-bottom: 6px; }
.feld input, .feld textarea, .feld select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--braun-hell);
  border-radius: 12px;
  background: var(--papier);
  color: var(--braun);
  font: 16px/1.4 var(--schrift-text);
}
.feld textarea { min-height: 220px; resize: vertical; }
.preis-zeile { display: flex; align-items: center; gap: 12px; }
.preis-zeile button {
  width: 48px; height: 48px;
  border: 2px solid var(--braun);
  border-radius: 50%;
  background: var(--papier);
  color: var(--braun);
  font-size: 1.4rem;
  cursor: pointer;
}
.preis { font-family: var(--schrift-titel); font-size: 2rem; font-weight: 800; min-width: 90px; text-align: center; }

/* ---- Planer ---- */
.tag-karte { display: flex; gap: 14px; align-items: center; }
.tag-karte .polaroid { width: 110px; flex-shrink: 0; padding: 5px 5px 0; cursor: default; }
.tag-karte .polaroid-notiz { min-height: 24px; font-size: 1rem; padding: 4px 2px 6px; }
.tag-karte > div:last-child { flex: 1; min-width: 0; }
.wetter { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--senf-hell); font-size: .85rem; font-weight: 700; }
.termin { display: block; margin: 6px 0; font-size: .9rem; color: var(--braun-mittel); }
.tag-name { font-family: var(--schrift-titel); font-size: 1.15rem; font-weight: 800; }
.tag-karte .knopf-text { padding: 6px 0; min-height: 36px; }

.packliste { list-style: none; padding: 0; margin: 0; }
.packliste li { border-bottom: 1px dashed var(--creme-dunkel); }
.packliste li:last-child { border-bottom: none; }
.packliste label { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.packliste input { width: 22px; height: 22px; accent-color: var(--rost); }
.packliste input:checked + span { text-decoration: line-through; color: var(--braun-hell); }

/* ---- Profil ---- */
.profil-kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--senf);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--schrift-titel); font-size: 1.8rem; font-weight: 800;
  box-shadow: var(--schatten-klein);
}
.zahlen-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.zahlen-reihe div { background: var(--papier); border-radius: 14px; padding: 12px 8px; text-align: center; box-shadow: var(--schatten-klein); }
.zahlen-reihe strong { display: block; font-family: var(--schrift-titel); font-size: 1.5rem; }
.zahlen-reihe span { font-size: .78rem; color: var(--braun-mittel); }

.menue { background: var(--papier); border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; margin-bottom: 14px; }
.menue button {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid var(--creme-dunkel);
  background: none;
  color: var(--braun);
  font: 500 1rem var(--schrift-text);
  text-align: left;
  cursor: pointer;
}
.menue button:last-child { border-bottom: none; }
.menue .symbol { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--creme); font-size: 1.1rem; flex-shrink: 0; }
.menue small { display: block; color: var(--braun-mittel); font-size: .8rem; }
.menue .pfeil { margin-left: auto; color: var(--braun-hell); }

.schritt-liste { padding-left: 0; list-style: none; counter-reset: schritt; display: grid; gap: 12px; margin: 16px 0; }
.schritt-liste li { counter-increment: schritt; display: flex; gap: 12px; }
.schritt-liste li::before {
  content: counter(schritt);
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--senf);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.qr-box { background: var(--papier); padding: 16px; border-radius: 16px; width: 220px; margin: 10px auto; text-align: center; box-shadow: var(--schatten); }
.qr-box svg { width: 100%; height: auto; display: block; }


/* Young Serif hat nur eine Stärke – überall dort, wo die Titel-Schrift
   genutzt wird, kein künstliches Fett oder Kursiv erzeugen */
.logo, .status-text, .statistik .zahl, .preis, .tag-name, .zahlen-reihe strong,
.schnell-karte strong, .avatar { font-synthesis: none; }

/* KI-Beschreibung im Ergebnis */
.notiz-ideen { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.notiz-ideen button {
  font-family: var(--schrift-hand); font-size: 1.3rem; line-height: 1;
  border: 1.5px dashed var(--braun-hell); background: var(--papier); color: var(--braun);
  padding: 8px 12px; border-radius: 12px;
  min-height: 44px; /* groß genug zum Antippen */
  cursor: pointer;
}
.notiz-ideen button.aktiv { border-style: solid; border-color: var(--rost); color: var(--rost); }
.notiz-feld {
  width: 100%; font-family: var(--schrift-hand); font-size: 1.5rem; color: var(--braun);
  border: 1.5px solid var(--braun-hell); border-radius: 12px; padding: 10px 12px; background: var(--papier);
}
.merkmal .hand-wert { font-family: var(--schrift-hand); font-size: 1.4rem; font-weight: 400; }


/* ---- Onboarding, überarbeitet: Bild füllt den oberen Bereich, Text sitzt unten ---- */
.onb-karte { justify-content: flex-end; padding: 0 26px 6px; }
.onb-karte .onb-bild { flex: 1; height: auto; min-height: 220px; max-height: 440px; margin: 8px 0 18px;
  display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
.onb-karte h1 { font-size: 1.75rem; line-height: 1.15; }
.onb-karte p { margin-top: 10px; font-size: 1rem; }

/* Karte 1: vier bunte Sofortbilder, locker verstreut wie auf einem Tisch */
.onb-tage { position: relative; }
.onb-tage .polaroid { position: absolute; width: min(40%, 19vh); max-width: 175px; padding: 7px 7px 0; }
.onb-tage .polaroid-notiz { font-size: 1.2rem; min-height: 36px; padding: 5px 2px 8px; }
.onb-tage .bild1 { left: 2%;  top: 4%;  transform: rotate(-8deg); }
.onb-tage .bild2 { right: 3%; top: 0;   transform: rotate(6deg); z-index: 1; }
.onb-tage .bild3 { left: 9%;  bottom: 0; transform: rotate(4deg); z-index: 2; }
.onb-tage .bild4 { right: 0;  bottom: 6%; transform: rotate(-5deg); z-index: 3; }

/* Slogan: zweiter Teil in Handschrift, wie eine Notiz unter einem Sofortbild */
.onb-karte .slogan-hand {
  font-family: var(--schrift-hand);
  font-weight: 700;
  font-size: 2.05rem;
  line-height: 1.05;
  color: var(--rost);
  margin-top: 4px;
}
/* Kleine Handys (z. B. iPhone SE): Sofortbilder etwas kleiner, damit alle vier sichtbar bleiben */
@media (max-height: 700px) {
  .onb-tage .polaroid { width: 31%; }
  .onb-tage .polaroid-notiz { font-size: 1rem; min-height: 28px; }
  .onb-tage .bild1 { left: 4%; }
  .onb-tage .bild3 { left: 14%; }
  .onb-tage .bild4 { right: 6%; }
}


/* ---- Tilda-Look für eigene Fotos (freigestellt, siehe js/tilda-look.js) ----
   Weiße Sticker-Kante = mehrere kleine weiße Schatten rundherum,
   dazu ein weicher brauner Schatten nach unten. */
.polaroid-bild img.tilda-foto {
  object-fit: contain;
  width: 82%; height: 82%;
  filter:
    drop-shadow(2px 0 0 #FFFDF8) drop-shadow(-2px 0 0 #FFFDF8)
    drop-shadow(0 2px 0 #FFFDF8) drop-shadow(0 -2px 0 #FFFDF8)
    drop-shadow(0 6px 6px rgba(74, 52, 38, .28));
  transition: opacity .25s;
}
.polaroid-bild img.ausblenden { opacity: 0; }
#erkennung-foto { transition: opacity .25s; }


/* ---- Marke oben mittig: Logo + Name, damit sich "Tilda" einprägt ---- */
#markenleiste {
  /* fest oben, auch beim Scrollen (gleich breit wie die App) */
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: calc(env(safe-area-inset-top) + 10px) 18px 10px;
  background: rgba(243, 234, 219, .93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(74, 52, 38, .08);
}
#markenleiste.versteckt { display: none; }
.marke { font-family: var(--schrift-titel); font-synthesis: none; font-size: 1.6rem; line-height: 1; }
.marke .logo-zeichen { width: 26px; height: 30px; }

/* Screens: die Markenleiste kümmert sich jetzt um den Abstand zur iPhone-Notch */
.screen { padding-top: calc(env(safe-area-inset-top) + 68px); }
#screen-onboarding { padding-top: 0; }

/* Onboarding: Logo in der Mitte, "Überspringen" rechts */
.onb-oben { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.onb-oben .marke { justify-self: center; }
.onb-oben .knopf-text { justify-self: end; }


/* ---- Planer: Draußen & drinnen (zwei Sofortbilder nebeneinander) ---- */
.zwei-ansichten-karte { margin-top: -4px; }
.zwei-ansichten-titel { font-family: var(--schrift-titel); font-size: 1.05rem; margin-bottom: 12px; }
.zwei-ansichten { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zwei-ansichten > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.zwei-ansichten .polaroid { width: 100%; cursor: default; padding: 6px 6px 0; }
.zwei-ansichten .polaroid-notiz { min-height: 28px; font-size: 1.1rem; padding: 4px 2px 6px; }
.zwei-ansichten .ansicht-draussen { transform: rotate(-2deg); }
.zwei-ansichten .ansicht-drinnen  { transform: rotate(2deg); }
.temp-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.temp-chip.kalt { background: #DCE6EE; color: #34506A; }
.temp-chip.warm { background: var(--senf-hell); color: var(--braun); }
.zwei-ansichten-tipp { margin: 14px 2px 0; font-size: .95rem; line-height: 1.45; color: var(--braun); }
.drinnen-knopf { display: block; color: var(--rost); }


/* ---- Kamera: drei Modi im Umschalter ---- */
.segment.drei { grid-template-columns: repeat(3, 1fr); }
.segment.drei button { font-size: .8rem; line-height: 1.15; padding: 6px 4px; }
.kamera-buehne + .knopf-stapel label.knopf-zweit { cursor: pointer; }

/* ---- Gezeichneter Bogen-Spiegel (Outfit-Selfie, siehe selfie.js) ---- */
.spiegel {
  flex-shrink: 0;
  aspect-ratio: 3 / 5;
  padding: 7px;
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(160deg, #EBC172, var(--senf) 60%, #A87A22);
  box-shadow: var(--schatten);
}
.spiegel-glas {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 14%;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(165deg, #EEF3F2 0%, #D3E0E0 55%, #C4D3D4 100%);
}
.spiegel-glas::after {   /* Lichtreflex im Glas */
  content: ""; position: absolute; top: -10%; left: -25%; width: 35%; height: 130%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transform: rotate(22deg);
}
.spiegel-teil { display: flex; justify-content: center; }
.spiegel .spiegel-teil svg { width: 100%; height: auto; filter: drop-shadow(0 2px 2px rgba(74,52,38,.18)); }
.spiegel-teil.oben  { width: 70%; margin-bottom: -16%; }
.spiegel-teil.mitte { width: 62%; }
.spiegel-teil.unten { width: 52%; margin-top: -14%; }
.polaroid-bild .spiegel { width: 50%; }   /* als Beispielbild in der Erkennung */

/* ---- Selfie-Erkennung: gefundene Teile tauchen nacheinander auf ---- */
.selfie-funde { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; min-height: 52px; }
.selfie-fund {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--papier); border-radius: 8px; box-shadow: var(--schatten-klein);
  animation: einblenden .3s ease-out;
}
.selfie-fund img, .selfie-fund svg { width: 86%; height: 86%; object-fit: contain; }

/* ---- Selfie-Ergebnis: "Das habe ich erkannt" ---- */
.selfie-karte {
  position: relative;
  display: flex; flex-direction: column; gap: 3px;
  padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left;
  cursor: pointer;
}
.selfie-karte .polaroid { padding: 6px 6px 0; transition: opacity .2s, filter .2s; }
.selfie-karte:nth-child(odd) .polaroid  { transform: rotate(-1.2deg); }
.selfie-karte:nth-child(even) .polaroid { transform: rotate(1deg); }
.selfie-karte .polaroid-notiz { min-height: 30px; font-size: 1.1rem; padding: 4px 2px 6px; }
.selfie-karte strong { margin-top: 6px; }
.selfie-karte .klein { margin: 0; }
/* abgewählt: blass */
.selfie-karte:not(.gewaehlt) .polaroid,
.selfie-karte:not(.gewaehlt) strong,
.selfie-karte:not(.gewaehlt) .klein { opacity: .45; filter: grayscale(.6); }
.selfie-haken {
  position: absolute; top: -8px; right: -6px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--braun-hell); background: var(--papier);
  color: var(--papier); font-weight: 700;
  box-shadow: var(--schatten-klein);
}
.selfie-karte.gewaehlt .selfie-haken { background: var(--gruen); border-color: var(--gruen); }

/* ---- Etikett "Beispiel" auf gezeichneten Teilen ---- */
.polaroid-bild { position: relative; }
.beispiel-etikett {
  position: absolute; top: 6px; left: 6px;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(255, 253, 248, .9);
  color: var(--braun-mittel);
  font: 700 .6rem/1.2 var(--schrift-text);
  letter-spacing: .06em; text-transform: uppercase;
  pointer-events: none;
}
.verkauf-zeile .beispiel-etikett { top: 3px; left: 3px; padding: 1px 3px; font-size: .48rem; }

/* ---- Feedback: Sterne (siehe statistik.js) ---- */
.sterne { display: flex; gap: 6px; }
.stern {
  width: 48px; height: 48px;
  border: none; border-radius: 12px;
  background: var(--papier); box-shadow: var(--schatten-klein);
  font-size: 1.6rem; line-height: 1; color: var(--braun-hell);
  cursor: pointer;
}
.stern.an { color: var(--senf); }
