/* ═══════════════════════════════════════════════════════════════
   efy care — Website Styles
   Brand: Deep Emerald #0F5E57 · Cream #F8F6F2 · Sage #A9CBB5 ·
          Sand #D8C29D · Charcoal #2D3135 (Brand-Guidelines efy care)
   ═══════════════════════════════════════════════════════════════ */

/* Figtree selbst gehostet (DSGVO: kein Google-Fonts-CDN), variabel 400–800.
   Ein Brand-Font für die ganze Website; Fallback bleibt der System-Stack. */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin.woff2') format('woff2');
}

:root {
  --emerald: #0F5E57;
  --emerald-dark: #0A423D;
  --emerald-light: #2D7A63;
  --cream: #F8F6F2;
  --sage: #A9CBB5;
  --sand: #D8C29D;
  --charcoal: #2D3135;
  --gray: #5A5F65;
  --gray-light: #7A7F85;
  --border: #E8E4DE;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15, 94, 87, 0.08);
  --font: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.18rem; font-weight: 700; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--charcoal); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand .care { color: var(--emerald); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: var(--gray); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--emerald); text-decoration: none; }
.main-nav a.active { color: var(--emerald); font-weight: 700; }
.nav-cta {
  background: var(--emerald); color: var(--white) !important;
  padding: 9px 18px; border-radius: 99px; font-weight: 700 !important; font-size: 0.9rem;
}
.nav-cta:hover { background: var(--emerald-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--emerald); cursor: pointer; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb-nav { padding: 14px 0 0; font-size: 0.85rem; }
.breadcrumb-nav ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb-nav li + li::before { content: '›'; margin-right: 6px; color: var(--gray-light); }
.breadcrumb-nav a { color: var(--gray); }
.breadcrumb-nav [aria-current="page"] { color: var(--emerald); font-weight: 600; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-kicker {
  display: inline-block; background: var(--sage); color: var(--emerald-dark);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 18px;
}
.hero-title { margin-bottom: 18px; }
.hero-sub { font-size: 1.15rem; color: var(--gray); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-img { text-align: center; }
.hero-img img { max-width: 320px; filter: drop-shadow(0 12px 32px rgba(15,94,87,0.18)); }

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 99px;
  font-weight: 700; font-size: 1rem; transition: all 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--emerald); color: var(--white); }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-secondary { background: var(--white); color: var(--emerald); border: 2px solid var(--emerald); }

/* ── Sections & Cards ─────────────────────────────────────── */
.section { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--gray); margin-top: 10px; font-size: 1.05rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.section-alt .card { background: var(--cream); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.97rem; }
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 700; }
.card-badge {
  display: inline-block; background: var(--sand); color: var(--charcoal);
  font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; margin-bottom: 14px;
}

/* ── Fact strip (Zahlen/Leistungen) ───────────────────────── */
.fact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.fact { background: var(--emerald); color: var(--white); border-radius: var(--radius); padding: 24px; }
.fact strong { font-family: var(--font-display); font-size: 1.7rem; display: block; }
.fact span { font-size: 0.9rem; opacity: 0.85; }

/* ── Steps (HowTo) ────────────────────────────────────────── */
.steps { list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li {
  counter-increment: step; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 22px 22px 72px; position: relative; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--emerald); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--gray); font-size: 0.95rem; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 14px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 22px;
}
.faq-list summary {
  cursor: pointer; font-weight: 700; font-family: var(--font-display);
  font-size: 1.02rem; list-style: none; position: relative; padding-right: 28px;
}
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 0; color: var(--emerald); font-size: 1.3rem; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { margin-top: 12px; color: var(--gray); font-size: 0.96rem; }

/* ── App-Section ──────────────────────────────────────────── */
.app-banner {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
  border-radius: var(--radius); padding: 48px; color: var(--white);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.app-banner h2 { color: var(--white); margin-bottom: 12px; }
.app-banner p { opacity: 0.9; max-width: 540px; }
.app-banner .btn-secondary { border-color: var(--white); color: var(--white); background: transparent; }
.app-banner img { width: 120px; border-radius: 26px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

/* ── Prose (Rechtstexte, Info-Seiten) ─────────────────────── */
.prose { max-width: 760px; }
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 24px 0 10px; }
.prose p, .prose li { color: var(--gray); margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose strong { color: var(--charcoal); }
.legal-note {
  background: var(--white); border-left: 4px solid var(--sand);
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0; font-size: 0.92rem; color: var(--gray);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--charcoal); color: #C9CCCF; margin-top: 64px; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: var(--white); font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #C9CCCF; font-size: 0.92rem; }
.site-footer a:hover { color: var(--sage); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--white); margin-bottom: 12px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand .care { color: var(--sage); }
.footer-note { font-size: 0.85rem; color: #8A8F94; max-width: 340px; }
.footer-bottom { border-top: 1px solid #3E4347; padding-top: 22px; font-size: 0.82rem; color: #8A8F94; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .hero-img img { max-width: 200px; }
  .app-banner { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 20px 24px; align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
