@import url('fonts/fonts-local.css');

/* ══ Marke ═══════════════════════════════════════════════════════════
   Farben aus 013_ARTWORK/009_FARBCODES/Createk Farbcodes.png
   Grundsatz: Die Seite bleibt papierfarben und ruhig. Die Farbe kommt
   aus den Produkten selbst, nicht aus der Dekoration.            */

:root {
  --papier:      #FAF6EF;
  --papier-warm: #F4EFE5;
  --kachel:      #F5F2EB;
  --weiss:       #FFFFFF;

  --tinte:       #13303D;
  --tinte-weich: #4E6169;
  --tief:        #1D506D;
  --tief-hell:   #2A6B8E;

  --mint:        #4BB4A5;
  --mint-tief:   #2E7368;
  --cyan:        #57B5C8;
  --himmel:      #A9D7E6;
  --sand:        #837370;

  --linie:       rgba(19, 48, 61, .13);
  --linie-fein:  rgba(19, 48, 61, .07);
  --schatten:    0 1px 2px rgba(19,48,61,.05), 0 8px 24px -12px rgba(19,48,61,.16);
  --schatten-xl: 0 2px 6px rgba(19,48,61,.06), 0 28px 60px -24px rgba(19,48,61,.28);

  --rund:   14px;
  --rund-l: 22px;
  --spalte: 1220px;
  --takt:   clamp(4rem, 8vw, 7.5rem);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:  'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ══ Grundlage ═══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.3rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.3vw, 2.85rem); font-weight: 500; }
h3 { font-size: clamp(1.18rem, 1.06rem + .5vw, 1.42rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--tief); text-decoration-thickness: 1px; text-underline-offset: .16em; }
img, svg { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--mint-tief);
  outline-offset: 3px;
  border-radius: 4px;
}

.bahn {
  width: min(100% - 2.5rem, var(--spalte));
  margin-inline: auto;
}
@media (max-width: 40rem) { .bahn { width: calc(100% - 2rem); } }

.nur-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.springen {
  position: absolute; left: .75rem; top: -4rem; z-index: 200;
  background: var(--tief); color: #fff; padding: .7rem 1.1rem;
  border-radius: 8px; text-decoration: none; font-weight: 600;
  transition: top .18s;
}
.springen:focus { top: .75rem; }

/* ══ Auszeichnungen ══════════════════════════════════════════════════ */

.oberzeile {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint-tief);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.oberzeile::before {
  content: '';
  width: 1.8rem; height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex: none;
}
.oberzeile.mittig { justify-content: center; }

.vorspann {
  font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem);
  line-height: 1.6;
  color: var(--tinte-weich);
  max-width: 46ch;
}

/* ══ Knöpfe ══════════════════════════════════════════════════════════ */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-size: .97rem;
  font-weight: 700;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s, background-color .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.knopf svg { width: 1.05em; height: 1.05em; flex: none; }

.knopf--voll {
  background: var(--tief);
  color: #fff;
  box-shadow: 0 1px 2px rgba(19,48,61,.16), 0 10px 22px -12px rgba(29,80,109,.7);
}
.knopf--voll:hover { background: #17435C; transform: translateY(-2px); box-shadow: 0 2px 4px rgba(19,48,61,.18), 0 16px 30px -14px rgba(29,80,109,.8); }
.knopf--voll:active { transform: translateY(0); }

.knopf--linie {
  background: transparent;
  color: var(--tief);
  border-color: var(--linie);
}
.knopf--linie:hover { border-color: var(--tief); background: rgba(29,80,109,.05); transform: translateY(-2px); }

.knopf--hell {
  background: #fff;
  color: var(--tief);
  border-color: transparent;
}
.knopf--hell:hover { transform: translateY(-2px); box-shadow: var(--schatten); }

.knopf--klein { padding: .58rem 1.05rem; font-size: .88rem; }
.knopf--breit { width: 100%; }

/* ══ Kopf ════════════════════════════════════════════════════════════ */

.kopf {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 246, 239, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.kopf.geklebt {
  border-bottom-color: var(--linie-fein);
  box-shadow: 0 1px 20px -8px rgba(19,48,61,.18);
}
.kopf__innen {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
  padding-block: .6rem;
}
.kopf__logo { flex: none; display: block; }
.kopf__logo img { width: clamp(132px, 15vw, 168px); }

.kopf__nav {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-inline-start: auto;
  flex-wrap: wrap;
}
.kopf__nav a {
  padding: .48rem .8rem;
  border-radius: 100px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--tinte-weich);
  text-decoration: none;
  transition: color .15s, background-color .15s;
}
.kopf__nav a:hover { color: var(--tief); background: rgba(29,80,109,.07); }
@media (max-width: 62rem) { .kopf__nav { display: none; } }

.kopf__tat { margin-inline-start: auto; }
@media (min-width: 62.001rem) { .kopf__tat { margin-inline-start: .6rem; } }
@media (max-width: 30rem) { .kopf__tat .knopf { padding: .58rem 1rem; font-size: .86rem; } }

/* ══ Hero ════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
/* Aquarell-Wäsche: zwei sehr weiche Farbflächen, wie ausgelaufene Farbe */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 44rem; height: 34rem;
  top: -14rem; right: -10rem;
  background: radial-gradient(circle at 40% 40%, rgba(169,215,230,.85), rgba(169,215,230,0) 68%);
}
.hero::after {
  width: 34rem; height: 30rem;
  bottom: -12rem; left: -12rem;
  background: radial-gradient(circle at 60% 40%, rgba(75,180,165,.5), rgba(75,180,165,0) 68%);
}
.hero__gitter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 60rem) {
  .hero__gitter { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}

.hero h1 { margin-bottom: 1.1rem; }
/* Hervorhebung als Verlauf statt als Pseudoelement: so überlebt der
   Leuchtstift den Zeilenumbruch und zwingt die Zeile nicht in eine
   Breite, die auf dem Telefon nicht mehr passt. */
.hero h1 em {
  font-style: normal;
  color: var(--tief);
  background-image: linear-gradient(
    transparent 58%,
    rgba(169, 215, 230, .58) 58%,
    rgba(169, 215, 230, .58) 92%,
    transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__tat {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}

.marken {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.4rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linie-fein);
  list-style: none;
  padding-inline: 0;
}
.marken li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .89rem;
  font-weight: 600;
  color: var(--tinte-weich);
}
.marken svg { width: 1.05rem; height: 1.05rem; color: var(--mint-tief); flex: none; }

/* Bildbühne: ein großes Produkt, zwei versetzte kleine */
.buehne {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 30rem;
  margin-inline: auto;
  width: 100%;
}
.buehne__gross,
.buehne__klein {
  position: absolute;
  background: var(--weiss);
  border-radius: var(--rund-l);
  border: 1px solid var(--linie-fein);
  overflow: hidden;
}
.buehne__gross {
  inset: 0 12% 14% 0;
  box-shadow: var(--schatten-xl);
}
.buehne__gross img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.buehne__klein {
  width: 40%;
  aspect-ratio: 1;
  box-shadow: var(--schatten);
}
.buehne__klein:nth-of-type(2) { right: 0; top: 26%; }
.buehne__klein:nth-of-type(3) { right: 13%; bottom: 0; }
.buehne__klein img { width: 100%; height: 100%; object-fit: contain; padding: 9%; }

.buehne__preis {
  position: absolute;
  left: -.5rem; bottom: 8%;
  z-index: 3;
  background: var(--tief);
  color: #fff;
  border-radius: 100px;
  padding: .55rem 1.1rem;
  font-size: .92rem;
  font-weight: 700;
  box-shadow: var(--schatten);
  display: flex;
  align-items: baseline;
  gap: .45rem;
}
.buehne__preis span {
  font-size: .74rem;
  font-weight: 600;
  opacity: .72;
  text-decoration: line-through;
}
@media (max-width: 60rem) { .buehne { max-width: 25rem; } }

/* ══ Ablauf ══════════════════════════════════════════════════════════ */

.ablauf {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-block: 1px solid var(--linie-fein);
  background: var(--papier-warm);
}
.ablauf__gitter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 52rem) { .ablauf__gitter { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

.schritt { display: flex; gap: 1rem; align-items: flex-start; }
.schritt__nr {
  flex: none;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--weiss);
  border: 1.5px solid var(--linie);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tief);
}
.schritt h3 { margin-bottom: .3rem; font-size: 1.06rem; }
.schritt p { font-size: .93rem; color: var(--tinte-weich); margin: 0; }

/* ══ Abschnitt ═══════════════════════════════════════════════════════ */

.abschnitt { padding-block: var(--takt); }
/* Zwei Abschnitte hintereinander sollen einen Takt Abstand haben, nicht zwei. */
.abschnitt + .abschnitt { padding-top: 0; }
.abschnitt__kopf { max-width: 54ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.abschnitt__kopf.mittig { margin-inline: auto; text-align: center; }
.abschnitt__kopf h2 + p { margin-top: 1rem; }

/* ══ Filter ══════════════════════════════════════════════════════════ */

.werkzeugleiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.filter__knopf {
  appearance: none;
  border: 1.5px solid var(--linie);
  background: var(--weiss);
  color: var(--tinte-weich);
  padding: .52rem 1.05rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .16s;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.filter__knopf:hover { border-color: var(--tief); color: var(--tief); }
.filter__knopf[aria-pressed="true"] {
  background: var(--tief);
  border-color: var(--tief);
  color: #fff;
}
.filter__knopf b {
  font-weight: 700;
  font-size: .76rem;
  opacity: .6;
  font-variant-numeric: tabular-nums;
}
.filter__knopf[aria-pressed="true"] b { opacity: .75; }

.preisnote {
  margin-inline-start: auto;
  font-size: .82rem;
  color: var(--tinte-weich);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.preisnote svg { width: .95rem; height: .95rem; flex: none; opacity: .7; }
@media (max-width: 52rem) { .preisnote { margin-inline-start: 0; } }

/* ══ Produktraster ═══════════════════════════════════════════════════ */

.raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.karte {
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--linie-fein);
  border-radius: var(--rund-l);
  overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s, border-color .22s;
}
.karte:hover {
  transform: translateY(-4px);
  box-shadow: var(--schatten-xl);
  border-color: transparent;
}
.karte[hidden] { display: none; }

.karte__bild {
  position: relative;
  background: var(--kachel);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 7%;
  border-bottom: 1px solid var(--linie-fein);
}
.karte__bild img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.karte:hover .karte__bild img { transform: scale(1.04); }

.fahnen {
  position: absolute;
  top: .7rem; left: .7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  z-index: 2;
}
.fahne {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 100px;
  line-height: 1;
  background: var(--tief);
  color: #fff;
}
.fahne--neu   { background: var(--mint-tief); }
.fahne--spar  { background: #B4552E; }
.fahne--bald  { background: var(--sand); }
.fahne--weg   { background: #6A6E72; }

.karte__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.15rem;
  gap: .35rem;
}
.karte__kat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint-tief);
}
.karte__name {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--tinte);
}
.karte__unter {
  font-size: .875rem;
  line-height: 1.45;
  color: var(--tinte-weich);
  margin: 0;
}

.karte__fuss { margin-top: auto; padding-top: .9rem; }
.preiszeile {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .8rem;
  flex-wrap: wrap;
}
.preis {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--tief);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.preis--alt {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  color: var(--tinte-weich);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
/* Ein klarer Hauptweg (Amazon), Details bleiben zweite Wahl.
   Nebeneinander liefen die beiden Knöpfe in schmalen Karten über. */
.karte__knoepfe { display: grid; gap: .3rem; justify-items: stretch; }
.karte__mehr {
  border: none;
  background: none;
  color: var(--tinte-weich);
  padding: .4rem .5rem;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--linie);
  text-underline-offset: .22em;
}
.karte__mehr:hover {
  background: none;
  color: var(--tief);
  transform: none;
  text-decoration-color: currentColor;
}

/* ══ Studio-Band ═════════════════════════════════════════════════════ */

.studio {
  background: var(--tief);
  color: #fff;
  border-radius: clamp(var(--rund-l), 3vw, 32px);
  padding: clamp(2.25rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.studio::after {
  content: '';
  position: absolute;
  width: 26rem; height: 26rem;
  right: -8rem; top: -10rem;
  background: radial-gradient(circle, rgba(87,181,200,.4), transparent 66%);
  border-radius: 50%;
  pointer-events: none;
}
@media (max-width: 56rem) { .studio { grid-template-columns: minmax(0, 1fr); } }
.studio > * { position: relative; z-index: 1; }
.studio h2 { color: #fff; }
.studio .oberzeile { color: var(--himmel); }
.studio h2 + p { margin-top: 1rem; }
.studio p { color: rgba(255,255,255,.82); max-width: 48ch; }

.zahlen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.zahlen li {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--rund);
  padding: 1.15rem .85rem;
  text-align: center;
}
.zahl {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.zahlen small {
  display: block;
  margin-top: .45rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.72);
  line-height: 1.3;
}

/* ══ Gründe ══════════════════════════════════════════════════════════ */

.gruende {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.grund {
  background: var(--weiss);
  border: 1px solid var(--linie-fein);
  border-radius: var(--rund-l);
  padding: 1.6rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.grund__zeichen {
  width: 2.75rem; height: 2.75rem;
  border-radius: 12px;
  background: var(--papier-warm);
  display: grid;
  place-items: center;
  margin-bottom: .4rem;
  color: var(--tief);
}
.grund__zeichen svg { width: 1.5rem; height: 1.5rem; }
.grund h3 { font-size: 1.1rem; }
.grund p { font-size: .93rem; color: var(--tinte-weich); margin: 0; }

/* ══ FAQ ═════════════════════════════════════════════════════════════ */

.faq { max-width: 46rem; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--linie-fein);
}
.faq details:first-of-type { border-top: 1px solid var(--linie-fein); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem .5rem 1.15rem 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tinte);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--tief); }
.faq summary::after {
  content: '';
  flex: none;
  width: 1.15rem; height: 1.15rem;
  margin-top: .28rem;
  background: currentColor;
  opacity: .55;
  transition: transform .22s;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 3rem 1.35rem 0;
  color: var(--tinte-weich);
  font-size: .97rem;
  margin: 0;
}
.faq details p + p { padding-top: .8rem; }

/* ══ Schlussruf ══════════════════════════════════════════════════════ */

.schlussruf {
  text-align: center;
  background: var(--papier-warm);
  border: 1px solid var(--linie-fein);
  border-radius: clamp(var(--rund-l), 3vw, 32px);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}
.schlussruf h2 + p { margin-top: 1.1rem; }
.schlussruf p { margin-inline: auto; }
.schlussruf .hero__tat { justify-content: center; }

/* ══ Fuß ═════════════════════════════════════════════════════════════ */

.fuss {
  background: var(--tinte);
  color: rgba(255,255,255,.66);
  padding-block: clamp(2.75rem, 5vw, 4rem) 2rem;
  font-size: .92rem;
}
.fuss__gitter {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
@media (max-width: 48rem) { .fuss__gitter { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.fuss__logo img { width: 158px; margin-bottom: 1rem; }
.fuss h3 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .9rem;
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.fuss a { color: rgba(255,255,255,.82); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.fuss__unten {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  font-size: .84rem;
  color: rgba(255,255,255,.5);
}

/* ══ Detailfenster ═══════════════════════════════════════════════════ */

dialog.detail {
  width: min(100% - 1.5rem, 62rem);
  max-height: min(92dvh, 52rem);
  padding: 0;
  border: none;
  border-radius: clamp(16px, 2.5vw, 24px);
  background: var(--weiss);
  color: var(--tinte);
  box-shadow: 0 40px 90px -30px rgba(19,48,61,.55);
  overflow: hidden;
}
dialog.detail::backdrop { background: rgba(19,48,61,.55); backdrop-filter: blur(4px); }

.detail__innen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-height: inherit;
}
@media (max-width: 52rem) {
  /* Auf dem Telefon soll das ganze Fenster scrollen, nicht nur die
     Textspalte neben einem feststehenden Bild. */
  .detail__innen { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .detail__text { overflow-y: visible; }
  .detail__medien { padding: 1rem; }
  .miniatur { width: 3.4rem; height: 3.4rem; }
}

.detail__medien { background: var(--kachel); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.detail__haupt {
  background: var(--weiss);
  border-radius: var(--rund);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 5%;
  border: 1px solid var(--linie-fein);
}
.detail__haupt img { width: 100%; height: 100%; object-fit: contain; }
.miniaturen { display: flex; gap: .55rem; }
.miniatur {
  appearance: none;
  border: 1.5px solid var(--linie-fein);
  background: var(--weiss);
  border-radius: 10px;
  padding: 5px;
  width: 4rem; height: 4rem;
  cursor: pointer;
  transition: border-color .15s;
}
.miniatur img { width: 100%; height: 100%; object-fit: contain; }
.miniatur[aria-current="true"] { border-color: var(--tief); }

.detail__text {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.detail__text h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.95rem); }
.detail__diff { font-size: .95rem; color: var(--tinte-weich); margin: 0; }
.detail__liste { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .7rem; }
.detail__liste li {
  display: flex;
  gap: .65rem;
  font-size: .93rem;
  line-height: 1.5;
  color: var(--tinte-weich);
}
.detail__liste li::before {
  content: '';
  flex: none;
  width: 1.15rem; height: 1.15rem;
  margin-top: .16rem;
  border-radius: 50%;
  background: var(--mint-tief);
  -webkit-mask: no-repeat center/.72rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask: no-repeat center/.72rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.detail__meta {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--linie-fein);
  display: grid;
  gap: .85rem;
}
.detail__asin { font-size: .78rem; color: var(--tinte-weich); font-variant-numeric: tabular-nums; }

.schliessen {
  position: absolute;
  top: .8rem; right: .8rem;
  z-index: 5;
  appearance: none;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--linie);
  background: rgba(255,255,255,.9);
  color: var(--tinte);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color .15s, transform .15s;
}
.schliessen:hover { background: #fff; transform: rotate(90deg); }
.schliessen svg { width: 1.05rem; height: 1.05rem; }

/* Ohne JS öffnet sich kein Detailfenster — dann soll der Knopf auch
   nicht dastehen. Der Amazon-Link daneben funktioniert immer. */
html:not(.js) .karte__mehr { display: none; }

/* ══ Einblenden — Notbremse: ohne JS ist alles sichtbar ══════════════ */

.js .zeigen {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
}
.js .zeigen.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .zeigen { opacity: 1; transform: none; }
}

/* ══ Rechtstexte ═════════════════════════════════════════════════════ */

.recht { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem); max-width: 46rem; }
.recht h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); margin-bottom: 1.5rem; }
.recht h2 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.55rem); margin-top: 2.5rem; margin-bottom: .7rem; }
.recht h3 { font-size: 1.08rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.recht p, .recht li { color: var(--tinte-weich); font-size: .97rem; }
.recht ul { padding-inline-start: 1.2rem; display: grid; gap: .4rem; margin-block: 0 1.1em; }
.recht address { font-style: normal; }
.recht .zurueck { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; margin-bottom: 2rem; }
.recht .zurueck:hover { text-decoration: underline; }

.hinweis-offen {
  background: var(--papier-warm);
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  padding: .85rem 1.1rem;
  font-size: .93rem;
}

/* ══ Karten auf dem Telefon quer ═════════════════════════════════════
   Hochkant wären 25 Karten rund 15 000 px Scrollweg. Quer halbiert das,
   ohne dass Name, Preis oder Knopf enger werden.                    */

@media (max-width: 34rem) {
  .raster { gap: .85rem; }

  .karte { flex-direction: row; }
  .karte:hover { transform: none; }

  .karte__bild {
    flex: none;
    width: 42%;
    aspect-ratio: auto;
    padding: 3.5%;
    border-bottom: none;
    border-right: 1px solid var(--linie-fein);
  }
  .karte__bild img { height: 100%; }

  .karte__text { padding: .9rem .95rem 1rem; gap: .25rem; }
  .karte__kat { font-size: .66rem; letter-spacing: .1em; }
  .karte__name { font-size: 1.02rem; }
  .karte__unter { font-size: .82rem; }
  .karte__fuss { padding-top: .75rem; }
  .preiszeile { margin-bottom: .6rem; }
  .preis { font-size: 1.22rem; }
  .karte__knoepfe .knopf--voll { padding: .52rem .8rem; font-size: .82rem; }
  .karte__mehr { font-size: .8rem; padding: .3rem; }

  .fahnen { top: .45rem; left: .45rem; }
  .fahne { font-size: .6rem; padding: .25rem .45rem; }
}

/* Studio-Band: Knöpfe zur Lernplattform (09/2026) */
.studio__tat { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.studio .knopf--linie { color: #fff; border-color: rgba(255,255,255,.45); }
.studio .knopf--linie:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
