/* Beat – Webseiten im Stil der App (hell, reduziert, Akzent Bernstein) */

@font-face { font-family: "Outfit"; src: url("fonts/Outfit-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --ink: #1C1C1E;
  --muted: #66655F;
  --line: #E4E2DB;
  --track: #E4E4E0;
  --amber: #F59E0B;
  --amber-dark: #8A5300;
  --amber-soft: #FDF0D5;
  --radius: 20px;
  --display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

/* Sprachumschaltung: nur die aktive Sprache wird gezeigt */
html[data-lang="de"] [lang="en"]:not(html),
html[data-lang="en"] [lang="de"]:not(html) { display: none !important; }

a { color: var(--amber-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Kopfzeile */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.brand span { font: 700 21px/1 var(--display); letter-spacing: -.02em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

.langswitch { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: #ECEAE4; }
.langswitch button {
  border: 0; background: transparent; cursor: pointer;
  font: 600 13px/1 var(--display); color: var(--muted);
  min-width: 40px; height: 32px; border-radius: 9px;
}
.langswitch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* Kopfbereich mit Taktkreis */
.hero { text-align: center; padding: 56px 0 36px; }
.ring { width: 148px; height: 148px; margin: 0 auto 22px; display: block; }
.ring .dot { transform-box: fill-box; transform-origin: center; }
.hero h1 { font: 700 clamp(34px, 7vw, 48px)/1.08 var(--display); letter-spacing: -.03em; margin: 0 0 12px; }
.hero p { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 34em; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--amber-soft); color: var(--amber-dark);
  font: 600 14px/1.2 var(--body);
}

@media (prefers-reduced-motion: no-preference) {
  .ring .arc { stroke-dasharray: 100; animation: sweep 2.4s linear infinite; }
  .ring .dot { animation: beat 2.4s linear infinite; }
  .ring .d1 { animation-delay: 0s; }
  .ring .d2 { animation-delay: .6s; }
  .ring .d3 { animation-delay: 1.2s; }
  .ring .d4 { animation-delay: 1.8s; }
}
@keyframes sweep { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes beat {
  0% { transform: scale(1.55); fill: var(--amber); }
  18% { transform: scale(1); }
  24%, 100% { fill: var(--dot-fill, var(--ink)); }
}

/* Karten & Inhalte */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin: 0 0 16px;
}
.card h2, .section-title {
  font: 600 22px/1.25 var(--display); letter-spacing: -.01em; margin: 0 0 10px;
}
.card h3 { font: 600 17px/1.3 var(--body); margin: 18px 0 6px; }
.card p { margin: 0 0 12px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { margin: 0 0 12px; padding-left: 1.2em; }
.card li { margin: 4px 0; }
.num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px;
  border-radius: 999px; background: var(--bg); color: var(--muted);
  font: 600 14px/1 var(--display); vertical-align: 2px;
}
.meta { color: var(--muted); font-size: 15px; text-align: center; margin: -14px 0 28px; }

.summary {
  display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 28px;
}
.summary div {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; font-weight: 500; line-height: 1.4;
}
.summary svg { display: block; width: 26px; height: 26px; margin-bottom: 10px; color: var(--amber-dark); }

address { font-style: normal; }

/* Support */
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px;
}
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px rgba(245,158,11,.3); }
.btn-primary:hover { color: var(--ink); background: #F7AC2E; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn svg { width: 20px; height: 20px; }

.steps { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 28px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.step b { display: block; font: 600 17px/1.3 var(--display); margin: 10px 0 4px; }
.step .desc { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }

.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 500; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary { color: var(--amber-dark); }
.faq .answer { padding: 0 22px 20px; color: #3A3A3C; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin: 0; }

.chip {
  display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--bg);
  border: 1px solid var(--line); font: 600 14px/1.6 var(--display); white-space: nowrap;
}

/* Fußzeile */
footer { padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top .wrap { gap: 10px; height: 60px; }
  .brand span { display: none; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .langswitch button { min-width: 36px; }
  .hero { padding: 36px 0 28px; }
  .ring { width: 108px; height: 108px; }
  .summary, .steps { grid-template-columns: 1fr; }
  .card { padding: 20px; }
}
