/* Kundenportal — eine Datei, kein Stil in den Vorlagen (CSP: style-src 'self').
   Aussehen wie der freigegebene Entwurf (Design »Kundenportal«, 07.10.2026)
   und wie die Website: Archivo breit für Überschriften, Figtree für Text.
   Schriften liegen hier, nicht bei Google. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  --grund: #F2F1ED;
  --tinte: #16140F;
  --leise: #4A453E;
  --linie: rgba(20,16,10,.08);
  --rand: rgba(20,16,10,.14);
  --akzent: #9A5214;
  --akzent-dunkel: #7A3F0E;
  --akzent-hell: #F6E6D3;
  --gut: #2F6B4F;
  --nacht: #0E0F11;
  --creme: #EFE6D6;
  --karte: rgba(255,255,255,.74);
  --schatten: 0 0 0 1px rgba(20,16,10,.05), 0 12px 32px -20px rgba(20,16,10,.28);
  --kopf-verlauf: linear-gradient(180deg, #16140F 0%, #2E2A25 55%, #8E877C 100%);
  --nacht-verlauf: linear-gradient(180deg, #FBF6EC 0%, #D9D0C2 50%, #8E877C 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: repeating-linear-gradient(90deg, rgba(20,16,10,.03) 0 1px, transparent 1px 6px), var(--grund);
  font-family: Figtree, system-ui, sans-serif; color: var(--tinte);
  font-size: 15px; line-height: 1.5;
  display: flex; flex-direction: column;
}
a { color: var(--akzent); }
a:hover { color: var(--akzent-dunkel); }
.weit { max-width: 1180px; width: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Wortmarke */
.marke { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.marke-wort {
  font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 900; font-size: 24px;
  letter-spacing: .02em; background: var(--kopf-verlauf);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.marke-zusatz { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); background: rgba(242,241,237,.85); }
.kopf-zeile { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.kopf-nav { flex: 1 1 480px; display: flex; flex-wrap: wrap; gap: 2px; font-size: 14px; font-weight: 600; }
.kopf-nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--tinte); white-space: nowrap; }
.kopf-nav a[aria-current="page"] { color: #FFFFFF; background: var(--tinte); }
.kopf-konto { display: flex; align-items: center; gap: 10px; }
.kopf-ich { display: flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; border-radius: 999px; }
.kopf-ich:hover { color: var(--tinte); }
.kopf-ich[aria-current="page"] .avatar { background: var(--akzent); color: #FFFFFF; }
.kopf-name { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.kopf-name b { font-size: 14px; font-weight: 600; }
.kopf-name span { font-size: 12px; color: var(--leise); }
.avatar {
  width: 36px; height: 36px; border-radius: 999px; background: var(--tinte); color: var(--creme);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.abmelden { margin: 0; }
.abmelden button {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--leise); background: none;
  border: 0; padding: 6px 4px; cursor: pointer; text-decoration: underline;
}

/* Inhalt */
.inhalt { flex: 1; padding-top: 36px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.titelzeile { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.titel-block { display: flex; flex-direction: column; gap: 8px; }
.oberzeile { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); }
.gross {
  margin: 0; font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  line-height: 1.02; font-size: clamp(32px, 4.2vw, 48px);
  background: var(--kopf-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
}
.knopf-haupt { background: var(--akzent); color: #FFFFFF; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 28px -12px rgba(184,101,26,.9); }
.knopf-haupt:hover { background: var(--akzent-dunkel); color: #FFFFFF; }
.knopf-neben { background: #FFFFFF; color: var(--tinte); border: 1px solid var(--rand); font-weight: 600; }
.knopf-neben:hover { color: var(--tinte); border-color: var(--tinte); }
.knopf-dunkel { background: var(--tinte); color: #FFFFFF; font-weight: 600; min-height: 44px; font-size: 14px; padding: 0 18px; }
.knopf-dunkel:hover { color: #FFFFFF; background: #2E2A25; }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.kachel, .karte {
  border-radius: 20px; background: var(--karte); border: 1px solid rgba(255,255,255,.95); box-shadow: var(--schatten);
}
.kachel { padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.kachel-nacht {
  color: var(--creme); border: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 6px),
              radial-gradient(260px 180px at 100% 0%, rgba(184,101,26,.45) 0%, transparent 65%), var(--nacht);
}
.kachel-titel { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.kachel-nacht .kachel-titel { color: #E2A35E; }
.kachel-zahl { font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: 1.1; }
.kachel-nacht .kachel-zahl { color: #FBF6EC; }
.kachel-zeile { font-size: 13px; color: var(--leise); }
.kachel-nacht .kachel-zeile { color: #B5AC9F; }
.kachel-zeile.gut { color: var(--gut); font-weight: 600; }

/* Karten mit Inhalt */
.spalten { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.spalte-haupt { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.spalte-neben { flex: 1 1 300px; padding: 4px 24px; }
.karte-voll { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.karte h2 { margin: 0; font-size: 17px; font-weight: 700; }
.karte-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.zeile-zwischen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.posten { font-size: 18px; font-weight: 700; }
.leise { color: var(--leise); }
.klein { font-size: 14px; }
.marke-status {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--akzent); background: var(--akzent-hell); border-radius: 999px; padding: 5px 12px;
}
.abschnitt { padding: 20px 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.abschnitt h2 { margin-bottom: 8px; }
.abschnitt p { margin: 0; }
.abschnitt .knopf { margin-top: 12px; }
.fett { font-weight: 600; }

/* Fuss */
.fuss {
  padding-top: 20px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 6px 20px;
  font-size: 13px; color: var(--leise); border-top: 1px solid var(--linie);
}
.fuss a { color: var(--leise); }

/* Anmelden: die dunkle Seite */
body.nacht {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 6px),
              radial-gradient(700px 480px at 85% 0%, rgba(184,101,26,.42) 0%, transparent 65%), var(--nacht);
  color: var(--creme); font-size: 16px;
}
body.nacht a { color: #E2A35E; }
body.nacht a:hover { color: #F2C48E; }
.nacht .marke-wort { font-size: 25px; background: var(--nacht-verlauf); -webkit-background-clip: text; background-clip: text; }
.nacht-kopf { min-height: 76px; display: flex; align-items: center; }
.nacht-inhalt { flex: 1; padding-top: 32px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.nacht-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.nacht .oberzeile { color: #E2A35E; }
.riesig {
  margin: 0; font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  line-height: 1.02; font-size: clamp(26px, 8vw, 64px);
  background: var(--nacht-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.unterzeile { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.6vw, 20px); color: #D0C8BB; }
.glas {
  flex: 1 1 340px; max-width: 440px; padding: 28px; border-radius: 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 48px -24px rgba(0,0,0,.6);
  display: grid; gap: 14px;
}
.glas p { margin: 0; }
.glas-gross { font-size: 20px; font-weight: 700; color: #FFFFFF; }
.glas-leise { font-size: 15px; color: #D0C8BB; }
.glas form { margin: 0; }
.glas .knopf { width: 100%; }
.nacht .fuss { color: #8E877C; border-top: 0; padding-top: 24px; padding-bottom: 24px; }
.nacht .fuss a { color: #B5AC9F; }

/* Telefon */
@media (max-width: 680px) {
  .kopf-zeile { gap: 10px 16px; }
  .kopf-nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 0 24px 10px; }
  .kopf-konto { margin-left: auto; }
  .kopf-name { display: none; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kachel { padding: 16px; }
  .kachel-zahl { font-size: 20px; }
}
.karte-voll p { margin: 0; }

/* ── Schritt 2: Listen, Bestellung, Dokumente ───────────────────────────── */
.klein-titel {
  margin: 0; font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  line-height: 1.02; font-size: clamp(24px, 2.6vw, 30px);
  background: var(--kopf-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.liste { padding: 6px 24px 10px; }
.liste-rollen { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabelle th { text-align: left; font-size: 12px; font-weight: 600; color: var(--leise); padding: 14px 12px 10px; }
.tabelle td { padding: 14px 12px; border-top: 1px solid var(--linie); vertical-align: top; }
.tabelle th:first-child, .tabelle td:first-child { padding-left: 0; }
.tabelle th:last-child, .tabelle td:last-child { padding-right: 0; }
.tabelle .rechts { text-align: right; white-space: nowrap; }
.tabelle .fest { white-space: nowrap; }
.tabelle a { font-weight: 600; text-decoration: none; }
.tabelle .stark { font-weight: 700; color: var(--tinte); }
.marke-gut, .marke-offen {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px; white-space: nowrap; align-self: flex-start;
}
.marke-gut { color: var(--gut); background: #E1EDE4; }
.marke-offen { color: var(--akzent); background: var(--akzent-hell); }
.leer { padding: 22px 0; color: var(--leise); margin: 0; }
.zurueck { font-size: 14px; font-weight: 600; text-decoration: none; }
.summen { margin: 0; display: grid; grid-template-columns: max-content max-content; justify-content: end; gap: 6px 24px; font-size: 14px; }
.summen dt { color: var(--leise); }
.summen dd { margin: 0; text-align: right; font-weight: 600; }
.summen .gesamt { font-size: 16px; font-weight: 700; color: var(--tinte); }
.hinweis { margin: 0; font-size: 13px; color: var(--leise); }

.nur-schmal { display: none; }
@media (max-width: 680px) {
  .nur-breit { display: none; }
  .nur-schmal { display: inline; }
  .summen { justify-content: stretch; }
}

/* ── Schritt 3: Formulare ────────────────────────────────────────────────── */
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; }
.feld { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.feld .leise { font-weight: 400; }
.feld-schmal { width: 140px; }
.eingabe {
  font: inherit; font-weight: 400; min-height: 44px; padding: 10px 14px; border-radius: 14px;
  border: 1px solid var(--rand); background: #FFFFFF; color: var(--tinte); width: 100%;
}
textarea.eingabe { resize: vertical; }
.eingabe:focus-visible, .wahl-karte:focus-within { outline: 2px solid var(--akzent); outline-offset: 2px; }
.wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.wahl-karte {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; cursor: pointer;
  background: rgba(255,255,255,.6); border: 1px solid var(--rand); font-size: 14px;
}
.wahl-karte:has(input:checked) { background: #FFFFFF; border: 2px solid var(--tinte); padding: 13px 15px; }
.wahl-karte input { margin-top: 3px; accent-color: var(--tinte); }
.wahl-gruppe { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.wahl-gruppe legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.haken { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.haken input { accent-color: var(--tinte); }
.meldung {
  margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--akzent-hell); color: var(--akzent-dunkel);
  font-weight: 600;
}
.summen-voll { grid-template-columns: 1fr max-content; justify-content: stretch; margin: 6px 0 10px; }
.summen-voll dd { text-align: right; }
.spalte-neben .knopf-haupt { width: 100%; margin-top: 8px; }

/* ── Anmeldelink anfordern (07.10.2026) ─────────────────────────────────── */
.glas-formular { display: grid; gap: 14px; }
.feld-nacht { color: var(--creme); }
.eingabe-nacht { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #FFFFFF; border-radius: 26px; min-height: 52px; padding: 0 20px; }
.eingabe-nacht::placeholder { color: #8E877C; }
.oberzeile-gut { color: #9CC08A; }
.nacht .oberzeile-gut { color: #9CC08A; }
.knopf-neben-nacht { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: var(--creme); font-weight: 600; min-height: 44px; }
body.nacht .knopf-neben-nacht { color: var(--creme); }
body.nacht .knopf-haupt { color: #FFFFFF; }

/* Schritt 4: Bestand (08.10.2026) */
.zaehler { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.zaehler .eingabe { width: 140px; }
.meldung-gut { margin: 0; font-size: 14px; font-weight: 600; color: var(--gut); }
.liste > h2 { padding-top: 16px; }
.kachel .knopf { align-self: flex-start; margin-top: 12px; }
.abschnitt p + p { margin-top: 12px; }
.liste > .karte-kopf { padding-top: 16px; }
.felder-senkrecht { display: grid; gap: 12px; }
.felder-senkrecht .zaehler { align-items: center; }
.wahl-produkte { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.preis-zeile { display: inline-block; margin-top: 6px; font-weight: 700; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Produkte (09.10.2026) */
.umschalter { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--linie); }
.umschalter a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--tinte); text-decoration: none; }
.umschalter a[aria-current="true"] { background: var(--tinte); color: #FFFFFF; }
.produktraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.produkt { border-radius: 20px; background: #FFFFFF; border: 1px solid var(--linie); box-shadow: 0 12px 32px -22px rgba(20,16,10,.35); overflow: hidden; display: flex; flex-direction: column; }
.produkt-buehne { position: relative; height: 200px; }
.produkt-buehne svg { display: block; width: 100%; height: 100%; }
.produkt-buehne--tiger-bio { background: linear-gradient(160deg, #F6EBDD 0%, #EBD3B4 100%); }
.produkt-buehne--poopy-komp { background: linear-gradient(160deg, #E8F0E2 0%, #CFE0C4 100%); }
.produkt-buehne--poopy-rez { background: linear-gradient(160deg, #E6EBF0 0%, #CDD6DF 100%); }
.produkt-buehne--poopy-hdpe { background: linear-gradient(160deg, #EFEDE9 0%, #DAD6CF 100%); }
.produkt-linie { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.85); }
.produkt-text { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.produkt-text h2 { margin: 0; font-size: 17px; font-weight: 700; }
.produkt-text p { margin: 2px 0 0; font-size: 14px; }
.merkmale { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.merkmale li { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--grund, #F2F1ED); color: var(--leise); }
.produkt-fuss { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 6px; }
.produkt-preis { font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 900; font-size: 22px; line-height: 1.1; }
