/* ═══════════════════════════════════════════════════
   kein-notfall.ch – main.css
   ═══════════════════════════════════════════════════ */

:root {
  --primary:        #1a7a6e;
  --primary-dark:   #135c52;
  --primary-light:  #e6f4f2;
  --accent:         #f4732a;
  --accent-dark:    #d95e18;
  --dark:           #14202e;
  --dark-alt:       #1c2d3d;
  --text:           #2d3748;
  --text-muted:     #718096;
  --white:          #ffffff;
  --light:          #f4f7fa;
  --border:         #e2e8f0;
  --radius:         12px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow-md:      0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:      0 20px 50px rgba(0,0,0,.18);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: var(--white);
}

/* ── Bootstrap overrides ── */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}
.form-select:focus,
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(26,122,110,.2);
}
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ── Accent button ── */
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

/* ── YouTube button ── */
.btn-youtube {
  background-color: #ff0000;
  border-color: #ff0000;
  color: #fff;
  font-weight: 600;
}
.btn-youtube:hover,
.btn-youtube:focus {
  background-color: #cc0000;
  border-color: #cc0000;
  color: #fff;
}

/* ── Text accent ── */
.text-accent { color: var(--accent) !important; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ── Section helpers ── */
.section-white  { background: var(--white); padding: 5rem 0; }
.section-light  { background: var(--light); padding: 5rem 0; }
.section-dark   { background: var(--dark);  padding: 5rem 0; }

@media (max-width: 768px) {
  .section-white,
  .section-light,
  .section-dark { padding: 3.5rem 0; }
}

/* ── Typography helpers ── */
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}
.section-eyebrow-light {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title-light {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.section-lead-light {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ═══════════════════ NAVBAR ═══════════════════ */
#mainNav {
  background: var(--dark);
  padding: .75rem 0;
  transition: box-shadow .3s ease;
}
#mainNav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.navbar-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -.02em;
}
.brand-no {
  color: var(--accent);
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,.75) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .4rem .7rem !important;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.navbar-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.08);
}
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: .4rem 1rem !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: #fff !important;
}
.navbar-toggler {
  border-color: rgba(255,255,255,.3);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ═══════════════════ HERO ═══════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  filter: brightness(.35) saturate(.7);
  will-change: transform;
  transition: transform .1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20,32,46,.85) 40%, rgba(20,32,46,.4));
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero-title em {
  font-style: normal;
}
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.75);
  max-width: 500px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.4);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 3;
  animation: fadeInUp 1s ease 1.5s both;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(244,115,42,.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════ KI DISCLAIMER ═══════════════════ */
#ki-disclaimer {
  background: #fff8e6;
  border-top: 3px solid #f4a82a;
  border-bottom: 3px solid #f4a82a;
  padding: 1rem 0;
}
.disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.disclaimer-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4a82a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.disclaimer-body {
  font-size: .88rem;
  color: #5a4000;
  line-height: 1.6;
}
.disclaimer-body strong { color: #3d2b00; }

/* ═══════════════════ STATS ═══════════════════ */
#stats {
  background: var(--white);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.stat-item { padding: 1rem; }
.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════ DR. FURGER ═══════════════════ */
.furger-photo-wrap {
  position: relative;
  display: inline-block;
}
.furger-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
}
.furger-photo-badge {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
}
.furger-photo-badge i { margin-right: .4rem; }
.cred-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .9rem;
  background: var(--light);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
}
.cred-item i {
  color: var(--primary);
  font-size: 1rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* ═══════════════════ BUCH ═══════════════════ */
.book-mockup {
  position: relative;
  display: inline-block;
}
.book-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 340px;
}
.book-sticker {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.book-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.book-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .5rem 0;
  font-size: .95rem;
  border-bottom: 1px solid var(--border);
}
.book-features li:last-child { border-bottom: none; }
.book-features i {
  color: var(--primary);
  margin-top: .15rem;
  flex-shrink: 0;
}

/* ═══════════════════ YOUTUBE ═══════════════════ */
.catchphrase-box {
  background: rgba(244,115,42,.12);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  display: inline-block;
  margin-top: .5rem;
}
.catchphrase {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--accent);
  font-style: italic;
}
.yt-teaser {
  background: rgba(255,255,255,.05);
  border: 2px dashed rgba(255,255,255,.2);
  border-radius: var(--radius);
  overflow: hidden;
}
.yt-teaser-inner {
  text-align: center;
  padding: 3rem 2rem;
  color: #fff;
}
.yt-big-icon {
  font-size: 4rem;
  color: #ff0000;
  display: block;
  margin-bottom: 1rem;
}
.yt-teaser-inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.yt-teaser-inner p {
  color: rgba(255,255,255,.65);
  margin-bottom: 1.5rem;
}
.ep-card {
  background: var(--dark-alt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ep-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.ep-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.6);
  transition: filter .3s ease;
}
.ep-card:hover .ep-thumb img { filter: brightness(.45); }
.ep-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.ep-card:hover .ep-play-btn { color: #fff; }
.ep-soon-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ep-body { padding: 1.25rem; }
.ep-number {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  display: block;
  margin-bottom: .35rem;
}
.ep-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.ep-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
  line-height: 1.5;
}
.ep-punchline {
  font-size: .78rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: .65rem;
}

/* ═══════════════════ LEITLINIEN ═══════════════════ */
.leitlinien-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.leitlinien-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.leitlinien-card i {
  font-size: 1.8rem;
  color: var(--primary);
  display: block;
  margin-bottom: .85rem;
}
.leitlinien-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
}
.leitlinien-card p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ═══════════════════ FALL MELDEN FORM ═══════════════════ */
.melde-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.einwilligung-check {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 2.5rem;
}
.einwilligung-check .form-check-label {
  font-size: .9rem;
  color: var(--dark);
  font-weight: 500;
}
.ql-toolbar.ql-snow {
  border-radius: 8px 8px 0 0;
  border-color: #dee2e6;
}
.ql-container.ql-snow {
  border-radius: 0 0 8px 8px;
  border-color: #dee2e6;
  font-size: .95rem;
}
.ql-editor { min-height: 160px; }

/* ═══════════════════ FOOTER ═══════════════════ */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 0;
}
.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}
.footer-desc {
  font-size: .85rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
}
.footer-heading {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.social-links {
  display: flex;
  gap: .6rem;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .95rem;
  transition: background .2s, color .2s;
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
}
.footer-ki-note {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}
.footer-ki-note i { color: rgba(255,255,255,.3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  margin-top: 2rem;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  margin: 0;
}
