/* presenthtml – Website
   Werte aus Design/presenthtml-designpaket (Tokens v1.0, Design-Guide v1.0). */
/* Poppins (SIL Open Font License 1.1), lokal eingebunden – keine Anfragen an Google */
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin.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;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin.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;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin.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 {
  --brand-orange: #FF9F0A;
  --brand-ink: #0F0F12;
  --brand-paper: #F5F5F7;
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --text: #0F0F12;
  --muted: #595963;
  --border: #D8D8DE;
  --link: #8A4B00;
  --focus: #0066CC;
  --dark-surface: #1C1C1F;
  --dark-text: #F5F5F7;
  --dark-muted: #AEAEB2;
  --radius-card: 24px;
  --radius-slide: 16px;
  --radius-control: 999px;
  --content-max: 1200px;
  --gutter: 24px;
  --section: 64px;
  --motion: 180ms;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}
@media (min-width: 768px) { :root { --gutter: 48px; --section: 96px; } }
@media (prefers-reduced-motion: reduce) { :root { --motion: 0ms; } html { scroll-behavior: auto; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); font-size: 16px; line-height: 1.5; font-weight: 400; }
@media (min-width: 768px) { body { font-size: 17px; } }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--surface); padding: 8px 14px; border-radius: 999px; z-index: 10; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section) 0; }

/* Typografie (Guide S. 8) */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.1; }
h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.2; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 500; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.4; color: var(--muted); font-weight: 400; max-width: 34ch; }
.label { font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
p { max-width: 62ch; }
.muted { color: var(--muted); }

/* Kopfzeile */
.site-header { background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.brand img { height: 40px; width: auto; margin-left: -7px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--link); }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; }
.langs a { padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; text-decoration: none; }
@media (max-width: 400px) { .langs a { padding: 3px 7px; } }
.langs a[aria-current] { background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--border); }
:lang(zh-Hans) body, body:lang(zh-Hans) { font-family: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
:lang(zh-Hans) h1, :lang(zh-Hans) h2 { letter-spacing: 0; }
@media (max-width: 640px) { .site-nav .opt { display: none; } .brand img { height: 32px; } }

/* Knöpfe (Guide S. 10) */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: var(--radius-control); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform var(--motion) ease, background-color var(--motion) ease; }
.btn-primary { background: var(--brand-orange); color: var(--brand-ink); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--link); padding: 0 8px; }
.btn[aria-disabled="true"] { cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Hero */
.hero { padding-top: 64px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1100px) { .hero-grid { grid-template-columns: 7fr 6fr; } }
@media (min-width: 560px) { .nowrap { white-space: nowrap; } }
.hero .lead { margin-top: 20px; }
.product-shot { border-radius: var(--radius-card); overflow: hidden; background: var(--brand-ink); box-shadow: 0 30px 80px rgba(15,15,18,0.22), 0 0 0 1px rgba(15,15,18,0.06); }

/* Karten */
.grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius-card); padding: 28px 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon-dot { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-ink); display: grid; place-items: center; margin-bottom: 18px; }
.icon-dot svg { width: 20px; height: 20px; stroke: var(--brand-orange); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Schritte */
.steps { counter-reset: s; display: grid; gap: 16px; margin-top: 40px; padding: 0; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--surface); border-radius: var(--radius-card); padding: 28px 24px; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--brand-orange); color: var(--brand-ink); font-weight: 600; margin-bottom: 18px; }
.steps p { margin: 6px 0 0; color: var(--muted); }
kbd { font: 600 13px/1 "Poppins", system-ui, sans-serif; padding: 4px 8px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); color: var(--text); white-space: nowrap; }

/* Dunkler Produktbereich (Guide S. 15: dunkle Produktansichten als Akzent) */
.dark { background: var(--brand-ink); color: var(--dark-text); }
.dark .lead, .dark .muted, .dark .label { color: var(--dark-muted); }
.dark a { color: var(--brand-orange); }
.shots { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shots figure { margin: 0; }
.shots img { border-radius: var(--radius-slide); box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.shots figcaption { margin-top: 12px; font-size: 15px; color: var(--dark-muted); }

/* Notizen-Prompt */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: 48px; } }
.prompt { background: var(--surface); border-radius: var(--radius-card); padding: 20px; }
.prompt pre { margin: 0; white-space: pre-wrap; font: 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text); background: var(--bg); border-radius: 14px; padding: 16px 18px; overflow-x: auto; }
.prompt .btn { margin-top: 14px; min-height: 40px; font-size: 14px; padding: 0 18px; background: var(--bg); color: var(--text); }

/* Fakten */
.facts { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { border-top: 2px solid var(--brand-orange); padding-top: 16px; }
.fact strong { display: block; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.fact span { color: var(--muted); }

/* Download */
.cta { background: var(--surface); border-radius: var(--radius-card); padding: 40px 28px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta { grid-template-columns: auto 1fr auto; padding: 48px; } }
.cta img { width: 112px; height: 112px; }
.cta p { margin: 8px 0 0; color: var(--muted); }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--link); }
.site-footer img { height: 28px; width: auto; margin-left: -5px; }

/* Rechtstexte */
.legal { padding-top: 48px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 40px 0 8px; }
.legal p, .legal li { color: var(--text); max-width: 70ch; }
.legal ul { padding-left: 20px; }
.placeholder { background: #FFF4E0; border-radius: 6px; padding: 0 4px; font-weight: 500; }
.notice { background: var(--surface); border-left: 3px solid var(--brand-orange); border-radius: 12px; padding: 14px 18px; margin: 24px 0; max-width: 70ch; }

/* Anleitungen und Artikel */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.article { padding-top: 40px; }
.article .wrap { max-width: 820px; }
.article h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 16px; }
.article h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 12px; }
.article h3 { margin: 28px 0 8px; }
.article p, .article li { font-size: 17px; }
.article ol, .article ul { padding-left: 22px; }
.article li { margin: 6px 0; }
.article figure { margin: 28px 0; }
.article figure img { border-radius: var(--radius-slide); box-shadow: 0 0 0 1px rgba(15,15,18,0.08); }
.article figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.article .meta { color: var(--muted); font-size: 14px; }
.article pre { white-space: pre-wrap; font: 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; background: var(--surface); border-radius: 14px; padding: 16px 18px; }
.article .cta { margin-top: 48px; }
.toc { background: var(--surface); border-radius: var(--radius-card); padding: 20px 24px; margin: 28px 0; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; }
.guide-list { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .guide-list { grid-template-columns: repeat(3, 1fr); } }
.guide-card { display: block; background: var(--surface); border-radius: var(--radius-card); padding: 28px 24px; text-decoration: none; color: var(--text); transition: transform var(--motion) ease; }
.guide-card:hover { transform: translateY(-2px); }
.guide-card h3 { margin-bottom: 8px; }
.guide-card p { margin: 0 0 14px; color: var(--muted); }
.guide-card span { color: var(--link); font-weight: 500; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border-radius: 18px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--link); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-weight: 600; }
