@font-face { font-family: 'Mulish'; src: url('/fonts/mulish-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('/fonts/mulish-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('/fonts/mulish-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

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

:root {
  --cta-bg: #0f73e6;
  --cta-bg-hover: #1074c6;
  --cta-color: #ffffff;
  --dark: #0A0A0A;
  --text: #0e0e0e;
  --text-muted: #454545;
  --bg: #f1f0ee;
  --bg-soft: #ffffff;
  --surface: #fff;
  --text-strong: #111827;
  --icon-bg: #f3f2f0;
  --border: rgba(13, 17, 23, .08);
  --border-input: rgba(13,17,23,.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.10);
  --glass-95: rgba(255,255,255,.95);
  --glass-btn-shadow: 0 4px 8px #00000008, inset 0 10px 25px #0000000d;
  color-scheme: light;
}

/* Dark Mode: wird per <html data-theme="dark"> aktiviert (Umschalter im Header) */
:root[data-theme="dark"] {
  --dark: #bcc4d4;
  --text: #bcc4d4;
  --text-muted: #a4a9b2;
  --bg: #171c27;
  --bg-soft: #1f2532;
  --surface: #1f2532;
  --text-strong: #bcc4d4;
  --icon-bg: #2a3242;
  --border: rgba(255,255,255,.1);
  --border-input: rgba(255,255,255,.18);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.5);
  --glass-95: rgba(31,37,50,.95);
  --glass-btn-shadow: 0 4px 8px #00000040, inset 0 10px 25px #ffffff08;
  color-scheme: dark;
}

html { scroll-behavior: smooth; }
body { font-family: 'Mulish', sans-serif; font-weight: 500; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--dark); line-height: 1.2; }

.inner, .section-inner, .footer-inner { max-width: 1200px; margin: 0 auto; }

/* NAV */
body > nav { position: sticky; top: 0; z-index: 100; padding: 0 12px; background: transparent; }
.nav-inner { max-width: 1250px; margin: 24px auto 0; display: flex; align-items: center; gap: 24px; padding: 12px 20px; background: var(--glass-95); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(180%); border-radius: 50px; border: 1px solid var(--glass-border, #fff); box-shadow: var(--glass-btn-shadow); flex-wrap: wrap; }
:root[data-theme="dark"] .nav-inner { --glass-border: rgba(255,255,255,.12); }
.nav-logo { font-size: 1.4rem; font-weight: 700; color: var(--dark); display: flex; align-items: center; gap: 10px; margin: 0 10px 0 5px; }
.nav-logo-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--icon-bg); flex-shrink: 0; }
.nav-logo-icon svg { width: 24px; height: 24px; color: var(--cta-bg); }
.nav-links { display: flex; gap: 0; align-items: center; }
.nav-links a { padding: 10px 16px; border-radius: 100px; font-size: .95rem; font-weight: 500; color: var(--text); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--dark); background: var(--bg); }
.nav-actions { display: flex; gap: 16px; align-items: center; margin-left: auto; }
.btn-login { background: var(--surface) !important; box-shadow: var(--glass-btn-shadow) !important; border: 1px solid var(--border-input) !important; color: var(--text) !important; font-weight: 700 !important; padding: 7px 24px !important; font-size: .9rem !important; border-radius: 100px !important; transition: border-color .2s, background .2s; }
.btn-login:hover { border-color: #9ca3af !important; background: var(--bg-soft) !important; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: 2px; border: none; border-radius: 50%; background: none; color: var(--text); cursor: pointer; transition: background .2s; }
.theme-toggle:hover { background: var(--bg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
@media (max-width: 700px) { .nav-links { display: none; } .nav-inner { border-radius: 24px; } }

/* BUTTONS */
[data-go] { cursor: pointer; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 100px; font-weight: 700; font-size: .95rem; cursor: pointer; transition: all .2s; border: none; font-family: inherit; }
.btn-yellow { background: var(--cta-bg); color: var(--cta-color); }
.btn-yellow:hover { background: var(--cta-bg-hover); box-shadow: 0 4px 16px rgba(15,115,230,.3); }
.btn:active { transform: translateY(1px); }
.btn-ghost { color: var(--text); border: 1.5px solid var(--border); padding: 12px 26px; background: var(--bg); }
.btn-ghost:hover { border-color: #9CA3AF; color: var(--dark); }
.btn-nav { background: var(--cta-bg) !important; color: var(--cta-color) !important; padding: 7px 24px !important; font-size: .9rem !important; border-radius: 100px !important; font-weight: 700 !important; display: inline-flex; align-items: center; transition: background .2s; }
.btn-nav:hover { background: var(--cta-bg-hover) !important; }
.btn-arrow { display: inline-block; transition: transform .3s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* HERO */
.hero { background: var(--bg); padding: 70px 20px 90px; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--cta-bg); }
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: .85rem; color: var(--text-muted); }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }

/* HERO VISUAL (Telefon-Mockup) */
.hero-phone { max-width: 300px; margin: 0 auto; background: var(--surface); border-radius: 28px; border: 2px solid var(--border); box-shadow: 0 4px 24px rgba(0,0,0,.08); overflow: hidden; transform: rotate(4deg); }
.phone-topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: .85rem; }
.phone-topbar-pill { background: var(--icon-bg); padding: 3px 10px; border-radius: 100px; font-size: .72rem; font-weight: 700; color: var(--text-muted); }
.phone-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.phone-section { background: var(--surface); border-radius: 14px; padding: 12px; border: 1px solid var(--border); }
.phone-section-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 8px; }
.ch-item { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.ch-icon { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; color: #fff; }
.ch-name { font-size: .82rem; font-weight: 700; }
.ch-sub { font-size: .74rem; color: var(--text-muted); }
.gm-wifi-pw { font-size: .72rem; color: #2426b5; font-family: monospace; font-weight: 700; background: #eef0fd; padding: 2px 7px; border-radius: 5px; display: inline-block; margin-top: 4px; }

/* SECTIONS */
section { padding: 70px 24px; }
.section-header { margin-bottom: 44px; }
.section-header.center { text-align: center; }
.section-label { display: inline-block; color: var(--cta-bg); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.5px; margin-bottom: 12px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }
.section-header.center .section-sub { margin: 0 auto; }
.bg-soft { background: var(--bg-soft); }

/* FEATURE CARDS */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feat-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.feat-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--icon-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-icon svg { width: 24px; height: 24px; stroke: var(--text); stroke-width: 1.75; }
.feat-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.5; }

/* CHECK LIST */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; }
.check-list li::before { content: ''; flex-shrink: 0; margin-top: 2px; background-color: #e6e2d9; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2,6 5,9 10,3'/%3E%3C/svg%3E"); background-size: 65%; background-repeat: no-repeat; background-position: center; width: 20px; height: 20px; border-radius: 50%; display: inline-block; }

/* ABLAUF / STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 12px; position: relative; }
.step { text-align: center; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: #ffd246; color: #0A0A0A; font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; border: 4px solid var(--bg); box-shadow: 0 0 0 2px #ffd246; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: .85rem; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }

/* CTA BAND */
.cta-band { background: var(--bg); padding: 40px 25px 90px; text-align: center; }
.cta-band .section-inner { max-width: 700px; background: var(--surface); border: 1px solid var(--glass-border, #fff); box-shadow: var(--glass-btn-shadow), inset 0 1px 0 rgba(255,255,255,.9); border-radius: 32px; padding: 54px 50px; }
:root[data-theme="dark"] .cta-band .section-inner { --glass-border: rgba(255,255,255,.12); box-shadow: var(--glass-btn-shadow); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.5px; margin-bottom: 10px; }
.cta-band p { color: var(--text); margin-bottom: 30px; font-size: 1.02rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: var(--surface); padding: 48px 24px 28px; border-top: 1px solid var(--border); }
.footer-logo-img { height: 130px; width: auto; margin-bottom: 24px; }
img.logo-dark { display: none; }
:root[data-theme="dark"] img.logo-light { display: none; }
:root[data-theme="dark"] img.logo-dark { display: block; }
.footer-note { font-size: .88rem; color: var(--text-muted); max-width: 310px; margin-bottom: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; font-size: .9rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--text-muted); }
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--text-strong); }
.footer-bottom span a + a { margin-left: 18px; }
