/* Wiederherstellung physiotherapiebrueheim.de – Ergänzungen zum Jimdo-Layout (ohne web.js), mobile Ansicht */
h1.pb-h2look { font: normal normal normal 18px/140% Helvetica, Arial, sans-serif; color: #666666; margin: 0; }
h1.pb-jobtitle { font: bold 18px/180% Arial, Helvetica, sans-serif; color: #666666; margin: 0; }
#sidebar .pb-h1look { font: normal normal normal 25px/140% Helvetica, Arial, sans-serif; color: #EEEEEE; margin: 0; }
.pb-intro p { margin: 0 0 10px 0; }
#content img { max-width: 100%; height: auto; }
.cc-m-form textarea, .cc-m-form input[type=text], .cc-m-form input[type=email] { box-sizing: border-box; max-width: 100%; }
.pb-linkbtn { padding: 0; border: 0; background: none; font: inherit; color: #00889c; text-decoration: underline; cursor: pointer; }
.pb-form-note { margin: 10px 0 0 0; color: #24509E; font-weight: bold; }

/* Galerie „cool“: ohne Jimdo-Skript in festen Spalten */
.cc-m-gallery-cool { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cc-m-gallery-cool > div { float: none; }
.cc-m-gallery-cool-item a { display: block; }
.cc-m-gallery-cool img { display: block; width: 100%; height: auto !important; aspect-ratio: 597 / 400; }

/* Karte (OpenStreetMap statt Google Maps) */
.pb-mapbox { width: 100%; height: 400px; margin: 0 0 6px 0; background: #e8eef7; }
.pb-mapbox iframe { display: block; width: 100%; height: 100%; border: 0; }
.pb-maplink { margin: 0 0 14px 0; font-size: 13px; }

/* Lightbox */
.pb-lb { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10200; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .85); }
.pb-lb[hidden] { display: none; }
.pb-lb img { max-width: 92vw; max-height: 84vh; background: #fff; box-shadow: 0 0 24px rgba(0, 0, 0, .6); }
.pb-lb button { position: absolute; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .6); border-radius: 4px; background: rgba(0, 0, 0, .5); color: #fff; font: 28px/40px Arial, Helvetica, sans-serif; cursor: pointer; }
.pb-lb button:hover, .pb-lb button:focus { background: #24509E; }
.pb-lb .pb-lb-close { top: 12px; right: 12px; }
.pb-lb .pb-lb-prev { top: 50%; left: 12px; margin-top: -22px; }
.pb-lb .pb-lb-next { top: 50%; right: 12px; margin-top: -22px; }
.pb-lb .pb-lb-cap { position: absolute; left: 60px; right: 60px; bottom: 14px; margin: 0; color: #fff; font: 14px/1.4 Arial, Helvetica, sans-serif; text-align: center; }

/* Tabellen (Cookie-Richtlinie) nie breiter als der Inhalt */
#content_area table { max-width: 100%; }

/* Breiten unter 1040px: Raster fließend */
@media (max-width: 1039px) {
  div#navigation, div#emotion, div#wrapper, div#footer-gutter { width: auto; max-width: 990px; box-sizing: border-box; }
  div#wrapper { padding: 20px 16px; }
  div#footer-gutter { padding: 0 16px; }
  div#content { width: calc(100% - 236px); }
}

/* Telefon / Tablet hochkant */
@media (max-width: 799px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  div#navigation { border-left: 0; }
  ul.mainNav1 { display: flex; flex-wrap: wrap; border-left: 1px solid #dddddd; }
  ul.mainNav1 li { display: block; flex: 1 1 auto; }
  ul.mainNav1 li a, ul.mainNav1 li a:visited { float: none; padding: 11px 10px; font-size: 15px; }
  div#header { border-top-width: 0; }
  #emotion-header { width: 100% !important; height: auto !important; aspect-ratio: 770 / 170; }
  #emotion-header-img { display: block; width: 100%; height: auto; }
  #emotion-header-title { font-size: 5.97vw !important; }
  div#content, div#sidebar { float: none; width: auto; }
  div#sidebar { margin-top: 16px; }
  div#footer { height: auto; }
  body, p, table, td { font-size: 15px; }
  .cc-m-gallery-cool { grid-template-columns: repeat(2, 1fr); }
  .cc-m-form input[type=text], .cc-m-form input[type=email] { width: 100% !important; }
  .pb-mapbox { height: 300px; }
  #contentfooter, #contentfooter a { font-size: 13px; line-height: 1.8; }
  #contentfooter div.leftrow { float: none; width: auto; }
  .pb-lb button { width: 40px; height: 40px; line-height: 36px; }
  #content_area table { width: 100%; table-layout: fixed; }
  #content_area th, #content_area td { overflow-wrap: anywhere; vertical-align: top; }
}
/* schmale Telefone: Bild mit Text untereinander statt Textspalte neben dem Bild */
@media (max-width: 480px) {
  .j-textWithImage .cc-imagewrapper { float: none !important; width: auto; max-width: 100%; margin: 0 0 10px 0 !important; text-align: left; }
}
