/* Flowpin-Website: eine Datei, keine Schriften oder Skripte von fremden Servern. */
:root {
  --bg: #faf7f2; --surface: #ffffff; --tint: #f3eee6; --text: #1c1c1e; --muted: #63636a; --line: #e6e1d8;
  --accent: #d9420b; --accent-strong: #b93606; --accent-soft: #fde9e0; --on-accent: #ffffff;
  --ink: #1f2023; --on-ink: #f4f1ec; --on-ink-muted: #b9b6b0;
  --shadow: 0 24px 60px rgba(40, 24, 10, .16);
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #18191b; --surface: #232427; --tint: #1e1f22; --text: #f2f2f4; --muted: #a8a8ae; --line: #36373c;
    --accent: #ff7a45; --accent-strong: #ff9264; --accent-soft: #3a2a23; --on-accent: #1c1c1e;
    --ink: #0f1011; --on-ink: #f4f1ec; --on-ink-muted: #a8a8ae;
    --shadow: 0 24px 60px rgba(0, 0, 0, .5);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 740px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 12px; }

/* Kopf */
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
header.site .wrap { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; min-height: 62px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
nav { display: flex; flex-wrap: wrap; align-items: center; }
nav a { color: var(--muted); text-decoration: none; margin-left: 4px; padding: 0 10px; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; }
nav a:hover, nav a[aria-current] { color: var(--text); }
nav a.lang { border: 1px solid var(--line); min-height: 34px; margin-left: 10px; }

/* Einstieg */
.hero { padding: 56px 0 64px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -0.03em; overflow-wrap: break-word; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin: 0 0 26px; max-width: 33em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.cta:hover { background: var(--accent-strong); }
.cta.soon { background: var(--accent-soft); color: var(--accent); }
.cta.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.cta.ghost:hover { background: var(--surface); }
.note { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }

.stage { position: relative; padding: 0 0 28px 0; }
.stage .pad { border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: var(--surface); width: 86%; margin-left: auto; }
.stage .phone { position: absolute; left: 0; bottom: 0; width: 31%; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: var(--surface); }

/* Abschnitte */
section { padding: 72px 0; scroll-margin-top: 64px; }
section.tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.02em; }
p.sub { color: var(--muted); margin: 0 0 34px; max-width: 42em; font-size: 18px; }
.center { text-align: center; }
.center p.sub { margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 14px; }

/* Mitschrift wird Prozess */
.morph { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; }
.morph .m-note { flex: 0 0 30%; min-width: 0; }
.morph .m-flow { flex: 1 1 0; min-width: 0; }
.morph .m-arrow { flex: 0 0 40px; height: 3px; background: var(--accent); position: relative; border-radius: 2px; }
.morph .m-arrow::after { content: ""; position: absolute; right: -4px; top: -6.5px; border: 8px solid transparent; border-left: 12px solid var(--accent); border-right: 0; }
.morph .paper { fill: var(--bg); stroke: var(--line); }
.morph .txt { fill: var(--text); font: 600 15px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.morph .txt.dim { fill: var(--muted); font-weight: 500; }
.morph .lbl { fill: var(--text); font: 500 13px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.morph .lane { fill: var(--bg); stroke: var(--line); }
.morph .lanehead { fill: var(--tint); stroke: var(--line); }
.morph .shape { fill: var(--surface); stroke: var(--text); stroke-width: 1.6; }
.morph .flow { fill: none; stroke: var(--text); stroke-width: 1.6; }
.morph .head { fill: var(--text); }
.morph .hot { stroke: var(--accent); }
.morph .hotfill { fill: var(--accent); }

/* Funktionen im Wechsel */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 34px 0; }
.feature:nth-of-type(even) .shot { order: 2; }
.feature .shot { display: flex; justify-content: center; }
.feature .shot img { width: min(100%, 300px); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.feature .shot img.wide { width: min(100%, 460px); border-radius: 22px; }
.feature .shot img.mac { width: 100%; max-width: 620px; border-radius: 14px; }
.feature h3 { font-size: clamp(23px, 2.6vw, 30px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.02em; }
.feature p { color: var(--muted); margin: 0 0 14px; max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.formats li { font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 6px 10px; border-radius: 8px; background: var(--tint); border: 1px solid var(--line); }

/* Datenschutz-Block */
section.dark { background: var(--ink); color: var(--on-ink); }
section.dark p.sub, section.dark .card p { color: var(--on-ink-muted); }
section.dark .card { background: color-mix(in srgb, var(--on-ink) 7%, transparent); border-color: color-mix(in srgb, var(--on-ink) 14%, transparent); }
section.dark a { color: #ff9264; }

/* Fragen */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; padding: 18px 40px 18px 0; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 44em; }

.final { text-align: center; padding: 84px 0; }
.final img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 20px; box-shadow: var(--shadow); }
.final h2 { margin-bottom: 12px; }
.final .actions { justify-content: center; margin-top: 24px; }

/* Textseiten */
article { padding: 40px 0 64px; }
article h1 { font-size: clamp(29px, 6vw, 40px); hyphens: auto; overflow-wrap: break-word; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.02em; }
article h2 { font-size: 22px; margin: 34px 0 8px; letter-spacing: -0.01em; }
article .stand { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
article dt { font-weight: 600; margin-top: 20px; }
article dd { margin: 4px 0 0; color: var(--muted); }
.todo { background: var(--accent-soft); border-radius: 8px; padding: 2px 8px; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
footer.site span { margin-right: auto; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 28px 0 44px; }
  .steps, .grid3, .grid2 { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 26px 0; }
  .feature:nth-of-type(even) .shot { order: 0; }
  section { padding: 52px 0; }
  .final { padding: 60px 0; }
  nav a { padding: 0 8px; }
  .morph { padding: 14px; flex-direction: column; gap: 26px; }
  .morph .m-note { flex: none; width: 74%; }
  .morph .m-flow { flex: none; width: 100%; }
  .morph .m-arrow { flex: none; width: 34px; transform: rotate(90deg); }
  nav a.sec { display: none; }
  nav a.lang { margin-left: 4px; }
}

/* Ratgeber */
article .lead2 { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
article ol.how { padding-left: 1.3em; }
article ol.how li { margin: 10px 0; }
article figure { margin: 28px 0; }
article figure img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
article figure img.tall { width: min(100%, 320px); display: block; margin: 0 auto; border-radius: 26px; }
article figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; text-align: center; }
article .box { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 34px 0 0; }
article .box p { margin: 0 0 14px; }
article .box .cta { margin-right: 8px; }
.guides { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.guides a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--text); min-height: 44px; }
.guides a strong { display: block; font-size: 18px; }
.guides a span { color: var(--muted); font-size: 15px; }
.guides a:hover { border-color: var(--accent); }
