/* Etikettweiß und Topfschwarz, Nunito in drei Stärken. Schwarze Bänder kehren die Seite um, Preise sitzen auf
   Etiketten wie im Gartencenter. Orange ist nur Akzent: der Punkt in der Wortmarke, der heutige Preis am Ende jeder
   Kurve und die Aufkleber. Nie orange Schrift auf hellem Grund. */

@font-face {
  font-family: "Nunito";
  src: url("nunito-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("nunito-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("nunito-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --grund: #f4f5f0;
  --karte: #fcfcfa;
  --tinte: #161616;
  --tinte-2: #5e5e5a;
  --linie: #d9d9d4;
  --flaeche: #e8e8e3;
  --orange: #ff5b1f;
  --band: #161616;
  --band-text: #f4f5f0;
  --band-text-2: rgba(244, 245, 240, 0.72);
  --etikett: #f4f5f0;
  --etikett-text: #161616;
  --etikett-text-2: #5e5e5a;
  --knopf: #161616;
  --knopf-text: #f4f5f0;
  --schatten: rgba(22, 22, 22, 0.3);
  --fokus: var(--tinte);
  --breite: 76rem;
  --rand: clamp(1rem, 4vw, 3rem);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund: #161616;
    --karte: #20201f;
    --tinte: #f4f5f0;
    --tinte-2: #a6a6a0;
    --linie: #363632;
    --flaeche: #262624;
    --band: #0b0b0b;
    --knopf: #f4f5f0;
    --knopf-text: #161616;
    --schatten: rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --grund: #161616;
  --karte: #20201f;
  --tinte: #f4f5f0;
  --tinte-2: #a6a6a0;
  --linie: #363632;
  --flaeche: #262624;
  --band: #0b0b0b;
  --knopf: #f4f5f0;
  --knopf-text: #161616;
  --schatten: rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* --- Grundlagen ------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font: 400 1.0625rem/1.55 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
i { font-style: normal; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
h1, h2, h3 { font-weight: 900; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: #161616; }
[hidden] { display: none !important; }

.innen {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-inline: auto;
  padding-left: max(var(--rand), env(safe-area-inset-left, 0px));
  padding-right: max(var(--rand), env(safe-area-inset-right, 0px));
}
.unsichtbar {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.leise { color: var(--tinte-2); }
.zeile { display: block; }
.sym {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Marke und Kopf --------------------------------------------------------------------- */

.marke {
  display: inline-flex;
  align-items: baseline;
  gap: 0.17em;
  color: var(--tinte);
  font-weight: 900;
  font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.018em;
  text-decoration: none;
  white-space: nowrap;
}
/* Wie im Logo: Zeichen so hoch wie die Schriftgröße, 0,24 em unter der Grundlinie */
.zeichen { height: 1em; width: auto; margin-bottom: -0.24em; fill: currentColor; flex: none; }
.wortmarke .punkt { color: var(--orange); }

.kopf { position: relative; z-index: 20; }
.kopf-innen {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: clamp(1rem, 2.4vw, 1.9rem);
  padding-bottom: clamp(0.75rem, 1.8vw, 1.4rem);
}
.haupt { display: flex; gap: 0.25rem clamp(1.25rem, 3vw, 3rem); margin-left: auto; font-size: 1.0625rem; }
.haupt a { text-decoration: none; padding-block: 0.4rem; }
.haupt a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.kopf-knopf {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  margin: -0.5rem -0.5rem -0.5rem 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--tinte);
  cursor: pointer;
}
.kopf-knopf:hover { background: var(--linie); }
.kopf-knopf .sym { width: 1.45rem; height: 1.45rem; }
.menue-knopf .zu, .kopf.offen .menue-knopf .auf { display: none; }
.kopf.offen .menue-knopf .zu { display: block; }
.kopf-suche { padding-bottom: 1.25rem; }
.kopf-suche .suche { max-width: 40rem; margin-left: auto; }

/* --- Suche ------------------------------------------------------------------------------ */

.suche { position: relative; }
.suchzeile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--tinte);
  border-radius: 12px;
  background: var(--karte);
  padding: 0.3rem;
}
.suchzeile:focus-within { outline: 2px solid var(--fokus); outline-offset: 2px; }
.feld { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.7rem; padding-left: 0.85rem; }
.feld .sym { width: 1.35rem; height: 1.35rem; color: var(--tinte); }
.feld input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.6rem 0;
}
.feld input::placeholder { color: var(--tinte-2); opacity: 1; }
.feld input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  width: 1.1rem; height: 1.1rem;
  margin-right: 0.6rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  cursor: pointer;
}
.suche.gross .suchzeile { padding: 0.45rem; border-radius: 14px; }
.suche.gross .feld { padding-left: 1.25rem; gap: 0.9rem; }
.suche.gross .feld .sym { width: 1.6rem; height: 1.6rem; }
.suche.gross input { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); padding: 1rem 0; }
.suche button {
  flex: none;
  border: 0;
  border-radius: 10px;
  background: var(--knopf);
  color: var(--knopf-text);
  font: 700 clamp(1.05rem, 1rem + 0.3vw, 1.25rem)/1 "Nunito", system-ui, sans-serif;
  padding: 1.15rem clamp(1.6rem, 3vw, 2.6rem);
  cursor: pointer;
}
.suche button:hover { background: #000; }
.treffer {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 0.4rem);
  z-index: 30;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  background: var(--karte);
  border: 2px solid var(--tinte);
  border-radius: 12px;
  max-height: min(26rem, 60vh);
  overflow: auto;
  box-shadow: 0 18px 40px -18px var(--schatten);
}
.treffer a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
}
.treffer a span:last-child { font-weight: 900; white-space: nowrap; }
.treffer a:hover, .treffer a[aria-selected="true"] { background: var(--linie); }
.treffer .leer { padding: 0.6rem 0.75rem; color: var(--tinte-2); }

/* --- Überschriften und Absätze ---------------------------------------------------------- */

.abschnitt { padding-top: clamp(3rem, 6vw, 5rem); }
main > :last-child { padding-bottom: clamp(4rem, 8vw, 7rem); }
.abschnitt h2 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; }
.gross h2, .band h2 { font-size: clamp(2.3rem, 1.1rem + 4.2vw, 4.5rem); line-height: 1; letter-spacing: -0.028em; }
.unterzeile { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); margin-top: 0.6rem; max-width: 48rem; }
.fakten { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); max-width: 62rem; }
.pfad { font-size: 0.95rem; margin-bottom: clamp(0.75rem, 2vw, 1.25rem); color: var(--tinte-2); }
.pfad a { text-decoration: none; color: var(--tinte); }
.pfad a:hover { text-decoration: underline; }

/* --- Startseite: Einstieg --------------------------------------------------------------- */

.einstieg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
  align-items: end;
  gap: 2rem clamp(2rem, 4vw, 4rem);
  padding-top: clamp(2rem, 6vw, 5.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.einstieg h1 {
  font-size: clamp(3.15rem, 0.6rem + 7vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.032em;
  text-wrap: initial;
}
.einstieg h1 span { display: block; }
.einstieg .unterzeile { margin: 0.9em 0 1.5rem; }

.beispiel {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.6rem;
  padding: 1.6rem 1.6rem 1.3rem;
  background: var(--karte);
  color: var(--tinte);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(22, 22, 22, 0.06), 0 22px 40px -22px var(--schatten);
  text-decoration: none;
  transform: rotate(3deg);
  transition: transform 0.2s ease;
}
.beispiel:hover { transform: rotate(1.5deg) translateY(-3px); }
.beispiel-name { font-weight: 900; font-size: 1.55rem; line-height: 1.05; letter-spacing: -0.012em; margin-bottom: 1rem; }
.klein { font-size: 1rem; }
.beispiel-preis { font-weight: 900; font-size: 3.3rem; line-height: 1; letter-spacing: -0.025em; margin-top: 0.1rem; }
.beispiel-shops { margin-top: 0.3rem; }

/* kleiner Verlauf auf der Karte */
.funke { position: relative; display: block; height: 4.8rem; margin: 2.2rem 0.5rem 1.7rem; }
.funke svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.funke .linie { fill: none; stroke: var(--tinte); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.funke-start, .funke-ende { position: absolute; font-size: 0.85rem; white-space: nowrap; }
.funke-start { transform: translate(-0.2rem, calc(-100% - 0.4rem)); }
.funke-ende { transform: translate(calc(-100% + 0.5rem), 0.75rem); }

.endpunkt {
  position: absolute;
  width: 0.95rem; height: 0.95rem;
  border-radius: 50%;
  background: var(--tinte);
  box-shadow: 0 0 0 3px var(--karte);
  transform: translate(-50%, -50%);
}
.endpunkt.heute { background: var(--orange); }

/* Kennzahlen */
.kennzahlen {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  border-top: 1px solid var(--linie);
  padding-top: clamp(1.25rem, 2.5vw, 1.8rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.kennzahlen dl { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.kennzahlen dl > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0.15rem 0.75rem;
  border-left: 1px solid var(--linie);
}
.kennzahlen dl > div:first-child { border-left: 0; align-items: flex-start; text-align: left; padding-left: 0; }
.kennzahlen dd { margin: 0; font-weight: 900; font-size: clamp(1.3rem, 0.6rem + 2.6vw, 3.1rem); line-height: 1.05; letter-spacing: -0.02em; }
.kennzahlen dt { font-size: clamp(0.8rem, 0.75rem + 0.3vw, 1.05rem); line-height: 1.25; }
.stand { font-size: 0.9rem; color: var(--tinte-2); white-space: nowrap; }

/* --- Schwarzes Band: Diese Woche günstiger ---------------------------------------------- */

.band {
  --fokus: var(--band-text);
  background: var(--band);
  color: var(--band-text);
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}
.band .unterzeile { color: var(--band-text-2); }
.stecker-reihe {
  list-style: none;
  margin: clamp(2rem, 4vw, 3.25rem) 0 0;
  padding: 1.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2.6rem);
  align-items: start;
}
.stecker-reihe li:nth-child(2) { margin-top: 2.4rem; --dreh: 1.5deg; }
.stecker-reihe li:nth-child(3) { margin-top: 0.7rem; --dreh: -1deg; }
.stecker-reihe li:nth-child(4) { margin-top: 3rem; --dreh: 2deg; }
.stecker-reihe li:nth-child(5) { margin-top: 1.4rem; --dreh: -1.5deg; }
/* Steckschild aus dem Gartencenter: Etikett oben, darunter die Spitze für den Topf */
.stecker {
  --fokus: var(--band-text);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 13.5rem;
  margin-bottom: 4.75rem;
  padding: 1.35rem 1.15rem 1.3rem;
  background: var(--etikett);
  color: var(--etikett-text);
  border-radius: 12px;
  text-decoration: none;
  transform: rotate(var(--dreh, -2deg));
  transition: transform 0.2s ease;
}
.stecker::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 31%;
  width: 38%;
  height: 4.75rem;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 57% 100%, 43% 100%);
}
.stecker:hover { transform: rotate(0deg) translateY(-4px); }
.stecker-name {
  display: block;
  font-weight: 900;
  font-size: clamp(1.02rem, 0.9rem + 0.35vw, 1.2rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  overflow-wrap: break-word;
}
/* Platz für den Aufkleber nur in der ersten Zeile */
.stecker-name::before { content: ""; float: right; width: 2.3rem; height: 1.1em; }
.stecker s { color: var(--etikett-text-2); font-size: 0.95rem; text-decoration-thickness: 1.5px; margin-top: auto; }
.stecker strong { font-weight: 900; font-size: clamp(1.55rem, 0.95rem + 1.3vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; }
.stecker-shop { font-size: 0.95rem; margin-top: 0.35rem; }

.sticker {
  display: inline-block;
  background: var(--orange);
  color: #161616;
  font-weight: 900;
  font-size: 0.8rem;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
}
.stecker .sticker {
  position: absolute;
  top: -1.4rem;
  right: -1.1rem;
  display: grid;
  place-items: center;
  width: 4.4rem; height: 4.4rem;
  padding: 0;
  font-size: 1.05rem;
  transform: rotate(8deg);
}

/* --- Tabellen --------------------------------------------------------------------------- */

.tabelle { width: 100%; border-collapse: collapse; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.tabelle th {
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 0.75rem 0.7rem;
  border-bottom: 2px solid var(--tinte);
  white-space: nowrap;
}
.tabelle td { padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle .preis { font-weight: 900; font-size: 1.3rem; white-space: nowrap; letter-spacing: -0.01em; }
.tabelle th.preis { font-weight: 700; font-size: 0.95rem; letter-spacing: 0; }
.tabelle .zahl { text-align: right; }
.tabelle .name { overflow-wrap: anywhere; }
.tabelle .name a { font-weight: 700; text-decoration: none; }
.tabelle .spanne { color: var(--tinte-2); font-size: 0.95rem; white-space: nowrap; }
.tabelle th.spanne { color: var(--tinte); }
.tabelle .pfeil { width: 2.25rem; padding-left: 0; text-align: right; }
.tabelle .pfeil .sym { width: 1.35rem; height: 1.35rem; opacity: 0; vertical-align: middle; }
/* Zeilen mit Link: die ganze Zeile ist anklickbar */
.sorten tbody tr, .shop-sorten tbody tr, .shops-liste tbody tr { position: relative; }
.sorten .name a::after, .shop-sorten .name a::after, .shops-liste .name a::after { content: ""; position: absolute; inset: 0; }
.sorten tbody tr:hover, .shop-sorten tbody tr:hover, .shops-liste tbody tr:hover { background: var(--linie); }
.tabelle tbody tr:hover .pfeil .sym { opacity: 1; }
.shops { white-space: nowrap; }
.shops .zahl { display: inline-block; min-width: 1.6rem; margin-right: 0.8rem; text-align: left; }
.balken {
  display: inline-block;
  vertical-align: middle;
  width: clamp(5rem, 13vw, 11.5rem);
  height: 0.5rem;
  background: linear-gradient(var(--tinte), var(--tinte)) 0 0 / var(--anteil) 100% no-repeat, var(--linie);
}
tbody tr:hover .balken { background-color: var(--grund); }

.status { display: inline-flex; align-items: center; gap: 0.55rem; white-space: nowrap; }
.status .punkt { width: 0.62rem; height: 0.62rem; border-radius: 50%; background: var(--tinte); flex: none; }
.status.nein { color: var(--tinte-2); }
.status.nein .punkt { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.status.unklar { color: var(--tinte-2); }
.status.unklar .punkt { background: var(--linie); }
.tabelle tr.aus td { color: var(--tinte-2); }

/* Angebote einer Sorte */
.titelzeile { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.nur-lieferbare {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 2px solid var(--tinte);
  border-radius: 999px;
  background: transparent;
  color: var(--tinte);
  font: 700 1rem/1 "Nunito", system-ui, sans-serif;
  padding: 0.75rem 1.3rem;
  cursor: pointer;
}
.nur-lieferbare .sym { width: 1.2rem; height: 1.2rem; stroke-width: 2.6; }
.nur-lieferbare[aria-pressed="true"] { background: var(--knopf); border-color: var(--knopf); color: var(--knopf-text); }
.nur-lieferbare[aria-pressed="false"] .sym { display: none; }
.angebote.gefiltert tr.aus { display: none; }
.ausgeblendet { margin-top: 1rem; color: var(--tinte-2); font-size: 0.95rem; }
.angebote .shop { font-weight: 700; white-space: nowrap; }
.angebote .angebot { min-width: 12rem; }
.angebote .groesse { min-width: 5rem; }
.pille {
  display: inline-block;
  background: var(--linie);
  color: var(--tinte);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  margin: 0.12rem 0.3rem 0.12rem 0;
  font-size: 0.82rem;
  line-height: 1.3;
}
.angebote .preis { display: table-cell; }
.angebote .betrag { display: inline-block; min-width: 4.3em; text-align: right; }
.angebote .preis .sticker { margin-left: 0.7rem; vertical-align: 0.15em; }
.angebote .link { width: 1%; text-align: right; }
.zum-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1.5px solid currentColor;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}
.tabelle tr.ja .zum-shop { color: var(--tinte); }
.zum-shop .sym { width: 1.05rem; height: 1.05rem; }
.zum-shop:hover, .tabelle tr.ja .zum-shop:hover { background: var(--knopf); border-color: var(--knopf); color: var(--knopf-text); }

/* --- Sortenseite: Kopf mit Anhänger ----------------------------------------------------- */

.sorte-kopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "pfad pfad" "titel anhaenger" "fakten fakten";
  align-items: center;
  column-gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}
.sorte-kopf .pfad { grid-area: pfad; }
.sorte-kopf h1 {
  grid-area: titel;
  font-size: clamp(2.3rem, 0.9rem + 4.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  text-wrap: initial;
}
.sorte-kopf .fakten { grid-area: fakten; margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }

/* Preisanhänger mit Loch und Faden, leicht schräg */
.anhaenger {
  grid-area: anhaenger;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 1.5rem 0.75rem 0 0;
  padding: 1.25rem 2.2rem 1.35rem 3.5rem;
  min-width: 15.5rem;
  background: var(--knopf);
  color: var(--knopf-text);
  border-radius: 12px;
  transform: rotate(3deg);
}
.anhaenger::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 44%;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: var(--grund);
  transform: translateY(-50%);
}
.anhaenger::after {
  content: "";
  position: absolute;
  left: 1.72rem;
  top: 44%;
  width: 1.5px;
  height: 6.5rem;
  background: var(--tinte-2);
  transform-origin: top center;
  transform: rotate(142deg);
}
.anhaenger span { font-size: 1.05rem; }
.anhaenger strong { font-weight: 900; font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4.1rem); line-height: 1; letter-spacing: -0.025em; margin: 0.1rem 0 0.3rem; white-space: nowrap; }

/* --- Preisverlauf ----------------------------------------------------------------------- */

.verlauf { margin: 0; }
.zeichnung {
  position: relative;
  height: clamp(12rem, 22vw, 18rem);
  margin: 3.25rem 1.5rem 2.6rem 3.1rem;
  touch-action: pan-y;
}
.zeichnung svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.zeichnung .raster { stroke: var(--linie); stroke-width: 1; vector-effect: non-scaling-stroke; }
.zeichnung .flaeche { fill: var(--flaeche); }
.zeichnung .linie { fill: none; stroke: var(--tinte); stroke-width: 3; vector-effect: non-scaling-stroke; }
.y-wert, .x-wert, .wechsel-wert { position: absolute; font-size: 0.85rem; white-space: nowrap; line-height: 1.2; }
.y-wert { right: calc(100% + 0.75rem); transform: translateY(-50%); color: var(--tinte-2); }
.x-wert { top: calc(100% + 0.7rem); transform: translateX(-50%); color: var(--tinte-2); }
.wechsel { position: absolute; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--tinte); transform: translate(-50%, -50%); }
.wechsel-wert { transform: translate(0.1rem, calc(-100% - 0.5rem)); font-weight: 700; }
.zeichnung .endpunkt { width: 1.15rem; height: 1.15rem; box-shadow: 0 0 0 3px var(--grund); }
.endwert {
  position: absolute;
  transform: translate(calc(-100% + 1.1rem), calc(-100% - 1.05rem));
  background: var(--knopf);
  color: var(--knopf-text);
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  padding: 0.38rem 0.65rem;
  border-radius: 6px;
}
.endwert b { font-weight: 900; }
.endwert::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0.78rem;
  border: 5px solid transparent;
  border-top-color: var(--knopf);
}
.fadenkreuz { position: absolute; top: 0; bottom: 0; border-left: 1.5px dashed var(--tinte-2); pointer-events: none; }
.tooltip {
  position: absolute;
  top: -0.6rem;
  z-index: 2;
  background: var(--karte);
  border: 1.5px solid var(--tinte);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  font-size: 0.85rem;
  white-space: nowrap;
  pointer-events: none;
}
.verlauf figcaption { font-size: 0.9rem; color: var(--tinte-2); padding-right: 11rem; }
.als-tabelle { margin-top: -1.4rem; text-align: right; }
.als-tabelle summary { display: inline; cursor: pointer; font-size: 0.95rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; list-style: none; }
.als-tabelle summary::-webkit-details-marker { display: none; }
.als-tabelle[open] summary { text-decoration-color: var(--tinte-2); }
.als-tabelle .tabelle { text-align: left; max-width: 36rem; margin-left: auto; }

/* --- Gattungen als Wortindex ------------------------------------------------------------ */

.gattungen { list-style: none; margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem clamp(1.25rem, 2.6vw, 2.4rem); }
.gattungen a {
  font-weight: 900;
  font-size: clamp(1.55rem, 0.9rem + 2.3vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  text-decoration: none;
}
.gattungen a:hover { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.12em; }
.gattungen .anzahl { font-size: 0.38em; font-weight: 700; letter-spacing: 0; color: var(--tinte-2); margin-left: 0.3em; vertical-align: 1.35em; }

/* --- Unterseiten ------------------------------------------------------------------------ */

.seiten-kopf { padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.seiten-kopf h1, .text h1 { font-size: clamp(2.5rem, 0.9rem + 5.4vw, 6.2rem); line-height: 0.98; letter-spacing: -0.03em; overflow-wrap: break-word; }
.seiten-kopf .fakten { margin-top: 1rem; }
.seiten-kopf .fakten + .fakten { margin-top: 0.4rem; }
.seiten-kopf + .abschnitt { padding-top: clamp(1rem, 2.5vw, 2rem); }
.extern { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700; }
.extern .sym { width: 1.1em; height: 1.1em; }

.text { padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.text > * { max-width: 44rem; }
.text h1 { margin-bottom: clamp(1.25rem, 3vw, 2rem); max-width: none; }
.text h2 { font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.012em; margin: 2.4rem 0 0.6rem; }
.text p, .text li { font-size: 1.1rem; line-height: 1.6; }
.text p + p { margin-top: 0.9rem; }
.text ul { padding-left: 1.2rem; margin: 0.6rem 0 0; }
.text li + li { margin-top: 0.6rem; }
.text .einleitung { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.5; }
.text .hinweis { background: var(--linie); border-radius: 10px; padding: 0.9rem 1.1rem; margin-bottom: 1.5rem; }
.text .suche { margin-top: 2rem; }

/* --- Fuß -------------------------------------------------------------------------------- */

.fuss {
  --fokus: var(--band-text);
  background: var(--band);
  color: var(--band-text);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: max(clamp(2rem, 4vw, 2.5rem), env(safe-area-inset-bottom, 0px));
}
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; }
.fuss .marke { color: var(--band-text); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.fuss p { margin-top: 0.9rem; font-size: 0.9rem; color: var(--band-text-2); max-width: 46rem; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0.5rem clamp(1.25rem, 2.5vw, 2.4rem); }
.fuss nav a { text-decoration: none; }
.fuss nav a:hover { text-decoration: underline; }

/* --- Schmalere Bildschirme -------------------------------------------------------------- */

@media (max-width: 64rem) {
  .angebote thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .angebote, .angebote tbody { display: block; }
  .angebote tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "shop preis" "angebot lage" "groesse groesse" "link link";
    gap: 0.15rem 1rem;
    align-items: start;
    margin-bottom: 0.75rem;
    padding: 1rem 1rem 1.05rem;
    background: var(--karte);
    border: 1px solid var(--linie);
    border-radius: 12px;
  }
  .angebote td { padding: 0; border: 0; min-width: 0; }
  .angebote .shop { grid-area: shop; font-size: 1.05rem; white-space: normal; }
  .angebote .angebot { grid-area: angebot; min-width: 0; font-size: 0.9rem; color: var(--tinte-2); }
  .angebote .groesse { grid-area: groesse; min-width: 0; margin-top: 0.35rem; }
  .angebote .groesse:empty { display: none; }
  .angebote .preis { grid-area: preis; display: flex; flex-direction: row-reverse; align-items: center; gap: 0.6rem; }
  .angebote .preis .sticker { margin: 0; }
  .angebote .betrag { min-width: 0; }
  .angebote .lage { grid-area: lage; justify-self: end; font-size: 0.95rem; }
  .angebote .link { grid-area: link; width: auto; margin-top: 0.75rem; }
  .angebote .zum-shop { display: flex; width: 100%; padding: 0.7rem; }
}

@media (max-width: 56rem) {
  .einstieg { grid-template-columns: minmax(0, 1fr); }
  .beispiel { justify-self: start; width: min(100%, 21rem); transform: rotate(2deg); margin-left: 0.5rem; }
  .stecker-reihe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stecker-reihe li:nth-child(n+4) { display: none; }
}

@media (max-width: 48rem) {
  .js .haupt { display: none; }
  .js .kopf.offen .haupt {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    margin: 0;
    padding: 0.25rem var(--rand) 1.25rem;
    background: var(--grund);
    border-bottom: 2px solid var(--tinte);
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.015em;
  }
  .js .kopf.offen .haupt a { padding: 0.55rem 0; border-bottom: 1px solid var(--linie); }
  .js .kopf.offen .haupt a:last-child { border-bottom: 0; }
  .js .such-knopf { margin-left: auto; }
  .kopf-innen { gap: 0.5rem 0.75rem; }
  .kopf-suche .suche { max-width: none; }

  .tabelle.sorten thead, .shop-sorten thead, .shops-liste thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tabelle.sorten, .tabelle.sorten tbody { display: block; }
  .tabelle.sorten tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name name" "shops preis";
    gap: 0.35rem 1rem;
    align-items: center;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--linie);
  }
  .tabelle.sorten td { padding: 0; border: 0; }
  .tabelle.sorten .name { grid-area: name; }
  .tabelle.sorten .shops { grid-area: shops; color: var(--tinte-2); font-size: 0.9rem; }
  .tabelle.sorten .shops .unsichtbar { position: static !important; width: auto; height: auto; clip: auto; clip-path: none; }
  .tabelle.sorten .balken { width: min(9rem, 40vw); margin-left: 0.25rem; }
  .tabelle.sorten .shops .zahl { min-width: 0; margin-right: 0.5rem; }
  .tabelle.sorten .preis { grid-area: preis; text-align: right; font-size: 1.2rem; }
  .tabelle.sorten .spanne, .tabelle .pfeil { display: none; }
  .shops-liste td:nth-child(3), .shops-liste th:nth-child(3) { display: none; }
  .tabelle td { padding-inline: 0.5rem; }

  .sorte-kopf { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pfad" "titel" "anhaenger" "fakten"; }
  .anhaenger { justify-self: start; margin: 1.75rem 0 0 1.75rem; transform: rotate(-2deg); min-width: 0; padding: 1rem 1.8rem 1.1rem 3.2rem; }
  .anhaenger::after { height: 3.25rem; transform: rotate(150deg); }

  .zeichnung { margin: 3rem 0.9rem 2.4rem 2.6rem; height: 13rem; }
  .x-wert.neben, .wechsel-wert.neben { display: none; }
  .verlauf figcaption { padding-right: 0; }
  .als-tabelle { margin-top: 0.6rem; text-align: left; }

  .stecker-reihe {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--rand));
    padding: 1.7rem var(--rand) 0;
    scroll-padding-inline: var(--rand);
    gap: 1.1rem;
  }
  .stecker-reihe::-webkit-scrollbar { display: none; }
  .stecker-reihe li { flex: 0 0 min(46%, 12rem); scroll-snap-align: start; }
  .stecker-reihe li:nth-child(n+4) { display: block; }
  .stecker-reihe li:last-child { padding-right: 1.4rem; flex-basis: calc(min(46%, 12rem) + 1.4rem); }
  .stecker { min-height: 12rem; }
  .stecker .sticker { width: 3.9rem; height: 3.9rem; right: -0.8rem; font-size: 0.95rem; }
}

@media (min-width: 48.0625rem) {
  .menue-knopf { display: none !important; }
}

@media (max-width: 40rem) {
  .beispiel { display: none; }
  .suche.gross .suchzeile { flex-direction: column; align-items: stretch; gap: 0.7rem; padding: 0; border: 0; background: none; }
  .suche.gross .suchzeile:focus-within { outline: 0; }
  .suche.gross .feld { border: 2px solid var(--tinte); border-radius: 12px; background: var(--karte); padding-left: 0.9rem; }
  .suche.gross .feld:focus-within { outline: 2px solid var(--fokus); outline-offset: 2px; }
  .suche.gross input { padding: 0.8rem 0; font-size: 1rem; }
  .suche.gross button { padding: 1rem; }
  .kennzahlen { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .kennzahlen dl > div { padding-inline: 0.3rem; }
  .kennzahlen dl > div:first-child { align-items: center; text-align: center; }
  .stand { text-align: center; }
  .fuss-innen { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  .kopf-knopf, .kopf-suche, .suche, .nur-lieferbare, .band { display: none !important; }
  .angebote tr.aus { display: table-row !important; }
}
