/* Anka Webseite: ruhiges Notizbuch. Papier, Petrol, Terrakotta nur sparsam. Keine Verläufe. */
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/Atkinson-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/Atkinson-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --paper: #F6F1EA;
  --paper-2: #EFE8DE;
  --surface: #FCFAF6;
  --petrol: #1F4E5A;
  --petrol-dark: #173B44;
  --terra: #A9502B;
  --ink: #2B2A28;
  --muted: #4A4742;
  --line: rgba(43, 42, 40, 0.16);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.65 "Atkinson", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.2; margin: 0; color: var(--ink); }
h1 { font-size: clamp(36px, 5.6vw, 60px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: clamp(24px, 2.8vw, 32px); }
p { margin: 0 0 16px; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--petrol); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246, 241, 234, 0.96); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 24px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
nav.main { display: flex; align-items: center; gap: 24px; font-size: 16px; }
nav.main a { text-decoration: none; color: var(--ink); padding: 6px 0; }
nav.main a:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 12px; font: 700 17px/1.2 "Atkinson", sans-serif; text-decoration: none; border: 2px solid var(--petrol); }
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-dark); }
.btn-ghost { background: transparent; color: var(--petrol); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-soon { border-style: dashed; color: var(--muted); border-color: var(--line); cursor: default; }

/* Start */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { font: 700 15px/1.2 "Atkinson", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); margin-bottom: 16px; }
.hero h1 { margin-bottom: 20px; }
.lead { font-size: 21px; color: var(--muted); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 16px; }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--terra); border-radius: 2px; margin-right: 9px; vertical-align: 1px; }

.phone { border: 10px solid #1E1C1A; border-radius: 42px; overflow: hidden; background: var(--surface); box-shadow: 0 22px 44px rgba(30, 28, 26, 0.22); width: 100%; max-width: 330px; }
.phone img { width: 100%; height: auto; }
.hero .phone { margin-left: auto; margin-right: auto; }

/* Funktionen */
section { padding: 80px 0; }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 20px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .phone-col { order: 2; }
.feature .phone-col { display: flex; justify-content: center; }
.feature .label { font: 700 14px/1.2 "Atkinson", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; }
.feature h3 { margin-bottom: 14px; }
.feature p { color: var(--muted); }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--line); }
.feature li:last-child { border-bottom: 0; }
.feature li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 12px; background: var(--petrol); border-radius: 3px; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--petrol); color: #fff; font: 700 20px/1 "Atkinson", sans-serif; margin-bottom: 16px; }
.steps h3 { font-size: 24px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

/* Preise */
.alt { background: var(--paper-2); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.plan.plus { border: 2px solid var(--petrol); }
.plan h3 { font-size: 28px; margin-bottom: 6px; }
.plan .sub { color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 12px; background: var(--petrol); border-radius: 3px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.price { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--paper); }
.price strong { display: block; font: 600 26px/1.2 "Fraunces", Georgia, serif; }
.price span { color: var(--muted); font-size: 16px; display: block; }
.price .tag { color: var(--terra); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 6px; }
.note { color: var(--muted); font-size: 16px; margin-top: 18px; }

/* Datenschutz */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillar { border-top: 3px solid var(--petrol); padding-top: 16px; }
.pillar h3 { font-size: 24px; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 22px/1.35 "Fraunces", Georgia, serif; list-style: none; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 0; font: 400 28px/1 "Atkinson", sans-serif; color: var(--petrol); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Abschluss und Fuß */
.closing { background: var(--petrol); color: #fff; }
.closing h2 { color: #fff; margin-bottom: 12px; }
.closing p { color: #E6EEF0; font-size: 20px; max-width: 36em; }
.closing a { color: #fff; }
.site-footer { padding: 40px 0 56px; font-size: 16px; color: var(--muted); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 14px; }
.site-footer .links a { color: var(--ink); }
.legal-page main { padding: 56px 0 40px; max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 20px; }
.legal-page h2 { font-size: 24px; margin: 36px 0 8px; color: var(--petrol); }
.legal-page li { margin: 8px 0; }
.legal-page code { background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }

/* Kanzlei-Seite: dunkler Kopf, Bildschirmfotos der Desktop-Oberfläche */
.brand-sub { font: 700 12px/1 "Atkinson", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-left: 2px; }
.firm-page .site-header { background: #1E2427; border-bottom-color: #1E2427; }
.firm-page .brand, .firm-page nav.main a:not(.btn) { color: #F2F4F4; }
.firm-page .brand-sub { color: #9AA7A9; }
.firm-page .site-header .btn-primary { background: #F2F4F4; color: #1E2427; border-color: #F2F4F4; }
.firm-hero .wrap:first-child { grid-template-columns: 1fr; max-width: var(--max); }
.firm-hero .wrap + .wrap { display: block; margin-top: 40px; }
.screen { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); box-shadow: 0 20px 44px rgba(30, 28, 26, 0.16); }
.screen img { width: 100%; height: auto; }
.btn-light { background: #fff; color: var(--petrol); border-color: #fff; }
.btn-light:hover { background: #E6EEF0; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience a.card { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.audience a.card:hover { border-color: var(--petrol); }
.audience .card h3 { margin-bottom: 8px; }
.audience .card p { color: var(--muted); margin: 0 0 14px; }
.audience .card .more { font-weight: 700; color: var(--petrol); }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .hero .wrap, .feature, .plans, .steps, .pillars, .prices { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .phone-col { order: 0; }
  .hero { padding: 40px 0 56px; }
  section { padding: 56px 0; }
  nav.main a.hide-sm { display: none; }
  .hero .phone { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
