:root {
  --ink: #172126;
  --ink-soft: #2d3c42;
  --muted: #5d696e;
  --paper: #f7f7f4;
  --surface: #ffffff;
  --surface-soft: #eef2ef;
  --teal: #0a615d;
  --teal-dark: #074743;
  --teal-soft: #e2efed;
  --blue: #2855ad;
  --blue-dark: #1d3f82;
  --blue-soft: #e7ecf8;
  --gold: #c89435;
  --line: rgba(23, 33, 38, .13);
  --line-strong: rgba(23, 33, 38, .22);
  --shadow-sm: 0 8px 24px rgba(23, 33, 38, .08);
  --shadow: 0 18px 48px rgba(23, 33, 38, .12);
  --shadow-book: 0 28px 58px rgba(23, 33, 38, .22);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1180px;
  --accent: var(--teal);
  --accent-dark: var(--teal-dark);
  --accent-soft: var(--teal-soft);
}

.sprich-page,
.product-sprich {
  --accent: var(--blue);
  --accent-dark: var(--blue-dark);
  --accent-soft: var(--blue-soft);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable Text", "Segoe UI", Aptos, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { color: #fff; background: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 1000; left: 16px; top: 12px; transform: translateY(-160%);
  padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--ink); color: #fff;
  font-weight: 800; text-decoration: none; box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }

.eyebrow {
  margin: 0 0 .72rem; color: var(--accent); font-size: .76rem; font-weight: 850;
  letter-spacing: .14em; line-height: 1.35; text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.65rem, 5.5vw, 5.25rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.45rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
p { margin: .8rem 0 0; }
.lead { max-width: 65ch; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.66; }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 1.55rem; }
.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center;
  padding: .78rem 1.2rem; border: 1px solid var(--accent); border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 800; line-height: 1.2;
  text-align: center; text-decoration: none; box-shadow: 0 8px 22px rgba(10, 97, 93, .18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--accent-dark); background: var(--accent-dark); box-shadow: 0 12px 28px rgba(10, 97, 93, .24); }
.button.blue { border-color: var(--blue); background: var(--blue); box-shadow: 0 8px 22px rgba(40, 85, 173, .2); }
.button.blue:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.button.secondary { border-color: var(--line-strong); background: transparent; color: var(--ink); box-shadow: none; }
.button.secondary:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.button.light { border-color: #fff; background: #fff; color: var(--ink); box-shadow: none; }
.button.light:hover { border-color: #fff; background: #f7f7f4; color: var(--ink); }
.text-link { color: var(--teal-dark); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.blue-link { color: var(--blue-dark); }
.purchase-note { color: var(--muted); font-size: .82rem; }

/* Navigation */
.site-header {
  position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(23, 33, 38, .09);
  background: rgba(247, 247, 244, .94); backdrop-filter: blur(16px) saturate(130%);
}
.nav-shell { display: flex; min-height: 72px; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 850; letter-spacing: -.015em; text-decoration: none; }
.brand-mark {
  display: grid; width: 40px; height: 40px; place-items: center; border-radius: 8px;
  background: var(--ink); color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; line-height: 1;
}
.site-nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.site-nav > a { padding: .58rem .78rem; border-radius: 8px; color: var(--ink-soft); font-size: .94rem; font-weight: 750; text-decoration: none; }
.site-nav > a[aria-current="page"], .site-nav > a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.languages { display: flex; align-items: center; gap: .35rem; }
.language {
  display: grid; min-width: 42px; min-height: 42px; place-items: center; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; cursor: pointer;
}
.language:hover, .language.active { border-color: var(--accent); }
.language.active { box-shadow: inset 0 0 0 1px var(--accent); }
.language img { width: 27px; border-radius: 2px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 1.35rem; cursor: pointer; }
.notice { position: fixed; z-index: 200; top: 84px; right: max(24px, calc((100vw - var(--max)) / 2)); max-width: calc(100vw - 48px); padding: .75rem 1rem; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 750; box-shadow: var(--shadow); }

/* Startseite */
.sales-hero { padding: clamp(4rem, 8vw, 7.2rem) 0; background: linear-gradient(180deg, #fff 0%, #f2f4f1 100%); border-bottom: 1px solid var(--line); }
.sales-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: center; gap: clamp(3rem, 7vw, 6.5rem); }
.sales-hero-copy h1 { max-width: 13ch; }
.sales-hero-copy .lead { margin-top: 1.3rem; }
.hero-benefits, .check-list { display: grid; gap: .55rem; padding: 0; margin: 1.45rem 0 0; list-style: none; }
.hero-benefits li, .check-list li { position: relative; padding-left: 1.55rem; }
.hero-benefits li::before, .check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.purchase-actions { align-items: stretch; }
.hero-books { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1.2rem; padding: 1.8rem; border-left: 1px solid var(--line); }
.hero-book { position: relative; display: block; text-decoration: none; }
.hero-book img { width: 100%; border-radius: 5px; box-shadow: var(--shadow-book); transition: transform .2s ease, box-shadow .2s ease; }
.hero-book:hover img { transform: translateY(-5px); box-shadow: 0 34px 68px rgba(23, 33, 38, .26); }
.hero-book span { display: block; margin-top: 1rem; color: var(--ink-soft); font-size: .88rem; font-weight: 800; text-align: center; }
.hero-book-rede { transform: rotate(-2deg); }
.hero-book-sprich { transform: translateY(2.2rem) rotate(2deg); }

.value-strip { background: var(--ink); color: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-grid > div { display: grid; gap: .25rem; padding: 1.45rem 2rem; border-right: 1px solid rgba(255,255,255,.14); }
.value-grid > div:last-child { border-right: 0; }
.value-grid strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.value-grid span { color: #ced7d8; font-size: .92rem; }

.editorial-section { padding: clamp(4.5rem, 8vw, 7rem) 0; background: #fff; border-bottom: 1px solid var(--line); }
.editorial-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 6rem); }
.editorial-heading h2 { max-width: 10ch; }
.editorial-copy { max-width: 70ch; color: var(--muted); font-size: 1.05rem; }
.editorial-copy p:first-child { margin-top: 0; }

.product-section { padding: clamp(4.8rem, 9vw, 8rem) 0; }
.product-section.product-rede { background: var(--teal-soft); }
.product-section.product-sprich { background: #fff; border-block: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(3.5rem, 8vw, 7rem); }
.product-grid.reverse { grid-template-columns: minmax(0, 1.28fr) minmax(290px, .72fr); }
.product-grid.reverse .product-cover { order: 2; }
.product-cover { display: grid; place-items: center; }
.product-cover img { width: min(100%, 390px); border-radius: 5px; box-shadow: var(--shadow-book); }
.product-copy h2 { max-width: 17ch; }
.product-copy .lead { margin-top: 1.15rem; }

.sample-section { padding: clamp(4.8rem, 9vw, 7.5rem) 0; background: #fff; }
.section-heading { max-width: 800px; margin-bottom: 2.4rem; }
.section-heading > p:last-child { color: var(--muted); }
.section-heading.centered { margin-inline: auto; text-align: center; }
.sample-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.sample-choice { position: relative; display: grid; min-height: 330px; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); }
.sample-choice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.sample-choice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8, 28, 29, .86) 100%); }
.sample-choice:hover img { transform: scale(1.025); }
.sample-choice-copy { position: relative; z-index: 1; align-self: end; display: grid; gap: .2rem; padding: 1.5rem; }
.sample-choice-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; }
.sample-choice-copy small { color: #e6eeee; font-size: .92rem; }

.final-sales { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--ink); color: #fff; }
.final-sales-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: center; gap: 3rem; }
.final-sales h2 { max-width: 15ch; }
.final-sales p { max-width: 62ch; color: #d4ddde; }
.final-sales .eyebrow { color: #e9c16b; }
.final-buttons { display: grid; gap: .8rem; }

/* Buchseiten */
.product-hero { padding: clamp(4.2rem, 8vw, 7rem) 0; background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%); border-bottom: 1px solid var(--line); }
.product-hero-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(3.5rem, 8vw, 7rem); }
.product-hero-cover { display: grid; place-items: center; }
.product-hero-cover img { width: min(100%, 390px); border-radius: 5px; box-shadow: var(--shadow-book); }
.product-hero-copy h1 { max-width: 16ch; }
.product-hero-copy .lead { margin-top: 1.2rem; }
.hero-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: 1.6rem; }
.hero-checks li { padding: .75rem .75rem .75rem 2.1rem; border: 1px solid rgba(23,33,38,.1); border-radius: 9px; background: rgba(255,255,255,.65); font-size: .9rem; font-weight: 700; }
.hero-checks li::before { left: .75rem; top: .72rem; }

.book-benefits { padding: 0 0 clamp(4rem, 7vw, 6rem); background: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-top: 0; background: #fff; }
.benefit-grid article { padding: 2rem; border-right: 1px solid var(--line); }
.benefit-grid article:last-child { border-right: 0; }
.benefit-number { color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.benefit-grid h2 { margin-top: .45rem; font-size: clamp(1.45rem, 2.3vw, 2rem); }
.benefit-grid p { color: var(--muted); font-size: .95rem; }

.examples { padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); background: #fff; }
.example { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(2.2rem, 5vw, 4.6rem); padding: clamp(2.3rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.example:nth-of-type(even) .example-media { order: 2; }
.example-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.example-number { color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.example-copy h2 { margin-top: .5rem; font-size: clamp(1.75rem, 3.3vw, 3rem); }
.meaning { margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.05rem; }
.explanation { color: var(--muted); }
.meta { margin-top: 1.1rem; padding: .9rem 1rem; border-left: 4px solid var(--accent); background: var(--accent-soft); color: var(--ink-soft); }

.purchase-strip { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); align-items: center; gap: 2rem; margin: 2.4rem 0; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius); background: var(--accent); color: #fff; }
.purchase-strip .eyebrow { color: #fff; opacity: .82; }
.purchase-strip h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
.purchase-strip p { color: rgba(255,255,255,.84); }
.purchase-strip-action { display: grid; justify-items: start; gap: .45rem; }
.purchase-strip-action span { color: rgba(255,255,255,.75); font-size: .78rem; }

.teaser-section { margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.teaser-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.teaser-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.teaser-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.teaser-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.teaser-card:last-child img { height: 100%; }
.teaser-card > div { padding: 1.15rem 1.25rem 1.35rem; }
.teaser-card span { color: var(--accent); font-size: .73rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.teaser-card h3 { margin-top: .38rem; }

.book-final-cta { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(4rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--accent-soft); }
.book-final-cta img { width: 190px; border-radius: 4px; box-shadow: var(--shadow); }
.book-final-cta h2 { max-width: 19ch; font-size: clamp(1.9rem, 3.5vw, 3rem); }
.book-final-cta p { max-width: 64ch; }

.mobile-buybar { display: none; }

/* Rechtliche Seiten */
.legal-main { padding: clamp(3rem, 7vw, 6rem) 0; }
.legal-card { max-width: 880px; padding: clamp(1.5rem, 4vw, 4rem); margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.legal-card h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.legal-card h2 { margin-top: 2.25rem; font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: -.015em; }
.legal-card ul { padding-left: 1.2rem; }
.contact-image { width: 250px; max-width: 100%; margin-top: .45rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.not-found { min-height: 66vh; display: grid; place-items: center; padding: 4rem 0; text-align: center; }
.not-found .code { color: var(--accent); font-size: clamp(5rem, 18vw, 12rem); font-weight: 900; line-height: .8; }

/* Footer */
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); background: #f0f1ed; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 2rem; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.back-to-top { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: grid; width: 46px; height: 46px; place-items: center; border: 0; border-radius: 8px; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, background .2s ease; cursor: pointer; }
.back-to-top:hover { background: var(--accent-dark); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 920px) {
  body { font-size: 17px; }
  .nav-shell { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; margin: 0; padding: .25rem 0 .7rem; flex-wrap: wrap; }
  .languages { margin-left: auto; }
  .js .menu-button { display: block; margin-left: auto; }
  .js .languages { margin-left: 0; }
  .js .site-nav { position: absolute; top: 68px; right: 24px; left: 24px; display: none; width: auto; padding: .75rem; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; background: rgba(247,247,244,.99); box-shadow: var(--shadow); }
  .js .site-nav.is-open { display: flex; }
  .site-nav > a { padding: .78rem; }

  .sales-hero-grid, .editorial-grid, .product-grid, .product-grid.reverse, .final-sales-inner, .product-hero-grid { grid-template-columns: 1fr; }
  .sales-hero-copy { max-width: 760px; }
  .hero-books { width: min(100%, 640px); margin-inline: auto; border-left: 0; border-top: 1px solid var(--line); }
  .product-grid.reverse .product-cover { order: 0; }
  .product-cover img, .product-hero-cover img { width: min(68vw, 380px); }
  .product-copy, .product-hero-copy { max-width: 780px; }
  .hero-checks { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-grid article:last-child { border-bottom: 0; }
  .example { grid-template-columns: 1fr; gap: 1.6rem; }
  .example:nth-of-type(even) .example-media, .example-media { order: 0; }
  .purchase-strip { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: clamp(2.45rem, 12.5vw, 4rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.8rem); }
  .brand-text { display: none; }
  .nav-shell { gap: .5rem; }
  .sales-hero, .product-hero { padding-top: 3.2rem; }
  .hero-books { gap: .7rem; padding: 1.2rem 0 1rem; }
  .hero-book-sprich { transform: translateY(1.2rem) rotate(2deg); }
  .purchase-actions .button, .final-buttons .button { width: 100%; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .value-grid > div:last-child { border-bottom: 0; }
  .sample-choice-grid, .teaser-grid { grid-template-columns: 1fr; }
  .sample-choice { min-height: 280px; }
  .teaser-card:last-child { grid-column: auto; display: block; }
  .teaser-card:last-child img { height: auto; }
  .book-final-cta { grid-template-columns: 1fr; }
  .book-final-cta img { width: min(52vw, 180px); }
  .button-row .button, .button-row .text-link { width: 100%; }
  .text-link { padding: .4rem 0; text-align: center; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }

  .book-page { padding-bottom: 74px; }
  .mobile-buybar { position: fixed; z-index: 120; right: 0; bottom: 0; left: 0; display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: .8rem; padding: .65rem 14px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -10px 30px rgba(23,33,38,.12); }
  .mobile-buybar span { overflow: hidden; font-size: .86rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-buybar a { flex: 0 0 auto; padding: .65rem .85rem; border-radius: 8px; background: var(--teal); color: #fff; font-size: .82rem; font-weight: 850; text-decoration: none; }
  .mobile-buybar a.blue-buy { background: var(--blue); }
  .book-page .back-to-top { bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
