/* 123DPF – gemeinsame Anpassungen für alle acht Sprachversionen. */
/* Zukünftige Größen-/Farbänderungen bitte nur in dieser Datei vornehmen. */
header .lang-flag,
header img.lang-flag,
header .languages img.lang-flag,
header .language-switcher img.lang-flag,
header .language-options img.lang-flag,
header .options img.lang-flag {
  display: inline-block !important;
  width: 24px !important;
  height: 16px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  object-fit: cover !important;
  flex: 0 0 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  border-radius: 2px !important;
}
header .languages summary,
header .language-switcher summary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  white-space: nowrap !important;
}
header .languages .options a,
header .language-switcher .language-options a {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 7px 10px !important;
  min-height: 34px !important;
}
header .languages .options,
header .language-switcher .language-options {
  max-height: 65vh !important;
  overflow-y: auto !important;
  min-width: 180px !important;
}
header .languages,
header .language-switcher { max-width: 100% !important; }


/* Anfahrt: vier Originalfotos und gut lesbare Schrittbeschriftungen.
   Die Standard-Aussenabstaende von <figure> verursachten schmale Bilder. */
.weg-grid > figure.weg-karte {
  margin: 0;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.weg-grid > figure.weg-karte > a {
  display: block;
  width: 100%;
}
.weg-grid > figure.weg-karte img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.weg-grid > figure.weg-karte figcaption {
  display: block;
  padding: 12px 2px 0;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.weg-grid > figure.weg-karte figcaption strong {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 6px;
  color: #192228;
}
.weg-grid > figure.weg-karte figcaption span {
  display: block;
  font-size: 16px;
  line-height: 1.55;
  color: #5e6870;
}
@media (max-width: 760px) {
  .weg-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    width: 100%;
  }
  .weg-grid > figure.weg-karte { margin: 0; }
}

/* Mobile: kompakter Kopfbereich und klare Kontakt-Prioritaet.
   Nur auf kleinen Bildschirmen; die Sprachwahl bleibt erreichbar. */
@media (max-width: 650px) {
  header.site-header {
    padding: 6px 10px 9px !important;
  }
  header.site-header .site-logo {
    width: min(180px, 55vw) !important;
    max-width: 180px !important;
    margin: 0 auto 3px !important;
  }
  header.site-header .site-logo img {
    max-height: 60px !important;
  }
  header.site-header .site-menu {
    gap: 3px 8px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }
  header.site-header .site-menu a:not(.site-wa):not(.site-inquiry) {
    padding: 7px 5px !important;
    min-height: 36px !important;
  }
  header.site-header .site-menu .site-wa,
  header.site-header .site-menu .site-inquiry {
    padding: 9px 12px !important;
    min-height: 42px !important;
    font-size: 13px !important;
  }
  header.site-header .site-menu .site-inquiry {
    order: 1;
  }
  header.site-header .site-menu .site-wa {
    order: 2;
  }
  header.site-header .language-switcher {
    margin: 3px auto 0 !important;
  }
  header.site-header .language-switcher summary {
    min-height: 36px !important;
    padding: 5px 10px !important;
    font-size: 12px !important;
  }
  .hero {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
  .hero .actions {
    gap: 10px !important;
  }
  .hero .actions .btn {
    min-height: 46px !important;
    padding: 10px 15px !important;
  }
}

/* Startseite: roter, ausgefuellter Telefonhoerer, gleich gross wie WhatsApp-Icon.
   Funktion und Beschriftung des Anrufbuttons bleiben unveraendert. */
.whatsapp-fast .wa-btn svg {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
}
.whatsapp-fast .phone-cta svg {
  display: none !important;
}
.whatsapp-fast .phone-cta::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23e11927%22%20d%3D%22M6.62%2010.79a15.05%2015.05%200%200%200%206.59%206.59l2.2-2.2a1%201%200%200%201%201.02-.24c1.12.37%202.32.57%203.57.57a1%201%200%200%201%201%201V20a1%201%200%200%201-1%201C10.61%2021%203%2013.39%203%204a1%201%200%200%201%201-1h3.5a1%201%200%200%201%201%201c0%201.25.2%202.45.57%203.57a1%201%200%200%201-.25%201.02l-2.2%202.2Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

/* Shared localisation and accessibility fixes, 2026-11-05. */
html{scroll-behavior:smooth}
img{max-width:100%}
h1,h2,h3,p,a,summary,label,legend,figcaption{overflow-wrap:break-word}
.hero-grid>*,.cards>*,.grid>*,.review-cards>*,.mess-proof>*,.mess-other>*{min-width:0}
.language-switcher{position:relative;z-index:30}
.language-switcher .language-options{max-width:calc(100vw - 32px);text-align:start}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #638b10;outline-offset:3px}
[dir=rtl] body{text-align:right}
[dir=rtl] h1,[dir=rtl] h2{letter-spacing:normal}
[dir=rtl] .checks span:before{margin-right:0;margin-left:7px}
[dir=rtl] .review-card,[dir=rtl] .mess-copy,[dir=rtl] .card{text-align:right}
[dir=rtl] .site-header,[dir=rtl] .site-footer{text-align:center}
[dir=rtl] input[type=email],[dir=rtl] input[type=tel]{text-align:left}
[dir=rtl] .review-stars{direction:ltr;text-align:right}
@media(max-width:650px){
 h1{letter-spacing:-1px!important}
 .wrap{padding-inline:18px}
 .rating-summary{flex-wrap:wrap}
 .banner{padding:25px!important}
 .btn,.wa-btn{max-width:100%;white-space:normal}
 header.site-header .site-menu a{min-height:44px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Keep the spam trap off-screen without RTL horizontal overflow. */
form .hidden{position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
