/* =========================================
 * CSS STYLING
 * ========================================= */

/* -------------------
 * 0a. Lokale Schriftarten (DSGVO-konform, kein Google Fonts)
 * ------------------- */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/lato-300-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/lato-300-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/lato-400-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/lato-400-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/lato-700-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/lato-700-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/playfair-display-600-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/playfair-display-600-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair-display-700-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair-display-700-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -------------------
 * 0. Globale Variablen & Reset
 * ------------------- */
:root {
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Lato', sans-serif;
    --color-text: #333;
    --color-text-light: #ffffff;
    --color-bg-dark: #1a1a1a;
    --color-bg-light: #f3f2f2;
    --color-accent: #f2a03d;
    --color-whatsapp: #25D366;
    --primary-color: #0055d4;
    --border-color: #e5e5e5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-text-light);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* -------------------
 * 1. Keyframe-Animationen
 * ------------------- */
@keyframes flyInText {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInButton {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutOverlay {
    from {
        background-color: rgba(0, 0, 0, 0.7);
    }

    to {
        background-color: rgba(0, 0, 0, 0);
    }
}

/* -------------------
 * 2. Menü (Burger-Button & Slide-in Panel)
 * ------------------- */
.burger-menu-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInButton 0.3s ease-out 0.2s both;
}

body.home-page .burger-menu-button {
    animation: fadeInButton 0.5s ease-out 2.5s both;
}

.burger-menu-button:hover {
    transform: scale(1.1);
}

.burger-menu-bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.burger-menu-button.is-active .burger-menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu-button.is-active .burger-menu-bar:nth-child(2) {
    opacity: 0;
}

.burger-menu-button.is-active .burger-menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.main-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    height: 100%;
    background-color: #fff;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    padding: 24px;
    box-sizing: border-box;
    opacity: 0.8;
    z-index: 1050;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-menu-panel.is-active {
    transform: translateX(0);
}

.menu-section h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin: 50px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-links li {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.main-menu-panel.is-active .menu-links li {
    opacity: 1;
    transform: translateY(0);
}

.main-menu-panel.is-active .menu-links li:nth-child(1) {
    transition-delay: 0.3s;
}

.main-menu-panel.is-active .menu-links li:nth-child(2) {
    transition-delay: 0.35s;
}

.main-menu-panel.is-active .menu-links li:nth-child(3) {
    transition-delay: 0.4s;
}

.main-menu-panel.is-active .menu-links li:nth-child(4) {
    transition-delay: 0.45s;
}

.main-menu-panel.is-active .menu-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.main-menu-panel.is-active .menu-links li:nth-child(6) {
    transition-delay: 0.55s;
}

.main-menu-panel.is-active .menu-links li:nth-child(7) {
    transition-delay: 0.6s;
}

.menu-links a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.menu-links a:hover {
    background-color: #f0f6ff;
}

.link-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.link-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.link-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.link-description {
    font-size: 0.85rem;
    color: #777;
    margin: 2px 0 0 0;
}

/* -------------------
 * 3. Hero-Sektion
 * ------------------- */
.hero {
    height: 100vh;
    background: url('images/meerblick.webp') no-repeat center center/cover;
    color: var(--color-text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: fadeOutOverlay 1s ease-out 0.5s forwards;
}

.hero-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: flyInText 1.5s ease-out 1.5s both;
}

.hero h1 {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.1rem;
}

.hero p.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* -------------------
 * 4. Layout & Sektionen
 * ------------------- */
.content-section {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 80vh;
    padding: 5rem 10%;
    gap: 3rem;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.is-visible,
.gallery-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section .text-container,
.content-section .image-container,
.content-section .image-container-stacked {
    flex: 1;
    max-width: 50%;
}

.content-section.reverse {
    flex-direction: row-reverse;
}

.gallery-section {
    display: block;
    padding: 5rem 10%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.bg-light {
    background-color: var(--color-bg-light);
    color: var(--color-text);
}

/* -------------------
 * 5. Typografie & Inhaltselemente
 * ------------------- */
h2 {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.key-mission {
    background-color: #fffbe6;
    border-left: 5px solid var(--color-accent);
    padding: 20px;
    margin-top: 2rem;
}

ul.features {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    display: inline-block;
    text-align: left;
    max-width: 100%;
}

ul.features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.5rem;
}

ul.features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: bold;
}


/* -------------------
 * 6. Bild-Layouts & Galerie
 * ------------------- */
.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.image-container-stacked {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-container-stacked>img {
    flex: 1;
    min-height: 0;
}

.image-row-double {
    display: flex;
    gap: 10px;
    flex: 0.7;
}

.image-container-stacked img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.image-row-double img {
    width: calc(50% - 5px);
}

.image-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
}

.gallery-section .image-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
}

.grid-item {
    overflow: hidden;
    border-radius: 4px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

.gallery-section .item-1 {
    grid-column: 1 / 5;
    grid-row: 1 / 2;
}

.gallery-section .item-2 {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

.gallery-section .item-3 {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}


/* -------------------
 * 7. Komponenten (Buttons, Overlays)
 * ------------------- */
#weather-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 1em;
    z-index: 999;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: fadeInButton 0.3s ease-out 0.2s both;
}

body.home-page #weather-overlay {
    animation: fadeInButton 0.5s ease-out 2.5s both;
}

#weather-overlay:hover {
    background-color: #fff;
}

#weather-overlay span {
    font-weight: bold;
}

/* Dezentes Wetter-Popover (minimal disturbance) */
.weather-popover {
    position: fixed;
    top: 70px;
    right: 20px;
    width: 285px;
    max-width: calc(100vw - 32px);
    z-index: 100002;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    font-family: var(--font-secondary);
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-align: left;
}

.weather-popover.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.weather-pop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.weather-pop-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #f59e0b;
}

.weather-pop-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: rgba(255, 255, 255, 0.85);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.weather-pop-close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.weather-pop-current {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 10px;
}

.weather-pop-icon {
    font-size: 2rem;
    line-height: 1;
}

.weather-pop-temp {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.1;
}

.weather-pop-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 2px;
}

.weather-pop-days {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.weather-pop-day {
    display: grid;
    grid-template-columns: 54px 28px 1fr auto;
    align-items: center;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.9);
}

.weather-pop-rain {
    font-size: 0.75rem;
    color: #38bdf8;
    text-align: right;
    padding-right: 10px;
}

.weather-pop-range {
    font-weight: 700;
    white-space: nowrap;
}

.weather-pop-range span {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.58);
}

.weather-pop-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.weather-pop-link {
    font-size: 0.78rem;
    color: #f59e0b;
    text-decoration: none;
    font-weight: 700;
}

.weather-pop-link:hover {
    text-decoration: underline;
}

.whatsapp-button,
.scroll-to-top-button {
    position: fixed;
    border-radius: 50%;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s, transform 0.4s;
    opacity: 0;
    transform: translateY(20px);
    border: none;
    cursor: pointer;
}

.whatsapp-button.visible,
.scroll-to-top-button.visible {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-button {
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.scroll-to-top-button {
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--color-text);
    color: var(--color-text-light);
}

.scroll-to-top-button:hover {
    background-color: #555;
}

.scroll-to-top-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* -------------------
 * 8. Responsive Design
 * ------------------- */
@media (max-width: 768px) {

    h2,
    .gallery-section h2 {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .subtitle,
    .hero p {
        font-size: 1.2rem;
    }

    .content-section,
    .content-section.reverse {
        flex-direction: column;
        padding: 3rem 5%;
    }

    .content-section .text-container,
    .content-section .image-container,
    .content-section .image-container-stacked {
        max-width: 100%;
    }

    #weather-overlay {
        display: none;
    }

    .burger-menu-button {
        top: 20px;
        left: 20px;
    }
}

video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 1. Basis-Styles von Pannellum für deinen Hotspot überschreiben */
.pnlm-hotspot.custom-hotspot {
  width: 26px !important;
  height: 26px !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  background-image: none !important; /* Entfernt das Standard-Icon von Pannellum */
  border: 3px solid #007aff !important;
  border-radius: 50% !important;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 122, 255, 0.6);
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

/* 2. Hover-Effekt */
.pnlm-hotspot.custom-hotspot:hover {
  transform: scale(1.25);
  background-color: #007aff !important;
}

/* 3. Pulsierende Welle um den Hotspot */
.pnlm-hotspot.pulse-effect::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #007aff;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  animation: pnlm-pulse 1.8s infinite ease-out;
  pointer-events: none; /* Verhindert Klick-Blockaden */
}

@keyframes pnlm-pulse {
  0% {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  100% {
    width: 250%;
    height: 250%;
    opacity: 0;
  }
}

/* Schicker Tooltip bei Hover */
.pnlm-tooltip span {
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   FIX FÜR BURGER-MENÜ AUF DEM DESKTOP
   ========================================================= */

/* 1. Stellt sicher, dass das aufgeklappte Menü immer ganz oben liegt */
.main-menu-panel {
    z-index: 100000 !important;
}

/* 2. Stellt sicher, dass der Burger-Button immer anklickbar ist */
.burger-menu-button {
    z-index: 100001 !important;
}

/* 3. Verhindert, dass das Panorama-Plugin Klicks "schluckt", bevor sie das Menü erreichen */
.viewer-stage {
    isolation: isolate;
}

/* =========================================================
   ANPASSUNG SCROLL-TO-TOP BUTTON (Weißer Hintergrund)
   ========================================================= */
.scroll-to-top-button {
    background-color: #ffffff !important; /* Weißer Hintergrund */
    color: #1a1615 !important;            /* Dunkles Icon (falls Schrift/SVG Farbe nutzt) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Falls das SVG-Icon im Button eine feste Farbe hat, erzwingen wir sie hier: */
.scroll-to-top-button svg path {
    fill: #1a1615 !important;
}

/* Hover-Effekt (leichtes Grau beim Drüberfahren, analog zum Burger) */
.scroll-to-top-button:hover {
    background-color: #f1f5f9 !important;
}

/* =========================================================
   🔒 2-KLICK-DATENSCHUTZ-PLATZHALTER FÜR EXTERNE KARTEN
   ========================================================= */
.embed-consent-gate {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 24px;
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.14), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.14), transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.embed-consent-gate.is-hidden {
    display: none;
}

.embed-consent-icon {
    font-size: 2.6rem;
    line-height: 1;
    margin-bottom: 12px;
}

.embed-consent-gate h3 {
    font-family: var(--font-primary);
    font-size: 1.45rem;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.embed-consent-gate p {
    font-family: var(--font-secondary);
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    max-width: 480px;
    margin: 0 0 18px 0;
}

.embed-consent-gate a {
    color: #fbbf24;
    text-decoration: underline;
}

.embed-consent-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 18px;
    cursor: pointer;
    user-select: none;
}

.embed-consent-remember input {
    width: 16px;
    height: 16px;
    accent-color: #f59e0b;
    cursor: pointer;
}

.embed-consent-remember.ship-accent input {
    accent-color: #38bdf8;
}

.embed-consent-btn {
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-secondary);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    background: #f59e0b;
    color: #0f172a;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.embed-consent-btn:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}

.embed-consent-btn.ship-btn {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
}

.embed-consent-btn.ship-btn:hover {
    background: #7dd3fc;
}

.consent-revoke-btn {
    background: none;
    border: none;
    padding: 0;
    margin-left: 8px;
    color: #64748b;
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    text-decoration: underline;
    cursor: pointer;
    display: none;
}

.consent-revoke-btn.is-visible {
    display: inline;
}

.consent-revoke-btn:hover {
    color: #0f172a;
}
