:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #1b1b1a;
  --muted: #5d5a52;
  --line: #dcd8cc;
  --accent: #c8461a;
  --accent-ink: #ffffff;
  --radius: 14px;
  --maxw: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151513;
    --surface: #1e1e1b;
    --ink: #f1efe8;
    --muted: #b4b0a4;
    --line: #34332e;
    --accent: #ff8355;
    --accent-ink: #1b1b1a;
  }
}
:root[data-theme="dark"] {
  --bg: #151513;
  --surface: #1e1e1b;
  --ink: #f1efe8;
  --muted: #b4b0a4;
  --line: #34332e;
  --accent: #ff8355;
  --accent-ink: #1b1b1a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .01em; font-size: 18px; }
.brand .logo-mark { width: 46px; height: 46px; color: var(--ink); flex: none; }
.nav { display: flex; gap: 4px 20px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--accent); transition: transform .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 40px; display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.01em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 26px; }
.hero .logo-big { width: min(300px, 70vw); color: var(--ink); margin: 0 auto; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 800px) { .hero { grid-template-columns: 1.3fr .7fr; } }

h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); line-height: 1.2; margin: 0 0 10px; }
.section { padding: 36px 0; }
.section .sub { color: var(--muted); margin: 0 0 24px; max-width: 40em; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--line); }
.card .body { padding: 16px 18px 20px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--accent); }
.card h3 { margin: 4px 0 6px; font-size: 1.2rem; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.more { display: inline-block; margin-top: 12px; font-weight: 700; }

/* Values */
.values { display: grid; gap: 18px; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { border-top: 3px solid var(--ink); padding-top: 12px; }
.value h3 { margin: 0 0 6px; font-size: 1.1rem; }
.value p { margin: 0; color: var(--muted); }

.band { background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 32px 24px; text-align: center; margin: 12px 0 40px; }
.band h2 { margin-bottom: 8px; }
.band p { margin: 0 auto 18px; max-width: 34em; opacity: .85; }
.band .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* Product page */
.crumbs { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.product { display: grid; gap: 28px; padding: 18px 0 40px; }
@media (min-width: 860px) { .product { grid-template-columns: 1.05fr .95fr; align-items: start; } .product .info { position: sticky; top: 90px; } }
.gallery .main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery .main img { width: 100%; max-height: 640px; object-fit: contain; margin: 0 auto; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; background: var(--surface); cursor: pointer; width: 68px; height: 68px; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info h1 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); line-height: 1.15; margin: 4px 0 12px; }
.info .intro { color: var(--muted); }
.info .cta { margin: 22px 0 6px; }
.info .small { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); background: var(--ink); color: var(--bg); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }

.facts { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.panel h2 { font-size: 1.2rem; }
.panel ul { margin: 8px 0 0; padding-left: 1.2em; }
.specs { width: 100%; border-collapse: collapse; margin-top: 6px; }
.specs th, .specs td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .98rem; }
.specs th { width: 36%; color: var(--muted); font-weight: 600; padding-right: 12px; }

/* Text pages */
.prose { max-width: 46em; padding: 36px 16px 56px; margin: 0 auto; }
.prose h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: 0 0 18px; }
.prose h2 { margin-top: 32px; font-size: 1.3rem; }
.prose p, .prose li { color: var(--ink); }
.draft { background: #fff3c4; color: #5a4600; padding: 12px 14px; border-radius: 10px; font-size: 15px; border: 1px solid #e6cf72; }
.ph { background: #ffe08a; color: #3d2f00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; border-bottom: 1px solid var(--line); }
.site-footer a:hover { color: var(--ink); }
.disclaimer { flex-basis: 100%; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Kontaktformular */
.contact { display: grid; gap: 16px; max-width: 34em; margin-top: 18px; }
.contact label { display: block; font-weight: 600; margin-bottom: 4px; }
.contact .opt, .contact .req { font-weight: 400; color: var(--muted); font-size: 14px; }
.contact input, .contact textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; }
.contact input:focus, .contact textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .small { font-size: 14px; color: var(--muted); margin: 0; }
.contact button.btn { cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
.contact button[disabled] { opacity: .6; cursor: wait; }
.notice { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.notice.ok { border-color: #3d8b4f; }
.notice.err { border-color: #b3261e; }

/* Kleine Bildschirme: Navigation unter dem Logo, in einer Zeile */
@media (max-width: 620px) {
  .site-header { position: static; }
  .site-header .wrap { flex-wrap: wrap; row-gap: 4px; }
  .brand { font-size: 13px; }
  .brand .logo-mark { width: 38px; height: 38px; }
  .nav { width: 100%; gap: 2px 16px; font-size: 14px; }
  .site-footer .wrap { flex-direction: column; }
}

/* Logo: Bild mit transparentem Hintergrund, im Dunkelmodus hell eingefärbt */
.logo-mark { display: block; height: auto; }
.hero .logo-big { height: auto; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-mark { filter: invert(1); }
}
:root[data-theme="dark"] .logo-mark { filter: invert(1); }

.panel .note { font-size: .95rem; color: var(--muted); margin: 14px 0 0; }

/* Häufige Fragen */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.faq details p { margin: 8px 0 16px; color: var(--muted); }
