/* ==========================================================================
   GutGefühlt – Landingpage Stylesheet
   Statisch, mobile-first, DSGVO-konform (keine externen Ressourcen).
   System-Font-Stack, keine Google Fonts, kein Tracking.
   Farbwelt: Teal (#0F766E) + Seafoam (#A7C9BC) + warmes Off-White.
   ========================================================================== */

:root {
  --brand: #0F766E;          /* Marken-Teal: Akzent, Buttons, Trigger */
  --brand-dark: #0E5650;
  --brand-deep: #0C403A;     /* sehr dunkles Grün (Footer) */
  --brand-light: #ECFAF6;    /* hauchzartes Teal für Hover-Flächen */
  --seafoam: #A7C9BC;        /* weiche Marken-Fläche, Bögen */
  --seafoam-soft: #DCEDE6;   /* Seafoam-Chip-Fläche */
  --ink: #15211F;            /* fast-schwarzes Grün-Anthrazit für Text */
  --muted: #5B6B68;
  --surface: #ffffff;
  --cream: #F5F8F6;          /* warmes Off-White für Sektionen */
  --border: #E5EAE8;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1120px;
  --max-width-text: 720px;
  --radius: 18px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }

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

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

/* ----------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand__icon { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 2px 8px rgba(15,118,110,0.25); }
.site-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-block; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { background: var(--brand-light); color: var(--brand-dark); }
.site-nav__cta { background: var(--brand); color: #fff !important; }
.site-nav__cta:hover { background: var(--brand-dark); }

/* ----------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, #137C72 0%, #0C4A44 100%);
  padding: 72px 0 80px;
}
/* Weiche Wellen als dezentes Marken-Wasserzeichen */
.hero__wave {
  position: absolute; top: -8%; right: -14%;
  width: min(78vw, 720px); height: auto;
  color: #fff; opacity: 0.10; transform: rotate(-6deg);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.hero__kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.86); }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.3rem); line-height: 1.06; letter-spacing: -0.025em; margin: 0.4em 0 0.45em; }
.hero__subtext { color: rgba(255,255,255,0.92); font-size: 1.14rem; line-height: 1.55; max-width: 540px; margin: 0 auto 1.6em; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35);
  color: #fff; font-size: 0.88rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--seafoam); }

.hero__trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 24px 0 0; padding: 0; }
.hero__trust li { color: rgba(255,255,255,0.92); font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--seafoam); }

/* ----------------------------------------------------------- Sektionen */
.section { padding: 76px 0; }
.section--tight { padding: 40px 0 76px; }
.features-section { background: var(--cream); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.7rem, 4.2vw, 2.3rem); font-weight: 800; }
.section__head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Features – editorial, ohne Template-Kästen */
.features { display: grid; grid-template-columns: 1fr; gap: 14px 40px; }
.feature {
  padding: 22px 22px 22px 0;
  border-top: 1px solid var(--border);
}
.feature__icon { width: 30px; height: 30px; color: var(--brand); margin-bottom: 12px; display: block; }
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 0.3em; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ----------------------------------------------------------- Schritte */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: var(--max-width-text); margin: 0 auto; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--seafoam-soft); color: var(--brand-dark);
  font-weight: 800; font-size: 1.05rem;
}
.step__body h3 { font-size: 1.1rem; font-weight: 800; margin: 6px 0 0.25em; }
.step__body p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ----------------------------------------------------------- Kontakt-CTA */
.contact {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; border-radius: 26px; padding: 60px 28px; text-align: center;
}
.contact__wave { position: absolute; bottom: -34%; left: -8%; width: 360px; color: #fff; opacity: 0.10; pointer-events: none; }
.contact h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; position: relative; }
.contact p { color: rgba(255,255,255,0.88); margin: 0 0 0.4em; position: relative; }
.contact__mail {
  position: relative; display: inline-block; margin-top: 1.2em;
  background: #fff; color: var(--brand-dark); font-weight: 800; font-size: 1.05rem;
  padding: 14px 30px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.contact__mail:hover { color: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,0.22); }

/* ----------------------------------------------------------- Rechtsseiten */
.legal { padding: 52px 0 76px; }
.legal__inner { max-width: var(--max-width-text); margin: 0 auto; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.4rem); font-weight: 800; margin-bottom: 0.7em; }
.legal h2 { font-size: 1.2rem; font-weight: 800; margin-top: 1.9em; color: var(--brand-dark); }
.legal p { margin: 0 0 1em; }
.legal address { font-style: normal; line-height: 1.7; margin: 0 0 1em; }

/* ----------------------------------------------------------- Footer */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,0.72); padding: 40px 0; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.05rem; }
.site-footer__brand img { border-radius: 8px; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.site-footer__links a { color: rgba(255,255,255,0.72); font-size: 0.92rem; font-weight: 600; }
.site-footer__links a:hover { color: #fff; }
.site-footer__copy { color: rgba(255,255,255,0.72); font-size: 0.88rem; margin: 0; }
/* Rechtlicher Hinweis: bewusst gut lesbar (WCAG-AA), nicht zu dezent */
.site-footer__note { color: rgba(255,255,255,0.85); font-size: 0.8rem; margin: 6px 0 0; max-width: 520px; line-height: 1.5; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 679px) {
  .site-header__inner { flex-wrap: wrap; gap: 6px 4px; min-height: 0; padding-top: 9px; padding-bottom: 9px; }
  .site-nav { width: 100%; }
  .site-nav ul { width: 100%; justify-content: space-between; gap: 4px; }
  .site-nav a { padding: 7px 10px; font-size: 0.9rem; }
  .site-nav a[href$="#features"] { display: none; }
  .site-nav__cta { padding: 8px 14px; }
}

@media (min-width: 680px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 920px) {
  .hero { padding: 96px 0 104px; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .site-footer__inner { flex-direction: row; justify-content: space-between; text-align: left; flex-wrap: wrap; }
  .site-footer__note { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact__mail:hover { transform: none; }
}
