a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #b38b6d;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

@media print {
  .leaflet-container,
  #kopfzeile ul,
  .leaflet-control-container {
    display: none !important;
  }

  body,
  section {
    background: #ffffff !important;
    color: #000000 !important;
  }

  section {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    word-break: break-all;
  }

  a[href^="tel:"]::after,
  a[href^="mailto:"]::after {
    content: "";
  }
}

.sa-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 20px;
  border: 1.5px solid #8A8DA6;
  border-radius: 999px;
  color: #1F1F1F !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sa-route::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%231F1F1F' d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/></svg>") center / contain no-repeat;
}

.sa-route:hover {
  background: #D8DBFD;
  transform: translateY(-1px);
}

#kopfzeile a[href="/"] {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.9rem;
}

#kopfzeile a[href="/"]::after {
  content: "";
  display: block;
  width: 273px;
  height: 30px;
  background: url(/assets/img/wortmarke.svg) no-repeat left center / contain;
}

@media (max-width: 1023px) {
  #kopfzeile a[href="/"] { gap: 0.6rem; }
  #kopfzeile a[href="/"]::after { width: 155px; height: 17px; }
}

@media (max-width: 339px) {
  #kopfzeile a[href="/"]::after { display: none; }
}

#fusszeile a[href="/"] {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.75rem;
}

#fusszeile a[href="/"] > * {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#fusszeile a[href="/"]::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  background: url(/assets/img/logo-siegel.svg) no-repeat center / contain;
}

#fusszeile a[href="/"]::after {
  content: "";
  display: block;
  width: 218px;
  height: 24px;
  background: url(/assets/img/wortmarke.svg) no-repeat left center / contain;
}

@media (max-width: 1023px) {
  #fusszeile a[href="/"]::before { width: 40px; height: 40px; }
  #fusszeile a[href="/"]::after { width: 182px; height: 20px; }
}

html.flug-aktiv #start {
  overflow: hidden;
  flex: none;
  min-height: 0 !important;
}

html.flug-aktiv #start img {
  visibility: hidden;
}

html.flug-aktiv #seite {
  overflow-anchor: none;
}

html.flug-aktiv:not(.flug-ende) #kopfzeile a[href="/"] img,
html.flug-aktiv:not(.flug-ende) #kopfzeile a[href="/"]::after {
  opacity: 0;
}

.flug {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2100;
  transform-origin: 0 0;
  pointer-events: none;
  will-change: transform;
}

html.flug-ende .flug {
  display: none;
}

html.flug-aktiv #kopfzeile.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, calc(0.1 * var(--flug, 1))),
              0 2px 4px -1px rgba(0, 0, 0, calc(0.06 * var(--flug, 1))) !important;
}

html.flug-aktiv #kopfzeile a[href="/"] img {
  transition: none !important;
}

#seite h1, #seite h2, #seite h3, #seite h4, #seite p, #seite li {
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
}

#beratung .container { padding-top: 7.5rem; padding-bottom: 7.5rem; }
@media (min-width: 1024px) {
  #beratung .container { padding-top: 12rem; padding-bottom: 12rem; }
}

#menue[hidden] {
  display: none;
}

.leaflet-container .leaflet-control-container .leaflet-control-attribution { font-size: 9px; line-height: 1; padding: 2px 5px; margin: 0; background: rgba(255, 255, 255, 0.6); color: #555; }
.leaflet-container .leaflet-control-container .leaflet-control-attribution a { color: #555; text-decoration: none; }
.leaflet-container { background: #f3f1ec; }

#karte > .container {
  pointer-events: none;
}

#karte > .container .flex.flex-row > div {
  pointer-events: auto;
}
#leistungen .kacheln{gap:40px}#leistungen .kachel{flex:0 0 calc(100.0000% - 0.0000px)}
@media (min-width:640px){#leistungen .kacheln{gap:40px}#leistungen .kachel{flex:0 0 calc(50.0000% - 20.0000px)}}
@media (min-width:1024px){#leistungen .kacheln{gap:40px}#leistungen .kachel{flex:0 0 calc(33.3333% - 26.6667px)}}
@media (min-width:1280px){#leistungen .kacheln{gap:40px}#leistungen .kachel{flex:0 0 calc(33.3333% - 26.6667px)}}
#ueber-uns .kacheln{gap:40px}#ueber-uns .kachel{flex:0 0 calc(100.0000% - 0.0000px)}
@media (min-width:640px){#ueber-uns .kacheln{gap:40px}#ueber-uns .kachel{flex:0 0 calc(100.0000% - 0.0000px)}}
@media (min-width:1024px){#ueber-uns .kacheln{gap:40px}#ueber-uns .kachel{flex:0 0 calc(50.0000% - 20.0000px)}}
@media (min-width:1280px){#ueber-uns .kacheln{gap:80px}#ueber-uns .kachel{flex:0 0 calc(50.0000% - 40.0000px)}}
#team .kacheln{gap:40px}#team .kachel{flex:0 0 calc(100.0000% - 0.0000px)}
@media (min-width:640px){#team .kacheln{gap:40px}#team .kachel{flex:0 0 calc(50.0000% - 20.0000px)}}
@media (min-width:1024px){#team .kacheln{gap:40px}#team .kachel{flex:0 0 calc(33.3333% - 26.6667px)}}
@media (min-width:1280px){#team .kacheln{gap:40px}#team .kachel{flex:0 0 calc(33.3333% - 26.6667px)}}
