/* ====================================================
   MILF-THERAPIE® — Praxis für kühle Molekühle
   Aesthetic: 90er-Jahre-Aufklärungsvideo trifft Arztpraxis
   ==================================================== */

:root {
  --navy-950: #051923;
  --navy-900: #082635;
  --navy-800: #0d3548;
  --ice-100: #eafcff;
  --ice-200: #d3f5fb;
  --ice-300: #a8e9f3;
  --cyan-400: #4dd4e8;
  --cyan-500: #17b6d4;
  --cyan-600: #0e93ae;
  --amber-400: #ffb703;
  --amber-500: #f18f01;
  --alert-400: #ff6b6b;
  --ink: #0a2733;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow-lg: 0 30px 60px -20px rgba(3, 25, 35, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ice-100);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.05;
}

sup { font-size: 0.5em; }

/* ---------- texture overlays ---------- */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  background: repeating-linear-gradient(
    to bottom,
    rgba(5, 25, 35, 0.05) 0px,
    rgba(5, 25, 35, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: multiply;
  opacity: 0.5;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 199;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(234, 252, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--navy-950);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--cyan-400);
  font-size: 1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-nav a {
  text-decoration: none;
  color: var(--navy-900);
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--amber-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--navy-950);
  color: var(--ice-200) !important;
  padding: 8px 16px;
  border-radius: 999px;
}

.nav-toggle-input, .nav-toggle-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--amber-400);
  color: var(--navy-950);
  box-shadow: 0 8px 0 0 var(--amber-500);
}
.btn-primary:hover { box-shadow: 0 10px 0 0 var(--amber-500); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 4px 0 0 var(--amber-500); }

.btn-ghost {
  background: transparent;
  border-color: var(--navy-950);
  color: var(--navy-950);
}
.btn-ghost:hover { background: var(--navy-950); color: var(--ice-200); }

.btn-large { padding: 18px 32px; font-size: 1rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(77, 212, 232, 0.35), transparent),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(255, 183, 3, 0.18), transparent),
    var(--ice-100);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.vhs-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: var(--navy-950);
  color: var(--ice-200);
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 28px;
}

.vhs-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--alert-400);
  animation: blink 1.4s infinite;
}

.timestamp {
  font-variant-numeric: tabular-nums;
  color: var(--cyan-400);
  margin-left: 4px;
}

@keyframes blink {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0.15; }
  100% { opacity: 1; }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--navy-950);
  margin-bottom: 24px;
}

.ice-text {
  color: var(--cyan-600);
  font-style: italic;
  font-weight: 600;
  position: relative;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--navy-800);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-footnote {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--navy-800);
  opacity: 0.65;
}

.frost-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.5;
  z-index: 1;
}
.orb-1 {
  width: 260px; height: 260px;
  background: radial-gradient(circle at 30% 30%, var(--ice-200), var(--cyan-400));
  top: -60px; right: -60px;
}
.orb-2 {
  width: 140px; height: 140px;
  background: radial-gradient(circle at 30% 30%, var(--ice-100), var(--cyan-500));
  bottom: -30px; right: 220px;
  opacity: 0.35;
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--navy-950);
  color: var(--ice-200);
  overflow: hidden;
  border-top: 2px solid var(--navy-950);
  border-bottom: 2px solid var(--navy-950);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-left 32s linear infinite;
}

.ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 12px 0;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- intro / VHS frame ---------- */
.intro { padding: 88px 0; }

.vhs-frame {
  position: relative;
  background: var(--navy-950);
  color: var(--ice-100);
  border-radius: var(--radius);
  padding: 56px 40px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.vhs-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(168, 233, 243, 0.25);
  border-radius: 8px;
  pointer-events: none;
}

.intro-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.4;
  margin: 0 0 16px;
}

.intro-quote-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ice-300);
  opacity: 0.7;
  margin: 0;
}

/* ---------- section titles ---------- */
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--navy-950);
  text-align: center;
}

.section-lead {
  text-align: center;
  max-width: 520px;
  margin: 14px auto 56px;
  color: var(--navy-800);
  opacity: 0.8;
}

/* ---------- leistungen cards ---------- */
.leistungen { padding: 40px 0 100px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  background: #fff;
  border: 2px solid var(--navy-950);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
}


.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--navy-950);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--navy-800);
  margin: 0;
}

/* ---------- warum / diagnose reveal ---------- */
.warum {
  background: var(--navy-950);
  color: var(--ice-100);
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.warum::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 0%, rgba(77, 212, 232, 0.25), transparent);
}

.warum-inner { position: relative; z-index: 1; }

.warum-line {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ice-300);
  margin: 20px 0 6px;
}

.warum-symptom {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 4px 0;
  color: var(--ice-100);
}

.warum-symptom-final { color: var(--alert-400); }

.warum-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  color: var(--cyan-400);
  margin: 24px 0 20px;
  text-shadow: 0 0 40px rgba(77, 212, 232, 0.6);
}

.warum-footnote {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ice-300);
  opacity: 0.6;
}

/* ---------- zahlen ---------- */
.zahlen { padding: 100px 0; background: var(--ice-200); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  border: 2px solid var(--navy-950);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--cyan-600);
  margin-bottom: 10px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--navy-800);
}

/* ---------- testimonials ---------- */
.stimmen { padding: 100px 0; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote-grid blockquote {
  margin: 0;
  background: #fff;
  border-left: 4px solid var(--amber-400);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 24px;
  box-shadow: 0 12px 30px -18px rgba(3, 25, 35, 0.35);
}

.quote-grid p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--navy-950);
}

.quote-grid cite {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--navy-800);
  opacity: 0.7;
  font-style: normal;
}

/* ---------- team ---------- */
.team { padding: 40px 0 110px; background: var(--ice-200); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  border: 2px solid var(--navy-950);
}

.team-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy-950);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}

.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }

.team-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cyan-600);
  margin: 0 0 14px;
}

.team-card p:last-child {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--navy-800);
}

/* ---------- kontakt ---------- */
.kontakt {
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 700px 400px at 50% 100%, rgba(77, 212, 232, 0.3), transparent),
    var(--navy-950);
  color: var(--ice-100);
}

.kontakt h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}

.kontakt p {
  color: var(--ice-300);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--ice-300);
  padding: 48px 0 32px;
  border-top: 2px solid var(--navy-950);
}

.footer-inner { text-align: center; }

.footer-brand {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ice-100);
  margin-bottom: 18px;
}

.footer-brand .logo-mark {
  background: var(--cyan-400);
  color: var(--navy-950);
}

.footer-disclaimer {
  max-width: 560px;
  margin: 0 auto 18px;
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 0.75;
}

.footer-disclaimer a {
  color: var(--cyan-400);
  text-decoration: underline;
}

.footer-jingle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber-400);
  margin: 0 0 14px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.5;
  margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--ice-100);
    border-bottom: 2px solid var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .main-nav a { padding: 12px 0; width: 100%; }
  .nav-cta { margin-top: 8px; text-align: center; }

  .nav-toggle-input:checked ~ .main-nav { transform: translateY(0); }

  .nav-toggle-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
  }
  .nav-toggle-btn span {
    width: 22px; height: 2px;
    background: var(--navy-950);
  }

  .card-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
}
