/* ============================================================
   Strandpraxis Timmendorfer Strand - gemeinsame Formatdatei
   Gilt fuer alle Seiten. Farben wie bisher:
   Rot #FF0000, Dunkelblau #000080, Dunkelrot #990033, Grau #BDBDBD
   ============================================================ */

* { box-sizing: border-box; }

html { font-size: 100%; }              /* 16 px Grundschrift */

body {
  margin: 0;
  background: #ffffff;
  color: #000080;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

/* Seitenrahmen: auf dem PC hoechstens 1024 px breit,
   auf dem Handy volle Breite mit 16 px Rand */
.seite {
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px 16px 16px;
}

/* ---------- Kopf ---------- */
.logo {
  margin: 0;
  color: #FF0000;
  font-size: 1.9rem;
  font-weight: bold;
  line-height: 1.2;
}
.untertitel {
  margin: 4px 0 0;
  color: #000080;
  font-size: 1.5rem;
  font-weight: bold;
}

/* ---------- Menue ---------- */
.menue {
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.menue li { display: flex; align-items: center; }
.menue li + li::before {            /* grauer Trennstrich wie bisher */
  content: "|";
  color: #BDBDBD;
  margin: 0 8px;
}
.menue a {
  color: #000080;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
}
.menue a:hover { text-decoration: underline; }
.menue a.aktiv { color: #990033; }

/* ---------- Inhalt ---------- */
.arzt { margin: 0 0 18px; }
.arzt h2 {
  margin: 0;
  color: #000080;
  font-size: 1.9rem;               /* gleich gross wie www.strandpraxis.de */
  line-height: 1.2;
}
.arzt p {
  margin: 2px 0 0;
  font-size: 1.2rem;               /* gleich gross wie der Menuetext */
  font-weight: bold;
}
.und { margin: 0 0 6px; font-weight: bold; }

.adresse {
  margin: 22px 0 26px;
  font-style: normal;
  font-weight: bold;
}
/* Telefonnummer: auf dem PC normaler Text, nicht anklickbar */
.adresse a.telefon {
  color: #000080;
  text-decoration: none;
  pointer-events: none;
  cursor: text;
}
.anruf-hinweis { display: none; }

/* Kasten "Aktuelles" */
.aktuelles {
  border-left: 5px solid #990033;
  background: #f7f0f2;
  padding: 14px 18px;
  margin: 0 0 24px;
}
.aktuelles h3 {
  margin: 0 0 10px;
  color: #990033;
  font-size: 1.1rem;
}
.hinweis {
  margin: 0 0 12px;
  font-weight: bold;
}
.hinweis:last-child { margin-bottom: 0; }
.hinweis strong {
  display: block;
  color: #990033;
  font-size: 1.2rem;
}

/* Praxisurlaub: Ueberschrift, darunter die Daten eingerueckt */
.urlaub strong span { display: block; }
.urlaub strong span + span { padding-left: 1.2em; }

/* Seitenueberschrift (Unterseiten) */
.seitentitel {
  margin: 0 0 16px;
  color: #000080;
  font-size: 1.9rem;
  line-height: 1.2;
}

/* Tabelle Oeffnungszeiten */
.zeiten {
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 1.2rem;
  font-weight: bold;
}
.zeiten th,
.zeiten td {
  padding: 10px 0;
  border-bottom: 1px solid #BDBDBD;
  text-align: left;
  vertical-align: top;
}
.zeiten th {
  padding-right: 32px;
  white-space: nowrap;
}
.zeiten .abend { color: #990033; }
.zeiten .zusatz {
  display: block;
  font-size: 1rem;
}

.ohne-termin {
  margin: 0 0 22px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Rechtstexte (Datenschutz, Impressum): normale Schrift, gut lesbar */
.rechtstext { max-width: 820px; }
.rechtstext h2 {
  margin: 32px 0 10px;
  color: #000066;
  font-size: 1.4rem;
}
.rechtstext h3 {
  margin: 22px 0 6px;
  color: #000066;
  font-size: 1.15rem;
}
.rechtstext h4 {
  margin: 16px 0 4px;
  color: #000066;
  font-size: 1rem;
}
.rechtstext p,
.rechtstext ul {
  margin: 0 0 12px;
  color: #000066;
}
.rechtstext ul { padding-left: 1.4em; }
.rechtstext a {
  color: #000080;
  overflow-wrap: anywhere;          /* lange Links brechen auf dem Handy um */
}

/* ---------- Fuss ---------- */
.fuss {
  margin-top: 40px;
  padding-top: 10px;
  border-top: 1px solid #BDBDBD;
  font-size: 0.8rem;
  font-weight: bold;
}

/* ---------- Handy (schmaler als 600 px) ---------- */
@media (max-width: 600px) {
  .logo        { font-size: 1.6rem; }
  .untertitel  { font-size: 1.25rem; }
  .arzt h2     { font-size: 1.6rem; }
  .arzt p      { font-size: 1.1rem; }
  .seitentitel { font-size: 1.6rem; }
  .zeiten      { width: 100%; font-size: 1.1rem; }
  .zeiten th   { padding-right: 16px; }

  /* Menue als grosse Knoepfe zum Antippen */
  .menue { gap: 8px; }
  .menue li + li::before { content: none; }
  .menue li { flex: 1 1 45%; }
  .menue a {
    display: block;
    width: 100%;
    padding: 12px 10px;
    border: 2px solid #000080;
    border-radius: 6px;
    text-align: center;
    font-size: 1.05rem;
  }
  .menue a.aktiv {
    background: #990033;
    border-color: #990033;
    color: #ffffff;
  }

  /* Telefonnummer als grosser Knopf zum Anrufen */
  .adresse a.telefon {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 20px;
    background: #000080;
    color: #ffffff;
    border-radius: 6px;
    text-align: center;
    font-size: 1.3rem;
    pointer-events: auto;
    cursor: pointer;
  }
  .anruf-hinweis {
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
  }
}
