/* Aus dem Shop-Plan kommen sieben Farben und eine Schriftpaarung. Alles andere
   ist hier festgelegt, damit ein Layoutfehler einmal behoben wird und nicht je
   Shop neu - und damit die Shops trotz gemeinsamer Grundlage nicht wie
   Geschwister aussehen. Der Unterschied entsteht ueber Schrift, Farbe und
   Bildsprache, nicht ueber wechselnde Rasterideen. */

:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --text: #333333;
  --muted: #8e8e8e;
  --border: #cccccc;
  --accent: #3766e6;
  --accent-text: #ffffff;

  --display: "Archivo", ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: "IBM Plex Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-case: none;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-case);
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
p { margin: 0; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: var(--muted); max-width: 46ch; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; inset-block-start: 1rem; inset-inline-start: 1rem; z-index: 60;
  background: var(--accent); color: var(--accent-text); padding: .7rem 1.1rem;
  border-radius: var(--radius);
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Kleintext-Auszeichner. Wiederkehrendes Detail, das den Katalog-Charakter traegt. */
.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

/* --- Kopfzeile --- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: var(--accent-text);
  font-family: var(--display); font-weight: 700; font-size: .95rem;
}
.brand-name {
  font-family: var(--display); font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking); text-transform: var(--display-case);
  font-size: 1.15rem;
}
.site-header nav { display: flex; align-items: center; gap: 1.4rem; font-size: .92rem; }
.site-header nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.site-header nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: var(--accent-text) !important;
  padding: .5rem 1rem; border-radius: 999px; font-weight: 600;
}

/* --- Knoepfe --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: var(--radius); text-decoration: none;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* --- Hero mit Stimmungsbild --- */
.hero { position: relative; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    /* Links deckt der Verlauf fast zu, damit der Text auf jedem Foto sicher
       lesbar bleibt - gemessen 15,5:1 selbst auf hellem Bild. Nach rechts
       oeffnet er auf, sonst waere das Foto reine Dekoration hinter Farbe. */
    color-mix(in srgb, var(--bg) 90%, transparent) 0%,
    color-mix(in srgb, var(--bg) 74%, transparent) 45%,
    color-mix(in srgb, var(--bg) 18%, transparent) 100%);
}
.hero.no-media { border-bottom: 1px solid var(--border); }

.hero-inner { padding: clamp(4rem, 12vw, 8.5rem) 0 clamp(3rem, 7vw, 5rem); max-width: 40rem; }
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero h1 { margin-bottom: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.4rem; }

.trust-inline {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .55rem 1.6rem;
  font-size: .88rem; color: var(--muted);
}
.trust-inline li { position: relative; padding-left: 1.15rem; }
.trust-inline li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .5rem; height: .5rem; border-radius: 50%;
  border: 1.5px solid var(--accent);
}

/* --- Abschnitte --- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head {
  display: grid; gap: .6rem; margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
  .section-head .lede { grid-column: 1; }
  .section-head .section-note { grid-column: 2; text-align: right; }
}
.section-note { font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* --- Wertversprechen: nummeriert, weil es eine Reihenfolge gibt --- */
.props { display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
@media (min-width: 760px) { .props { grid-template-columns: repeat(3, 1fr); } }
.prop { background: var(--bg); padding: clamp(1.6rem, 3vw, 2.4rem) 1.6rem; display: grid; gap: .6rem; }
.prop-number { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.prop h3 { font-size: 1.15rem; }
.prop p { font-size: .95rem; color: var(--muted); }

/* --- Produktgitter --- */
.product-grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.card { display: flex; flex-direction: column; gap: .9rem; }
.card-media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-index {
  position: absolute; top: .8rem; left: .9rem; z-index: 2;
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
}
.badge {
  position: absolute; bottom: .8rem; left: .9rem; z-index: 2;
  background: var(--accent); color: var(--accent-text);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
  padding: .28rem .6rem; border-radius: 999px;
}
.card-body { display: grid; gap: .35rem; }
.card-body h3 a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s; }
.card:hover .card-body h3 a { background-size: 100% 1px; }
.card-body p { font-size: .9rem; color: var(--muted); }

.price {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: .95rem; margin-top: .2rem;
}
.price-lg { font-size: 1.9rem; }

/* --- E-Mail-Erfassung --- */
.capture { background: var(--surface); border-block: 1px solid var(--border); }
.capture-inner { max-width: 44rem; display: grid; gap: 1rem; }
.incentive {
  font-family: var(--mono); font-size: .85rem; color: var(--accent);
  border: 1px dashed var(--accent); border-radius: var(--radius);
  padding: .7rem 1rem; justify-self: start;
}
.signup { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.signup input {
  flex: 1 1 17rem; padding: .95rem 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit;
}
.form-note { flex-basis: 100%; margin: .2rem 0 0; font-size: .88rem; color: var(--muted); min-height: 1.4em; }
.demo-note { font-size: .82rem; color: var(--muted); }

/* --- FAQ --- */
.faq-list { display: grid; max-width: 52rem; border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary {
  cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: .5rem; top: 1.6rem;
  width: .6rem; height: .6rem; border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); }
details p { padding-bottom: 1.3rem; color: var(--muted); max-width: 60ch; }

/* --- Ueber uns, mit Stimmungsbild --- */
.about-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy { display: grid; gap: 1rem; max-width: 48ch; }

/* --- Produktseite --- */
.crumbs { padding-top: 1.6rem; font-family: var(--mono); font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs a { text-decoration: none; }
.detail-grid { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1.05fr 1fr; } }
.detail-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.detail-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-body { display: grid; gap: 1.1rem; }
.detail-body h1 { font-size: clamp(1.9rem, 4vw, 3rem); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 400; width: 40%; }
.spec-table td { font-variant-numeric: tabular-nums; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: .62rem; height: .34rem;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.ship-note { font-size: .88rem; color: var(--muted); padding: .9rem 1.1rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.detail-copy { display: grid; gap: .8rem; max-width: 58ch; }
.image-note { font-family: var(--mono); font-size: .7rem; color: var(--muted); margin-top: .6rem; }

/* --- Fusszeile --- */
.site-footer { border-top: 1px solid var(--border); padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem; }
.footer-inner { display: grid; gap: 1.6rem; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.footer-brand { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: var(--display-case); font-size: 1.2rem; }
.footer-meta { font-family: var(--mono); font-size: .76rem; color: var(--muted); display: grid; gap: .3rem; }
@media (min-width: 720px) { .footer-meta { text-align: right; } }

@media (max-width: 640px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .footer-meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}