/* Inphonia – Homepage. Gleiche Farb- und Schriftwelt wie Nova: Nachtblau, Messing, Porzellan. */

@font-face { font-family: "Syne"; src: url("fonts/syne.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --nacht: #1A1D3A;
  --nacht-tief: #13152B;
  --flaeche: #222650;
  --linie: #343A6B;
  --messing: #C8A45A;
  --messing-hell: #E2C98E;
  --porzellan: #ECEEF5;
  --nebel: #9097B6;
  --salbei: #86BFA8;
  --rose: #E48A9A;
  --anzeige: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 1160px;
  --rand: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--porzellan);
  font: 400 1.0625rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--messing-hell); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--messing-hell); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--anzeige); font-weight: 700; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; max-width: 22ch; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0; }

main > section { max-width: var(--breite); margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--rand) 0; }

/* ---------- Kopf ---------- */
.kopf {
  max-width: var(--breite); margin: 0 auto; padding: 22px var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--porzellan); }
.zeichen { width: 34px; height: 34px; }
.zeichen rect, .zeichen circle { fill: var(--messing); }
.zeichen path { fill: none; stroke: var(--messing); stroke-width: 2.6; stroke-linecap: round; }
.wortmarke { font: 700 1.35rem/1 var(--anzeige); letter-spacing: 0.01em; }
.kopf nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 28px); flex-wrap: wrap; justify-content: flex-end; }
.kopf nav a { color: var(--nebel); text-decoration: none; font-size: 0.95rem; }
.kopf nav a:hover { color: var(--porzellan); }
.kopf nav .nav-cta { color: var(--nacht); background: var(--messing); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.kopf nav .nav-cta:hover { color: var(--nacht); background: var(--messing-hell); }
@media (max-width: 820px) { .kopf nav a:not(.nav-cta) { display: none; } }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1 var(--text);
  padding: 15px 24px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.knopf.haupt { background: var(--messing); color: var(--nacht); }
.knopf.haupt:hover { background: var(--messing-hell); }
.knopf.leise { background: transparent; color: var(--porzellan); border-color: var(--linie); }
.knopf.leise:hover { border-color: var(--messing); }
.abspielen { width: 0; height: 0; border-left: 10px solid var(--messing); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.spielt .abspielen { width: 10px; height: 12px; border: 0; border-left: 3px solid var(--messing); border-right: 3px solid var(--messing); }
.fussnote { color: var(--nebel); font-size: 0.92rem; margin-top: 18px; }

/* ---------- Erster Eindruck ---------- */
.held {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-top: clamp(32px, 6vw, 72px) !important;
}
.held h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 12ch; }
.unterzeile { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #CDD1E3; margin-top: 24px; max-width: 46ch; }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 900px) { .held { grid-template-columns: 1fr; } }

/* Der Anruf als Protokoll, das zur Notiz wird */
.anruf {
  margin: 0; background: var(--nacht-tief); border: 1px solid var(--linie); border-radius: 22px;
  padding: 22px; box-shadow: 0 30px 80px rgba(8, 9, 22, 0.45);
}
.anruf-kopf { display: flex; align-items: center; gap: 10px; color: var(--nebel); font-size: 0.88rem; margin-bottom: 14px; }
.punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--salbei); box-shadow: 0 0 0 4px rgba(134, 191, 168, 0.18); }
.verlauf { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.verlauf li { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 0.96rem; line-height: 1.45; }
.verlauf .nova { background: var(--flaeche); border-top-left-radius: 4px; }
.verlauf .anrufer { background: #2E3364; justify-self: end; border-top-right-radius: 4px; color: #E4E7F2; }
.notiz {
  margin-top: 16px; background: var(--porzellan); color: var(--nacht); border-radius: 14px; padding: 14px 16px;
  border-left: 4px solid var(--rose);
}
.notiz-kopf { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.dringend { background: var(--rose); color: #3B0D16; font-size: 0.75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.notiz dl { margin: 10px 0 0; display: grid; gap: 4px; }
.notiz dl div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; font-size: 0.93rem; }
.notiz dt { color: #5D6386; }
.notiz dd { margin: 0; font-weight: 600; }
.notiz-fuss { margin-top: 10px; font-size: 0.82rem; color: #5D6386; }

/* Ablauf im Hero: Zeilen erscheinen nacheinander (nur wenn Bewegung erwünscht) */
.anruf.spielt-ab .verlauf li, .anruf.spielt-ab .notiz { opacity: 0; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.5s ease; }
.anruf.spielt-ab .sichtbar { opacity: 1 !important; transform: none !important; }

/* ---------- Problem ---------- */
.problem h2 { max-width: 20ch; }
.spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 28px; color: #CDD1E3; }
@media (max-width: 760px) { .spalten { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.schritte { list-style: none; counter-reset: schritt; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.schritte li { counter-increment: schritt; position: relative; padding-top: 58px; }
.schritte li::before {
  content: counter(schritt); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--messing); color: var(--messing-hell); display: grid; place-items: center; font: 700 1.05rem/1 var(--anzeige);
}
.schritte li:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; left: 52px; right: -18px; height: 1px; background: linear-gradient(90deg, var(--messing), transparent);
}
.schritte h3 { margin-bottom: 8px; }
.schritte p { color: #CDD1E3; font-size: 0.98rem; }
@media (max-width: 900px) { .schritte { grid-template-columns: 1fr 1fr; } .schritte li::after { display: none; } }
@media (max-width: 560px) { .schritte { grid-template-columns: 1fr; } }

/* ---------- Funktionen ---------- */
.gruppen { display: grid; grid-template-columns: 1.15fr 1fr 0.9fr; gap: clamp(28px, 4vw, 56px); margin-top: 40px; }
.gruppe h3 { color: var(--messing-hell); padding-bottom: 12px; border-bottom: 1px solid var(--linie); margin-bottom: 6px; }
.gruppe ul { list-style: none; margin: 0; padding: 0; }
.gruppe li { padding: 11px 0; border-bottom: 1px solid rgba(52, 58, 107, 0.6); color: #BFC4DA; font-size: 0.97rem; line-height: 1.5; }
.gruppe li strong { color: var(--porzellan); font-weight: 600; }
@media (max-width: 980px) { .gruppen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gruppen { grid-template-columns: 1fr; } }

/* ---------- Hörprobe ---------- */
.hoeren { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.hoeren p { color: #CDD1E3; margin-top: 16px; max-width: 46ch; }
.ring-knopf {
  position: relative; width: 240px; height: 240px; border-radius: 50%; border: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 45%, #2A2F62, var(--nacht-tief) 70%); color: var(--porzellan);
  font: 600 1rem/1.3 var(--text); display: grid; place-items: center;
}
.ring-knopf canvas { position: absolute; inset: -30px; width: 300px; height: 300px; pointer-events: none; }
.ring-knopf span { position: relative; max-width: 9em; }
@media (max-width: 700px) { .hoeren { grid-template-columns: 1fr; justify-items: center; text-align: center; } .hoeren p { margin-inline: auto; } }

/* ---------- Vergleich ---------- */
.tabelle { overflow-x: auto; margin-top: 32px; }
.vergleich table { width: 100%; border-collapse: collapse; min-width: 640px; }
.vergleich th, .vergleich td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.vergleich thead th { font: 700 1rem/1.3 var(--anzeige); color: var(--nebel); }
.vergleich thead th:last-child { color: var(--messing-hell); }
.vergleich tbody th { font-weight: 600; color: var(--porzellan); width: 24%; }
.vergleich td { color: #BFC4DA; }
.vergleich td:last-child { color: var(--porzellan); background: rgba(200, 164, 90, 0.07); }

/* ---------- Notariat ---------- */
.notariat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.notariat-text p { color: #CDD1E3; margin-top: 20px; }
.zitate { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.zitate li { background: var(--flaeche); border-radius: 16px; border-top-left-radius: 4px; padding: 14px 18px; font-size: 0.98rem; }
@media (max-width: 820px) { .notariat { grid-template-columns: 1fr; } }

/* ---------- Datenschutz ---------- */
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 40px; margin-top: 32px; }
.fakten p { color: #BFC4DA; font-size: 0.98rem; border-left: 2px solid var(--salbei); padding-left: 16px; }
.fakten strong { display: block; color: var(--porzellan); font-weight: 600; margin-bottom: 4px; }

/* ---------- Pilot ---------- */
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); padding-bottom: clamp(64px, 10vw, 120px) !important; }
.pilot-text p { color: #CDD1E3; margin: 20px 0 28px; }
.pilot-text .fussnote { margin-top: 18px; }
.fragen h3 { margin-bottom: 10px; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--messing); font-size: 1.3rem; }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { color: #BFC4DA; padding: 0 0 16px; }
@media (max-width: 820px) { .pilot { grid-template-columns: 1fr; } }

/* ---------- Fuß ---------- */
.fuss {
  border-top: 1px solid var(--linie); max-width: var(--breite); margin: 0 auto; padding: 28px var(--rand) 40px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--nebel); font-size: 0.92rem;
}
.fuss nav { display: flex; gap: 20px; }
.fuss a { color: var(--nebel); }

/* ---------- Rechtstexte ---------- */
.recht { max-width: 760px; margin: 0 auto; padding: 40px var(--rand) 80px; }
.recht h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.recht h2 { font-size: 1.3rem; margin: 36px 0 10px; max-width: none; }
.recht h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.recht p, .recht li { color: #CDD1E3; }
.recht p + p { margin-top: 12px; }
.recht ul { padding-left: 20px; }
.recht .stand { color: var(--nebel); font-size: 0.9rem; margin-top: 40px; }
