html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
.elementor-heading-title { overflow-wrap: break-word; hyphens: auto; }

/* ---------------------------------------------------------------- Raster */

.fot-innen { max-width: 1200px; margin: 0 auto; }
.fot-seite { padding: 80px 24px 96px; }
.fot-seite > .fot-innen { display: flex; flex-direction: column; gap: 32px; }
.fot-seite h1 { margin: 0; }
@media (max-width: 767px) { .fot-seite { padding: 48px 20px 72px; } }

/* ---------------------------------------------------------------- Kopf */

.fot-kopf { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; background-color: #0E0E0E; padding: 18px 24px; transition: background-color .35s ease; }
body.home .fot-kopf { position: fixed; left: 0; right: 0; }
body.home .fot-kopf:not(.fot-kopf--gerollt):not(.fot-kopf--offen) { background-color: rgba(14,14,14,.42); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); }
.fot-kopf .fot-innen { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.fot-logo { display: block; line-height: 0; }
.fot-logo img { width: 210px; height: auto; }
.fot-logo img, .fot-menue a { filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); }
.fot-menue ul { list-style: none; margin: 0; padding: 0; display: flex; }
.fot-menue a { position: relative; display: block; padding: 13px 20px; color: #fff; font-family: Montserrat, sans-serif; font-size: 15px; font-weight: 500; line-height: 20px; text-decoration: none; }
.fot-menue a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #fff; opacity: 0; transition: opacity .3s ease; }
.fot-menue a:hover::after, .fot-menue a:focus-visible::after, .fot-menue .fot-aktiv > a::after { opacity: 1; }
.fot-kopf .fot-burger { display: none; background: none; border: 0; padding: 8px; margin: 0 -8px 0 0; cursor: pointer; }
.fot-kopf .fot-burger span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; transition: transform .3s ease, opacity .3s ease; }
.fot-kopf--offen .fot-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fot-kopf--offen .fot-burger span:nth-child(2) { opacity: 0; }
.fot-kopf--offen .fot-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) {
  .fot-kopf .fot-burger { display: block; }
  .fot-menue { position: absolute; top: 100%; left: 0; right: 0; background: #0E0E0E; max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .fot-kopf--offen .fot-menue { max-height: 80vh; }
  .fot-menue ul { flex-direction: column; padding: 8px 0 16px; }
  .fot-menue a { padding: 12px 24px; filter: none; }
  .fot-menue a::after { display: none; }
  .fot-menue .fot-aktiv > a { color: #BDBDBD; }
}
@media (max-width: 767px) {
  .fot-kopf { padding: 14px 20px; }
  .fot-logo img { width: 160px; }
  .fot-menue a { padding: 12px 20px; }
}

/* ---------------------------------------------------------------- Fuß */

.fot-fuss { background: #0E0E0E; border-top: 1px solid #262626; padding: 32px 24px; }
.fot-fuss .fot-innen { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.fot-fuss, .fot-fuss a { color: #9A9A9A; font-size: 14px; text-decoration: none; }
.fot-fuss a:hover { color: #fff; }
.fot-fuss p { margin: 0; }
@media (max-width: 767px) { .fot-fuss .fot-innen { flex-direction: column; } }

/* ---------------------------------------------------------------- Inhalte */

.fot-held .elementor-heading-title { text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.fot-lead { font-family: Montserrat, sans-serif; font-size: 22px; line-height: 1.5; color: #111; }
.fot-klein { font-size: 15px; color: #6B6B6B; }
.fot-zeitleiste { margin: 0; }
.fot-zeitleiste dt { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 15px; color: #111; margin: 0; }
.fot-zeitleiste dd { margin: 0 0 16px; }
.fot-zeitleiste dd:last-child { margin-bottom: 0; }
.fot-zeitleiste.fot-zwei { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.fot-zeitleiste.fot-zwei > div { margin: 0 0 16px; }
.fot-zeitleiste.fot-zwei dd { margin: 0; }
@media (max-width: 767px) { .fot-zeitleiste.fot-zwei { grid-template-columns: 1fr; } }
.fot-liste { list-style: none; padding: 0; margin: 0; }
.fot-liste li { padding: 10px 0; border-bottom: 1px solid #E2DED8; }
.fot-liste li::before { content: "– "; color: #111; }
.fot-verweis-box { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fot-verweis-box .elementor-heading-title, .fot-verweis-box p { text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.fot-paket p { margin: 0; }
.fot-kontakt, .fot-kontakt p { color: #D8D8D8; }
.fot-kontakt a { color: #fff; }
.fot-karte { margin-top: 16px; }
a.fot-zurueck { align-self: flex-start; display: inline-block; background: #111; color: #fff; padding: 14px 28px; font-family: Montserrat, sans-serif; font-weight: 500; font-size: 15px; line-height: 1; text-decoration: none; transition: background-color .3s ease; }
a.fot-zurueck:hover, a.fot-zurueck:focus { background: #444; color: #fff; }

/* ---------------------------------------------------------------- Kacheln */

.fot-themen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1024px) { .fot-themen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .fot-themen { grid-template-columns: 1fr; } }
.fot-kachel { position: relative; overflow: hidden; display: block; }
.fot-kachel img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1s ease-out; backface-visibility: hidden; }
.fot-kachel:hover img { transform: scale(1.1); transition: transform 4.5s ease-out; }
.fot-kachel::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(transparent 45%, rgba(0,0,0,.12) 56%, rgba(0,0,0,.62) 92%, rgba(0,0,0,.7)); transition: opacity 1s ease; }
.fot-kachel .fot-kachel-titel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; margin: 0; padding: 0 24px 20px; color: #fff; font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 500; line-height: 1.4; transition: opacity 1s ease, transform 1s ease; }
@media (hover: hover) {
  .fot-kachel::before { opacity: 0; }
  .fot-kachel .fot-kachel-titel { opacity: 0; transform: translate3d(0, 30px, 0); }
  .fot-kachel:hover::before, .fot-kachel:focus-visible::before { opacity: 1; }
  .fot-kachel:hover .fot-kachel-titel, .fot-kachel:focus-visible .fot-kachel-titel { opacity: 1; transform: translate3d(0, 0, 0); }
}
.mgl-img-container { overflow: hidden; }
.mgl-img-container img { transform: scale(1.02); transition: transform 1s ease-out; backface-visibility: hidden; }
.mgl-img-container:hover img { transform: scale(1.1); transition: transform 4.5s ease-out; }
.fot-pi { position: relative; background-image: var(--fot-vorschau); background-size: cover; background-position: center; }
.fot-pi::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); transition: opacity .9s ease; }
.fot-pi.fot-pi-fertig::after { opacity: 0; }
.fot-pi-bild { opacity: 0; }
.fot-pi-bild.fot-pi-da { opacity: 1; animation: fot-reveal 1s ease-out; }
@keyframes fot-reveal { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1.02); } }

/* ---------------------------------------------------------------- Kontaktformular */

.fot-formular { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.fot-formular p { margin: 0; }
.fot-formular label { display: block; color: #BDBDBD; font-size: 15px; font-weight: 400; line-height: 1.4; margin-bottom: 4px; }
.fot-formular input, .fot-formular textarea { display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid #444; border-radius: 0; color: #fff; padding: 10px 0; font-family: inherit; font-size: 16px; line-height: 1.5; box-shadow: none; }
.fot-formular textarea { resize: vertical; }
.fot-formular input:focus, .fot-formular textarea:focus { outline: none; border-bottom-color: #fff; }
.fot-formular button { align-self: flex-start; background: #fff; color: #0E0E0E; border: 0; border-radius: 0; padding: 13px 28px; font-family: Montserrat, sans-serif; font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color .3s ease; }
.fot-formular button:hover, .fot-formular button:focus-visible { background: #D8D8D8; }
.fot-formular-hinweis { font-size: 14px; line-height: 1.5; color: #9A9A9A; }
.fot-formular-hinweis a { color: #D8D8D8; }
.fot-honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fot-meldung { margin: 0 0 8px; padding: 14px 18px; border-left: 3px solid #fff; background: #1C1C1C; color: #fff; font-size: 16px; }
.fot-meldung--fehler { border-left-color: #E0A0A0; }

/* ---------------------------------------------------------------- Rechtstexte */

.fot-rechtstext { max-width: 820px; }
.fot-rechtstext h2 { font-size: 22px; line-height: 1.35; margin: 40px 0 10px; }
.fot-rechtstext h2:first-child { margin-top: 8px; }
.fot-rechtstext p { margin: 0 0 14px; }

/* ---------------------------------------------------------------- Einbettungen nach Klick */

.fot-extern { position: relative; display: flex; align-items: center; justify-content: center; background: #EDEBE8; color: #2B2B2B; text-align: center; }
.fot-kontakt .fot-extern { background: #1C1C1C; color: #D8D8D8; }
.fot-extern-hinweis { max-width: 520px; padding: 32px; }
.fot-extern-titel { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 20px; margin: 0 0 10px; color: inherit; }
.fot-extern-hinweis p { font-size: 15px; line-height: 1.55; }
.fot-extern-knopf { margin-top: 8px; background: #111; color: #fff; border: 0; border-radius: 0; padding: 12px 24px; font-family: Montserrat, sans-serif; font-weight: 500; font-size: 15px; cursor: pointer; }
.fot-extern-knopf:hover { background: #444; }
.fot-kontakt .fot-extern-knopf { background: #fff; color: #0E0E0E; }
.fot-kontakt .fot-extern-knopf:hover { background: #D8D8D8; }

/* ---------------------------------------------------------------- Suche */

.switch-label { text-transform: none !important; }
.fot-suche form { display: flex; align-items: flex-end; gap: 0; max-width: 420px; margin: 8px 0 0; }
.fot-suche form label { flex: 1; margin: 0; }
.fot-suche .is-search-input, .fot-suche input[type=search] { width: 100% !important; padding: 10px 0 !important; border: 0 !important; border-bottom: 1px solid #111 !important; border-radius: 0 !important; background: transparent !important; font-size: 16px; }
.fot-suche button, .fot-suche input[type=submit], .fot-suche .is-search-submit { background: #111 !important; color: #fff !important; border: 0; border-radius: 0; padding: 11px 22px; font-family: Montserrat, sans-serif; font-weight: 500; font-size: 15px; text-transform: none !important; cursor: pointer; }
.fot-suche button:hover, .fot-suche input[type=submit]:hover { background: #444 !important; }
.fot-treffer-zahl { font-family: Montserrat, sans-serif; color: #6B6B6B; margin: 0 0 16px; }
.fot-treffer-galerien { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0 0 32px; }
.fot-seiten { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.fot-seiten .page-numbers { padding: 8px 14px; border: 1px solid #E2DED8; color: #111; text-decoration: none; }
.fot-seiten .page-numbers.current { background: #111; color: #fff; border-color: #111; }
