/* ============================================================
   Elias Hassane Gesundheitszentrum — Original-Design (1:1)
   Quelle: computed styles von elias-physio-sport-rehabilitation.at
   ============================================================ */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --charcoal: #1A1A1A;
  --charcoal-2: #1D1E20;
  --card-bg: #F2F2F0;
  --red: #C70D0D;
  --btn-bg: #0D0D0D;
  --text: #000000;
  --text-muted: #5B5B5B;

  --font-heading: "Outfit", sans-serif;
  --font-body: "Abel", sans-serif;

  --max-w: 1200px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h6.eyebrow-title { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text); }
.hero-lede { font-size: 1.125rem; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
section { padding: 64px 0; }
section.tight { padding: 32px 0; }

/* ---------- Header / Navigation (schwarz) ---------- */
header.site-header {
  background: var(--black);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-text { display: none; }

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  font-size: 0.95rem;
  font-family: var(--font-body);
}
nav.main-nav a {
  color: var(--white);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.15s;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--red);
  border-color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--white);
  color: var(--white);
  border-radius: 20px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  nav.main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0 4px;
  }
  nav.main-nav.open { display: flex; }
  .nav-row { flex-wrap: wrap; }
}

/* ---------- Hero (schwarz, Bild-Banner) ---------- */
.hero-banner {
  background: var(--black);
  padding: 0;
}
.hero-banner img {
  width: 100%;
  height: clamp(180px, 30vw, 320px);
  object-fit: cover;
  display: block;
}

/* ---------- Hero-Video (autoplay, stumm, Loop) ---------- */
.hero-video {
  position: relative;
  width: 100%;
  height: clamp(220px, 36vw, 420px);
  overflow: hidden;
  background: var(--black);
}
.hero-video iframe,
.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-text {
  background: var(--white);
  padding: 56px 0 40px;
  text-align: center;
}
.hero-text h1 {
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 18ch;
  margin: 0 auto 28px;
}
.hero-text p { max-width: 46ch; margin: 0 auto 10px; }

/* ---------- Buttons (schwarze Pille) ---------- */
.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--white) !important;
  padding: 14px 34px;
  border-radius: 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  margin-top: 20px;
  transition: background 0.15s;
}
.btn:hover { background: #2b2b2b; }
.btn.ghost {
  background: transparent;
  color: var(--black) !important;
  border: 1px solid var(--black);
}
.btn.ghost:hover { background: var(--black); color: var(--white) !important; }

/* ---------- Karten / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card-bg);
  padding: 32px 28px;
  text-align: center;
}
.card h6 { margin-bottom: 6px; }

/* ---------- Kundenbewertungen (dunkler Panel) ---------- */
.reviews-panel {
  background: var(--charcoal-2);
  color: var(--white);
  padding: 64px 0;
}
.reviews-panel h1, .reviews-panel h2 { color: var(--white); text-align: center; }
.reviews-panel > .wrap > p { text-align: center; color: #B7B7B7; margin-bottom: 40px; }
.testimonial {
  background: var(--charcoal);
  padding: 28px 26px;
}
.testimonial .stars { color: var(--white); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial p { color: #D8D8D8; font-size: 0.98rem; }
.testimonial .author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial .author .dot { width: 40px; height: 40px; border-radius: 50%; background: #3a3a3a; flex-shrink: 0; }
.testimonial .author span { color: var(--white); font-weight: 600; }

/* ---------- Team ---------- */
.team-member {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid #E5E5E5;
}
.team-member .team-info { flex: 1; }
.team-member img {
  width: 200px;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  flex-shrink: 0;
}
.team-member h3 { margin-bottom: 2px; font-size: 1.2rem; }
.team-member .role { color: var(--red); font-size: 0.9rem; display: block; margin-bottom: 8px; }
@media (max-width: 620px) {
  .team-member { flex-direction: column; align-items: center; text-align: center; }
  .team-member img { width: 220px; height: 280px; }
}

/* ---------- Geräte ---------- */
.device {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid #E5E5E5;
}
.device img { width:100%; height: 260px; object-fit: contain; background: var(--card-bg); padding: 16px; box-sizing: border-box; }
@media (max-width: 780px) { .device { grid-template-columns: 1fr; } }

/* ---------- Kontakt / Öffnungszeiten ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 1rem; }
.hours-table td { padding: 10px 0; border-bottom: 1px solid #E5E5E5; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

.stat-strip { display: flex; border-top: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5; flex-wrap: wrap; }
.stat-strip div { flex: 1 1 160px; padding: 20px var(--pad); border-left: 1px solid #E5E5E5; text-align: center; }
.stat-strip div:first-child { border-left: none; }
.stat-strip .num { font-family: var(--font-heading); font-size: 1.6rem; color: var(--red); display: block; font-weight: 600; }
.stat-strip .label { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Footer (schwarz/charcoal) ---------- */
footer.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 56px 0 28px;
}
footer.site-footer a { color: var(--white); text-decoration: underline; }
footer.site-footer h4 { color: var(--red); font-size: 1rem; margin-bottom: 10px; }
footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #333;
}
footer.site-footer .foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #999;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 780px) { footer.site-footer .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Seiten-Foto (Sport, Rehabilitation, Kindergesundheit, etc.) ---------- */
.page-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
@media (max-width: 780px) {
  .page-photo { height: 220px; }
}

/* ---------- Eingebettetes Video (z. B. Ganganalyse/YouTube) ---------- */
.embed-video {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: var(--black);
  overflow: hidden;
}
.embed-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mt-0 { margin-top: 0; }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.page-section { border-top: 1px solid #eee; }
.page-section:first-of-type { border-top: none; }
