/* ============================================
   Ordination Winter – Style Sheet
   Corporate Blue: #227ac1
   Font: Lato (self-hosted)
   ============================================ */

/* --- Font Faces --- */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Custom Properties --- */
:root {
  --blue: #227ac1;
  --blue-dark: #1a6299;
  --blue-light: #e8f2fb;
  --dark: #0a1628;
  --dark-medium: #162033;
  --text-heading: #1e293b;
  --text-body: #475569;
  --text-light: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header.solid {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-heading);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Header on hero pages: white text */
.site-header.transparent .logo {
  color: #fff;
}
.site-header.transparent .logo-text span {
  color: rgba(255,255,255,0.9);
}
.site-header.transparent .nav-link {
  color: rgba(255,255,255,0.9);
}
.site-header.transparent .nav-link:hover {
  color: #fff;
}
.site-header.transparent .nav-cta {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.site-header.transparent .nav-cta:hover {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}
.site-header.transparent .hamburger span {
  background: #fff;
}
/* Once scrolled, revert to dark */
.site-header.transparent.scrolled .logo {
  color: var(--text-heading);
}
.site-header.transparent.scrolled .logo-text span {
  color: #64748b;
}
.site-header.transparent.scrolled .nav-link {
  color: var(--text-body);
}
.site-header.transparent.scrolled .nav-link:hover {
  color: var(--blue);
}
.site-header.transparent.scrolled .nav-cta {
  border-color: var(--blue);
  color: var(--blue);
}
.site-header.transparent.scrolled .nav-cta:hover {
  background: var(--blue);
  color: #fff;
}
.site-header.transparent.scrolled .hamburger span {
  background: var(--text-heading);
}

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

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.925rem;
  font-weight: 400;
  color: var(--text-body);
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link.active {
  color: var(--blue);
  font-weight: 700;
}

.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition);
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--blue);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.55) 0%,
    rgba(10, 22, 40, 0.70) 100%
  );
  transition: opacity 0.8s ease;
}

.hero.revealed .hero-overlay {
  opacity: 0;
}

.hero.no-transition .hero-overlay,
.hero.no-transition .hero-content {
  transition: none;
}

/* When hero is revealed, force header to solid style */
.site-header.transparent.hero-revealed {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.site-header.transparent.hero-revealed .logo {
  color: var(--text-heading);
}
.site-header.transparent.hero-revealed .logo-text span {
  color: #64748b;
}
.site-header.transparent.hero-revealed .nav-link {
  color: var(--text-body);
}
.site-header.transparent.hero-revealed .nav-link:hover,
.site-header.transparent.hero-revealed .nav-link.active {
  color: var(--blue);
}
.site-header.transparent.hero-revealed .nav-cta {
  border-color: var(--blue);
  color: var(--blue);
}
.site-header.transparent.hero-revealed .nav-cta:hover {
  background: var(--blue);
  color: #fff;
}
.site-header.transparent.hero-revealed .hamburger span {
  background: var(--text-heading);
}

.hero.revealed .hero-content {
  opacity: 0;
  pointer-events: none;
}

.hero .hero-content {
  transition: opacity 0.6s ease;
}

/* Scroll hint chevron – visible only after reveal */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-heading);
  background: rgba(255,255,255,0.85);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease 0.6s;
  animation: none;
  text-decoration: none;
}

.hero.revealed .hero-scroll-hint {
  opacity: 1;
  pointer-events: auto;
  animation: bounce 2s ease infinite 1s;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero h1 {
  color: #fff;
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34,122,193,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

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

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: #fff;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-blue {
  background: var(--blue);
  color: #fff;
}

.section-blue h2,
.section-blue h3,
.section-blue h4 {
  color: #fff;
}

.section-blue p {
  color: rgba(255,255,255,0.85);
}

.section-dark {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
}

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

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto;
}

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

.section-blue .section-label {
  color: rgba(255,255,255,0.6);
}

/* --- Service Cards (Home) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-light);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- About / Two-Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col-wide {
  grid-template-columns: 5fr 7fr;
}

.portrait-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.portrait-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.portrait-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--blue);
}

/* Qualifications */
.qual-list {
  margin: 24px 0;
}

.qual-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.qual-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.qual-list li strong {
  color: var(--text-heading);
}

/* Memberships */
.memberships {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.membership-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 6px;
  letter-spacing: 0.02em;
}

/* --- Leistungen / Services List --- */
.leistungen-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.leistung-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.leistung-item:hover {
  box-shadow: var(--shadow-md);
}

.leistung-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leistung-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.leistung-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.leistung-item p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --- Wahlarzt Info / Accordion-style --- */
.info-block {
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
}

.info-block:hover {
  box-shadow: var(--shadow-md);
}

.info-block h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--blue);
}

.info-block p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.info-block ul {
  margin-top: 12px;
}

.info-block ul li {
  position: relative;
  padding: 4px 0 4px 24px;
  font-size: 0.95rem;
}

.info-block ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* --- Bot / Chatbot Page --- */
.bot-page {
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bot-intro {
  padding: 40px 0 24px;
  text-align: center;
}

.bot-intro h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.bot-intro p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.bot-disclaimer {
  background: var(--blue-light);
  border: 1px solid rgba(34,122,193,0.2);
  border-radius: var(--radius);
  padding: 16px 24px;
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: 0.85rem;
  color: var(--text-body);
  text-align: center;
}

.bot-embed {
  flex: 1;
  position: relative;
  min-height: 500px;
}

/* --- Datenschutz / Legal Pages --- */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.25rem;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-light);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-content strong {
  color: var(--text-heading);
}

.legal-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 40px;
}

/* --- News Highlight --- */
.news-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.news-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.news-image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 1;
}

.news-content h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  line-height: 1.35;
}

.news-content p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.news-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.news-links .btn {
  font-size: 0.88rem;
  padding: 10px 22px;
}

@media (max-width: 768px) {
  .news-highlight {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Chatbot Teaser (on About page) --- */
.chatbot-teaser {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: var(--blue-light);
  border-radius: var(--radius);
  border: 1px solid rgba(34,122,193,0.15);
  margin-top: 40px;
}

.chatbot-teaser img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.chatbot-teaser h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.chatbot-teaser p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.chatbot-teaser .btn {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand .logo-text span {
  color: rgba(255,255,255,0.75);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.75);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 140px 0 60px;
  background: var(--bg-light);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .two-col,
  .two-col-wide {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero {
    min-height: auto;
    flex-direction: column;
    padding-top: 80px; /* Platz für den fixed Header */
  }

  .hero-bg {
    position: relative;
    width: 100%;
    padding-top: 66.7%;  /* 1707/2560 – volles Seitenverhältnis */
    background-size: 100% auto;
    background-position: top center;
  }

  .hero-content {
    position: relative;
    padding: 36px 24px 48px;
  }

  /* Revealed: Text-Bereich komplett entfernen statt nur unsichtbar */
  .hero.revealed .hero-content {
    display: none;
  }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; margin-bottom: 28px; }

  .section { padding: 64px 0; }
  .page-header { padding: 120px 0 40px; }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right var(--transition);
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav .nav-link {
    color: var(--text-body);
    padding: 12px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    color: var(--blue);
  }

  .main-nav .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    color: var(--blue);
    border-color: var(--blue);
  }

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

  .leistungen-list {
    grid-template-columns: 1fr;
  }

  .legal-two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .chatbot-teaser {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .page-header h1 { font-size: 2rem; }
  .service-card { padding: 28px 20px; }
}

/* --- Overlay for mobile nav --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}
