/* ============================================
   Hausarztpraxis Panzer – Redesign
   Warm Editorial Medical
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Lora/lora-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Lora/lora-italic-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter/inter-variable.woff2') format('woff2');
}

/* --- Design Tokens --- */
:root {
  --color-plum: #393185;
  --color-plum-dark: #2b2566;
  --color-plum-light: #eeedf5;
  --color-plum-glow: rgba(57, 49, 133, 0.08);

  --color-sage: #6b8f71;
  --color-sage-light: #eef3ee;
  --color-sage-dark: #4a6e50;

  --color-amber: #b8540e;
  --color-amber-light: #fef6f0;
  --color-amber-border: #f0d4b8;

  --color-cream: #faf8f4;
  --color-cream-dark: #f2efe8;
  --color-white: #ffffff;

  --color-deep: #1a1a2e;
  --color-text: #2d2d3a;
  --color-text-muted: #6b6b7b;
  --color-text-light: #93939f;
  --color-border: #e5e2dc;
  --color-border-light: #f0ede6;

  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

a {
  color: var(--color-plum);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

a:hover {
  color: var(--color-plum-dark);
}

ul, ol {
  list-style: none;
}

/* --- Scroll Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }
[data-animate][data-delay="5"] { transition-delay: 0.5s; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 56px;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-sage);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-deep);
  line-height: 1.2;
  margin-bottom: 0;
}

.section-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-plum);
  margin: 20px auto 0;
  border: none;
  border-radius: 1px;
  opacity: 0.4;
}

/* --- Header / Nav --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(250, 248, 244, 0.95);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-deep);
  transition: opacity 0.2s;
}

.header-brand:hover {
  opacity: 0.8;
}

.header-brand img {
  height: 48px;
  width: auto;
}

/* Desktop nav */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links-desktop a:not(.btn-cta):not(.btn-call) {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
  letter-spacing: 0.01em;
}

.nav-links-desktop a:not(.btn-cta):not(.btn-call)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-plum);
  transition: width 0.4s var(--ease-out);
}

.nav-links-desktop a:not(.btn-cta):not(.btn-call):hover {
  color: var(--color-plum);
}

.nav-links-desktop a:not(.btn-cta):hover::after {
  width: 100%;
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: var(--color-cream);
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile a:not(.btn-cta) {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.3s;
}

.nav-mobile a:not(.btn-cta):hover {
  color: var(--color-plum);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-plum);
  color: var(--color-white) !important;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(57, 49, 133, 0.2);
}

.btn-cta:hover {
  background: var(--color-plum-dark);
  color: var(--color-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 49, 133, 0.3);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  transition: transform 0.3s var(--ease-out);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 28px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text) !important;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.nav-dropdown-menu a:hover {
  background: var(--color-cream);
  color: var(--color-plum) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-plum) !important;
  border: 1.5px solid var(--color-plum);
  padding: 8.5px 18.5px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.35s var(--ease-out);
  text-decoration: none;
}

.btn-call:hover {
  background: var(--color-plum);
  color: var(--color-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 49, 133, 0.3);
}

.btn-call:active {
  transform: translateY(0);
}

.btn-call svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.btn-cta:active {
  transform: translateY(0);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  width: 40px;
  height: 40px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-deep);
  position: absolute;
  left: 9px;
  border-radius: 1px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  padding: 60px 0 80px;
  background: var(--color-cream);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  position: relative;
}

.hero-overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-sage);
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--color-deep);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-plum);
}

.hero .subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-text-muted);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero .btn-cta {
  font-size: 0.9rem;
  padding: 16px 36px;
}

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26, 26, 46, 0.12), 0 8px 24px rgba(26, 26, 46, 0.06);
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1;
  pointer-events: none;
}

.hero-team-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
}

.hero-accent {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--color-plum-light);
  top: -40px;
  right: -40px;
  z-index: -1;
  opacity: 0.6;
}

.hero-accent-2 {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-sage-light);
  bottom: -30px;
  left: -30px;
  z-index: -1;
  opacity: 0.7;
}

/* --- Section Alternating Backgrounds --- */
.section-cream {
  background: var(--color-cream);
}

.section-white {
  background: var(--color-white);
}

/* --- News Cards --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  transition: all 0.4s var(--ease-out);
  border-left: 3px solid var(--color-plum-light);
}

.news-card:hover {
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.06);
  transform: translateY(-3px);
  border-left-color: var(--color-plum);
}

.news-card .card-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sage-dark);
  background: var(--color-sage-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.news-card .card-label.urgent {
  background: var(--color-amber-light);
  color: var(--color-amber);
}

.vertretung-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vertretung-list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.vertretung-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-plum);
  opacity: 0.4;
}

.vertretung-list li strong {
  color: var(--color-deep);
  font-size: 0.92rem;
}

.vertretung-note {
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-style: italic;
}

.news-card:first-child {
  grid-column: 1 / -1;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-deep);
  line-height: 1.35;
}

.news-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* --- Office Hours --- */
.hours-wrapper {
  max-width: 620px;
  margin: 0 auto;
}

.hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.hours-table th,
.hours-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.9rem;
}

.hours-table thead th {
  background: var(--color-deep);
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hours-table tbody tr {
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.2s;
}

.hours-table tbody tr:last-child {
  border-bottom: none;
}

.hours-table tbody tr:hover {
  background: var(--color-cream);
}

.hours-table tbody td:first-child {
  font-weight: 500;
  color: var(--color-deep);
}

.hours-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.hours-note strong {
  color: var(--color-text);
  font-weight: 500;
}

.emergency-box {
  margin-top: 28px;
  background: var(--color-amber-light);
  border: 1px solid var(--color-amber-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-align: center;
}

.emergency-box p {
  font-size: 0.88rem;
  color: #7a4a1a;
}

.emergency-box .phone {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-amber);
  display: block;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* --- Doctor Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.doctor-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.doctor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-plum), var(--color-sage));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.doctor-card:hover {
  box-shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
  transform: translateY(-4px);
}

.doctor-card:hover::before {
  opacity: 1;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-plum), var(--color-plum-dark));
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px var(--color-plum-glow);
}

.avatar-photo {
  object-fit: cover;
  background: none;
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.1);
  border: 3px solid var(--color-white);
}

.doctor-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-deep);
  margin-bottom: 6px;
}

.doctor-card .role {
  font-size: 0.82rem;
  color: var(--color-plum);
  font-weight: 500;
  margin-bottom: 4px;
}

.doctor-card .specialties {
  font-size: 0.78rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

/* --- Practice Team --- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.staff-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: all 0.35s var(--ease-out);
}

.staff-card:hover {
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.05);
  border-color: var(--color-border);
}

.staff-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--color-plum-light);
  color: var(--color-plum);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.staff-avatar-photo {
  object-fit: cover;
  background: none;
  border: 2px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.08);
}

.staff-info h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-deep);
  line-height: 1.3;
}

.staff-info .staff-role {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.staff-info .staff-since {
  font-size: 0.72rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* --- Directions --- */
.directions-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.directions-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-deep);
  margin-bottom: 10px;
  margin-top: 28px;
}

.directions-info h3:first-child {
  margin-top: 0;
}

.directions-info p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.directions-info .address {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-deep);
  line-height: 1.5;
}

.map-container {
  background: var(--color-cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--color-border);
}

.map-consent {
  text-align: center;
  padding: 48px 28px;
}

.map-consent p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  max-width: 280px;
  line-height: 1.6;
}

.map-consent .btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-plum);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  font-family: var(--font-body);
  box-shadow: 0 2px 8px rgba(57, 49, 133, 0.2);
}

.map-consent .btn-map:hover {
  background: var(--color-plum-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 49, 133, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

/* --- Footer --- */
.footer {
  background: var(--color-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer p, .footer a {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer a {
  color: rgba(255, 255, 255, 0.55);
  display: block;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--color-white);
}

.footer-icon {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
  opacity: 0.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* --- Legal Pages (datenschutz, impressum) --- */
.legal-page {
  padding: 100px 0 80px;
  min-height: 80vh;
}

.legal-page .container {
  max-width: 740px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-deep);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-deep);
  margin: 40px 0 14px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

.legal-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-page h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 24px 0 8px;
}

.legal-page p,
.legal-page li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
}

.legal-page a {
  word-break: break-word;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-accent, .hero-accent-2 {
    display: none;
  }

  .directions-content {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header .container {
    height: 68px;
  }

  .nav-links-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-mobile {
    display: flex;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .hours-table th,
  .hours-table td {
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .header-brand img {
    height: 38px;
  }

  .container {
    padding: 0 18px;
  }

  .btn-cta {
    padding: 11px 24px;
    font-size: 0.82rem;
  }
}
