/* horst-weinkauf.de – Website-Styles */
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #FAFDF7; --surface: #FFFFFF; --ink: #0A1E38; --ink-2: #42566E; --ink-3: #6B7E93;
  --green: #BDEE8C; --green-soft: #EAF8DC; --green-line: #D3EEBA; --green-dark: #2B6A1B;
  --yellow: #FFD338; --yellow-soft: #FFF3BF; --navy: #0A1E38; --navy-2: #13305A;
  --line: #E3EEDA; --line-2: #E6F0DE;
  --r-lg: 28px; --r-md: 20px; --r-sm: 12px;
  --shadow: 0 20px 40px -18px rgba(10, 30, 56, .28);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.03em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0 0; }
.section-tight { padding-top: 28px; padding-bottom: 8px; }
main { padding-bottom: 96px; min-height: 60vh; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--green-dark); text-transform: uppercase; margin-bottom: 8px; }
.h-small { font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin: 28px 0 14px; }
.page-title { font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -.04em; }
.lead { font-size: clamp(17px, 2.2vw, 19px); color: var(--ink-2); max-width: 640px; }
.empty { border: 1px dashed #CFDFC2; border-radius: var(--r-md); padding: 28px; text-align: center; color: var(--ink-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.note { display: flex; gap: 8px; align-items: center; color: var(--ink-2); font-size: 14px; margin-top: 16px; }

/* Buttons & Chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-green { background: var(--green); color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #CFDFC2; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid #DCE8D2; background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; padding: 0; }
.icon-btn:hover { border-color: var(--green-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid #CFDFC2; background: #fff; text-decoration: none; font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge-free { background: var(--green-soft); color: var(--green-dark); }
.badge-sample { background: var(--yellow-soft); color: #5C4A00; }
.badge-abo { background: var(--navy); color: var(--green); }
.badge-neutral { background: #EEF2F6; color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--green-dark); background: var(--green-soft); border: 1px solid var(--green-line); padding: 5px 12px 5px 6px; border-radius: 999px; }
.pill-tag { background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 999px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250, 253, 247, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-2); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--green); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; letter-spacing: -.02em; color: var(--ink); }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.main-nav { display: flex; gap: 2px; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: #33465E; padding: 8px 12px; border-radius: 999px; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--green-soft); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #DCE8D2; border-radius: 999px; padding: 0 14px; height: 40px; color: var(--ink-3); }
.header-search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; width: 180px; color: var(--ink); }
.mobile-only { display: none; }
.mobile-menu { border-top: 1px solid var(--line-2); padding: 8px 0 20px; }
.mobile-menu a { display: flex; justify-content: space-between; align-items: center; text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: -.02em; padding: 10px 0; }
.mobile-menu small { font-family: var(--mono); font-size: 12px; color: var(--ink-3); font-weight: 500; }
.mobile-menu-label { display: block; font-family: var(--mono); font-size: 12px; color: var(--green-dark); margin-top: 12px; text-transform: uppercase; }

/* Hero */
.hero-inner { padding: 64px 20px 28px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 8vw, 76px); line-height: .98; letter-spacing: -.045em; max-width: 900px; }
.hero .accent { color: var(--green-dark); }
.big-search { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 580px; background: #fff; border: 1px solid #DCE8D2; border-radius: 999px; padding: 6px 6px 6px 18px; color: var(--ink-3); box-shadow: 0 1px 0 rgba(10, 30, 56, .04), 0 12px 32px -16px rgba(10, 30, 56, .25); }
.big-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); padding: 10px 0; }
.big-search-page { margin: 18px 0 8px; max-width: 720px; }
.hero-note { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 600; color: var(--green-dark); }

/* Bento-Kacheln */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.section-head .h-small { margin: 0; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 22px; border-radius: 24px; min-height: 210px; text-decoration: none; border: 1px solid var(--line); transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile-big { grid-column: span 2; grid-row: span 2; min-height: 434px; }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tile-icon { width: 52px; height: 52px; padding: 11px; border-radius: 16px; display: flex; }
.tile-big .tile-icon { width: 84px; height: 84px; padding: 16px; }
.tile-icon svg { width: 100%; height: 100%; }
.tile-arrow { width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.tile:hover .tile-arrow { transform: translate(3px, -3px); }
.tile-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile-count { font-family: var(--mono); font-size: 12px; opacity: .7; }
.tile-title { font-weight: 800; font-size: clamp(19px, 2.4vw, 24px); letter-spacing: -.03em; line-height: 1.05; hyphens: manual; overflow-wrap: break-word; }
.tile-big .tile-title { font-size: clamp(28px, 4vw, 44px); }
.tile-sub { font-size: 15px; opacity: .75; line-height: 1.45; }
.tone-green { background: var(--green); border-color: var(--green); color: var(--ink); }
.tone-green .tile-icon { background: rgba(10, 30, 56, .08); color: var(--ink); }
.tone-green .tile-arrow { background: var(--ink); color: var(--green); }
.tone-white { background: #fff; color: var(--ink); }
.tone-white .tile-icon { background: var(--green-soft); color: var(--green-dark); }
.tone-white .tile-arrow { background: #F1F7EB; color: var(--ink); }
.tone-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.tone-navy .tile-icon { background: rgba(189, 238, 140, .14); color: var(--green); }
.tone-navy .tile-arrow { background: var(--green); color: var(--ink); }
.tone-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.tone-yellow .tile-icon { background: rgba(10, 30, 56, .08); color: var(--ink); }
.tone-yellow .tile-arrow { background: var(--ink); color: var(--yellow); }
.tone-soft { background: var(--green-soft); border-color: var(--green-line); color: var(--ink); }
.tone-soft .tile-icon { background: #fff; color: var(--ink); }
.tone-soft .tile-arrow { background: #fff; color: var(--ink); }

/* Fakten */
.facts { margin-top: 56px; background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.fact { display: flex; gap: 14px; align-items: center; }
.fact-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; background: var(--green-soft); color: var(--green-dark); display: flex; align-items: center; justify-content: center; }
.fact strong { display: block; font-weight: 600; }
.fact small { color: var(--ink-2); font-size: 14px; }

/* Dokumentlisten */
.doc-list { display: grid; gap: 10px; }
.doc-list-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.doc-row { display: flex; gap: 14px; align-items: center; padding: 12px 14px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; min-width: 0; }
.doc-row:hover { border-color: #9ED86A; box-shadow: 0 12px 28px -16px rgba(10, 30, 56, .25); transform: translateY(-1px); }
.doc-thumb { width: 52px; height: 74px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid #E5ECE0; flex-shrink: 0; background: #fff; }
.doc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.doc-title { font-weight: 600; line-height: 1.3; overflow-wrap: break-word; }
.doc-meta { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.doc-snippet { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.doc-snippet mark { background: var(--yellow-soft); color: inherit; padding: 0 2px; border-radius: 3px; }
.doc-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.doc-go { color: var(--ink-3); display: flex; }
.doc-group { margin-top: 26px; }
.group-title { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; display: flex; align-items: baseline; gap: 8px; }
.group-title small { font-family: var(--mono); font-size: 12px; color: var(--ink-3); font-weight: 500; }
.result-count { color: var(--ink-2); margin: 10px 0 16px; }

/* Fachheft-Teaser */
.split-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; background: var(--yellow); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.split-card h2 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; margin-bottom: 12px; }
.split-card p { color: #3A3416; margin-bottom: 20px; }
.split-card .eyebrow { color: #5C4A00; }
.product-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product-mini { display: flex; flex-direction: column; gap: 8px; text-decoration: none; min-width: 0; }
.product-mini img { aspect-ratio: 1 / 1.414; width: 100%; object-fit: cover; object-position: top; border-radius: 8px; box-shadow: 0 10px 24px -12px rgba(10, 30, 56, .45); background: #fff; transition: transform .2s ease; }
.product-mini:hover img { transform: translateY(-3px) rotate(-1deg); }
.product-mini-title { font-weight: 600; font-size: 14px; line-height: 1.3; }
.product-mini-price { font-family: var(--mono); font-size: 13px; }

/* Autor */
.author-card { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; background: var(--green-soft); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.author-photo { width: 200px; height: 200px; border-radius: 999px; object-fit: cover; object-position: 50% 30%; border: 6px solid #fff; flex-shrink: 0; }
.author-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.author-text h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; }
.slogan { font-weight: 600; color: var(--green-dark); }

/* Themenseite */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: 16px; }
.crumbs a { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.topic-hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); background: var(--navy); color: #fff; }
.topic-hero-icon { position: absolute; right: -30px; top: -40px; color: var(--green); opacity: .16; pointer-events: none; }
.topic-hero-text { position: relative; max-width: 640px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.topic-hero .eyebrow { color: var(--green); }
.topic-hero h1 { font-weight: 800; font-size: clamp(36px, 7vw, 64px); letter-spacing: -.045em; line-height: .98; hyphens: manual; overflow-wrap: break-word; }
.topic-hero p { color: #B9C8DA; font-size: 18px; }
.topic-hero-stats { position: relative; display: flex; gap: 10px; }
.topic-hero-stats span { background: var(--navy-2); border-radius: 14px; padding: 12px 16px; font-size: 13px; color: #B9C8DA; }
.topic-hero-stats strong { display: block; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.tone-green-hero { background: var(--green); color: var(--ink); }
.tone-green-hero p, .tone-green-hero .topic-hero-stats span { color: #2E4560; }
.tone-green-hero .topic-hero-stats span { background: rgba(255, 255, 255, .5); }
.tone-green-hero .topic-hero-stats strong { color: var(--ink); }
.tone-green-hero .eyebrow, .tone-green-hero .topic-hero-icon { color: var(--green-dark); }
.tone-yellow-hero { background: var(--yellow); color: var(--ink); }
.tone-yellow-hero p { color: #3A3416; }
.tone-yellow-hero .eyebrow, .tone-yellow-hero .topic-hero-icon { color: #5C4A00; }
.tone-yellow-hero .topic-hero-stats span { background: rgba(255, 255, 255, .5); color: #3A3416; }
.tone-yellow-hero .topic-hero-stats strong { color: var(--ink); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 22px; }
.filter-input { flex: 1 1 320px; max-width: 520px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #DCE8D2; border-radius: 999px; padding: 0 16px; height: 46px; color: var(--ink-3); }
.filter-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.filter-count { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.mini-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.mini-tile { display: flex; flex-direction: column; gap: 6px; border-radius: 18px; padding: 16px; min-height: 120px; text-decoration: none; border: 1px solid var(--line); transition: transform .2s ease; min-width: 0; }
.mini-tile:hover { transform: translateY(-3px); }
.mini-tile-icon { display: flex; margin-bottom: auto; }
.mini-tile-title { font-weight: 800; font-size: 18px; letter-spacing: -.02em; line-height: 1.1; hyphens: manual; overflow-wrap: break-word; }
.mini-tile small { font-family: var(--mono); font-size: 12px; opacity: .7; }

/* Dokumentseite */
.doc-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.doc-head-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.doc-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-head h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; letter-spacing: -.035em; overflow-wrap: break-word; hyphens: auto; }
.doc-facts { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.doc-contents { background: var(--bg); border-radius: 16px; padding: 14px 18px; }
.doc-contents-head { font-family: var(--mono); font-size: 12px; color: var(--green-dark); text-transform: uppercase; }
.doc-contents ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); }
.doc-contents li { margin: 2px 0; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-head-cover img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid #E5ECE0; box-shadow: var(--shadow); transform: rotate(1.5deg); background: #fff; }
.order-box { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--yellow-soft); border-radius: 16px; padding: 16px 18px; }
.order-box strong { display: block; }
.order-box span { font-weight: 800; font-size: 20px; }
.order-box small { font-weight: 400; font-size: 13px; color: #5C4A00; }

/* PDF-Viewer */
.viewer { margin-top: 24px; background: #E9EFE4; border-radius: var(--r-lg); overflow: clip; border: 1px solid var(--line); }
.viewer.is-full { position: fixed; inset: 0; z-index: 100; margin: 0; border: 0; border-radius: 0; overflow: auto; overscroll-behavior: contain; }
html.viewer-open, html.viewer-open body { overflow: hidden; }
.viewer-bar { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--navy); color: #fff; }
.viewer.is-full .viewer-bar { top: 0; }
.viewer-title { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 200px; }
.viewer-tools { display: flex; align-items: center; gap: 6px; }
.viewer-tools .icon-btn { width: 36px; height: 36px; background: var(--navy-2); border-color: #2E4C72; color: #fff; }
.viewer-zoom { cursor: pointer; border-radius: 6px; padding: 4px 2px; }
.viewer-zoom:hover, .viewer-zoom:focus-visible { color: #fff; background: var(--navy-2); outline: none; }
.viewer-zoom, .viewer-page { font-family: var(--mono); font-size: 12px; color: #B9C8DA; min-width: 44px; text-align: center; }
.viewer-page { min-width: 92px; }
.viewer-sep { width: 1px; height: 22px; background: #2E4C72; margin: 0 4px; }
.viewer-pages { display: block; padding: 20px 12px 28px; min-height: 300px; overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.viewer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; width: max-content; min-width: 100%; transform-origin: 0 0; will-change: auto; }
.viewer.is-zoomed .viewer-pages { cursor: grab; }
.viewer.is-dragging .viewer-pages { cursor: grabbing; user-select: none; }
.viewer-hint { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.viewer-page-box { background: #fff; box-shadow: 0 10px 28px -12px rgba(10, 30, 56, .35); border-radius: 4px; max-width: none; flex-shrink: 0; position: relative; }
.viewer-page-box canvas { display: block; width: 100%; height: 100%; border-radius: 4px; }
.viewer-loading, .viewer-fallback { padding: 40px; color: var(--ink-2); text-align: center; }
.locked-box { margin-top: 24px; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.locked-box p { color: #B9C8DA; }
.locked-box a { color: var(--green); }
.locked-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--navy-2); color: var(--green); display: flex; align-items: center; justify-content: center; }

/* Fachhefte */
.page-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.product-cover { background: var(--green-soft); padding: 22px 22px 0; display: block; }
.product-cover img { aspect-ratio: 1 / 1.1; width: 100%; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; box-shadow: 0 -2px 20px -8px rgba(10, 30, 56, .3); }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-topic { font-family: var(--mono); font-size: 12px; color: var(--green-dark); text-transform: uppercase; }
.product h2 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.product-price { font-weight: 800; font-size: 24px; letter-spacing: -.02em; margin-top: auto; }
.product-price small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); letter-spacing: 0; }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; }

/* Über */
.about { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-lg); border: 8px solid #fff; box-shadow: var(--shadow); }
.about-text { display: flex; flex-direction: column; gap: 14px; }
.quals { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.quals li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 500; }

/* Rechtstexte */
.prose { max-width: 780px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 48px); }
.prose h1 { margin-bottom: 20px; }
.prose h2 { font-size: 20px; letter-spacing: -.02em; margin: 28px 0 10px; }
.prose p { margin: 0 0 12px; color: #24384F; }
.prose ul { margin: 0 0 12px; padding-left: 20px; color: #24384F; }
.prose a { color: var(--green-dark); }
.empty-hero { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-2); background: #fff; font-size: 14px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-top: 48px; padding-bottom: 28px; }
.footer-grid a { display: block; text-decoration: none; padding: 3px 0; color: var(--ink-2); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { color: var(--ink-2); }
.footer-head { display: block; font-family: var(--mono); font-size: 12px; color: var(--green-dark); text-transform: uppercase; margin-bottom: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* Responsiv */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav, .header-search { display: none; }
  .mobile-only { display: inline-flex; }
  .doc-head { grid-template-columns: 1fr; }
  .doc-head-cover { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 240px; }
  .viewer-bar { top: 64px; }
}
@media (max-width: 560px) {
  .section { padding-top: 52px; }
  .hero-inner { padding-top: 40px; }
  .bento { gap: 10px; }
  .tile { padding: 16px; gap: 18px; border-radius: 20px; min-height: 160px; }
  .tile-big { grid-row: span 1; min-height: 200px; }
  .tile-title { font-size: 19px; letter-spacing: -.02em; }
  .tile-big .tile-title { font-size: 26px; }
  .tile-sub { display: none; }
  .tile-big .tile-sub { display: block; font-size: 14px; }
  .tile-icon, .tile-big .tile-icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; }
  .tile-arrow { width: 32px; height: 32px; }
  .product-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-row { padding: 10px; gap: 12px; }
  .doc-thumb { width: 44px; height: 62px; }
  .doc-go { display: none; }
  .viewer-title { display: none; }
  .viewer-tools { width: 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; }
  .big-search .btn { padding: 0 14px; }
  .author-photo { width: 140px; height: 140px; }
}

/* Aus der Praxis */
.praxis-hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; background: var(--green); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); background-image: linear-gradient(rgba(10, 30, 56, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 30, 56, .06) 1px, transparent 1px); background-size: 28px 28px; }
.praxis-hero-text { max-width: 680px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.praxis-hero .lead { color: #2E4560; }
.praxis-stats { display: flex; gap: 10px; }
.praxis-stats span { background: rgba(255, 255, 255, .55); border-radius: 14px; padding: 12px 16px; font-size: 13px; color: #2E4560; }
.praxis-stats strong { display: block; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.praxis-grid { columns: 3 320px; column-gap: 14px; margin-top: 24px; }
.praxis-grid .praxis-card { break-inside: avoid; margin: 0 0 14px; }
.praxis-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.praxis-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.praxis-card.is-featured { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.praxis-quote { color: var(--green); }
.praxis-text { margin: 0; color: #24384F; font-size: 15.5px; line-height: 1.6; overflow-wrap: break-word; }
.praxis-more summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--green-dark); }
.praxis-more[open] summary { margin-bottom: 10px; }
.praxis-card:has(.praxis-more[open]) > .praxis-text { display: none; }
.praxis-meta { display: flex; gap: 10px; align-items: center; margin-top: auto; }
.praxis-meta strong { display: block; font-size: 15px; }
.praxis-meta small { display: block; font-size: 13px; color: var(--ink-3); }
.praxis-avatar { width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px; background: var(--navy); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.praxis-reply { background: var(--green-soft); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; color: #24384F; }
.praxis-reply-head { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--green-dark); text-transform: uppercase; margin-bottom: 4px; }
.praxis-form-wrap { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.praxis-form-intro h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.praxis-form-intro p { color: #B9C8DA; }
.praxis-form-intro .eyebrow { color: var(--green); }
.praxis-form { display: flex; flex-direction: column; gap: 14px; }
.praxis-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.praxis-form label small { font-weight: 400; color: #9FB3CB; }
.praxis-form input:not([type=checkbox]), .praxis-form textarea { width: 100%; border: 1px solid #2E4C72; border-radius: 12px; background: var(--navy-2); color: #fff; font: inherit; font-weight: 400; padding: 12px 14px; }
.praxis-form input:focus, .praxis-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.praxis-form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.praxis-form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: #B9C8DA; }
.praxis-form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.praxis-form .check a { color: var(--green); }
.praxis-form .btn { align-self: flex-start; background: var(--green); color: var(--ink); }
.form-errors { background: var(--yellow-soft); color: #4A3B00; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.praxis-thanks { display: flex; gap: 12px; align-items: center; background: var(--green); color: var(--ink); border-radius: 16px; padding: 18px 20px; align-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.order-legal { flex-basis: 100%; font-size: 12.5px; color: #5C4A00; }
.order-legal a, .note a { color: inherit; }
@media (max-width: 860px) { .praxis-form-wrap { grid-template-columns: 1fr; } }
