/* Tekvaro – Farben und Abstände zentral hier */
/* Schrift Inter (SIL Open Font License, siehe fonts/LICENSE-Inter.txt) – liegt auf dem eigenen Server,
   damit die Seite auf Samsung, iPhone und PC gleich aussieht und keine Daten an Dritte gehen */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #f5f4f0;
  --flaeche: #ffffff;
  --flaeche-2: #f0eee9;
  --bildgrund: #ffffff;          /* Produktfotos immer auf hellem Grund */
  --tinte: #15171a;
  --text-2: #2b2f35;
  --grau: #585e66;
  --hell: #6b7178;              /* dunkler als vorher: Kontrast 4,5:1 auch für kleine Schrift */
  --linie: #e2e0da;
  --linie-2: #d3d0c8;
  --dunkel: #111316;             /* dunkle Bereiche: Hero, Kontakt, Fußzeile */
  --dunkel-2: #1c1f24;
  --invers: #111316;             /* dunkle Knöpfe, aktive Reiter */
  --invers-hover: #2a2e35;
  --invers-text: #ffffff;
  --akzent: #f6b500;
  --akzent-hover: #ffc526;
  --akzent-text: #8a5f00;
  --auf-akzent: #111316;         /* Schrift auf Gelb */
  --kopf-grund: rgba(255, 255, 255, .88);
  --leiste-grund: rgba(245, 244, 240, .92);
  --hover-grund: rgba(17, 19, 22, .05);
  --aktiv-grund: rgba(17, 19, 22, .07);
  --logo-grund: #111316;
  --punkt-rand: rgba(0, 0, 0, .2);
  --fehlt-grund: #fff1bf;
  --fehlt-text: #6b4a00;
  --erfolg-grund: #eaf6ee;
  --erfolg-text: #144d2c;
  --erfolg-rand: #b9dcc6;
  --radius: 16px;
  --radius-klein: 10px;
  --schatten: 0 1px 2px rgba(17, 19, 22, .05), 0 10px 30px rgba(17, 19, 22, .07);
  --kopf: 68px;
  --schrift: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Dunkles Design: Handys im Dunkelmodus (z. B. Samsung) bekommen eine fertig gestaltete Version,
   statt dass der Browser die Farben selbst umdreht */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0e1013;
    --flaeche: #16191d;
    --flaeche-2: #1d2025;
    --tinte: #eceef1;
    --text-2: #d3d7dc;
    --grau: #a9afb7;
    --hell: #8b929b;
    --linie: #272b31;
    --linie-2: #383d45;
    --dunkel: #0a0b0d;
    --dunkel-2: #15181c;
    --invers: #eceef1;
    --invers-hover: #ffffff;
    --invers-text: #111316;
    --akzent-text: #ffc83d;
    --kopf-grund: rgba(14, 16, 19, .86);
    --leiste-grund: rgba(14, 16, 19, .9);
    --hover-grund: rgba(255, 255, 255, .06);
    --aktiv-grund: rgba(255, 255, 255, .1);
    --logo-grund: #262a31;
    --punkt-rand: rgba(255, 255, 255, .3);
    --fehlt-grund: rgba(246, 181, 0, .18);
    --fehlt-text: #ffd666;
    --erfolg-grund: #10291b;
    --erfolg-text: #bfe8cf;
    --erfolg-rand: #285a3c;
    --schatten: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.55;
  color: var(--tinte);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
a, button, input, label, textarea { touch-action: manipulation; } /* kein Doppeltipp-Zoom auf Knöpfen */
img { display: block; max-width: 100%; height: auto; }
img.kaputt { visibility: hidden; }
/* Produktbilder: .frei = freigestellt (PNG), .foto = Foto mit eigenem Hintergrund, füllt die Fläche */
img.frei { object-fit: contain; }
img.foto { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; }
.karte-bild, .bildfeld, .galerie-haupt, .galerie-mini button { position: relative; overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: break-word; }
/* lange Produktnamen (z. B. „Doppelwechselschalter“) auf schmalen Handys trennen statt überlaufen lassen */
.karte-info h3, .mini h3, .posten-zeile h3, .detail-info h1, .kat-kachel h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--akzent); outline-offset: 2px; }
main:focus { outline: none; }

/* env(): Abstand zur iPhone-Notch im Querformat */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); }
@media (max-width: 600px) { .wrap { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); } }

.sprung {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--dunkel); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.sprung:focus { top: 12px; }

.fehlt {
  background: var(--fehlt-grund); color: var(--fehlt-text); border-radius: 4px; padding: 0 5px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: 0; border-radius: 999px;
  font-weight: 650; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .15s, box-shadow .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-akzent { background: var(--akzent); color: var(--auf-akzent); }
.btn-akzent:hover { background: var(--akzent-hover); }
.btn-dunkel { background: var(--invers); color: var(--invers-text); }
.btn-dunkel:hover { background: var(--invers-hover); }
.btn-hell { background: var(--flaeche); color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--linie-2); }
.btn-hell:hover { box-shadow: inset 0 0 0 1.5px var(--tinte); }
.btn-rand { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-rand:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-klein { padding: 9px 16px; font-size: 15px; }
.btn-text { background: none; border: 0; padding: 0; color: var(--grau); text-decoration: underline; cursor: pointer; font-size: 14px; }
.btn-text:hover { color: var(--tinte); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--kopf-grund);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen { height: var(--kopf); display: flex; align-items: center; gap: 20px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  color: var(--tinte); text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: .16em;
}
.logo svg rect:first-child { fill: var(--logo-grund); }
.logo-hell { color: #fff; }
.logo-hell svg rect:first-child { fill: #262a31; }
.menue { display: flex; gap: 2px; margin-left: auto; }
.menue a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 560; color: var(--grau); transition: background .15s, color .15s;
}
.menue a:hover { color: var(--tinte); background: var(--hover-grund); }
.menue a.aktiv { color: var(--tinte); background: var(--aktiv-grund); }
.anfrage-knopf {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 9px 16px; border-radius: 999px; background: var(--invers); color: var(--invers-text);
  text-decoration: none; font-weight: 620; transition: background .15s;
}
.anfrage-knopf:hover, .anfrage-knopf.aktiv { background: var(--invers-hover); }
.zaehler {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--akzent); color: var(--auf-akzent); font-size: 12.5px; font-weight: 800;
}
.zaehler.huepf { animation: huepf .45s ease; }
@keyframes huepf { 30% { transform: scale(1.35); } 60% { transform: scale(.9); } }
.burger { display: none; }

@media (max-width: 940px) {   /* sechs Menüpunkte passen erst ab ~900 px nebeneinander */
  .menue {
    display: none; position: absolute; top: var(--kopf); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 8px 16px 18px;
    background: var(--flaeche); border-bottom: 1px solid var(--linie); box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
  }
  .menue.offen { display: flex; }
  .menue a { padding: 13px 14px; border-radius: 10px; font-size: 17px; }
  .anfrage-knopf { margin-left: auto; }
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    flex: none; width: 44px; height: 44px; padding: 0 11px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  }
  .burger span { display: block; height: 2px; border-radius: 2px; background: var(--tinte); transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) {
  .anfrage-knopf span:not(.zaehler) { display: none; }
  .anfrage-knopf { padding: 10px 12px; }
}

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dunkel); color: #fff; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -220px; width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(246, 181, 0, .22), rgba(246, 181, 0, 0)); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-innen {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center;
  padding-top: 92px; padding-bottom: 104px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07);
  font-size: 13.5px; font-weight: 650; letter-spacing: .02em; color: #fff;
}
.kicker .lampe { width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); box-shadow: 0 0 0 4px rgba(246, 181, 0, .2), 0 0 14px var(--akzent); }
.hero h1 { margin: 22px 0 20px; font-size: clamp(40px, 6.2vw, 72px); font-weight: 820; letter-spacing: -.04em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--akzent); }
.hero h1, .abschnitt h2 { hyphens: manual; }
.hero .lead { max-width: 34em; margin-bottom: 32px; font-size: clamp(17px, 1.7vw, 20px); color: rgba(255, 255, 255, .72); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-bild { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1 / 1; justify-self: end; }
.hero-bild .kachel {
  position: absolute; display: grid; place-items: center; aspect-ratio: 1; padding: 7%;
  border-radius: 26px; background: var(--bildgrund); box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.hero-bild .kachel img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.hero-bild .kachel:has(img.foto) { padding: 0; overflow: hidden; }
.hero-bild .k1 { width: 56%; left: 0; top: 8%; transform: rotate(-5deg); }
.hero-bild .k2 { width: 50%; right: 0; top: 0; transform: rotate(6deg); }
.hero-bild .k3 { width: 48%; left: 28%; bottom: 0; transform: rotate(-1.5deg); }
@media (hover: hover) {
  .hero-bild:hover .k1 { transform: rotate(-7deg) translate(-6px, -4px); }
  .hero-bild:hover .k2 { transform: rotate(8deg) translate(6px, -6px); }
  .hero-bild:hover .k3 { transform: rotate(0deg) translateY(6px); }
}

@media (max-width: 900px) {
  .hero-innen { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; padding-bottom: 64px; }
  .hero-bild { justify-self: center; max-width: 380px; }
}

.zahlen-band { background: var(--dunkel-2); color: #fff; }
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); }
.zahlen div { padding: 26px 20px; border-left: 1px solid rgba(255, 255, 255, .08); }
.zahlen div:first-child { border-left: 0; padding-left: 0; }
.zahlen strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--akzent); }
.zahlen span { font-size: 14.5px; color: rgba(255, 255, 255, .66); }
@media (max-width: 760px) {
  .zahlen { grid-template-columns: 1fr 1fr; }
  .zahlen div { padding: 18px 0 18px 16px; }
  .zahlen div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .zahlen div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 96px 0; scroll-margin-top: var(--kopf); }
.abschnitt-weiss { background: var(--flaeche); }
@media (max-width: 600px) { .abschnitt { padding: 64px 0; } }
.abschnitt-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.abschnitt-kopf p { max-width: 36em; margin-top: 10px; color: var(--grau); font-size: 17px; }
.ueberzeile { margin-bottom: 12px; font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--akzent-text); }
.abschnitt h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.035em; }
.pfeil-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.pfeil-link:hover { text-decoration: underline; }

/* Kategorie-Kacheln */
.kat-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 16px; }
.kat-kachel {
  display: flex; flex-direction: column; gap: 14px; padding: 14px 14px 18px;
  border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche);
  text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
@media (hover: hover) {
  .kat-kachel:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: var(--linie-2); }
  .kat-kachel:hover img { transform: scale(1.06); }
  .serien-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
  .karte:hover { border-color: var(--linie-2); box-shadow: var(--schatten); }
  .karte:hover .karte-bild img { transform: scale(1.05); }
  .farbpunkt:hover { transform: scale(1.12); }
  .mini:hover { box-shadow: var(--schatten); }
}
.kat-kachel .bildfeld { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius-klein); background: var(--bildgrund); border: 1px solid var(--linie); overflow: hidden; }
.kat-kachel img { width: 64%; height: 84%; object-fit: contain; transition: transform .35s; }
.kat-kachel h3 { padding: 0 4px; font-size: 18px; }
.kat-kachel .anzahl { padding: 0 4px; margin-top: -10px; font-size: 14px; color: var(--hell); }
@media (max-width: 520px) {
  .kat-raster { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kat-kachel { padding: 10px 10px 14px; gap: 10px; }
  .kat-kachel h3 { font-size: 16px; }
  .kat-kachel .anzahl { margin-top: -6px; font-size: 13px; }
}

/* Über uns */
.ueber { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; }
.ueber-text h2 { margin-bottom: 26px; }
.ueber-text p { margin-bottom: 16px; font-size: 18px; color: var(--text-2); }
.ueber-text p.gross { font-size: 21px; font-weight: 560; color: var(--tinte); }
.unterschrift { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.unterschrift .monogramm {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 50%; background: var(--dunkel); color: var(--akzent); font-weight: 800; font-size: 20px;
}
.unterschrift strong { display: block; }
.unterschrift span { font-size: 14px; color: var(--hell); }
.werte { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wert { padding: 24px 22px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--bg); }
.wert .symbol {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px;
  border-radius: 12px; background: var(--dunkel); color: var(--akzent);
}
.wert h3 { margin-bottom: 6px; font-size: 18px; }
.wert p { font-size: 15px; color: var(--grau); }
@media (max-width: 900px) { .ueber { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) {
  .werte { grid-template-columns: 1fr; gap: 10px; }
  .wert { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 16px 18px; }
  .wert .symbol { grid-row: span 2; margin-bottom: 0; }
  .wert h3 { margin: 1px 0 3px; font-size: 17px; }
  .wert p { font-size: 14.5px; }
}

/* Serien */
.serien-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.serien-karte {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche);
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.serien-karte .bildfeld { display: grid; place-items: center; aspect-ratio: 16 / 11; background: var(--bildgrund); border-bottom: 1px solid var(--linie); }
.serien-karte img { width: 52%; height: 80%; object-fit: contain; }
.serien-karte .inhalt { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px; }
.serien-karte .etikett { align-self: flex-start; }
.serien-karte h3 { font-size: 20px; }
.serien-karte p { flex: 1; font-size: 15px; color: var(--grau); }
.serien-karte .pfeil-link { margin-top: 6px; font-size: 15px; }
@media (max-width: 1000px) { .serien-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  /* Handy: Bild links, Text rechts – spart viel Scrollweg */
  .serien-raster { grid-template-columns: 1fr; gap: 12px; }
  .serien-karte { flex-direction: row; }
  .serien-karte .bildfeld { flex: none; width: 116px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--linie); }
  .serien-karte img { width: 80%; height: 80%; }
  .serien-karte .inhalt { padding: 14px 16px 16px; gap: 6px; }
  .serien-karte h3 { font-size: 18px; }
  .serien-karte p { font-size: 14px; }
  .serien-karte .pfeil-link { margin-top: 2px; }
}

.etikett {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(246, 181, 0, .16); color: var(--akzent-text); font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
}

/* Kontakt */
.kontakt-band { background: var(--dunkel); color: #fff; }
.kontakt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.kontakt h2 { margin-bottom: 16px; }
.kontakt .ueberzeile { color: var(--akzent); }
.kontakt p.lead { max-width: 32em; margin-bottom: 28px; font-size: 18px; color: rgba(255, 255, 255, .72); }
.kontakt-wege { display: grid; gap: 12px; }
.kontakt-weg {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .04);
  color: #fff; text-decoration: none; transition: background .15s, border-color .15s;
}
a.kontakt-weg:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.kontakt-weg .symbol { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--akzent); color: var(--auf-akzent); }
.kontakt-weg small { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); }
.kontakt-weg strong { font-size: 17px; word-break: break-word; }
.kontakt-band .fehlt { background: rgba(246, 181, 0, .2); color: #ffd666; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Produktliste ---------- */
.kat-leiste {
  position: sticky; top: var(--kopf); z-index: 40;
  background: var(--leiste-grund);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kat-leiste .wrap { max-width: none; }
.kat-tabs { display: flex; gap: 6px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
/* mittig, solange alles passt; sonst wischen */
.kat-tabs a:first-child { margin-left: auto; }
.kat-tabs a:last-child { margin-right: auto; }
/* weiche Kante zeigt: hier geht es weiter */
.kat-tabs.mehr-rechts { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.kat-tabs.mehr-links { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); }
.kat-tabs.mehr-links.mehr-rechts { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.kat-tabs::-webkit-scrollbar { display: none; }
.kat-tabs a {
  flex: none; padding: 8px 13px; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche);
  font-size: 14.5px; font-weight: 600; color: var(--grau); text-decoration: none; white-space: nowrap; transition: color .15s, border-color .15s;
}
.kat-tabs a:hover { color: var(--tinte); border-color: var(--linie-2); }
.kat-tabs a.aktiv { background: var(--invers); border-color: var(--invers); color: var(--invers-text); }

.produkt-wrap { padding-bottom: 80px; }
.kat-intro { padding: 40px 0 8px; }
.kat-intro h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 820; letter-spacing: -.035em; }
.kat-intro > p { max-width: 40em; margin-top: 10px; font-size: 18px; color: var(--grau); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid var(--linie-2); border-radius: 999px; background: transparent;
  font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.chip span { font-weight: 500; color: var(--hell); }
.chip:hover { border-color: var(--tinte); }
.chip[aria-pressed="true"] { background: var(--invers); border-color: var(--invers); color: var(--invers-text); }
.chip[aria-pressed="true"] span { color: inherit; opacity: .65; }
.kat-intro .preis-info { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--hell); }
.kat-intro .preis-info svg { flex: none; margin-top: 2px; }

.serie { padding: 36px 0 12px; scroll-margin-top: calc(var(--kopf) + 70px); }
.serie-kopf { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 6px 14px; margin-bottom: 18px; }
.serie-kopf h2 { font-size: 26px; font-weight: 780; }
.serie-kopf p { grid-column: 1 / -1; max-width: 52em; font-size: 15.5px; color: var(--grau); }
.liste { display: grid; gap: 12px; }

.karte {
  display: grid; grid-template-columns: 188px minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 14px 22px 14px 14px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche);
  cursor: pointer; transition: box-shadow .2s, border-color .2s;
}
.karte-bild { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--bildgrund); border: 1px solid var(--linie); }
.karte-bild img { width: 80%; height: 80%; object-fit: contain; transition: transform .35s; }
.karte-serie { font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--hell); }
.karte-info h3 { margin: 4px 0 8px; font-size: 21px; font-weight: 720; }
.karte-info h3 a { text-decoration: none; }
.karte-info h3 a:hover { text-decoration: underline; }
.karte-text { max-width: 54ch; margin-bottom: 14px; font-size: 15px; color: var(--grau); }
.karte-kauf { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; min-width: 176px; text-align: right; }
.karte-knoepfe { display: flex; gap: 8px; }

.preis { font-size: 26px; font-weight: 780; letter-spacing: -.025em; line-height: 1.1; white-space: nowrap; }
.preis small { margin-right: 5px; font-size: 14px; font-weight: 600; color: var(--grau); letter-spacing: 0; }
.preis.anfrage { font-size: 18px; font-weight: 700; color: var(--grau); }
.preis-hinweis { margin-top: 4px; font-size: 12.5px; color: var(--hell); }

.ohne-bild { display: grid; place-items: center; width: 100%; height: 100%; font-size: 14px; color: var(--hell); }

.farbpunkte { display: flex; flex-wrap: wrap; gap: 9px; }
.farbpunkt {
  position: relative; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
  background: var(--f); box-shadow: inset 0 0 0 1px var(--punkt-rand); cursor: pointer; transition: transform .12s;
}
.farbpunkt::after { content: ""; position: absolute; inset: -9px; } /* größere Klickfläche */
.farbpunkt[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--punkt-rand), 0 0 0 2px var(--flaeche), 0 0 0 4px var(--tinte); }
.farb-name { margin-top: 10px; font-size: 14px; color: var(--grau); }
.farb-name .anzahl { color: var(--hell); }

@media (max-width: 760px) {
  .karte { grid-template-columns: 96px minmax(0, 1fr); gap: 2px 14px; align-items: start; padding: 12px; }
  .karte-serie { font-size: 12px; }
  .karte-info h3 { font-size: 17px; margin: 2px 0 4px; }
  .karte-text {
    font-size: 14px; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .karte .farbpunkte { gap: 10px; }
  .karte .farbpunkt { width: 24px; height: 24px; }
  .karte .farb-name { margin-top: 6px; font-size: 13px; }
  .karte-kauf {
    grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between;
    min-width: 0; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--linie); text-align: left;
  }
  .preis { font-size: 20px; }
}
@media (max-width: 420px) {
  .karte-knoepfe .btn-hell { display: none; }
}

/* ---------- Produktdetail ---------- */
.brotkrumen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 18px; font-size: 14px; color: var(--hell); }
.brotkrumen a { color: var(--grau); text-decoration: none; }
.brotkrumen a:hover { color: var(--tinte); text-decoration: underline; }
.detail-raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 40px; }
.galerie { position: sticky; top: calc(var(--kopf) + 20px); }
.galerie-haupt {
  display: grid; place-items: center; aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--linie); border-radius: 20px; background: var(--bildgrund);
}
.galerie-haupt img { width: 78%; height: 78%; object-fit: contain; }
.galerie-mini { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.galerie-mini button {
  width: 76px; height: 76px; padding: 8px; border: 1px solid var(--linie); border-radius: 12px;
  background: var(--bildgrund); cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.galerie-mini button img { width: 100%; height: 100%; object-fit: contain; }
.galerie-mini button:has(img.foto) { padding: 0; overflow: hidden; }
.galerie-mini button:hover { border-color: var(--linie-2); }
.galerie-mini button[aria-pressed="true"] { border-color: var(--tinte); box-shadow: inset 0 0 0 1px var(--tinte); }
.detail-info { padding-top: 4px; }
.detail-info h1 { margin: 6px 0 14px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 820; letter-spacing: -.035em; }
.detail-text { font-size: 18px; color: var(--text-2); }
.preisbox { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.preisbox .preis { font-size: 36px; }
.preisbox .preis.anfrage { font-size: 24px; }
.detail-info .farbpunkt { width: 38px; height: 38px; }
.detail-info .farbpunkte { gap: 12px; }
.detail-info .farb-name { font-size: 15px; }
.kaufzeile { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.kaufzeile .btn { flex: 1 1 220px; padding: 15px 24px; }
.menge { display: inline-flex; align-items: center; flex: none; border: 1.5px solid var(--linie-2); border-radius: 999px; background: var(--flaeche); }
.menge button { width: 44px; height: 48px; border: 0; background: none; font-size: 21px; cursor: pointer; color: var(--grau); }
.menge button:hover { color: var(--tinte); }
.menge input {
  width: 58px; border: 0; background: none; text-align: center; font: inherit; font-weight: 700; font-size: 17px; color: var(--tinte);
  -moz-appearance: textfield; appearance: textfield;
}
.menge input::-webkit-outer-spin-button, .menge input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.punkte { display: grid; gap: 9px; margin: 0 0 26px; padding: 0; list-style: none; }
.punkte li { display: flex; align-items: baseline; gap: 12px; }
.punkte li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--akzent); transform: translateY(-2px); }
.daten {
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 0;
  padding: 20px 22px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie); font-size: 15px;
}
.daten dt { color: var(--hell); }
.daten dd { margin: 0; font-weight: 560; }
.sicherheit { margin-top: 16px; padding: 18px 22px; border-radius: var(--radius); background: var(--flaeche-2); font-size: 14px; }
.sicherheit h2 { margin-bottom: 10px; font-size: 15px; font-weight: 750; letter-spacing: 0; }
.sicherheit dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0 0 14px; }
.sicherheit dt { color: var(--hell); }
.sicherheit dd { margin: 0; }
.warnung { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); }
.warnung svg { flex: none; margin-top: 1px; }
@media (max-width: 520px) {
  .sicherheit dl { grid-template-columns: 1fr; gap: 2px; }
  .sicherheit dd { margin-bottom: 8px; }
}
.passend { padding: 40px 0 80px; }
.passend h2 { margin-bottom: 20px; font-size: 26px; font-weight: 780; }
.mini-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mini {
  display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 16px;
  border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); text-decoration: none; transition: box-shadow .2s;
}
.mini .bildfeld { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 6px; border-radius: 10px; background: var(--bildgrund); border: 1px solid var(--linie); }
.mini img { width: 74%; height: 74%; object-fit: contain; }
.mini h3 { font-size: 16px; }
.mini .karte-serie { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.mini .preis { font-size: 17px; }
@media (max-width: 860px) {
  .detail-raster { grid-template-columns: 1fr; gap: 26px; }
  .galerie { position: static; }
  .mini-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Anfrage ---------- */
.seite { padding-top: 44px; padding-bottom: 90px; }
.seite h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 820; letter-spacing: -.035em; }
.seite-kopf p { max-width: 40em; margin-top: 10px; font-size: 17px; color: var(--grau); }
.anfrage-raster { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 32px; }
.posten { display: grid; gap: 10px; }
.posten-zeile {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 12px 16px 12px 12px; border: 1px solid var(--linie); border-radius: 14px; background: var(--flaeche);
}
.posten-zeile .bildfeld { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 10px; background: var(--bildgrund); border: 1px solid var(--linie); }
.posten-zeile .bildfeld img { width: 80%; height: 80%; object-fit: contain; }
.posten-zeile h3 { font-size: 16.5px; }
.posten-zeile h3 a { text-decoration: none; }
.posten-zeile h3 a:hover { text-decoration: underline; }
.posten-zeile .klein { font-size: 13.5px; color: var(--hell); }
.posten-rechts { display: flex; align-items: center; gap: 14px; }
.posten-rechts .menge button { width: 34px; height: 38px; font-size: 18px; }
.posten-rechts .menge input { width: 48px; font-size: 15.5px; }
.posten-preis { min-width: 84px; text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.entfernen { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--hell); cursor: pointer; }
.entfernen:hover { background: var(--flaeche-2); color: var(--tinte); }
.summe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: 14px; padding: 18px 4px 0; border-top: 1px solid var(--linie); }
.summe strong { font-size: 22px; }
.summe p { width: 100%; font-size: 13.5px; color: var(--hell); }
.formular { position: sticky; top: calc(var(--kopf) + 20px); padding: 26px; border: 1px solid var(--linie); border-radius: 20px; background: var(--flaeche); }
.formular h2 { margin-bottom: 6px; font-size: 22px; }
.formular > p { margin-bottom: 18px; font-size: 15px; color: var(--grau); }
.feld { display: grid; gap: 6px; margin-bottom: 14px; }
.feld label { font-size: 14px; font-weight: 600; }
.feld label span { font-weight: 400; color: var(--hell); }
.feld input, .feld textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--linie-2); border-radius: 10px; background: var(--bg);
  font: inherit; font-size: 16px; color: var(--tinte); transition: border-color .15s, background .15s;
}
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--tinte); background: var(--flaeche); }
.feld textarea { min-height: 96px; resize: vertical; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.formular .btn { width: 100%; margin-top: 6px; }
.formular .hinweis { margin-top: 12px; font-size: 13px; color: var(--hell); }
.erfolg { margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--erfolg-grund); color: var(--erfolg-text); font-size: 14.5px; }
.erfolg textarea { width: 100%; height: 140px; margin: 10px 0; padding: 10px; border: 1px solid var(--erfolg-rand); border-radius: 8px; font: 13px/1.5 ui-monospace, Menlo, monospace; background: var(--flaeche); color: var(--tinte); }
.leer { max-width: 560px; padding: 60px 0 40px; }
.leer p { margin: 14px 0 26px; font-size: 17px; color: var(--grau); }
@media (max-width: 900px) {
  .anfrage-raster { grid-template-columns: 1fr; }
  .formular { position: static; }
}
@media (max-width: 560px) {
  .posten-zeile { grid-template-columns: 60px minmax(0, 1fr); padding: 10px; }
  .posten-zeile .bildfeld { width: 60px; height: 60px; }
  .posten-rechts { grid-column: 1 / -1; justify-content: space-between; }
  .posten-rechts .menge button { width: 42px; height: 44px; }
  .posten-rechts .menge input { font-size: 16px; } /* unter 16 px zoomt das iPhone beim Tippen hinein */
  .zweispaltig { grid-template-columns: 1fr; }
  .formular { padding: 20px 16px; }
  .erfolg textarea { font-size: 16px; }
}

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 780px; }
.rechtstext h1 { margin-bottom: 28px; }
.rechtstext h2 { margin: 34px 0 10px; font-size: 21px; font-weight: 750; letter-spacing: -.015em; }
.rechtstext h3 { margin: 20px 0 6px; font-size: 17px; }
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext p + p { margin-top: 10px; }
.rechtstext ul { padding-left: 20px; }
.rechtstext .stand { margin-top: 36px; font-size: 14px; color: var(--hell); }
.rechtstext h1 + .agb-unter { margin: -16px 0 22px; color: var(--grau); }
.agb-unter .etikett { margin-right: 10px; }
.agb-kopf {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px;
  padding: 18px 20px; border: 1px solid var(--linie); border-radius: 14px; background: var(--flaeche); font-size: 15px;
}
.agb-kopf dt { font-weight: 650; }
.agb-kopf dd { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.agb .nr { margin-right: 4px; font-weight: 700; color: var(--tinte); }
.langes-wort { white-space: nowrap; }   /* nur auf schmalen Handys an der Trennstelle umbrechen */
.agb-aktionen { margin-top: 18px; }
@media (max-width: 480px) {
  .agb-kopf { grid-template-columns: 1fr; gap: 2px; padding: 16px; }
  .agb-kopf dd + dt { margin-top: 10px; }
  .langes-wort { white-space: normal; }
}

/* Häkchen im Anfrageformular (nur Gewerbekunden) */
.haken { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.haken input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--tinte); cursor: pointer; }


/* ---------- Fuß ---------- */
.fuss { background: var(--dunkel); color: rgba(255, 255, 255, .7); font-size: 15px; }
.fuss-oben { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.fuss-marke p { max-width: 26em; margin-top: 16px; }
.fuss-spalte { display: flex; flex-direction: column; gap: 10px; }
.fuss-spalte h2 { margin-bottom: 4px; font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.fuss a { text-decoration: none; overflow-wrap: anywhere; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-unten {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px;
}
.partner { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; color: #fff; }
.recht { display: flex; gap: 22px; }
.copy { margin-left: auto; color: rgba(255, 255, 255, .45); }
@media (max-width: 760px) {
  .fuss-oben { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 48px; }
  .fuss-marke { grid-column: 1 / -1; }
  .fuss-unten { flex-direction: column; align-items: flex-start; }
  .copy { margin-left: 0; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 14px; padding: 13px 14px 13px 20px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: var(--dunkel); color: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
  font-size: 15px; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .25s, transform .25s;
}
.toast.zeigen { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.toast a { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--akzent); color: var(--auf-akzent); font-weight: 700; text-decoration: none; }

/* ---------- Symbolbilder (bis eigene oder freigegebene Fotos da sind) ---------- */
.platzhalter {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(150deg, #f8f7f3, #e8e5de);
}
.ph-platte {
  display: flex; align-items: center; justify-content: center; gap: 6%;
  width: 58%; aspect-ratio: 1; padding: 12%; border-radius: 16%;
  background: var(--platte); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 12px 26px rgba(17, 19, 22, .18);
}
.ph-platte.breit { width: 86%; aspect-ratio: auto; padding: 6%; border-radius: 12%; gap: 4%; }
.ph-wippe {
  flex: 1; align-self: stretch; border-radius: 12%; background: var(--wippe);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16), inset 0 -8px 14px rgba(0, 0, 0, .08), 0 2px 5px rgba(0, 0, 0, .12);
}
.breit .ph-wippe { align-self: center; aspect-ratio: .72; }
.ph-dose {
  flex: 1; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 50%, #2d2f33 0 7%, transparent 8%), radial-gradient(circle at 64% 50%, #2d2f33 0 7%, transparent 8%), var(--wippe);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .2), inset 0 6px 12px rgba(0, 0, 0, .14);
}
.ph-knopf {
  width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--wippe);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .18), inset 0 -6px 10px rgba(0, 0, 0, .1), 0 4px 10px rgba(0, 0, 0, .2);
}
.ph-loch { flex: 1; aspect-ratio: 1; border-radius: 14%; background: #eeece6; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), inset 0 4px 8px rgba(0, 0, 0, .1); }
.ph-port { width: 30%; aspect-ratio: 1.25; border-radius: 10%; background: #2d2f33; box-shadow: inset 0 -5px 0 rgba(255, 255, 255, .12); }
.platzhalter small { position: absolute; bottom: 5%; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #858a91; }
.ph-karte small, .ph-mini small, .ph-posten small, .ph-vorschau small, .ph-serie small, .ph-hero small, .ph-kachel small { display: none; }
.hero-bild .kachel:has(.platzhalter) { padding: 0; overflow: hidden; }

/* ---------- Suche ---------- */
.suchfeld {
  display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 20px; padding: 6px 6px 6px 16px;
  border: 1.5px solid var(--linie-2); border-radius: 999px; background: var(--flaeche); transition: border-color .15s, box-shadow .15s;
}
.suchfeld:focus-within { border-color: var(--tinte); box-shadow: 0 0 0 4px rgba(246, 181, 0, .25); }
.suchfeld > svg { flex: none; color: var(--hell); }
.suchfeld input {
  flex: 1; min-width: 0; height: 44px; border: 0; background: none; outline: none;
  font: inherit; font-size: 17px; color: var(--tinte);
}
.suchfeld input::placeholder { color: var(--hell); }
.suchfeld .btn { flex: none; }
.suchfeld-start { margin: -12px 0 28px; }
.kat-intro .treffer-info { margin-top: 12px; font-size: 14px; color: var(--hell); }
.vorschlaege { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0; }
.vorschlaege p { width: 100%; margin-bottom: 2px; font-size: 14px; color: var(--grau); }
.vorschlag { padding: 8px 14px; border: 1px solid var(--linie-2); border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.vorschlag:hover { border-color: var(--tinte); }
.tab-suche { display: inline-flex; align-items: center; gap: 6px; }
.tab-suche svg { width: 15px; height: 15px; }

/* ---------- So funktioniert's ---------- */
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.schritte li { padding: 26px 24px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--bg); }
.schritte .nummer {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--akzent); color: var(--auf-akzent); font-size: 18px; font-weight: 800;
}
.schritte h3 { margin-bottom: 6px; font-size: 19px; }
.schritte p { font-size: 15px; color: var(--grau); }
/* Seite „Gewerbekunden“: Karten auf hellem Grund, vier Schritte */
.gewerbe .werte { margin-top: 32px; }
.gewerbe .wert, .gewerbe .schritte li { background: var(--flaeche); }
.gewerbe h2 { margin: 52px 0 18px; font-size: clamp(24px, 3vw, 30px); font-weight: 780; letter-spacing: -.02em; }
.gewerbe .schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gewerbe .knoepfe { margin-top: 36px; }
@media (max-width: 1000px) { .gewerbe .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .gewerbe .schritte { grid-template-columns: 1fr; }
  .gewerbe h2 { margin-top: 40px; }
  .schritte { grid-template-columns: 1fr; gap: 10px; }
  .schritte li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px 18px; }
  .schritte .nummer { grid-row: span 2; margin-bottom: 0; }
  .schritte h3 { margin: 7px 0 3px; font-size: 17px; }
  .schritte p { font-size: 14.5px; }
}

/* ---------- Teilen, Liste speichern, Nach oben ---------- */
.detail-aktionen { margin: -10px 0 22px; }
.teilen { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--grau); }
.teilen:hover { color: var(--tinte); }
.liste-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lang-hinweis { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--fehlt-grund); color: var(--fehlt-text); font-size: 14px; }
.lang-hinweis .btn-text { color: inherit; font-size: inherit; }
.nach-oben {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 55;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--linie); border-radius: 50%; background: var(--flaeche); color: var(--tinte);
  box-shadow: var(--schatten); cursor: pointer; transition: transform .25s;
}
.toast.zeigen ~ .nach-oben { transform: translateY(-64px); }   /* Platz für die Meldung */
[tabindex="-1"]:focus { outline: none; }
.nur-druck { display: none; }

/* ---------- Handy ---------- */
.nur-klein { display: none; }
.kaufleiste { display: none; }

@media (max-width: 860px) {
  /* Kaufleiste: bleibt unten stehen, solange der große Knopf nicht zu sehen ist */
  .kaufleiste {
    display: flex; align-items: center; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: var(--kopf-grund); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--linie); box-shadow: 0 -10px 30px rgba(17, 19, 22, .08);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .kaufleiste.zeigen { transform: none; }
  .kaufleiste-info { flex: 1; min-width: 0; line-height: 1.25; }
  .kaufleiste-info strong { display: block; font-size: 19px; letter-spacing: -.02em; }
  .kaufleiste-info > span { display: block; overflow: hidden; font-size: 13px; color: var(--grau); white-space: nowrap; text-overflow: ellipsis; }
  .kaufleiste .btn { flex: none; padding: 13px 20px; }
  body.kaufleiste-an { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.kaufleiste-an .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

  .detail-text { font-size: 16.5px; }
  .preisbox { margin: 18px 0; padding: 16px 0; }
  .preisbox .preis { font-size: 30px; }
  .galerie-mini { gap: 8px; margin-top: 10px; }
  .galerie-mini button { width: 60px; height: 60px; padding: 6px; }
  .kaufzeile { flex-wrap: nowrap; margin: 22px 0 24px; }
  .kaufzeile .btn { flex: 1 1 auto; min-width: 0; padding: 14px 18px; }
  .passend { padding: 24px 0 48px; }
  .passend h2 { margin-bottom: 14px; font-size: 22px; }
}

@media (max-width: 600px) {
  :root { --kopf: 60px; }
  .logo { font-size: 16px; }
  .hero-innen { gap: 36px; padding-top: 40px; padding-bottom: 52px; }
  .hero h1 { margin: 18px 0 16px; }
  .hero .lead { margin-bottom: 26px; }
  .hero .knoepfe .btn, .kontakt .knoepfe .btn { flex: 1 1 100%; }
  .hero-bild { max-width: 310px; }
  .abschnitt-kopf { margin-bottom: 24px; }
  .ueber-text p { font-size: 17px; }
  .ueber-text p.gross { font-size: 19px; }
  .kat-intro { padding-top: 26px; }
  .kat-intro > p { font-size: 16.5px; }
  /* Serien-Filter: eine Zeile zum Wischen statt vieler Zeilen untereinander */
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 18px -16px 0; padding: 2px 16px;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .serie { padding-top: 28px; }
  .serie-kopf h2 { font-size: 23px; }
  .serie-kopf p { font-size: 14.5px; }
  .seite { padding-top: 28px; padding-bottom: 64px; }
  .brotkrumen { padding: 14px 0 12px; }
}

@media (max-width: 480px) {
  .nur-gross { display: none; }
  .nur-klein { display: inline; }
}

/* sehr schmale Handys, z. B. Samsung mit vergrößerter Bildschirmanzeige (Bildschirmzoom) */
@media (max-width: 350px) {
  .kopf-innen { gap: 10px; }
  .logo { gap: 8px; letter-spacing: .1em; }
  .karte { grid-template-columns: 84px minmax(0, 1fr); gap: 2px 12px; }
  .kaufzeile .menge button, .posten-rechts .menge button { width: 38px; }
  .kaufzeile .menge input, .posten-rechts .menge input { width: 42px; }
  .kaufzeile .btn { padding: 14px 14px; }
  .posten-rechts { gap: 8px; }
  .posten-preis { min-width: 0; }
  .kaufleiste .btn { padding: 13px 16px; }
}

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

/* ---------- Drucken (z. B. die Anfrageliste) ---------- */
@media print {
  :root {
    color-scheme: light;
    --bg: #fff; --flaeche: #fff; --flaeche-2: #f3f3f3; --tinte: #000; --text-2: #222;
    --grau: #333; --hell: #555; --linie: #ccc; --linie-2: #bbb;
  }
  body { background: #fff; }
  body.kaufleiste-an { padding-bottom: 0; }
  .kopf, .fuss, .kat-leiste, .kaufleiste, .toast, .nach-oben, .sprung, .formular, .liste-aktionen, .entfernen,
  .menge button, .btn, .btn-text, .chips, .galerie-mini, .passend, .detail-aktionen, .kaufzeile, .suchfeld { display: none !important; }
  .nur-druck { display: block; margin-bottom: 16px; font-size: 13px; color: #333; }
  .seite { padding-top: 0; padding-bottom: 0; }
  .anfrage-raster { display: block; margin-top: 16px; }
  .posten-zeile, .karte, .summe { break-inside: avoid; }
  .menge { border: 0; }
  .menge input { width: 4em; text-align: left; }
  a { color: inherit; text-decoration: none; }
}
