/* ════════════════════════════════════════
   PHYSIOTHERAPIE WICK — style.css
   ════════════════════════════════════════ */

:root {
  --navy:    #0f1b2a;
  --blue:    #4aaee8;
  --blue-lt: #e8f5fc;
  --gray:    #9aa7b4;
  --text:    #0b1220;
  --muted:   #5c6777;
  --bg:      #ffffff;
  --soft:    #f6f8fb;
  --line:    #e9eef5;
  --radius:  16px;
  --radius-sm: 10px;
  --shadow:  0 4px 24px rgba(15,27,42,.07);
  --shadow-lg: 0 12px 40px rgba(15,27,42,.12);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── WATERMARK ── */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("./assets/watermark.png");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 400px auto;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; padding: 10px 0;
}
.brand { display: flex; align-items: center; }
.logo { height: 80px; width: auto; }

/* Desktop Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--navy); background: var(--soft); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 8px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px; cursor: pointer;
}
.burger span {
  display: block; width: 18px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: white;
  padding: 8px 0;
}
.mobile-nav a {
  display: block;
  padding: 14px 20px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.mobile-nav a:hover { background: var(--soft); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav-cta {
  background: var(--navy) !important;
  color: white !important;
  font-weight: 600 !important;
  margin: 8px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: white;
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s; white-space: nowrap;
}
.btn-primary {
  background: var(--navy); border-color: var(--navy); color: white;
}
.btn-primary:hover {
  background: #1a2d42; border-color: #1a2d42;
  box-shadow: 0 6px 20px rgba(15,27,42,.2);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; border-color: var(--navy); color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: white; }
.btn-ghost { background: white; color: var(--navy); }
.btn-ghost:hover { background: var(--soft); }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
.btn-full { width: 100%; margin-top: 10px; }

/* ── SECTIONS ── */
.section { padding: 72px 0; }
.section-alt { background: var(--soft); }

.section-head {
  margin-bottom: 48px;
  max-width: 560px;
}
.section-head.center { text-align: center; max-width: 100%; }

.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}

h1 { font-size: 52px; line-height: 1.05; margin: 0 0 16px; color: var(--navy); font-weight: 700; }
h2 { font-size: 34px; margin: 0 0 10px; color: var(--navy); font-weight: 700; }
h3 { font-size: 18px; margin: 0 0 8px; color: var(--navy); font-weight: 600; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 24px; line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ── HERO ── */
.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse 900px 500px at 0% 50%, rgba(74,174,232,.1), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px; align-items: start;
}

.hero-highlight {
  color: var(--blue);
  display: inline;
}

.hero-copy { padding-top: 16px; }

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }

.trust-row { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-pill {
  border: 1px solid var(--line);
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
}

/* Hero Card */
.hero-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), rgba(74,174,232,0));
}
.hero-card-header {
  padding: 20px 22px 0;
}
.hero-card h3 { font-size: 16px; }

.info-grid { padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.info-item { display: flex; align-items: flex-start; gap: 12px; }
.info-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 2px; }
.info-value { font-size: 14px; color: var(--text); line-height: 1.5; }
.info-value a { color: var(--blue); }
.info-value a:hover { text-decoration: underline; }

.hero-card .btn-full { margin: 0 22px 10px; width: calc(100% - 44px); }
.hero-card .btn-full:first-of-type { margin-top: 4px; }
.hero-card .btn-full:last-of-type { margin-bottom: 20px; }

/* ── LEISTUNGEN ── */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.leistung-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.leistung-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(74,174,232,.12);
  transform: translateY(-3px);
}
.leistung-icon { font-size: 28px; margin-bottom: 12px; }
.leistung-card h3 { font-size: 16px; margin-bottom: 8px; }
.leistung-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px; align-items: center;
}
.team-image {
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.team-image img { width: 100%; height: auto; object-fit: cover; }

.team-content h3 { font-size: 26px; margin-bottom: 4px; }
.team-role {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  margin: 0 0 16px;
}
.team-content p { color: var(--muted); margin: 0 0 10px; font-size: 15px; }

.team-list {
  list-style: none; padding: 0;
  margin: 20px 0 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.team-list li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 15px;
}
.check {
  width: 22px; height: 22px;
  background: var(--blue-lt);
  color: var(--blue);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.team-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── PRAXIS (MAP) ── */
.map-placeholder {
  background: var(--soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  min-height: 180px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 8px;
}
.map-overlay { text-align: center; padding: 24px; }
.map-overlay p { font-size: 13px; margin: 0 0 12px; }

.anfahrt-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.anfahrt-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted);
  padding: 10px 14px;
  background: var(--soft);
  border-radius: var(--radius-sm);
}
.anfahrt-item span { font-size: 18px; }

/* ── BUCHUNG ── */
.booking-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.booking-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), rgba(74,174,232,.3));
}
.booking-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  padding: 28px 32px;
}
.booking-text { display: flex; align-items: center; gap: 16px; }
.booking-icon { font-size: 36px; }
.booking-text h3 { margin: 0 0 4px; font-size: 20px; }
.booking-text p { margin: 0; font-size: 14px; }

.booking-alternatives {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 20px; padding: 0 4px;
}
.alt-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted);
}
.alt-item a { color: var(--blue); font-weight: 500; }
.alt-item a:hover { text-decoration: underline; }

/* ── KONTAKT ── */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.kontakt-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.kontakt-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(74,174,232,.1);
}
.kontakt-icon { font-size: 32px; margin-bottom: 12px; }
.kontakt-card h3 { font-size: 14px; color: var(--gray); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.kontakt-link { font-size: 15px; color: var(--blue); font-weight: 500; }
.kontakt-link:hover { text-decoration: underline; }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item.is-open { border-color: var(--blue); }
.faq-question {
  width: 100%; display: flex;
  justify-content: space-between; align-items: center;
  gap: 12px; padding: 20px 22px;
  border: 0; background: transparent; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 15px;
  color: var(--navy); text-align: left;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--soft); }
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; font-size: 18px; font-weight: 700;
  color: var(--navy); background: white;
  transition: transform 0.25s, background 0.2s, border-color 0.2s;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue-lt);
  border-color: var(--blue);
  color: var(--blue);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: 1px solid var(--line);
}
.faq-answer-inner {
  padding: 4px 22px 20px;
  color: var(--muted); font-size: 14px; line-height: 1.7;
}
.faq-answer-inner p { margin: 14px 0 0; }
.faq-answer-inner p:first-child { margin-top: 10px; }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--line); padding: 24px 0; }
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 36px; width: auto; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--navy); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(15,27,42,.96);
  color: white; z-index: 9999; padding: 16px 0;
  display: none;
}
.cookie-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-inner a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }

/* ── WHATSAPP ── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  background: #25D366; color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  z-index: 998; transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37,211,102,.45);
}

/* ── STICKY BAR ── */
#sticky-bar {
  position: fixed; top: 16px; left: 50%;
  transform: translate(-50%, -150%);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 12px; white-space: nowrap;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s ease;
  z-index: 99;
}
#sticky-bar.show { transform: translate(-50%, 0); }
.sticky-text { font-size: 13px; font-weight: 600; color: var(--navy); }
#sticky-bar .btn.small { padding: 6px 14px; font-size: 12px; border-radius: 999px; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.animate.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.animate { opacity: 1; transform: none; }
}

/* ── CARDS (generic) ── */
.card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: 1fr 1fr; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

@media (max-width: 960px) {
  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { max-width: 480px; }
  h1 { font-size: 38px; }

  /* Leistungen */
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }

  /* Team */
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-image { max-width: 360px; margin: 0 auto; }
  .team-content { text-align: center; }
  .team-list { align-items: center; }
  .team-actions { justify-content: center; }

  /* Kontakt */
  .kontakt-grid { grid-template-columns: 1fr; }

  /* Buchung */
  .booking-inner { flex-direction: column; align-items: flex-start; }

  /* Nav */
  .nav { display: none; }
  .burger { display: flex; }
  .btn-outline { display: none; }
}

@media (max-width: 640px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 32px; }

  /* Leistungen */
  .leistungen-grid { grid-template-columns: 1fr; }

  /* Grid two → one */
  .grid.two { grid-template-columns: 1fr; }

  /* Booking */
  .booking-inner { padding: 20px; }
  .booking-alternatives { flex-direction: column; gap: 12px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Cookie */
  .cookie-inner { flex-direction: column; }

  /* WhatsApp */
  .whatsapp-float { width: 56px; height: 56px; font-size: 26px; }

  /* Sticky */
  .sticky-text { display: none; }
  #sticky-bar { padding: 8px; }

  /* Hero card full width */
  .hero-card { max-width: 100%; }
  .hero-card .btn-full { width: calc(100% - 44px); }

  /* Trust pills */
  .trust-pill { font-size: 12px; padding: 5px 10px; }
}

@media (max-width: 380px) {
  h1 { font-size: 26px; }
  .container { padding: 0 14px; }
  .btn-lg { padding: 11px 18px; font-size: 14px; }
}
