/* HomeWell – Website-Stylesheet. Keine externen Ressourcen (DSGVO). */
:root {
  --bg: #000;
  --bg-2: #0d0d0c;
  --bg-3: #151513;
  --card: #121211;
  --line: #262624;
  --line-strong: #3a3a36;
  --gold: #DAA24B;
  --gold-light: #F5C271;
  --gold-dark: #C8952F;
  --text: #ECECEA;
  --text-2: #b4b4b0;
  --muted: #8a8a86;
  --radius: 14px;
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
strong { font-weight: 600; color: var(--text); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em;
  border-radius: 999px;
  font: 500 .95rem/1 var(--font);
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: #111; }
.btn-gold:hover { color: #000; transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--text-2); font-size: .92rem; letter-spacing: .05em; }
.nav a:not(.btn):hover { color: var(--gold-light); }
.nav .btn { padding: .7em 1.2em; font-size: .88rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }

@media (max-width: 880px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #000; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 16px; padding: .95em 1.4em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(218,162,75,.14), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(218,162,75,.06), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px;
  min-height: min(760px, calc(100vh - 96px));
  padding-top: 72px; padding-bottom: 72px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  font-weight: 300; line-height: 1.08; letter-spacing: -.01em;
}
.hero h1 em {
  font-style: normal; font-weight: 500;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-2); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-mark { justify-self: center; width: min(440px, 100%); filter: drop-shadow(0 30px 60px rgba(218,162,75,.12)); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; color: var(--muted); font-size: .9rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--gold); }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; padding-bottom: 56px; gap: 8px; }
  .hero-mark { order: -1; width: min(220px, 60vw); margin-bottom: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section h2 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 300; line-height: 1.2; letter-spacing: -.005em;
}
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 1.05rem; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  transition: border-color .25s, transform .25s, background .25s;
}
.service:hover { border-color: rgba(218,162,75,.5); transform: translateY(-3px); background: #151513; }
.service img { width: 58px; height: 58px; margin-bottom: 22px; }
.service h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: .01em; margin-bottom: 10px; }
.service p { color: var(--text-2); font-size: .97rem; }
.service ul { list-style: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.service li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--text-2); }
.service li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--gold); }
.service.highlight { border-color: rgba(218,162,75,.35); background: linear-gradient(160deg, rgba(218,162,75,.09), var(--card) 55%); }
.badge {
  position: absolute; top: 22px; right: 22px;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #111; background: var(--gold); padding: 5px 10px; border-radius: 999px;
}
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* ---------- Vorteile ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.benefit .num {
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.benefit .num::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.benefit h3 { font-size: 1.12rem; font-weight: 500; margin-bottom: 8px; }
.benefit p { color: var(--text-2); font-size: .96rem; }
.audience { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.audience span {
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 16px; font-size: .88rem; color: var(--text-2);
}
@media (max-width: 880px) {
  .why { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-light);
  font-size: 1.15rem; font-weight: 500;
  background: var(--bg);
  position: relative; z-index: 1;
  margin-bottom: 22px;
}
.step::after {
  content: ""; position: absolute; top: 56px; left: 52px; right: -20px; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--line-strong));
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: .95rem; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
  .step::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Notdienst-Band ---------- */
.emergency {
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(218,162,75,.18), transparent 70%),
    var(--bg-3);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.emergency .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.emergency-text { display: flex; align-items: center; gap: 22px; }
.emergency-text img { width: 64px; height: 64px; flex: none; }
.emergency h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 400; }
.emergency p { color: var(--text-2); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; color: var(--text);
  transition: border-color .2s, background .2s;
}
a.contact-card:hover { border-color: rgba(218,162,75,.5); background: #151513; color: var(--text); }
.contact-card .ico {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(218,162,75,.45); color: var(--gold-light);
}
.contact-card .ico svg { width: 21px; height: 21px; }
.contact-card small { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-card span { font-size: 1.08rem; font-weight: 400; overflow-wrap: anywhere; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--bg); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-top img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-top p { color: var(--muted); font-size: .9rem; max-width: 30em; }
.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-nav h4 { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-nav a { color: var(--text-2); font-size: .92rem; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--muted); font-size: .82rem; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 300; margin: 16px 0 40px; }
.legal h2 { font-size: 1.05rem; font-weight: 500; color: var(--gold-light); margin: 40px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p, .legal ul, .legal dl { margin-bottom: 12px; color: var(--text-2); }
.legal ul { padding-left: 1.2em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; }
.legal dt { color: var(--muted); }
.legal dd { color: var(--text); }
.legal a { overflow-wrap: anywhere; }
@media (max-width: 520px) { .legal dl { grid-template-columns: 1fr; gap: 0; } .legal dd { margin-bottom: 10px; } }

/* ---------- Einblenden beim Scrollen (nur mit JS aktiv) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service { transition: none; }
}

/* Header-Logo auf kleinen Bildschirmen */
@media (max-width: 880px) {
  .site-header .wrap { height: 76px; }
  .brand img { height: 44px; }
}
@media (max-width: 380px) {
  .brand img { height: 38px; }
}
@media (min-width: 881px) and (max-width: 1100px) {
  .brand img { height: 50px; }
  .nav { gap: 22px; }
}
