/* Elvaria – Stylesheet
   Keine externen Ressourcen (keine Google Fonts, kein CDN) → DSGVO-freundlich. */

:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --text: #14212b;
  --muted: #536472;
  --line: #dde5ec;
  --brand: #0e4f7a;
  --brand-strong: #093a5a;
  --accent: #19a0a0;
  --accent-soft: #e3f4f4;
  --brand-soft: #e6f0f7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 43, .04), 0 8px 24px rgba(20, 33, 43, .06);
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 680; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 251, .9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 620; font-size: 1.4rem; letter-spacing: -.015em; color: #0d2c45; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo span em { font-style: normal; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-size: .96rem; font-weight: 520; }
.nav a:hover { color: var(--brand); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--text); }
.nav-toggle svg { margin: auto; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    display: none; padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; border-bottom: 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: #fff !important; text-decoration: none;
  font-weight: 620; font-size: 1rem; border: 0; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-strong); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand) !important; border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.nav .btn { padding: 9px 18px; font-size: .95rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 120px; }
.hero .eyebrow { display: inline-block; background: var(--accent-soft); color: #0b6e6e; font-weight: 620; font-size: .88rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { max-width: 15em; }
.hero h1 .hl { color: var(--brand); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: .95rem; padding: 0; list-style: none; }
.hero .trust li { display: flex; align-items: center; gap: 8px; }
.hero .trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 110px; pointer-events: none; }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { color: var(--accent); font-weight: 680; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; display: block; }

.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Pain points */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.pain { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pain .q { font-weight: 650; font-size: 1.05rem; margin-bottom: 6px; }
.pain p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
.card p.desc { color: var(--muted); }
.card ul.items { list-style: none; padding: 0; margin: 4px 0 20px; }
.card ul.items li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .97rem; }
.card ul.items li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.prices { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 16px; display: grid; gap: 6px; }
.price-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.price-row span:first-child { color: var(--muted); }
.price-row strong { white-space: nowrap; color: var(--brand-strong); }
.price-note { color: var(--muted); font-size: .9rem; margin-top: 22px; }

/* Betreuung */
.plan h3 { margin-bottom: .3em; }
.terms { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.terms li { background: var(--accent-soft); color: #0b6e6e; font-weight: 580; font-size: .92rem; padding: 7px 14px; border-radius: 999px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--brand-soft), var(--accent-soft));
  display: grid; place-items: center; color: var(--brand); border: 1px solid var(--line);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph { text-align: center; font-size: .9rem; color: var(--muted); padding: 20px; }
.portrait .ph svg { width: 72px; height: 72px; margin: 0 auto 10px; color: var(--brand); opacity: .55; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.badges li { background: var(--brand-soft); color: var(--brand-strong); font-size: .88rem; font-weight: 560; padding: 6px 12px; border-radius: 999px; }

.about-cta { margin: 22px 0 0; }
.about-cta .btn svg { flex: none; }

/* FAQ */
.faq { max-width: 800px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 620; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 28px; } }
.contact-info p { color: var(--muted); }
.contact-info ul { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-info li { margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.contact-info li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }

form.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 11px 13px; border: 1px solid #c9d5df; border-radius: 10px; background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 6px 0 20px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-weight: 520; display: none; }
.notice.show { display: block; }
.notice.ok { background: #e4f5ec; color: #135c36; border: 1px solid #b9e3cb; }
.notice.err { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c2c2; }

/* Footer */
.site-footer { background: #0f2230; color: #b8c7d3; padding: 40px 0; font-size: .94rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.site-footer a { color: #e2ebf2; text-decoration: none; margin-left: 20px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { text-decoration: underline; }

/* Legal pages */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 800px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal p, .legal li { color: #2c3c48; }
.todo { background: #fff4d6; color: #6b4b00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
