/*
Theme Name: Secret-Estates
Template: Divi
Author: pube webagentur
Description: Theme für SecretEstates
Version: 1.0.1779621001
Updated: 2026-05-24 13:10:01

*/
/* ============================================
   Overflow durch Marquee und Immo Gallerie verhindern
   ============================================ */
/*
html, body {
  overflow-x: hidden;
}
.et_pb_section:has(.d5-marquee-track) {
  overflow: hidden !important;
}

.et_pb_row:has(.d5-marquee-track) {
  overflow: hidden !important;
  min-width: 0 !important;
}

.et_pb_column:has(.d5-marquee-track) {
  min-width: 0 !important;
}
.et_pb_section.et_pb_gallery {
  overflow: hidden !important;
  max-width: 100% !important;
}
*/
/* ============================================
   Overflow durch immo_karte (Google Maps) verhindern
   ============================================ */
.et_pb_column:has(div[id^="karte-"]),
.et_pb_row:has(div[id^="karte-"]),
.et_pb_section:has(div[id^="karte-"]) {
  min-width: 0 !important;
}

div[id^="karte-"] {
  max-width: 100% !important;
}

iframe[id^="iframe-karte-"] {
  max-width: 100% !important;
}

/* ============================================
   STICKY BOTTOM BAR
   ============================================ */
#bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 50px;
  z-index: 9999;
  background: #000000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: nowrap;
  min-height: 50px;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.sticky-bar-item {
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  min-height: 50px;
}
/* FontAwesome Icons */
.sticky-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding: 0 8px;
  min-height: 50px;
  display: flex;
  align-items: center;
}
.sticky-icon i,
.sticky-bar-item i {
  font-size: 18px;
  line-height: 1;
}
.sticky-icon:hover i,
.sticky-bar-item:hover i {
  color: #cccccc !important;
}
/* Immobilien-Link */
.sticky-immobilien {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  font-family: 'Big Caslon Medium', 'Big Caslon', 'Caslon', Georgia, serif;
  font-weight: 500;
}
.sticky-immobilien:hover {
  color: #cccccc !important;
}
/* Teilen-Button */
.sticky-share {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding: 0 8px;
  min-height: 50px;
  display: flex;
  align-items: center;
}
.sticky-share:hover i {
  color: #cccccc !important;
}
/* Wetter-Widget */
.sticky-weather {
  max-width: 90px;
  min-height: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  text-decoration: none;
}
.sticky-weather:hover {
  opacity: 0.8;
}
.sticky-weather-icon {
  font-size: 17px;
  line-height: 1;
}
.sticky-weather-temp {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.sticky-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}
.sticky-icon-svg {
  width: 18px;
  height: 18px;
  display: block;
  color: #ffffff;
}
.sticky-icon:hover .sticky-icon-img {
  opacity: 0.8;
}
.sticky-icon:hover .sticky-icon-svg,
.sticky-share:hover .sticky-icon-svg {
  color: #cccccc;
}
/* Seiteninhalt nicht verdecken — wird per JS gesetzt */
#page-container {
  padding-bottom: 0px !important;
}
body {
  padding-bottom: 0px !important;
}
/* iOS Safari Fix */
@supports (-webkit-touch-callout: none) {
  #bottom-sticky-bar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .sticky-bar-inner {
    padding: 0 10px;
  }
  .sticky-bar-item,
  .sticky-icon,
  .sticky-share {
    padding: 0 6px;
  }
  .sticky-icon i,
  .sticky-bar-item i,
  .sticky-share i {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  .sticky-bar-inner {
    padding: 0 4px;
    justify-content: space-between;
  }
  .sticky-bar-item,
  .sticky-icon,
  .sticky-share {
    padding: 0 4px;
  }
  .sticky-icon i,
  .sticky-bar-item i,
  .sticky-share i {
    font-size: 15px;
  }
  .sticky-diamond {
    width: 22px;
  }
  .sticky-immobilien {
    font-size: 10px;
    letter-spacing: 0;
  }
  .sticky-weather {
    max-width: 60px;
  }
  .sticky-weather-icon {
    font-size: 15px;
  }
  .sticky-weather-temp {
    font-size: 12px;
  }
}
/* ============================================
   IMMO-Scroll Overlay – scroll-gebundenes Einblenden
   ============================================ */
.immo-scroll-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

.immo-scroll-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.immo-scroll-overlay-text {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    transform: translateY(-50%);
    z-index: 1;
}

.immo-overlay-zeile1 {
    font-family: 'TheRickon', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.3;
}

.immo-overlay-zeile2 {
    font-family: 'Lato', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .immo-overlay-zeile1 { font-size: 1.6rem!important; }
    .immo-overlay-zeile2 { font-size: 1.4rem!important; }
}

/* ==========================================================================
   Emotionsbereich – Video/Bild-Hero mit zentriertem Text-Overlay (2 Zeilen)
   ========================================================================== */
.se-emotion {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}
.se-emotion__media {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.se-emotion__video,
.se-emotion__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Sanfter dunkler Verlauf von unten */
.se-emotion__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 45%);
    pointer-events: none;
}
/* Vollflächiger schwarzer Schleier – Opacity wird per JS synchron zum Text gesteuert */
.se-emotion__overlay-bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
}
/* Overlay – Position/Opacity werden per JS gesteuert (scroll-gebunden) */
.se-emotion__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    width: 100%;
/*    max-width: 1000px; */
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    color: #fff;
    transform: translate(-50%, -50%);
    opacity: 0;
}
.se-emotion__line {
    margin: 0;
}
.se-emotion__line--1 {
    font-family: 'TheRickon', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.3;
}
.se-emotion__line--2 {
    font-family: 'Lato', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .se-emotion {
        height: 70dvh;
    }
	.se-emotion__line--1 { font-size: 1.6rem!important; }
    .se-emotion__line--2 { font-size: 1.4rem!important; }
}

/* ==========================================================================
   Detailbereich links - Bild oder Video
   ========================================================================== */
.acf-media-hochformat {
    width: 40vw !important;
    max-width: 40vw !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    align-self: flex-start !important;
    display: block;
    position: relative;
}

.acf-media-hochformat__media {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

@media (max-width: 767px) {
    .acf-media-hochformat {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}
/* Regionsbereich links - Bild */
.acf-media-hochformat-40 {
    width: 40vw !important;
    max-width: 40vw !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    position: relative !important;
    display: block !important;
}

.acf-media-hochformat-40 img,
.acf-media-hochformat-40 video,
.acf-media-hochformat-40 .et_pb_image_wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    .acf-media-hochformat-40 {
		display: none !important;
/*      width: 100vw !important;
        max-width: 100vw !important; */
    }
}
/*  IMMO-MEDIA TOP-Objekt */
/* Video aus der Mediathek */
.immo-media-video {
    display: block;
}

@media (max-width: 767px) {
    .immo-media-video {
        aspect-ratio: 8 / 9 !important; /* doppelte Höhe ggü. 16:9 bei gleicher Breite */
        object-fit: cover;
        object-position: center center;
    }
}

/* YouTube Reel */
.immo-media-yt-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.immo-media-yt-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .immo-media-yt-wrapper {
        padding-bottom: 112.5%; /* doppelte Höhe ggü. 16:9 */
    }
}

/* Instagram Reel */
.immo-media-ig-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Bild-Fallback */
.immo-media-bild {
    display: block;
}

@media (max-width: 767px) {
    .immo-media-bild {
        aspect-ratio: 8 / 9 !important;
        object-fit: cover;
        object-position: center center;
    }
}

/* ==========================================================================
   Detailbereich – rechts unten (Video/Bild)
   ========================================================================== */

.se-detail-media-ru {
    position: relative;
    width: 100%;
    /* Höhe passt sich dem Inhalt an – alternativ feste Höhe setzen */
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 0; /* ggf. anpassen */
}

.se-detail-media-ru__video,
.se-detail-media-ru__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .se-detail-media-ru {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================================================
   Detailbereich Media Region – rechts unten (Video/Bild)
   ========================================================================== */
.se-detail-media-region {
    position: relative;
    width: 100%;
/*  height: 1000px; */
/* Höhe passt sich dem Inhalt an – alternativ feste Höhe setzen */
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.se-detail-media-region__video,
.se-detail-media-region__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
@media (max-width: 768px) {
    .se-detail-media-region {
        aspect-ratio: 4 / 3;
    }
}


/* ==========================================================================
   Highlights – 2 Spalten Desktop, 1 Spalte Mobil
   ========================================================================== */

.se-highlights {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1rem;
}

.se-highlights__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 3rem;
}

.se-highlights__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.se-highlights__icon {
    width: 28px;
    height: auto;
    flex-shrink: 0;
}

.se-highlights__text {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
}

/* Mobil: eine Spalte */
@media (max-width: 768px) {
    .se-highlights__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}


/* ==========================================================================
   Preloader
   ========================================================================== */
#se-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#se-preloader.se-preloader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.se-preloader__inner {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#se-preloader__canvas {
    position: absolute;
    inset: 0;
    width: 200px;
    height: 200px;
}

.se-preloader__diamond {
    position: relative;
    z-index: 2;
    width: 90px;
    height: 66px;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.7));
    /* Kein Drehen mehr */
}
/* ==========================================================================
   Kontaktformular Nachricht Zeile begrenzen
   ========================================================================== */
.wpcf7 textarea[name="anmerkungen"] {
  min-height: 44px !important;
  max-height: 300px !important;
  resize: none !important;
  overflow: hidden !important;
  transition: height 0.2s ease !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   Video/Bildblock unter Highlights
   ========================================================================== */
.immo-vb__section {
    width: 100%;
    max-height: 60vh;
    overflow: hidden;
}

.immo-vb__inner {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
    height: 100%;
    max-height: 60vh;
}

.immo-vb__col {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    max-height: 60vh;
}

.immo-vb__media {
    width: 100%;
    height: 100%;
    max-height: 60vh;
    object-fit: cover;
    display: block;
}

/* Nur eine Spalte — volle Breite */
.immo-vb__inner .immo-vb__col:only-child {
    flex: 1 1 100%;
}

/* Mobil — untereinander */
@media (max-width: 767px) {
    .immo-vb__section {
        max-height: none;
    }

    .immo-vb__inner {
        flex-direction: column;
        gap: 10px;
        max-height: none;
        height: auto;
    }

    .immo-vb__col {
        flex: 0 0 auto;
        width: 100%;
        max-height: none;
        height: auto;
    }
	
    .immo-vb__col:nth-child(2) {
        display: none !important;
    }
	
    .immo-vb__media {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        max-height: 50vh;
        object-fit: cover;
    }
}

.et_pb_section_11_tb_body:has(.et_pb_code_inner:empty) {
    display: none !important;
}

/* ==========================================================================
   Standortwetter Override
   ========================================================================== */
.splw-main-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

.sp-location-weather-windy {
    width: 100% !important;
    max-width: 100% !important;
	height: 600px !important;
}

/* ==========================================================================
   Weitere Topobjekte - Immo-Portfolio Seite
   ========================================================================== */

.weitere-topobjekte-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.wto-karte {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
}

.wto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.75) 25%,
        rgba(0,0,0,0.0) 60%,
        transparent 100%
    );
}

.wto-inhalt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 20px 10px 20px;
}

.wto-region {
    display: block;
    color: #ffffff;
    font-family: 'The Rickon', serif;
    font-size: 48px;
    font-weight: normal;
    margin: 10px 0 0 0;
    line-height: 1.5;
}

.wto-titel {
    display: block;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    letter-spacing: 0em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.5;
}

/* Tablet */
@media (max-width: 980px) {
    .weitere-topobjekte-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobil */
@media (max-width: 600px) {
    .weitere-topobjekte-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Wetterkarte
   ========================================================================== */
.se-wetter-widget {
    font-family: 'Lato', sans-serif;
    color: #111;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.se-wetter-widget * {
    box-sizing: border-box;
}

.se-wetter-kopf {
    margin-bottom: 20px;
}

.se-wetter-ort {
    font-size: 28px;
    font-weight: 700;
}

.se-wetter-zeit {
    color: #777;
    margin-top: 6px;
}

.se-wetter-hauptzeile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 10px;
}

.se-wetter-temp-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.se-wetter-icon {
    font-size: 48px;
}

.se-wetter-temp {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
}

.se-wetter-temp sup {
    font-size: 28px;
    font-weight: 400;
}

.se-wetter-bogen {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 120px;
}

.se-wetter-bogen-linie {
    position: absolute;
    top: 20px;
    left: 5%;
    width: 90%;
    height: 90px;
    border-top: 2px dotted #e8a87c;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.se-wetter-sonne-marker {
    position: absolute;
    top: 10px;
    left: calc(5% + (90% * var(--sun-progress, 0) / 100));
    width: 20px;
    height: 20px;
    transform: translate(-50%, 0);
}

.se-wetter-sonne-marker::before {
    content: '☀️';
    font-size: 18px;
}

.se-wetter-bogen-label {
    position: absolute;
    bottom: 0;
    font-size: 13px;
    color: #555;
    text-align: center;
}

.se-wetter-bogen-label--auf {
    left: 0;
}

.se-wetter-bogen-label--unter {
    right: 0;
}

.se-wetter-subzeile {
    font-size: 18px;
    color: #444;
    margin-bottom: 6px;
}

.se-wetter-fuehlt {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}

.se-wetter-tabelle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #ddd;
}

.se-wetter-zelle {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
}

.se-wetter-zelle:nth-child(odd) {
    border-right: 1px solid #ddd;
}

.se-wetter-prognose {
    display: flex;
    gap: 4px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.se-wetter-tag-karte {
    flex: 1 1 0;
    min-width: 90px;
    text-align: center;
    padding: 10px 6px;
}

.se-wetter-tag-name {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.se-wetter-tag-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.se-wetter-tag-temps {
    font-size: 14px;
    color: #666;
}

.se-wetter-tag-temps strong {
    color: #111;
    font-weight: 700;
    margin-right: 4px;
}

/* Desktop: breiter */
@media (min-width: 1200px) {
    .se-wetter-widget {
        max-width: 1700px;
        padding: 30px 50px;
    }
    .se-wetter-tag-icon {
        font-size: 38px;
    }
    .se-wetter-tag-name {
        font-size: 15px;
    }
    .se-wetter-tag-temps {
        font-size: 15px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .se-wetter-hauptzeile {
        flex-direction: column;
        align-items: flex-start;
    }
    .se-wetter-bogen {
        max-width: 100%;
    }
    .se-wetter-tabelle {
        grid-template-columns: 1fr;
    }
    .se-wetter-zelle:nth-child(odd) {
        border-right: none;
    }
}

/* Mobil */
@media (max-width: 480px) {
    .se-wetter-widget {
        padding: 12px;
    }
    .se-wetter-ort {
        font-size: 20px;
    }
    .se-wetter-icon {
        font-size: 36px;
    }
    .se-wetter-temp {
        font-size: 44px;
    }
    .se-wetter-temp sup {
        font-size: 20px;
    }
    .se-wetter-subzeile {
        font-size: 15px;
    }
    .se-wetter-fuehlt {
        font-size: 14px;
    }
    .se-wetter-zelle {
        padding: 10px 10px;
        font-size: 13px;
    }
    .se-wetter-prognose {
        margin-top: 20px;
        padding-top: 16px;
        gap: 2px;
    }
    .se-wetter-tag-karte {
        min-width: 58px;
        padding: 8px 4px;
    }
    .se-wetter-tag-name {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .se-wetter-tag-icon {
        font-size: 22px;
        margin-bottom: 6px;
    }
    .se-wetter-tag-temps {
        font-size: 12px;
    }
}
/* ==========================================================================
   Wind- und Regenkarte
   ========================================================================== */
.se-windkarte,
.se-regenradar {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
}

.se-windkarte-titel,
.se-regenradar-titel {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.se-windkarte-rahmen,
.se-regenradar-rahmen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.se-windkarte-rahmen iframe,
.se-regenradar-rahmen iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 601px) {
    .se-windkarte-rahmen,
    .se-regenradar-rahmen {
        max-height: 60vh;
    }
}

@media (max-width: 600px) {
    .se-windkarte-rahmen,
    .se-regenradar-rahmen {
        aspect-ratio: 4 / 5;
    }
    .se-windkarte-titel,
    .se-regenradar-titel {
        font-size: 17px;
    }
}
.se-karte-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 20px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.se-karte-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   POP-UP Overlay für Newsletter & Kontakt
   ========================================================================== */

.se-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.se-popup-overlay.is-visible {
  display: flex;
  opacity: 1;
}

.se-popup-box {
  position: relative;
  background: #0a0a0a;
  color: #fff;
  max-width: 560px;
  width: 90%;
  padding: 50px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.se-popup-overlay.is-visible .se-popup-box {
  transform: translateY(0);
}

.se-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.se-popup-close:hover {
  opacity: 0.7;
}

.se-popup-diamond {
  width: 34px;
  height: auto;
  margin-bottom: 30px;
}

.se-popup-headline {
  font-family: 'Big Caslon Medium', 'Big Caslon', Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  color: #fff;
  margin: 0 0 14px;
}

.se-popup-text {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  margin: 0 0 24px;
}

.se-popup-slogan {
  font-family: 'The Rickon', 'Brush Script MT', 'Segoe Script', cursive;
  font-weight: 300;
  color: #fff;
  font-size: 26px;
  margin: 0 0 48px;
}

.se-popup-btn {
  font-family: 'Big Caslon Medium', 'Big Caslon', Georgia, serif;
  display: inline-block;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: bold;
  padding: 14px 34px;
}

.se-popup-btn:hover {
  background: #fff;
  color: #0a0a0a;
}

/* Desktop: groesseres Popup */
@media (min-width: 768px) {
  .se-popup-box {
    max-width: 800px;
    padding: 70px 80px;
  }
  .se-popup-diamond {
    width: 44px;
    margin-bottom: 45px;
  }
  .se-popup-headline {
    font-size: 26px;
    margin-bottom: 18px;
  }
  .se-popup-text {
    font-size: 18px;
    margin-bottom: 28px;
  }
  .se-popup-slogan {
    font-size: 30px;
    margin-bottom: 54px;
  }
  .se-popup-btn {
    font-size: 16px;
    padding: 16px 44px;
  }
}

@media (max-width: 600px) {
  .se-popup-box {
    padding: 40px 24px;
  }
}