/*
 * Basis-Layout und Farbschema für die Hausarztpraxis Grone‑Süd.
 * Das Stylesheet verwendet CSS‑Variablen für konsistente Farben und Abstände
 * und ist mobile‑first aufgebaut. Breakpoints sorgen dafür, dass das Layout
 * auf größeren Bildschirmen in mehrere Spalten wechselt【813751165396261†L40-L48】【813751165396261†L82-L99】.
 */

:root {
  --color-primary: #004d99;
  --color-secondary: #0072ce;
  --color-accent: #e64c3c;
      /* Custom status colors for open/closed indicator */
      --color-open: #28a745;
      --color-closed: #e63946;
  --color-light: #f5f8fb;
  --color-dark: #0a213a;
  --color-text: #333;
  --font-base: 'Inter', sans-serif;
  --max-width: 1140px;
  --header-height: 64px;
}

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

body {
  font-family: var(--font-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: #fff;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header & Navigation */
.header {
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.2;
}
.logo span {
  font-weight: 400;
  color: var(--color-secondary);
}

.nav {
  display: none;
}
.nav__list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav__list a {
  font-weight: 500;
  color: var(--color-dark);
  transition: color 0.3s;
}
.nav__list a:hover,
.nav__list a:focus {
  color: var(--color-accent);
}
.nav-toggle {
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 1.5rem;
  cursor: pointer;
}
.nav-toggle:focus {
  outline: 2px solid var(--color-accent);
}
.nav-toggle--active {
  color: var(--color-accent);
}

    /* The hamburger icon is drawn using a span and pseudo‑elements to avoid
       relying on external icon fonts. Three horizontal lines are stacked
       using absolute positioning and transforms. */
    .nav-toggle__icon {
      position: relative;
      display: block;
      width: 24px;
      height: 3px;
      background-color: var(--color-dark);
      transition: background-color 0.3s ease;
    }
    .nav-toggle__icon::before,
    .nav-toggle__icon::after {
      content: '';
      position: absolute;
      left: 0;
      width: 24px;
      height: 3px;
      background-color: var(--color-dark);
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    /* Place the top and bottom bars above and below the middle bar */
    .nav-toggle__icon::before {
      transform: translateY(-8px);
    }
    .nav-toggle__icon::after {
      transform: translateY(8px);
    }
    /* When the menu is active, hide the middle bar and rotate the others to form an X */
    .nav-toggle--active .nav-toggle__icon {
      background-color: transparent;
    }
    .nav-toggle--active .nav-toggle__icon::before {
      transform: rotate(45deg);
    }
    .nav-toggle--active .nav-toggle__icon::after {
      transform: rotate(-45deg);
    }

    /* Status indicator for open/closed information */
    .status {
      display: flex;
      align-items: center;
      position: relative;
      margin-left: 1rem;
      cursor: pointer;
    }
    /* Label to show "Geöffnet" or "Geschlossen" with colour coding */
    .status-label {
      display: inline-block;
      padding: 0.15rem 0.6rem;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 600;
      line-height: 1.2;
    }
    .status-open {
      background-color: rgba(40, 167, 69, 0.15);
      color: var(--color-open);
    }
    .status-closed {
      background-color: rgba(230, 57, 70, 0.15);
      color: var(--color-closed);
    }
    .status-tooltip {
      position: absolute;
      top: 140%;
      left: 50%;
      transform: translateX(-50%);
      background-color: #fff;
      color: var(--color-dark);
      border: 1px solid #ccc;
      border-radius: 4px;
      padding: 0.5rem 0.75rem;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      font-size: 0.75rem;
      white-space: nowrap;
      z-index: 100;
    }
    .status-tooltip a {
      color: var(--color-secondary);
    }

    /* Vacation banner displayed when practice is closed for holiday */
    .vacation-banner {
      width: 100%;
      text-align: center;
      background-color: var(--color-accent);
      color: #fff;
      padding: 0.5rem;
      font-weight: 600;
      z-index: 2000;
    }

    /* Admin link in the footer */
    .admin-link {
      color: var(--color-accent);
      font-size: 0.75rem;
      margin-left: 1rem;
    }
    .admin-link:hover,
    .admin-link:focus {
      text-decoration: underline;
    }

    /* Modal overlay and container for admin settings */
    .admin-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 3000;
    }
    .admin-modal {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      padding: 1rem;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      z-index: 3001;
      width: 90%;
      max-width: 420px;
      font-size: 0.9rem;
    }
    .admin-modal h2 {
      margin-top: 0;
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
    }
    .admin-modal input[type="date"] {
      width: 100%;
      padding: 0.25rem;
      margin-top: 0.25rem;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 0.9rem;
    }
    .admin-modal-actions {
      margin-top: 1rem;
      text-align: right;
    }
    .admin-modal-actions .btn {
      font-size: 0.8rem;
      padding: 0.4rem 0.8rem;
    }

/* Mobile navigation open state */
.nav--open {
  display: block;
  position: absolute;
  top: var(--header-height);
  right: 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------
   Reviews Section
   -------------------------------------------------------- */
.reviews {
  background-color: var(--color-light);
  padding: 2rem 0;
  text-align: center;
}
.reviews h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}
.reviews__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  font-size: 0.95rem;
  color: var(--color-dark);
}
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.rating__stars i {
  /* Use Google review star color (yellow) instead of the site accent colour. This
     makes the Bewertungen‑Sterne sofort als Bewertungsindikator erkennbar. */
  color: #ffc107;
  margin-right: 0.1rem;
  font-size: 1.2rem;
}
.rating__value {
  font-weight: 600;
  color: var(--color-dark);
}
.rating__count {
  font-size: 0.85rem;
  color: var(--color-dark);
}
.reviews__link {
  display: inline-block;
  margin: 0 auto;
  background-color: var(--color-secondary);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}
.reviews__link:hover,
.reviews__link:focus {
  background-color: var(--color-accent);
  color: #fff;
}
.nav--open .nav__list {
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  padding: 4rem 0 2rem;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
.hero__content {
  text-align: center;
  max-width: 100%;
}
.hero__content h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}
.hero__content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 45ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.hero__icon i {
  font-size: 6rem;
  opacity: 0.25;
}

/* Override icon styling when using an image instead */
.hero__welcome-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}
.hero__welcome-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}
.btn--primary {
  background-color: var(--color-accent);
  color: #fff;
}
.btn--primary:hover,
.btn--primary:focus {
  background-color: #c0392b;
}
.btn--secondary {
  background-color: var(--color-secondary);
  color: #fff;
}
.btn--secondary:hover,
.btn--secondary:focus {
  background-color: var(--color-primary);
}

/* Services overview */
.services {
  background-color: var(--color-light);
  padding: 3rem 0;
  text-align: center;
}
.services h2 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--color-dark);
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.service {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* iPad-spezifische Verbesserungen für Services */
@media (min-width: 600px) and (max-width: 1024px) {
  .service {
    padding: 2.5rem; /* Mehr Innenabstand auf iPad */
    margin: 0 15px; /* Mehr Abstand vom Rand */
  }
}
.service__icon {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.service h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--color-primary);
}
.service p {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Treatment Spectrum */
.treatment-spectrum {
  padding: 3rem 0;
}

.treatment-spectrum h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-dark);
  font-size: 1.6rem;
}

.spectrum {
  padding: 3rem 0;
}
.spectrum h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-dark);
  font-size: 1.6rem;
}
.spectrum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  /* Verbesserte Zentrierung und Padding für mobile Geräte */
  padding: 0 15px;
}
.spectrum-card {
  background-color: var(--color-light);
  padding: 2rem 1.8rem; /* Mehr Innenabstand für bessere Sichtbarkeit der blauen Linie */
  border-left: 5px solid var(--color-secondary);
  border-radius: 4px;
  margin: 0 auto; /* Zentriere die Karten */
  max-width: 100%; /* Verhindere Überlauf */
}

/* Mobile-spezifische Anpassungen für Behandlungsspektrum */
@media (max-width: 767px) {
  .spectrum-grid {
    padding: 0 20px; /* Mehr Abstand vom Rand auf mobilen Geräten */
  }
  .spectrum-card {
    padding: 1.8rem 1.5rem; /* Angepasster Innenabstand für mobile */
    margin: 0 5px; /* Kleiner Abstand vom Bildschirmrand */
  }
}

/* iPad-spezifische Anpassungen für Behandlungsspektrum */
@media (min-width: 768px) and (max-width: 1024px) {
  .spectrum-grid {
    padding: 0 30px; /* Mehr Abstand vom Rand auf iPad */
  }
  .spectrum-card {
    padding: 2.2rem 2rem; /* Mehr Innenabstand auf iPad */
    margin: 0 15px; /* Abstand vom Rand */
  }
}
.spectrum-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.spectrum-card ul {
  list-style: none;
  padding-left: 0;
}
.spectrum-card li {
  margin-bottom: 0.25rem;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-text);
}
.spectrum-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

/* Team section */
.team {
  background-color: var(--color-light);
  padding: 3rem 0;
}
.team h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-dark);
  font-size: 1.6rem;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
}
.team-member {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 300px;
}
.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.team-member h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
  color: var(--color-primary);
}
.team-member p {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Contact section */
.contact {
  padding: 3rem 0;
  background-color: #fff;
}
.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  color: var(--color-dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  /* Verbesserte Zentrierung für alle Geräte */
  padding: 0 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.contact-item {
  text-align: center; /* Standardmäßig zentriert */
  padding: 1.5rem;
  background-color: var(--color-light);
  border-radius: 8px;
  margin: 0 auto;
}
.contact-item h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center; /* Zentriere die Überschriften */
  gap: 0.5rem;
}
.contact-item p,
.contact-item li {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.no-termine {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Mobile-spezifische Anpassungen für Kontakt */
@media (max-width: 767px) {
  .contact-grid {
    padding: 0 15px; /* Weniger Padding auf sehr kleinen Bildschirmen */
  }
  .contact-item {
    text-align: center; /* Auch auf Mobile zentriert für bessere Optik */
    padding: 1.2rem;
  }
  .contact-item h3 {
    justify-content: center; /* Auch auf Mobile zentriert */
  }
}

/* iPad-spezifische Anpassungen für Kontakt */
@media (min-width: 768px) and (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr; /* Zwei Spalten auf iPad */
    gap: 2.5rem;
    padding: 0 40px;
    max-width: 900px;
  }
  .contact-item {
    padding: 2rem;
  }
}

/* Desktop-Anpassungen für Kontakt */
@media (min-width: 1025px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr; /* Zwei Spalten auf Desktop */
    gap: 3rem;
    padding: 0 50px;
  }
  .contact-item {
    padding: 2.5rem;
  }
}

.contact-form {
  background-color: var(--color-light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.contact-form h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--color-dark);
}
.form-row {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}
.form-row label {
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--color-dark);
}
.form-row input,
.form-row select,
.form-row textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px rgba(0, 114, 206, 0.2);
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer__nav a {
  color: #fff;
  margin: 0 0.5rem;
  font-size: 0.9rem;
}
.footer__nav a:hover {
  color: var(--color-accent);
}
.footer p {
  font-size: 0.8rem;
  color: #ddd;
}

/* Directions (Anfahrt) section */
.directions {
  padding: 3rem 0;
  background-color: var(--color-light);
  text-align: center;
}
.directions h2 {
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  font-size: 1.6rem;
}
.directions p {
  max-width: 45ch;
  margin: 0 auto 1rem;
  font-size: 1rem;
  color: var(--color-text);
}
.map-container {
  margin-top: 1.5rem;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Adjust hero image size on larger screens */
@media (min-width: 768px) {
  .hero__image img {
    max-width: 350px;
  }
}

/* Media Queries - Mobile-First Approach */
@media (min-width: 480px) {
  /* Kleine Verbesserungen für größere Mobile-Bildschirme */
  .service-grid {
    grid-template-columns: 1fr; /* Bleibt einspaltg auf Mobile */
  }
  .spectrum-grid {
    grid-template-columns: 1fr; /* Bleibt einspaltg auf Mobile */
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* Maximal 2 Spalten auf Mobile */
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  /* Tablet-Breakpoint - Jetzt sicher für mehrere Spalten */
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .spectrum-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Tablet */
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Tablet */
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  /* Desktop-Breakpoint - Volle Spaltenanzahl */
  .spectrum-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten auf Desktop */
  }
  .team-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten nur auf Desktop */
  }
}

@media (min-width: 768px) {
  .nav {
    display: block !important;
  }
  .nav-toggle {
    display: none;
  }
  .nav--open {
    position: static;
    box-shadow: none;
  }
  .nav__list {
    flex-direction: row;
  }
  .hero__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__icon {
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .hero__icon i {
    font-size: 8rem;
    opacity: 0.15;
  }
  .spectrum-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Enlarge the welcome image on larger screens */
  .hero__welcome-image img {
    max-width: 700px;
  }
}

@media (min-width: 1024px) {
  .spectrum-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__content h1 {
    font-size: 2.4rem;
  }
  .hero__content p {
    font-size: 1.1rem;
  }

  .hero__welcome-image img {
    max-width: 800px;
  }
}
/* Bestellungen Section */
.bestellungen {
  padding: 4rem 0;
  background-color: var(--color-light);
}

.bestellungen__intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.bestellungen__hinweise {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--color-primary);
}

.bestellungen__hinweise h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bestellungen__hinweise ul {
  list-style: none;
  padding: 0;
}

.bestellungen__hinweise li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.bestellungen__hinweise li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Bestellformular */
.bestellungen-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bestellungen-form h3 {
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.form-section-info {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  font-style: italic;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 77, 153, 0.1);
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr 100px;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .form-row-group {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Medikamenten-Gruppen */
.medication-group {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
}

.medication-group h5 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Überweisungs-Gruppen */
.referral-group {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
}

.referral-group h5 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Checkbox-Zeile */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-row input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-row label {
  margin-bottom: 0;
  font-weight: normal;
  line-height: 1.5;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .bestellungen-form {
    padding: 1.5rem;
  }
  
  .medication-group,
  .referral-group {
    padding: 1rem;
  }
  
  .form-section h4 {
    font-size: 1.1rem;
  }
}

/* Hover-Effekte für bessere UX */
.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
  border-color: var(--color-secondary);
}

/* Placeholder-Styling */
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #999;
  font-style: italic;
}

/* Button-Styling für das Bestellformular */
.bestellungen-form .btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .bestellungen-form .btn {
    width: auto;
    min-width: 200px;
  }
}



/* Urlaub Section */
.urlaub {
  padding: 80px 0;
  background: #f8f9fa;
}

.urlaub h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c5aa0;
  font-size: 2.5rem;
  font-weight: 700;
}

.urlaub__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.urlaub__content {
  max-width: 800px;
  margin: 0 auto;
}

.urlaub__list {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.urlaub__item {
  padding: 25px 30px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.urlaub__item:last-child {
  border-bottom: none;
}

.urlaub__item:hover {
  background-color: #f8f9fa;
}

.urlaub__date {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
  color: #2c5aa0;
  font-size: 1.1rem;
}

.urlaub__date i {
  margin-right: 12px;
  font-size: 1.2rem;
}

.urlaub__info {
  color: #666;
  line-height: 1.6;
}

.urlaub__info p {
  margin: 0;
}

.urlaub__note {
  background: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.urlaub__note i {
  color: #2196f3;
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.urlaub__note p {
  margin: 0;
  color: #1565c0;
  line-height: 1.6;
}

/* Urlaub Item Varianten */
.urlaub__item--current {
  background-color: #fff3e0;
  border-left: 4px solid #ff9800;
}

.urlaub__item--upcoming {
  background-color: #f3e5f5;
  border-left: 4px solid #9c27b0;
}

/* Mobile Anpassungen für Urlaub */
@media (max-width: 768px) {
  .urlaub {
    padding: 60px 0;
  }
  
  .urlaub h2 {
    font-size: 2rem;
  }
  
  .urlaub__intro {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .urlaub__item {
    padding: 20px;
  }
  
  .urlaub__date {
    font-size: 1rem;
  }
  
  .urlaub__note {
    padding: 15px;
    flex-direction: column;
    gap: 10px;
  }
  
  .urlaub__note i {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .urlaub__item {
    padding: 15px;
  }
  
  .urlaub__date {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .urlaub__date i {
    margin-right: 8px;
  }
}


/* Dynamisches Medikamenten-System */
.medication-group {
  position: relative;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #2c5aa0;
  transition: all 0.3s ease;
}

.medication-group:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.medication-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.medication-header h5 {
  margin: 0;
  color: #2c5aa0;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-remove-medication {
  background: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-remove-medication:hover {
  background: #c82333;
  transform: translateY(-1px);
}

.btn-remove-medication i {
  font-size: 0.8rem;
}

.add-medication-container {
  text-align: center;
  margin-top: 20px;
  padding: 15px 0;
}

.btn-add-medication {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
  text-transform: none;
  letter-spacing: 0.5px;
  min-height: 50px;
  margin: 20px 0;
  width: auto;
  min-width: 280px;
}

.btn-add-medication:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-add-medication:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-add-medication i {
  font-size: 0.9rem;
}

/* Animation für neue Medikamente */
.medication-group.medication-new {
  animation: slideInFromTop 0.4s ease-out;
  border-left-color: #28a745;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
  }
}

/* Animation für entfernte Medikamente */
.medication-group.medication-removing {
  animation: slideOutToTop 0.3s ease-in forwards;
}

@keyframes slideOutToTop {
  from {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Mobile Optimierungen für Medikamenten-System */
@media (max-width: 768px) {
  .medication-group {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .medication-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .btn-remove-medication {
    align-self: flex-end;
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .btn-add-medication {
    padding: 14px 20px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
  }
  
  .add-medication-container {
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .medication-group {
    padding: 12px;
    margin-bottom: 15px;
  }
  
  .medication-header h5 {
    font-size: 1rem;
  }
  
  .btn-remove-medication {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  
  .btn-add-medication {
    padding: 12px 16px;
    font-size: 1rem;
  }
}

/* Touch-optimierte Buttons für Mobile */
@media (max-width: 768px) {
  .btn-add-medication,
  .btn-remove-medication {
    min-height: 44px; /* Apple's empfohlene Touch-Größe */
    touch-action: manipulation;
  }
}

/* Verbesserter Fokus für Accessibility */
.btn-add-medication:focus,
.btn-remove-medication:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Smooth Scroll für neue Medikamente */
.medication-group[data-med-index]:target {
  scroll-margin-top: 100px;
}



/* Telefonassistent Hinweis */
.telefonassistent-hinweis {
  background: linear-gradient(135deg, #e8f4fd, #f0f8ff);
  border: 2px solid #0072ce;
  border-radius: 12px;
  padding: 25px;
  margin: 25px 0;
  box-shadow: 0 4px 12px rgba(0, 114, 206, 0.15);
}

.telefonassistent-content {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.telefonassistent-icon {
  background: linear-gradient(135deg, #0072ce, #004d99);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 114, 206, 0.3);
}

.telefonassistent-text {
  flex: 1;
}

.telefonassistent-text h3 {
  color: #004d99;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.telefonnummer-container {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.telefonnummer {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 350px;
}

.telefonnummer:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.telefonnummer i {
  color: #28a745;
  font-size: 1.2rem;
}

.telefonnummer .nummer {
  font-size: 1.4rem;
  font-weight: 700;
  color: #004d99;
  letter-spacing: 1px;
}

.telefonnummer .service {
  color: #666;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Mobile Optimierung für Telefonassistent */
@media (max-width: 768px) {
  .telefonassistent-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .telefonassistent-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .telefonassistent-text h3 {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .telefonnummer-container {
    margin-top: 10px;
  }
  
  .telefonnummer {
    flex-direction: column;
    gap: 8px;
    padding: 12px 15px;
    text-align: center;
  }
  
  .telefonnummer .nummer {
    font-size: 1.3rem;
  }
}

/* iPad und Tablet Optimierung für Telefonassistent */
@media (min-width: 769px) and (max-width: 1024px) {
  .telefonassistent-hinweis {
    background: linear-gradient(135deg, #e8f4fd, #f0f8ff);
    border: 2px solid #0072ce;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 114, 206, 0.15);
  }
  
  .telefonassistent-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-bottom: 25px;
  }
  
  .telefonassistent-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    margin: 0 auto;
  }
  
  .telefonassistent-text h3 {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .telefonnummer-container {
    margin-top: 20px;
  }
  
  .telefonnummer {
    padding: 18px 25px;
    max-width: 400px;
    margin: 0 auto;
    border: 2px solid #e8f4fd;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 114, 206, 0.1);
  }
  
  .telefonnummer .nummer {
    font-size: 1.5rem;
  }
  
  .telefonnummer .service {
    font-size: 0.95rem;
  }
}

/* Desktop Optimierung für Telefonassistent */
@media (min-width: 1025px) {
  .telefonassistent-content {
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
  }
  
  .telefonassistent-text {
    flex: 1;
    text-align: left;
  }
  
  .telefonnummer-container {
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .telefonassistent-hinweis {
    padding: 20px 15px;
    margin: 20px 0;
  }
  
  .telefonnummer .nummer {
    font-size: 1.2rem;
  }
  
  .telefonassistent-text h3 {
    font-size: 1rem;
  }
}



/* Tablet-spezifische Verbesserungen für bessere Seitenränder */
@media (min-width: 600px) and (max-width: 1024px) {
  /* Container mit mehr Padding auf Tablets */
  .container {
    width: 85%;
    padding: 0 30px; /* Erhöht von 20px auf 30px für bessere Abstände */
  }
  
  /* Behandlungsspektrum - bessere Seitenränder */
  .treatment-spectrum {
    padding: 80px 0;
  }
  
  .treatment-spectrum .container {
    padding: 0 40px; /* Erhöht von 30px auf 40px */
  }
  
  /* Spectrum Cards - mehr Abstand vom Rand */
  .spectrum-card {
    margin: 0 15px 1.5rem 15px; /* Erhöht von 10px auf 15px */
    border-left-width: 6px; /* Dickere blaue Linie für bessere Sichtbarkeit */
    padding: 2rem; /* Mehr Innenabstand */
  }
  
  /* Services Bereich - bessere Seitenränder */
  .services {
    padding: 80px 0;
  }
  
  .services .container {
    padding: 0 40px; /* Erhöht von 30px auf 40px */
  }
  
  /* Team Bereich - bessere Seitenränder */
  .team {
    padding: 80px 0;
  }
  
  .team .container {
    padding: 0 30px;
  }
  
  /* Reviews Bereich - bessere Seitenränder */
  .reviews {
    padding: 80px 0;
  }
  
  .reviews .container {
    padding: 0 30px;
  }
  
  /* Bestellungen Bereich - bessere Seitenränder */
  .bestellungen {
    padding: 80px 0;
  }
  
  .bestellungen .container {
    padding: 0 30px;
  }
  
  /* Kontakt Bereich - bessere Seitenränder */
  .contact {
    padding: 80px 0;
  }
  
  .contact .container {
    padding: 0 30px;
  }
  
  /* Urlaubsbereich - bessere Seitenränder */
  .urlaub {
    padding: 80px 0;
  }
  
  .urlaub .container {
    padding: 0 30px;
  }
}

/* Spezielle Anpassungen für iPad und ähnliche Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Noch mehr Padding für größere Tablets */
  .container {
    width: 80%;
    padding: 0 40px;
  }
  
  /* Spectrum Cards - noch dickere blaue Linien */
  .spectrum-card {
    border-left-width: 8px;
    margin: 0 15px 1.5rem 15px;
    padding: 2rem;
  }
  
  /* Bessere Abstände für alle Hauptbereiche */
  .services .container,
  .treatment-spectrum .container,
  .team .container,
  .reviews .container,
  .bestellungen .container,
  .contact .container,
  .urlaub .container {
    padding: 0 50px;
  }
}



/* Telefon-Dialog Modal */
.phone-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.phone-dialog-overlay.show {
  opacity: 1;
  visibility: visible;
}

.phone-dialog {
  background: white;
  border-radius: 16px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.phone-dialog-overlay.show .phone-dialog {
  transform: scale(1);
}

.phone-dialog-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.phone-dialog h3 {
  color: #004d99;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.phone-dialog-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #28a745;
  margin: 15px 0;
  letter-spacing: 2px;
}

.phone-dialog-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.phone-dialog-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.phone-dialog-btn--call {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.phone-dialog-btn--call:hover {
  background: linear-gradient(135deg, #218838, #1ea085);
  transform: translateY(-2px);
}

.phone-dialog-btn--cancel {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.phone-dialog-btn--cancel:hover {
  background: #e9ecef;
  color: #495057;
}

/* Mobile Anpassungen für Telefon-Dialog */
@media (max-width: 480px) {
  .phone-dialog {
    padding: 25px 20px;
    margin: 20px;
  }
  
  .phone-dialog-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .phone-dialog h3 {
    font-size: 1.2rem;
  }
  
  .phone-dialog-number {
    font-size: 1.6rem;
  }
  
  .phone-dialog-buttons {
    flex-direction: column;
    gap: 10px;
  }
}



/* ========================================================================
   DESKTOP RESPONSIVE FIXES - KRITISCH FÜR NAVIGATION UND LAYOUT
   ======================================================================== */

/* Desktop Navigation - KRITISCH: Navigation war nicht sichtbar */
@media (min-width: 769px) {
  .nav {
    display: block !important; /* Navigation auf Desktop anzeigen */
  }
  
  .nav__list {
    display: flex;
    gap: 2rem; /* Ausreichend Abstand zwischen Menüpunkten */
    align-items: center;
  }
  
  .nav__list a {
    white-space: nowrap; /* Verhindert Zeilenumbruch */
    padding: 0.5rem 1rem; /* Ausreichend Klickbereich */
    font-size: 0.95rem; /* Optimale Schriftgröße */
  }
  
  .nav-toggle {
    display: none; /* Hamburger-Menü auf Desktop verstecken */
  }
  
  /* Container-Breiten für Desktop optimieren */
  .container {
    width: 90%;
    max-width: var(--max-width);
    padding: 0 20px;
  }
  
  /* Header-Layout für Desktop */
  .header__inner {
    padding: 0 20px;
  }
}

/* Große Desktop-Bildschirme - Weitere Optimierung */
@media (min-width: 1200px) {
  .nav__list {
    gap: 2.5rem; /* Noch mehr Abstand auf großen Bildschirmen */
  }
  
  .nav__list a {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
  
  .container {
    width: 85%;
    padding: 0 30px;
  }
  
  .header__inner {
    padding: 0 30px;
  }
}

/* iPad Pro und ähnliche große Tablets - Spezielle Behandlung */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__list {
    gap: 1.8rem; /* Angepasster Abstand für iPad Pro */
  }
  
  .nav__list a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Sicherstellung Mobile-First bleibt intakt */
@media (max-width: 768px) {
  .nav {
    display: none; /* Navigation auf Mobile versteckt */
  }
  
  .nav-toggle {
    display: block; /* Hamburger-Menü auf Mobile anzeigen */
  }
  
  /* Mobile Navigation wenn geöffnet */
  .nav--open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  
  .nav--open .nav__list {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .nav--open .nav__list a {
    display: block;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
  }
}

/* Zusätzliche Sicherheitsmaßnahmen gegen Overflow */
@media (min-width: 769px) {
  /* Verhindert horizontales Scrollen */
  body {
    overflow-x: hidden;
  }
  
  /* Stellt sicher, dass alle Container korrekt begrenzt sind */
  .container,
  .header__inner,
  .nav__list {
    max-width: 100%;
    overflow: hidden;
  }
  
  /* Flexbox-Optimierung für Navigation */
  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
  
  .nav__list {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

/* Notfall-Fixes für sehr schmale Desktop-Fenster */
@media (min-width: 769px) and (max-width: 900px) {
  .nav__list {
    gap: 1.2rem; /* Reduzierter Abstand für schmale Desktop-Fenster */
  }
  
  .nav__list a {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }
}


/* Schwebender Sprach-Button */
.floating-language-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0072ce, #004d8c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 114, 206, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: languageFloat 3s ease-in-out infinite;
}

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

.floating-language-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 114, 206, 0.4);
    animation-play-state: paused;
}

.language-icon {
    font-size: 24px;
    color: white;
}

.language-menu {
    position: absolute;
    bottom: 70px;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 160px;
    display: none;
    z-index: 1001;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background-color: #f0f8ff;
}

.flag {
    font-size: 18px;
    margin-right: 12px;
}

.lang-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Mobile Optimierung für Sprach-Button */
@media (max-width: 768px) {
    .floating-language-button {
        width: 50px;
        height: 50px;
        bottom: 80px;
        left: 15px;
    }

    .language-icon {
        font-size: 20px;
    }

    .language-menu {
        bottom: 60px;
        left: -10px;
        min-width: 140px;
    }

    .language-option {
        padding: 10px 15px;
    }

    .flag {
        font-size: 16px;
        margin-right: 10px;
    }

    .lang-name {
        font-size: 13px;
    }
}


/* Sofortige Schließung Banner (Roter Balken) */
.immediate-closure-banner {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
    animation: pulse-red 2s infinite;
}

.immediate-closure-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.closure-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.closure-content i {
    font-size: 1.5rem;
    color: #ffeb3b;
    animation: blink 1s infinite;
}

.closure-text {
    flex: 1;
    max-width: 600px;
}

.closure-text strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.25rem;
}

.closure-text small {
    opacity: 0.9;
    font-size: 0.9rem;
}

@keyframes pulse-red {
    0%, 100% { 
        background: linear-gradient(135deg, #f44336, #d32f2f); 
    }
    50% { 
        background: linear-gradient(135deg, #e53935, #c62828); 
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Mobile Optimierung für Schließungs-Banner */
@media (max-width: 768px) {
    .immediate-closure-banner {
        padding: 0.75rem 0;
    }
    
    .closure-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .closure-content i {
        font-size: 1.25rem;
    }
    
    .closure-text strong {
        font-size: 1.1rem;
    }
}

