/* ═══════════════════════════════════════
   PhysioPro Lübeck – Shared Styles v2.0
   ═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose: #55725e;
  --rose-dark: #3d5445;
  --rose-light: #eef3f0;
  --beige: #c4b09a;
  --beige-warm: #f7f0e8;
  --beige-mid: #e8ddd0;
  --beige-dark: #8c7660;
  --beige-light: #f2ede6;
  --cream: #faf8f4;
  --text: #2c2825;
  --text-mid: #5a5450;
  --warm-gray: #8c8480;
  --border: #e8ddd0;
  --nav-h: 72px;
  --radius: 12px;
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--text); line-height: 1.7; padding-top: var(--nav-h); }

/* ── TYPOGRAPHY ── */
h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem,6vw,4.5rem); line-height: 1.1; }
h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem,4vw,3rem); line-height: 1.2; }
h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.3; }
h4 { font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--beige-dark); }
p { line-height: 1.7; }
a { text-decoration: none; color: inherit; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.divider { height: 1px; background: var(--border); }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: .75rem 2rem; border-radius: 100px; font-family: var(--sans); font-size: .875rem; font-weight: 500; letter-spacing: .04em; cursor: pointer; transition: .2s; border: none; text-decoration: none; }
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-dark); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--rose); color: var(--rose-dark); }

/* ── TAG ── */
.tag { display: inline-block; font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--beige-dark); background: var(--rose-light); padding: .3rem .75rem; border-radius: 100px; margin-bottom: 1rem; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); background: rgba(250,248,244,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--beige-mid); display: flex; align-items: center; }
.nav-inner { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: .875rem; font-weight: 400; letter-spacing: .04em; text-decoration: none; color: var(--text-mid); text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--rose-dark); }
.nav-cta { background: var(--rose); color: #fff !important; padding: .5rem 1.25rem; border-radius: 100px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--rose-dark) !important; }
.nav-instagram { color: var(--text-mid) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--cream); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--text); text-decoration: none; }

/* ── HERO ── */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding: 3rem 2rem; max-width: 1200px; margin: 0 auto; }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text p { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 2.5rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-why { background: var(--beige-warm); border: 1px solid var(--beige-mid); border-radius: 20px; padding: 2.5rem; }
.hero-why h4 { margin-bottom: 1.5rem; }
.hero-why-item { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid rgba(217,164,154,.25); }
.hero-why-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero-why-item:first-child { padding-top: 0; }
.hero-why-num { font-family: var(--serif); font-size: 2rem; color: var(--beige-dark); font-weight: 300; line-height: 1; min-width: 3rem; text-align: right; flex-shrink: 0; }
.hero-why-item strong { display: block; font-size: .95rem; font-weight: 500; margin-bottom: .2rem; }
.hero-why-item p { font-size: .85rem; color: var(--text-mid); margin: 0; }

/* ── STATS ── */
.stats-bar { background: linear-gradient(135deg, var(--rose) 0%, #3d5445 100%); padding: 1.5rem 0; }
.stats-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 160px; text-align: center; padding: 1rem 2rem; }
.stat-num { font-family: var(--serif); font-size: clamp(2.5rem,5vw,3.5rem); font-weight: 300; color: #f2ede6; line-height: 1; }
.stat-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,237,230,.7); margin-top: .4rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(242,237,230,.25); flex-shrink: 0; }

/* ── STUDIO BANNER ── */
.studio-banner { width: 100%; height: 360px; overflow: hidden; }
.studio-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(160deg, var(--beige-warm) 0%, var(--rose-light) 100%); padding: 5rem 0 4rem; border-bottom: 1px solid var(--beige-mid); }
.page-hero p { color: var(--text-mid); margin-top: 1rem; font-size: 1.05rem; }

/* ── ANGEBOTE ── */
.angebote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.angebot-card { background: #fff; border: 1px solid var(--beige-mid); border-radius: var(--radius); padding: 2rem 1.5rem; transition: .25s; }
.angebot-card:hover { border-color: var(--beige); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(196,176,154,.2); }
.angebot-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--rose-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-family: var(--serif); font-size: 1.4rem; color: var(--beige-dark); }
.angebot-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.angebot-card p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }
.angebot-card a { display: inline-block; margin-top: 1rem; font-size: .85rem; color: var(--rose-dark); }

/* ── TEAM GRID ── */
.trainer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trainer-card { background: #fff; border: 1px solid var(--beige-mid); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.trainer-card:hover { border-color: var(--beige); box-shadow: 0 8px 24px rgba(196,176,154,.2); transform: translateY(-3px); }
.trainer-img { height: 240px; overflow: hidden; background: var(--beige-light); }
.trainer-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .4s; }
.trainer-card:hover .trainer-img img { transform: scale(1.03); }
.trainer-img--logo { display: flex; align-items: center; justify-content: center; background: var(--beige-warm); }
.trainer-img--logo img { width: 80px; height: 80px; object-fit: contain; opacity: .4; }
.trainer-info { padding: 1.25rem 1.5rem; border-top: 3px solid var(--rose); }
.trainer-info h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.trainer-specialty { font-size: .82rem; color: var(--beige-dark); font-weight: 500; letter-spacing: .03em; margin: 0; }
.trainer-bio { font-size: .82rem; color: var(--text-mid); margin: .4rem 0 0; line-height: 1.5; }
@media(max-width: 768px) { .trainer-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 480px) { .trainer-grid { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
footer { background: var(--text); color: rgba(255,255,255,.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { margin-top: .75rem; font-size: .875rem; line-height: 1.7; }
.footer-col h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .875rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--rose); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--rose); }

/* ── RÜCKRUF MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 2000; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 20px; max-width: 440px; width: 100%; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.15); position: relative; }
.modal-header { background: linear-gradient(135deg, var(--rose), var(--rose-dark)); padding: 1.75rem 2rem; }
.modal-header h3 { color: #fff; margin-bottom: .3rem; font-size: 1.2rem; }
.modal-header p { color: rgba(255,255,255,.8); font-size: .85rem; }
.modal-body { padding: 1.75rem 2rem; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,.08); border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 1.1rem; color: #fff; display: flex; align-items: center; justify-content: center; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: .35rem; }
.form-field input, .form-field textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--beige-mid); border-radius: 8px; font-family: var(--sans); font-size: .9rem; outline: none; transition: border-color .2s; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--rose); }
.radio-group { display: flex; flex-direction: column; gap: .4rem; }
.radio-opt { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border: 1.5px solid var(--beige-mid); border-radius: 8px; cursor: pointer; transition: .2s; }
.radio-opt:hover { border-color: var(--rose); background: var(--rose-light); }
.radio-opt.selected { border-color: var(--rose); background: var(--rose-light); }
.radio-opt input { accent-color: var(--rose); }
.dsgvo-check { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0; }
.dsgvo-check input { margin-top: 4px; accent-color: var(--rose); flex-shrink: 0; }
.dsgvo-check label { font-size: .78rem; color: var(--text-mid); line-height: 1.5; }
.error-msg { color: #c0392b; font-size: .82rem; padding: .6rem 1rem; background: #fdf0f0; border-radius: 8px; margin-bottom: 1rem; display: none; }
.success-msg { text-align: center; padding: 1.5rem 0; display: none; }
.success-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--rose-light); display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; color: var(--rose); font-size: 1.4rem; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem; }
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { justify-content: flex-start; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
}
