/* Profi-Merch Shop */
:root {
  --nacht: #0b1220;
  --nacht-2: #141e33;
  --blau: #1a9bff;
  --blau-dunkel: #0b74d1;
  --hell: #f6f8fb;
  --flaeche: #ffffff;
  --linie: #dfe5ee;
  --text: #0b1220;
  --leise: #5a6578;
  --warn: #fff4d6;
  --radius: 14px;
  --schrift: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--hell); color: var(--text); font: 1rem/1.6 var(--schrift); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blau-dunkel); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 .4em; }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .8em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.huelle { max-width: 76rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.abschnitt { padding-top: clamp(2rem, 6vw, 3.5rem); padding-bottom: clamp(1rem, 3vw, 2rem); }
.dachzeile { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--blau); margin: 0 0 .5rem; }
.dachzeile a { color: inherit; text-decoration: none; }
.leer-text { color: var(--leise); }

/* Hinweisleisten */
.vorschau-hinweis { background: var(--blau); color: #fff; text-align: center; font-size: .85rem; font-weight: 600; padding: .45rem 1rem; }
.entwurf-hinweis { background: var(--warn); border-bottom: 1px solid #f0d78a; color: #5c4400; text-align: center; font-size: .9rem; padding: .55rem 1rem; }

/* Kopf */
.kopf { background: var(--nacht); color: #fff; position: sticky; top: 0; z-index: 20; }
.kopf-innen { max-width: 76rem; margin: 0 auto; padding: .5rem clamp(1rem, 4vw, 2.5rem); min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marke { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.marke img { width: 44px; height: 44px; }
.kopf-nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 1.75rem); }
.kopf-nav a { color: #dce6f5; text-decoration: none; font-weight: 600; font-size: .95rem; }
.kopf-nav a:hover { color: #fff; }
.warenkorb-link { position: relative; display: inline-flex; padding: .3rem; }
.warenkorb-zahl { position: absolute; top: -4px; right: -8px; background: var(--blau); color: #fff; border-radius: 999px; font-size: .7rem; font-weight: 800; min-width: 1.2rem; height: 1.2rem; display: grid; place-items: center; padding: 0 .3rem; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .6rem 1.5rem; border-radius: 999px; border: 0; background: var(--blau); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.knopf:hover { background: var(--blau-dunkel); }
.knopf:disabled { background: #b8c3d3; cursor: not-allowed; }
.knopf-hell { background: #fff; color: var(--nacht); }
.knopf-hell:hover { background: #e7f3ff; }
.knopf-gross { min-height: 3.3rem; font-size: 1.05rem; flex: 1; }

/* Startseite */
.held { background: radial-gradient(1200px 500px at 85% -10%, rgba(26, 155, 255, .35), transparent 60%), var(--nacht); color: #fff; }
.held-innen { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; padding-top: clamp(2.5rem, 8vw, 5rem); padding-bottom: clamp(2.5rem, 8vw, 5rem); }
.held h1 { color: #fff; }
.held-text { color: #c9d6ea; font-size: 1.12rem; max-width: 36rem; }
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.vorteile li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: .9rem 1.1rem; display: flex; flex-direction: column; }
.vorteile strong { font-size: 1rem; }
.vorteile span { color: #b8c6dc; font-size: .9rem; }

.partner-raster { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.partner-karte { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1.3rem 1rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.partner-karte:hover { border-color: var(--blau); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 18, 32, .08); }
.partner-logo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--nacht); color: #fff; font-weight: 800; font-size: 1.6rem; margin-bottom: .4rem; }
.partner-logo img { width: 100%; height: 100%; object-fit: cover; }
.partner-name { font-weight: 800; }
.partner-art { color: var(--leise); font-size: .85rem; }

.creator-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--nacht); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(1.5rem, 4vw, 2.5rem); }
.creator-box h2 { color: #fff; margin-bottom: .4rem; }
.creator-box p { color: #c9d6ea; margin: 0; max-width: 40rem; }

/* Artikel-Kacheln */
.raster { display: grid; gap: clamp(.75rem, 2vw, 1.25rem); grid-template-columns: repeat(auto-fill, minmax(min(210px, 45%), 1fr)); }
.kachel { display: flex; flex-direction: column; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.kachel:hover { border-color: var(--blau); box-shadow: 0 10px 24px rgba(11, 18, 32, .08); }
.kachel-bild { aspect-ratio: 1; background: #eef2f7; display: block; }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kachel-text { display: flex; flex-direction: column; gap: .15rem; padding: .75rem .9rem .9rem; }
.kachel-partner { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blau-dunkel); font-weight: 700; }
.kachel-titel { font-weight: 700; line-height: 1.3; }
.kachel-preis { color: var(--leise); font-size: .95rem; }

/* Partnerseite */
.partner-kopf { background: var(--nacht); color: #fff; position: relative; }
.partner-banner { display: block; width: 100%; max-height: 320px; object-fit: cover; opacity: .55; }
.mit-banner .partner-kopf-innen { position: absolute; inset: auto 0 0 0; left: 50%; transform: translateX(-50%); width: 100%; }
.partner-kopf-innen { display: flex; align-items: center; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.partner-kopf h1 { color: #fff; margin-bottom: .2rem; }
.partner-kopf-logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .85); background: #fff; flex: none; }
.partner-tagline { color: #c9d6ea; margin: 0 0 .6rem; font-size: 1.05rem; }
.partner-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.partner-links a { color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: .2rem .8rem; font-size: .85rem; text-decoration: none; }
.partner-links a:hover { background: rgba(255, 255, 255, .12); }
.text-block { max-width: 46rem; color: #2a3446; }
.text-block p { margin: 0 0 .8rem; }
.text-block ul { margin: 0 0 .8rem; padding-left: 1.2rem; }
.kollektion { margin: 2rem 0 1rem; }

/* Artikelseite */
.brotkrumen { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--leise); padding: 1.1rem 0; }
.brotkrumen a { color: var(--leise); }
.artikel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.galerie { position: sticky; top: 5rem; }
.galerie-gross { aspect-ratio: 1; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.galerie-gross img { width: 100%; height: 100%; object-fit: contain; }
.galerie-leiste { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: .3rem; }
.galerie-mini { flex: none; width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.galerie-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie-mini.ist-aktiv { border-color: var(--blau); }
.kaufbox h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.preis { font-size: 1.7rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.preis-hinweis { color: var(--leise); font-size: .85rem; margin: .1rem 0 1.3rem; }
.wahl { border: 0; padding: 0; margin: 0 0 1.1rem; }
.wahl legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.wahl legend strong { font-weight: 500; color: var(--leise); }
.farben { display: flex; flex-wrap: wrap; gap: .5rem; }
.farbe { position: relative; cursor: pointer; }
.farbe input, .groesse input { position: absolute; opacity: 0; pointer-events: none; }
.farbpunkt { display: block; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 3px #fff; background: #ccc; }
.farbe input:checked + .farbpunkt { outline: 2px solid var(--blau); outline-offset: 2px; }
.farbe input:focus-visible + .farbpunkt { outline: 3px solid var(--blau-dunkel); outline-offset: 3px; }
.groessen { display: flex; flex-wrap: wrap; gap: .45rem; }
.groesse span { display: inline-grid; place-items: center; min-width: 3.1rem; height: 2.7rem; padding: 0 .8rem; border: 1px solid var(--linie); border-radius: 10px; background: #fff; font-weight: 700; cursor: pointer; }
.groesse input:checked + span { border-color: var(--nacht); background: var(--nacht); color: #fff; }
.groesse input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }
.kauf-zeile { display: flex; gap: .75rem; align-items: flex-end; margin-top: .4rem; }
.menge { display: flex; flex-direction: column; font-weight: 700; font-size: .85rem; gap: .25rem; }
.menge input { width: 5rem; height: 3.3rem; border: 1px solid var(--linie); border-radius: 12px; font: inherit; text-align: center; }
.kauf-hinweis { font-size: .88rem; color: var(--leise); margin: .7rem 0 0; }
.eckdaten { list-style: none; padding: 1.1rem 0 0; margin: 1.3rem 0 0; border-top: 1px solid var(--linie); display: grid; gap: .45rem; font-size: .92rem; color: #2a3446; }
.eckdaten li { padding-left: 1.4rem; position: relative; }
.eckdaten li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--blau); }
.artikel-text { padding: 2.5rem 0 1rem; }
.artikel-text h2 { font-size: 1.25rem; margin-top: 1.5rem; }

.leer { text-align: center; padding: 4rem 1rem; }

/* Fuß */
.fuss { margin-top: 4rem; background: var(--nacht); color: #c9d6ea; font-size: .9rem; }
.fuss-innen { max-width: 76rem; margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 2.5rem); display: grid; gap: 2rem; grid-template-columns: 2fr 2fr 1fr; }
.fuss strong { color: #fff; display: block; margin-bottom: .4rem; }
.fuss p { margin: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.fuss a { color: #c9d6ea; }

/* Rechtstexte */
.rechtstext { max-width: 48rem; padding-top: 2rem; }
.rechtstext h2 { font-size: 1.2rem; margin-top: 2rem; }
.rechtstext p, .rechtstext li { color: #2a3446; }

@media (max-width: 860px) {
  .held-innen, .artikel { grid-template-columns: minmax(0, 1fr); }
  .galerie { position: static; }
  .fuss-innen { grid-template-columns: 1fr; }
  .partner-kopf-innen { flex-direction: column; align-items: flex-start; }
  .mit-banner .partner-kopf-innen { position: static; transform: none; }
}
@media (max-width: 480px) {
  .kopf-nav a:not(.warenkorb-link) { display: none; }
  .creator-box .knopf { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kachel, .partner-karte { transition: none; }
}

/* Widerrufsfunktion (§ 356a BGB): dauerhaft sichtbar */
.widerruf-link { margin: 1rem 0 0; }
.widerruf-link a { display: inline-block; color: #fff; font-weight: 700; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: .35rem .9rem; text-decoration: none; }
.widerruf-link a:hover { background: rgba(255, 255, 255, .12); }
.leise { color: var(--leise); }

/* ---------- Warenkorb, Kasse, Bestellung, Formulare ---------- */
.klein { font-size: .88rem; }
.mb { margin-bottom: 1.5rem; }
.knopf-block { width: 100%; }
.ist-gesperrt { background: #b8c3d3; pointer-events: none; }
.link-knopf { background: none; border: 0; padding: 0; color: var(--blau-dunkel); font: inherit; font-size: .88rem; text-decoration: underline; cursor: pointer; }
.hinweis-fehler { background: #fdecef; border: 1px solid #f5c2cc; color: #8e1a3b; border-radius: 10px; padding: .7rem .9rem; }
.kauf-hinweis.ist-fehler { color: #8e1a3b; font-weight: 600; }
.karte-hell { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.5rem); }
.karte-hell h2 { font-size: 1.2rem; }
.warenkorb-raster, .kasse-raster { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.zusammenfassung-box { position: sticky; top: 5rem; }
.positionen { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .8rem; }
.positionen li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .8rem; align-items: start; }
.positionen-gross li { grid-template-columns: 80px minmax(0, 1fr) auto; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: .8rem; }
.positionen img, .platzhalter { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #eef2f7; display: block; }
.positionen a { color: inherit; text-decoration: none; }
.betrag { font-weight: 700; white-space: nowrap; }
.menge-zeile { display: flex; align-items: center; gap: .9rem; margin-top: .4rem; }
.menge-klein { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; }
.menge-klein input { width: 4.2rem; height: 2.3rem; border: 1px solid var(--linie); border-radius: 8px; text-align: center; font: inherit; }
.summen { margin: 0 0 .8rem; display: grid; gap: .3rem; }
.summen div { display: flex; justify-content: space-between; gap: 1rem; }
.summen dt { color: var(--leise); }
.summen dd { margin: 0; font-weight: 600; }
.summen .gesamt { border-top: 1px solid var(--linie); padding-top: .5rem; margin-top: .2rem; font-size: 1.15rem; }
.summen .gesamt dt { color: var(--text); font-weight: 700; }
.express-wahl { display: flex; gap: .6rem; align-items: flex-start; background: #eef7ff; border: 1px solid #bfe0ff; border-radius: 10px; padding: .7rem .8rem; margin-bottom: 1rem; cursor: pointer; }
.express-wahl input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--blau); }
.formular { display: grid; gap: .1rem; }
.formular label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .92rem; margin-bottom: .8rem; }
.formular label small { font-weight: 400; color: var(--leise); }
.formular input, .formular textarea { border: 1px solid var(--linie); border-radius: 10px; padding: .7rem .8rem; font: inherit; font-weight: 400; background: #fff; color: var(--text); }
.formular input:focus, .formular textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(26, 155, 255, .2); }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rechtshinweis { color: var(--leise); }
.rechtstext .formular { max-width: 36rem; }
.zusammenfassung { white-space: pre-wrap; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: .9rem; font: inherit; }
.bestellseite { padding-top: 2rem; }
.bestell-raster { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; margin-bottom: 1.5rem; }
.bestell-raster h3 { font-size: 1rem; margin: 1rem 0 .3rem; }
@media (max-width: 860px) {
  .warenkorb-raster, .kasse-raster, .bestell-raster { grid-template-columns: minmax(0, 1fr); }
  .zusammenfassung-box { position: static; }
}
@media (max-width: 480px) {
  .zwei { grid-template-columns: 1fr; }
  .positionen-gross li { grid-template-columns: 64px minmax(0, 1fr); }
  .positionen-gross .betrag { grid-column: 2; }
}
.test-hinweis { background: #fff4d6; border: 1px solid #f0d78a; color: #5c4400; border-radius: 10px; padding: .7rem .9rem; font-weight: 600; }
