/* ==========================================================================
   Physiotherapie am Mühlberg – Stylesheet
   Farben aus dem Original-Logo abgeleitet (Navy #0E3A63, Gold #F0C463)
   ========================================================================== */

:root {
  --color-navy-900: #0a2842;
  --color-navy-800: #0e3a63;
  --color-navy-700: #14508a;
  --color-navy-600: #1c65ad;
  --color-gold: #f0c463;
  --color-gold-light: #fce3ab;
  --color-gold-dark: #dfa02f;
  --color-bg: #f7f9fc;
  --color-surface: #ffffff;
  --color-text: #1f2933;
  --color-text-muted: #5a6472;
  --color-border: #e3e8ef;
  --shadow-sm: 0 1px 3px rgba(14, 58, 99, 0.08);
  --shadow-md: 0 8px 24px rgba(14, 58, 99, 0.12);
  --shadow-lg: 0 20px 48px rgba(14, 58, 99, 0.16);
  --radius-md: 12px;
  --radius-lg: 20px;
  --container-width: 1140px;
  --font-sans: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  color: var(--color-navy-800);
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-gold-dark);
  margin-bottom: 10px;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn--primary {
  background: linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 45%, var(--color-gold-dark) 100%);
  background-origin: border-box;
  color: var(--color-navy-900);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold-dark) 100%);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--outline {
  background: transparent;
  border-color: var(--color-navy-800);
  color: var(--color-navy-800);
}
.btn--outline:hover { background: var(--color-navy-800); color: #fff; }

.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-navy-800);
  letter-spacing: -0.01em;
}

.brand img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-navy-800);
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--color-navy-800);
  color: #fff;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-cta-mobile { display: none; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--color-text-muted);
}
.lang-switch a[aria-current="page"] {
  background: var(--color-navy-800);
  color: #fff;
}

.nav-phone-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-navy-800);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--color-navy-800);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, #0f74b8, #1a8cd0);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(201, 151, 74, 0.35), transparent 65%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}

.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, 0.85); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  background: linear-gradient(135deg, #0f74b8, #1a8cd0);
  color: #fff;
  padding: 64px 0 56px;
}
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header .lead { color: rgba(255, 255, 255, 0.82); margin-bottom: 0; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}
.breadcrumb a { text-decoration: underline; }

/* ---------- Cards / Grid ---------- */

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

.sticky-media { position: sticky; top: 110px; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(201, 151, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); margin-bottom: 0; font-size: 0.96rem; }

/* ---------- Timeline (Therapeut page) ---------- */

.timeline {
  border-left: 3px solid var(--color-gold);
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}
.timeline li { position: relative; margin-bottom: 28px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-bg);
}
.timeline strong { display: block; color: var(--color-navy-800); margin-bottom: 4px; }

/* ---------- Quote ---------- */

.quote {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-800);
  border-left: 4px solid var(--color-gold);
  padding-left: 22px;
  margin: 32px 0;
}

/* ---------- FAQ / Accordion ---------- */

.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}
.accordion-trigger .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 151, 74, 0.18);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.accordion-item[data-open="true"] .icon { transform: rotate(45deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-panel-inner {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
}

/* ---------- Info strip ---------- */

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.info-strip .card { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px 18px; }

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contact-details {
  background: linear-gradient(135deg, #0f74b8, #1a8cd0);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-details h3 { color: #fff; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
}
.contact-list .ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(201, 151, 74, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-list a { text-decoration: underline; }
.contact-list a:hover { color: var(--color-gold); }

.transit-list { padding-left: 18px; margin: 10px 0 0; color: rgba(255,255,255,0.85); }

/* Form */

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-navy-800);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.98rem;
  background: #fbfcfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--color-navy-600);
  box-shadow: 0 0 0 3px rgba(28, 101, 173, 0.15);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 14px; }
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
}
.form-status.is-success { display: block; background: #e6f6ec; color: #1a7a3d; }
.form-status.is-error { display: block; background: #fdecec; color: #b13333; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold) 55%, var(--color-gold-dark));
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  color: var(--color-navy-900);
}
.cta-band h2 { color: var(--color-navy-900); margin-bottom: 6px; }
.cta-band p { margin-bottom: 0; color: rgba(10, 40, 66, 0.8); }

/* ---------- Footer ---------- */

.site-footer {
  background: linear-gradient(135deg, #0f74b8, #1a8cd0);
  color: rgba(255, 255, 255, 0.92);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand span { font-weight: 800; color: #fff; font-size: 1.05rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--color-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--color-gold); }

/* ---------- Legal page ---------- */

.legal h2 { margin-top: 40px; }
.legal h3 { margin-top: 24px; }
.legal p, .legal li { color: var(--color-text-muted); }

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero::after { content: none; }
  .nav-links, .nav-phone-wrap { display: none; }
  .nav-cta .btn--primary { display: none; }
  .nav-toggle { display: block; }
  .nav { flex-wrap: wrap; row-gap: 12px; }
  .brand { font-size: 0.9rem; gap: 8px; }
  .brand img { height: 38px; }
  .nav-cta { margin-left: auto; gap: 6px; }
  .lang-switch { font-size: 0.72rem; padding: 2px; }
  .lang-switch a { padding: 4px 7px; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  body.nav-open .nav-links a { display: block; }
  .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav-cta-mobile:first-of-type { margin-top: 14px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .sticky-media { position: static; top: auto; }
  .info-strip { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
