/* SiteSense – eine Datei für alle Seiten. Schriften liegen lokal (keine Verbindung zu Google). */
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F6F7F9; --surface: #FFFFFF; --ink: #121821; --muted: #5C6773; --line: #E2E6EB;
  --accent: #3B63F3; --mark-bg: #121821; --mark-fg: #FFFFFF; --soon: #8A94A0;
  --radius: 18px; --max: 1080px;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0E1319; --surface: #171E27; --ink: #E8ECF0; --muted: #97A3B0; --line: #29323D;
          --accent: #6E8BFF; --mark-bg: #E8ECF0; --mark-fg: #0E1319; }
}
.theme-satzbuch { --accent: #D2393C; }
@media (prefers-color-scheme: dark) { .theme-satzbuch { --accent: #E5484B; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--text);
       padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 7vw, 76px); }
h2 { font-size: clamp(32px, 4.5vw, 46px); }
h3 { font-size: 26px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.eyebrow { font: 600 15px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); max-width: 640px; }
.accent { color: var(--accent); }
mark.todo { background: #FFE16A; color: #121821; padding: 0 4px; border-radius: 4px; }

/* Kopf und Fuß */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 26px/1 var(--display); }
.mark { width: 34px; height: 34px; }
.site-header nav { display: flex; gap: 6px; }
.site-header nav a, .foot nav a { text-decoration: none; color: var(--muted); font-weight: 500; padding: 10px 12px; border-radius: 10px; }
.site-header nav a:hover, .foot nav a:hover { color: var(--ink); background: var(--surface); }
.site-footer { border-top: 1px solid var(--line); margin-top: 96px; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
        padding-top: 22px; padding-bottom: 28px; font-size: 15px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 2px; margin-left: -12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
       border-radius: 14px; font: 600 17px/1 var(--text); text-decoration: none; transition: transform .12s ease, opacity .12s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { opacity: .9; }
.btn-primary.is-soon { background: var(--soon); color: #fff; cursor: default; }
.btn-secondary { border: 1.5px solid var(--line); color: var(--ink); }
.btn-secondary:hover { background: var(--surface); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* Startseite */
.hero { padding-top: clamp(56px, 10vw, 120px); padding-bottom: 56px; }
.hero h1 { max-width: 820px; }
.section-title { font-size: 30px; margin-bottom: 18px; }
.app-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px;
            background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
            transition: transform .15s ease, box-shadow .15s ease; }
.app-card:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.app-card img { width: 96px; height: 96px; border-radius: 22px; }
.app-card h3 { font-size: 32px; font-weight: 700; margin-bottom: 4px; }
.app-card p { color: var(--muted); margin-bottom: 8px; }
.meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.arrow { font-size: 28px; color: var(--muted); }
.more { color: var(--muted); font-size: 16px; margin-top: 16px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.principles div { padding-top: 18px; border-top: 2px solid var(--ink); }
.principles p { color: var(--muted); }

/* Satzbuch */
.app-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: clamp(40px, 7vw, 88px); }
.app-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.18); margin-bottom: 22px; }
.app-hero h1 { margin-bottom: .1em; }
.tagline { font: 600 clamp(26px, 3.4vw, 34px)/1.15 var(--display); margin-bottom: 18px; }
.app-hero-shots { position: relative; height: 620px; }
.shot { width: 300px; }
.app-hero-shots .shot { position: absolute; }
.shot-back { right: 0; top: 60px; transform: rotate(4deg); opacity: .95; }
.shot-front { right: 150px; top: 0; transform: rotate(-3deg); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px;
       background: var(--accent); color: #fff; font: 700 19px/1 var(--display); }
.split { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; margin-top: 88px; }
.split p { color: var(--muted); max-width: 520px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 6px;
                     background: #2A8F55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.price { margin-top: 88px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px 20px; max-width: 620px; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-row strong { font: 700 24px/1.1 var(--display); white-space: nowrap; }
.price-note { color: var(--muted); font-size: 16px; margin: 16px 0 0; }
.faq { margin-top: 88px; }
.faq > * { max-width: 760px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 28px/1 var(--text); color: var(--muted); transition: transform .15s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: -4px 0 18px; }
.faq-more { margin-top: 24px; color: var(--muted); }

/* Rechtstexte */
.legal { max-width: 760px; padding-top: 56px; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); }
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal h3 { font-size: 20px; margin-top: 22px; margin-bottom: 6px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.stand { font-size: 15px; }
.plain { padding-left: 20px; }
.plain li { margin-bottom: 8px; }
.mail { font-weight: 600; color: var(--ink) !important; }

/* Mobil */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .app-hero { grid-template-columns: 1fr; }
  .app-hero-shots { height: 440px; }
  .shot { width: 210px; }
  .shot-front { right: auto; left: calc(50% - 170px); }
  .shot-back { right: calc(50% - 165px); top: 44px; }
  .features, .principles { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split .shot { margin: 0 auto; }
  .app-card { grid-template-columns: auto 1fr; }
  .app-card .arrow { display: none; }
  .app-card img { width: 72px; height: 72px; border-radius: 17px; }
}
@media (max-width: 420px) {
  .app-card { grid-template-columns: 1fr; }
  .site-header nav a { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
