/* schnarchweg.de – gemeinsames Stylesheet */

:root {
  --night: #0f1b2d;
  --night-soft: #16273f;
  --teal: #2fb8a6;
  --teal-dark: #1f8f80;
  --sand: #f4f1ea;
  --sand-dark: #e8e2d4;
  --ink: #16202c;
  --ink-soft: #4a5568;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(15, 27, 45, 0.12);
  --max-width: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--night);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--night));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
}

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--night);
}

@media (max-width: 780px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sand);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--sand-dark);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(47, 184, 166, 0.18), transparent 55%), var(--night);
  color: var(--white);
  padding: 84px 0 96px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 20px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin: 0 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  background: var(--night-soft);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.stat b { display: block; font-size: 1.5rem; color: var(--teal); }
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.hero-visual-graphic {
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(47,184,166,0.25), rgba(255,255,255,0.03));
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

/* Sections */
section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .eyebrow { color: var(--teal-dark); }

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  color: var(--night);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Problem/Solution */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card h3 { margin-top: 0; color: var(--night); }

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.icon-badge.warn { background: #fdeee0; }
.icon-badge.ok { background: #e2f6f1; }

/* Feature grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature .icon-badge { background: var(--sand-dark); }
.feature h3 { font-size: 1.1rem; margin: 4px 0 10px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.step h3 { color: var(--night); margin: 4px 0 10px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

.step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--night);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}

.section-alt {
  background: var(--night);
  color: var(--white);
}
.section-alt .section-head h2 { color: var(--white); }
.section-alt .section-head p { color: rgba(255,255,255,0.72); }

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--night);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question .chevron {
  transition: transform .2s ease;
  color: var(--teal-dark);
  flex-shrink: 0;
}

.faq-item.open .chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 24px;
  color: var(--ink-soft);
}

.faq-item.open .faq-answer {
  padding-bottom: 20px;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-wrap-single {
  grid-template-columns: 1fr;
  justify-content: center;
}
.contact-wrap-single .contact-info {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.contact-wrap-single .card { text-align: center; }

.contact-info .card { background: var(--sand-dark); box-shadow: none; color: var(--ink); }

form.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--night);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--sand-dark);
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--sand);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.field-checkbox input { width: auto; margin-top: 3px; }

.disclaimer {
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--sand-dark);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 40px;
}

/* Footer */
footer {
  background: var(--night);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255,255,255,0.72); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Simple pages (Impressum/Datenschutz) */
.legal-page {
  padding: 64px 0 96px;
}
.legal-page h1 { color: var(--night); }
.legal-page h2 { color: var(--night); margin-top: 36px; }
.legal-page .card { max-width: 760px; }
