/* mobile.css – Ergänzungen der Wiederherstellung (zuletzt geladen). Desktop-Darstellung bleibt unverändert. */
.header-img img { height: auto; }
.main p, .main li, .main td, .main h1, .main h2, .main h3 { overflow-wrap: break-word; }
.main p a, .main li a { overflow-wrap: anywhere; }
.wpcf7-form-control-wrap { display: block; max-width: 100%; }
.wpcf7 input, .wpcf7 textarea { max-width: 100%; }
.wpcf7-not-valid-tip { color: #c0262d; font-size: 14px; font-weight: 400; display: block; margin-top: 4px; letter-spacing: 0; }
.wpcf7 form .wpcf7-response-output { margin: 1em 0 0; font-size: 14px; }
/* Team-Karussell: Namen unter den Bildern */
.team-2 .flexslider { margin: 0 0 40px; background: transparent; border: 0; box-shadow: none; }
.team-2 .flexslider .caption { display: block; padding: 8px 0 0 !important; color: #333; letter-spacing: .3px; }
.team-2 .flexslider .caption strong { color: #0075bf; }
/* Seite 404 */
.liste-404 { margin: 0 0 1em 1.2em; padding: 0; }
.liste-404 li { margin: 0 0 .4em; }
@media only screen and (max-width: 767px) {
  .main img, .main iframe, .main video { max-width: 100%; }
  .wp-caption { max-width: 100%; }
}
/* Kontakt-Widget auf Unterseiten (id mit typografischen Anführungszeichen, ohne blaue Box): weiße Schrift war unsichtbar */
.widgets_on_page:not(#Kontakt) span[style*="color: #ffffff"], .widgets_on_page:not(#Kontakt) span[style*="color:#ffffff"] { color: inherit !important; }
.intro-404 { margin-top: 24px !important; }
/* Kontakt & Anfahrt: rechte Spalte (Kontakt, Karte, Videosprechstunde) ist höher als das Formular —
   statt position:absolute als Flex-Spalte, damit sie den Footer nicht überdeckt (Darstellung sonst gleich) */
@media only screen and (min-width: 781px) {
  #pl-71 #first .panel-grid-cell:first-child { width: auto !important; flex: 1 1 auto; padding-right: 45px !important; }
  #pl-71 #first .panel-grid-cell:last-child { position: relative !important; right: auto; flex: 0 0 300px; width: 300px; }
}
/* Kontrast: Grau des Themes #787878 (4,41:1) → #767676 (4,54:1), optisch gleich */
h1 { color: #767676; }
.nav-container nav li a { color: #767676; }
/* Kontakt & Anfahrt: Karte ohne negativen Abstand (gedacht für die blaue Box der Startseite) */
@media only screen and (min-width: 781px) { #pl-71 .map-kontakt { margin-top: 0 !important; } }
/* Bild im Beitragstext nicht über die natürliche Breite hinaus strecken */
.main img.restored-natural { width: auto !important; max-width: 100%; height: auto; }
/* Hauptmenü: wenn die Punkte umbrechen (ca. 941–1330 px), wächst die Leiste mit statt die zweite Zeile überstehen zu lassen */
@media only screen and (min-width: 941px) { .nav-container { height: auto; min-height: 50px; } }
/* Unterseiten: Kontakt-Widget deckt die Trennlinie von #first ab (wie die blaue Box der Startseite) */
.widgets_on_page:not(#Kontakt) { background: #fff; position: relative; }
