body {
    min-height: 100vh;
    margin: 0;
    font-family: 'DejaVu Sans', Arial, sans-serif;
    background-image: url('wallpaper.jpg'), linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;  /* This enables the parallax effect */
    background-repeat: no-repeat;
    position: relative; /* für Glow-Bubbles-Stacking */
}

.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Klicks gehen durch */
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.75) 30%,
        rgba(255, 255, 255, 0.55) 60%,
        rgba(255, 255, 255, 0.25) 100%
    );
    opacity: 0; /* <–– Start: komplett unsichtbar */
    animation:
        drift-chaos 18s ease-in-out infinite,
        shimmer 4s ease-in-out infinite alternate;
    filter: blur(0.5px);
}


/* Deutlich größere Blasen */
.bubble:nth-child(1)  { width: 30px; height: 30px; top: 15%; left: 15%; animation-delay: 0s, 0s;    animation-duration: 14s, 3s; }
.bubble:nth-child(2)  { width: 36px; height: 36px; top: 35%; left: 85%; animation-delay: 3s, 1s;    animation-duration: 19s, 4s; }
.bubble:nth-child(3)  { width: 42px; height: 42px; top: 55%; left: 25%; animation-delay: 6s, 0.5s;  animation-duration: 11s, 3.5s; }
.bubble:nth-child(4)  { width: 34px; height: 34px; top: 75%; left: 65%; animation-delay: 9s, 2s;    animation-duration: 16s, 4.5s; }
.bubble:nth-child(5)  { width: 28px; height: 28px; top: 25%; left: 45%; animation-delay: 12s, 1.5s; animation-duration: 15s, 3s; }
.bubble:nth-child(6)  { width: 40px; height: 40px; top: 65%; left: 95%; animation-delay: 15s, 0s;   animation-duration: 20s, 4s; }
.bubble:nth-child(7)  { width: 32px; height: 32px; top: 5%;  left: 75%; animation-delay: 4s, 2.5s;  animation-duration: 13s, 3.2s; }
.bubble:nth-child(8)  { width: 26px; height: 26px; top: 45%; left: 10%; animation-delay: 7s, 1s;    animation-duration: 18s, 4.8s; }
.bubble:nth-child(9)  { width: 34px; height: 34px; top: 85%; left: 40%; animation-delay: 10s, 3s;   animation-duration: 12s, 2.5s; }
.bubble:nth-child(10) { width: 50px; height: 50px; top: 20%; left: 60%; animation-delay: 13s, 0.8s; animation-duration: 23s, 4.2s; }
.bubble:nth-child(11) { width: 48px; height: 48px; top: 60%; left: 30%; animation-delay: 16s, 1.8s; animation-duration: 14s, 3.8s; }
.bubble:nth-child(12) { width: 30px; height: 30px; top: 40%; left: 20%; animation-delay: 19s, 2.2s; animation-duration: 21s, 4.1s; }


/* Drift-Animation */
@keyframes drift-chaos {
    0% {
        transform: translate3d(0, 0, 0) scale(0.8) rotate(0deg);
        opacity: 0;      /* unsichtbar */
    }
    8% {
        opacity: 0.25;   /* sanft eingeblendet */
    }
    20% {
        transform: translate3d(40px, -40px, 0) scale(1.0) rotate(35deg);
        opacity: 0.7;    /* fast voll sichtbar */
    }
    50% {
        transform: translate3d(-30px, -140px, 0) scale(1.15) rotate(-25deg);
        opacity: 0.9;    /* Peak */
    }
    80% {
        transform: translate3d(-70px, -310px, 0) scale(0.95) rotate(-60deg);
        opacity: 0.4;    /* langsam wieder weg */
    }
    100% {
        transform: translate3d(140px, -380px, 0) scale(0.9) rotate(120deg);
        opacity: 0;      /* ausgeblendet */
    }
}

@keyframes shimmer {
    0% {
        box-shadow:
            0 0 8px  rgba(255, 255, 255, 0.5),
            0 0 16px rgba(200, 230, 255, 0.4),
            0 0 24px rgba(150, 200, 255, 0.3),
            inset 0 0 4px rgba(255, 255, 255, 0.2);
        /* keine opacity hier */
    }
    100% {
        box-shadow:
            0 0 16px rgba(255, 255, 255, 0.8),
            0 0 32px rgba(200, 230, 255, 0.6),
            0 0 48px rgba(150, 200, 255, 0.5),
            inset 0 0 8px rgba(255, 255, 255, 0.4);
        /* keine opacity hier */
    }
}


/* Mobile: etwas kleinere Blasen */
.bubble:nth-child(1)  { width: 30px; height: 30px; top: 15%; left: 15%; animation-delay: 0s, 0s;    animation-duration: 14s, 3s; }
.bubble:nth-child(2)  { width: 36px; height: 36px; top: 35%; left: 85%; animation-delay: 3s, 1s;    animation-duration: 19s, 4s; }
.bubble:nth-child(3)  { width: 42px; height: 42px; top: 55%; left: 25%; animation-delay: 6s, 0.5s;  animation-duration: 11s, 3.5s; }
.bubble:nth-child(4)  { width: 34px; height: 34px; top: 75%; left: 65%; animation-delay: 9s, 2s;    animation-duration: 16s, 4.5s; }
.bubble:nth-child(5)  { width: 28px; height: 28px; top: 25%; left: 45%; animation-delay: 12s, 1.5s; animation-duration: 15s, 3s; }
.bubble:nth-child(6)  { width: 40px; height: 40px; top: 65%; left: 95%; animation-delay: 15s, 0s;   animation-duration: 20s, 4s; }
.bubble:nth-child(7)  { width: 32px; height: 32px; top: 5%;  left: 75%; animation-delay: 4s, 2.5s;  animation-duration: 13s, 3.2s; }
.bubble:nth-child(8)  { width: 26px; height: 26px; top: 45%; left: 10%; animation-delay: 7s, 1s;    animation-duration: 18s, 4.8s; }
.bubble:nth-child(9)  { width: 34px; height: 34px; top: 85%; left: 40%; animation-delay: 10s, 3s;   animation-duration: 12s, 2.5s; }
.bubble:nth-child(10) { width: 50px; height: 50px; top: 20%; left: 60%; animation-delay: 13s, 0.8s; animation-duration: 23s, 4.2s; }
.bubble:nth-child(11) { width: 48px; height: 48px; top: 60%; left: 30%; animation-delay: 16s, 1.8s; animation-duration: 14s, 3.8s; }
.bubble:nth-child(12) { width: 30px; height: 30px; top: 40%; left: 20%; animation-delay: 19s, 2.2s; animation-duration: 21s, 4.1s; }



@media (max-width: 700px) and (orientation: portrait) {
    body {
        background-image: url('mobile_wallpaper.jpg');
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        /* Wenn du möchtest: andere Farbe löschen! */
        background-color: unset;
    }
}
/* Noch kleiner: 400px, falls du willst */
@media (max-width: 400px) and (orientation: portrait) {
    body {
        background-size: cover; /* oder wie du möchtest */
    }
}

/* --- Für mobile Geräte im LANDSCAPE und kleine Geräte --- */
@media (max-width: 700px) and (orientation: landscape) {
    body {
        background-image: url('wallpaper.jpg');
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-color: unset;
    }
}


.spacer-top {
    height: 50px;
    width: 100%;
}

.bild-logo {
    width: 150px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bild-logo img {
    width: 120px;
    height: auto;
    display: block;
}

.social-links img {
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: transform 0.13s;
}
.social-links img:hover {
  transform: scale(1.1);
}

.vereinsname {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    margin-top: 0.7em;
    margin-bottom: 10px;
    color: #041d2e;
    letter-spacing: 1.2px;
    text-shadow:
        0 0 10px #fff,
        0 2px 7px #fff,
        0 4px 16px #e5eaf2,
        0 1.5px 12px #b1b1b1a0;
    font-family: 'DejaVu Sans', Arial, sans-serif;
}

.video-container {
    background-color: rgba(235, 235, 235, 0.1);
    border-radius: 18px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
    padding: 0.8rem 2rem 2rem 2rem;
    min-width: 280px; /* Make it smaller on mobile */
    max-width: 100%; /* Ensures it adapts to screen width */
    margin: 2rem auto 1.3rem auto;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: box-shadow 0.2s;
}

.video-container iframe {
    border: none; /* Removes the default iframe border */
    border-radius: 8px; /* Slightly rounds the corners of the iframe */
    width: 100%; /* Make iframe responsive */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensures iframe doesn't exceed container width */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .video-container {
	    background-color: rgba(235, 235, 235, 0.1);
        border-radius: 18px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
        min-width: 90%; /* Remove min-width restriction on smaller screens */
        padding: 1rem; /* Adjust padding for mobile */
    }

    .video-container iframe {
	    border: none; /* Removes the default iframe border */
        border-radius: 8px; /* Slightly rounds the corners of the iframe */
        height: 350px; /* You can adjust the height as needed */
    }
}



.est {
    text-align: center;
    font-size: 1.20rem;
    font-weight: 400;
    margin-bottom: 10px;
	margin-top: 5px;
    color: #0c40b9;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    opacity: 0.93;
    font-family: 'DejaVu Sans', Arial, sans-serif;
    text-shadow:
        0 0 18px #fff,
        0 2px 12px #d7e8ff,
        0 0 26px #bde3ff,
        0 1.5px 18px #a0d2ffcc,
        0 0 40px #84b8f8;
}


/* Container with an enhanced glowing light effect */
.gang-logo {
    width: min(22vw, 400px);
    min-width: 320px;
    margin: 0 auto 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    padding: 20px 10px;
    align-self: center;
    position: relative;
    box-shadow:
        0 0 36px 8px #ffffff,
        0 0 44px 0 #fff8,
        0 1.5px 18px #d7e8ff40;
}

/* Enhanced running light effect around the container */
.gang-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    box-shadow: 0 0 25px 10px #fff; /* Increased initial glow */
    animation: running-light5s linear infinite;
}

@keyframes running-light {
    0% {
        box-shadow: 0 0 5px 15px #fff;  /* Stronger glow at the start */
    }
    50% {
        box-shadow: 0 0 60px 20px #fff;  /* Max intensity */
    }
    100% {
        box-shadow: 0 0 5px 15px #fff;  /* Glow softens back */
    }
}

.gang-logo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow:
        0 0 24px 2px #fff,
        0 0 36px 10px #e5eaf2;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* über den Bubbles */
    z-index: 1;
}

.container,
.impressum-container {
    background-color: rgba(235, 235, 235, 0.1);
    border-radius: 18px;
    box-shadow: 0 0 10px rgba(0,0,0,0.10);
    padding: 0.8rem 2rem 2rem 2rem;
    min-width: 450px;
    max-width: 600px;
    margin: 2rem auto 1.3rem auto;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: box-shadow 0.2s;
}
.container:hover,
.impressum-container:hover {
    box-shadow: 0 4px 20px 0 rgba(0,93,161,1);
}

.container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    box-shadow: 0 0 25px 10px #fff;
    animation: running-light 5s linear infinite;
    z-index: -1; /* Ensure the pseudo-element is below other content */
}

.impressum-container::after {
    background-color: rgba(0, 0, 0, 0.15);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    box-shadow: 0 0 25px 10px #fff;
    animation: running-light 5s linear infinite;
    z-index: -1; /* Same here */
}



@keyframes running-light {
    0% {
        box-shadow: 0 0 5px 15px #fff; 
    }
    50% {
        box-shadow: 0 0 60px 20px #fff; 
    }
    100% {
        box-shadow: 0 0 5px 15px #fff;  
    }
}



.ssl-lock {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
    color: #0071ba;
    text-shadow: 0 2px 8px #e0f1fa, 0 1.5px 12px #b1b1b160;
    display: flex;
    justify-content: center;
}

.sign {
    font-size: 4rem;
    margin-bottom: 1.1rem;
    color: #005da1;
    text-shadow: 0 2px 8px #e0f1fa;
}

h1 {
    font-size: 2rem;
    color: #0e3757;
    margin-bottom: 0.6rem;
    text-shadow: 0 1px 5px #e9f5ff;
}

.info-text p {
    margin: 1.1rem 0 1.1rem 0;
    color: #184260;
    font-size: 1.06rem;
    line-height: 1.6;
    text-align: center;
    text-shadow: 0 1px 5px #e5eaf2;
}

.countdown-text {
    font-size: 1.1rem;
    color: #005da1;
    margin-top: 0.4rem;
    margin-bottom: 1.2rem;
    font-weight: bold;
    text-shadow: 0 1px 5px #e5eaf2;
}
.countdown-number {
    font-size: 2rem;
    color: #2176ae;
    font-weight: bold;
    letter-spacing: 2px;
}

a {
    color: #005da1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
a:hover {
    color: #0e7fb1;
    text-decoration: underline;
}

.impressum-container h2 {
    font-size: 1.08rem;
    color: #0e3757;
    margin: 0 0 0.5rem 0;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-align: center;
}
.impressum-container p {
    font-size: 0.95rem;
    color: #103053;
    text-align: center;
}

/* Mobile Style */
@media (max-width: 600px) {

    .container,
    .impressum-container {
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
        border-radius: 16px;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
        padding: 2.1rem 2vw 2.1rem 2vw;
    }

    h1 {
        font-size: 2.2rem;
    }
    .sign {
        font-size: 3.2rem;
    }
    .ssl-lock {
        font-size: 2.5rem;
    }
    .countdown-number {
        font-size: 2.2rem;
    }
    .info-text p,
    .countdown-text,
    .impressum-container,
    .impressum-container p {
        font-size: 1.25rem;
    }
    a {
        font-size: 1.2rem;
        padding: 1em 1.7em;
    }
    .vereinsname {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    .est {
        font-size: 1rem;
        margin-bottom: 6px;
    }
}

/* Noch responsiver für mini-Displays */
@media (max-width: 400px) {
    .container,
    .impressum-container {
        padding: 1rem 1vw 1rem 1vw;
        border-radius: 10px;
    }

    h1 {
        font-size: 1.35rem;
    }
    .sign {
        font-size: 2.1rem;
    }
    .ssl-lock {
        font-size: 1.8rem;
    }
    .countdown-number {
        font-size: 1.3rem;
    }
    .info-text p,
    .countdown-text,
    .impressum-container,
    .impressum-container p {
        font-size: 1.07rem;
    }
    a {
        font-size: 1rem;
        padding: 0.7em 1em;
    }
    .vereinsname {
        font-size: 1.20rem;
        margin-bottom: 4px;
    }
    .est {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
}


/* Modal-Stil (angepasst an dein Layout) */
.modal {
    display: none; /* Standard: unsichtbar! */
    position: fixed;
    z-index: 999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(30, 51, 77, 0.17);
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
}
.modal.show {
    display: flex;   /* Nur wenn Modal offen! */
}

.modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 0 44px 0 #e5eaf2, 0 1.5px 18px #d7e8ff40;
    padding: 2.1em 1.5em 1.5em 1.5em;
    min-width: 290px;
    max-width: 90vw;
    color: #184260;
    position: relative;
    animation: popIn 0.27s;
    text-align: left;
}
@keyframes popIn {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.close-modal {
    position: absolute;
    right: 16px;
    top: 10px;
    font-size: 1.9em;
    color: #005da1;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.16s;
}
.close-modal:hover {
    color: #196cab;
}
.modal-content h2 {
    font-size: 1.22rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.8em;
    color: #005da1;
    text-align: center;
    text-shadow: 0 1px 8px #e5eaf2;
}
.modal-body ol {
    margin-top: 0.22em;
    margin-bottom: 0.65em;
    margin-left: 1.1em;
}
.modal-body li {
    margin-bottom: 0.19em;
    line-height: 1.4;
}
@media (max-width: 600px) {
    .modal-content {
        max-width: 99vw;
        padding: 1.2em 1vw 1.3em 1vw;
        font-size: 1.08em;
    }
}

/* Kein horizontales Scrollen auf kleinen Bildschirmen */
body, html {
    overflow-x: hidden;
}

.button-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em 0 1.3em 0;
}


.termine-btn {
    display: inline-block;
    margin: 1.2em auto 0 auto;
    padding: 0.85em 2.1em;
    background: linear-gradient(90deg, #da6f93 40%, #62e4f8 100%);
    color: #1e0404;
    font-size: 1.18rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px 0 #a2e7eb80, 0 0.5px 5px #e3eef5;
    text-shadow: 0 1px 4px #23548277;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
}

.termine-btn:hover,
.termine-btn:focus {
    background: linear-gradient(90deg, #49b7c7 0%, #00858f 100%);
    color: #fff;
    transform: translateY(-1.5px) scale(1.03);
    box-shadow: 0 4px 20px 0 #b4e6ff77;
    text-decoration: none;
    outline: none;
}



/* Button bleibt erhalten */
.mitglied-btn {
    display: inline-block;
    margin: 1.2em auto 0 auto;
    padding: 0.85em 2.1em;
    background: linear-gradient(90deg, #36078d 50%, #610596 80%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px 0 #8ec8f880, 0 0.5px 5px #e3eef5;
    text-shadow: 0 1px 4px #23548277;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
}

.mitglied-btn:hover,
.mitglied-btn:focus {
    background: linear-gradient(90deg, #308ee7 50%, #005da1 80%);
    color: #fff;
    transform: translateY(-1.5px) scale(1.03);
    box-shadow: 0 4px 20px 0 #b4e6ff77;
    text-decoration: none;
    outline: none;
}
.gast-btn {
    display: inline-block;
    margin: 1.2em auto 0 auto;
    padding: 0.85em 2.1em;
    background: linear-gradient(90deg, #6ad2d9 80%, #088b9f 100%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px 0 #a2e7eb80, 0 0.5px 5px #e3eef5;
    text-shadow: 0 1px 4px #23548277;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
}

.gast-btn:hover,
.gast-btn:focus {
    background: linear-gradient(90deg, #49b7c7 0%, #00858f 100%);
    color: #fff;
    transform: translateY(-1.5px) scale(1.03);
    box-shadow: 0 4px 20px 0 #b4e6ff77;
    text-decoration: none;
    outline: none;
}

.presse-btn {
    display: inline-block;
    margin: 1.2em auto 0 auto;
    padding: 0.85em 2.1em;
    background: linear-gradient(90deg, #d364a5 60%, #a20576 100%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px 0 #ff5f5f55, 0 0.5px 5px #e3eef5;
    text-shadow: 0 1px 2px #b1220240;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
}

.presse-btn:hover,
.presse-btn:focus {
    background: linear-gradient(90deg, #a20576 60%, #d364a5 100%);
    color: #fff;
    transform: translateY(-1.5px) scale(1.03);
    box-shadow: 0 4px 20px 0 #ffbdbd77;
    text-decoration: none;
    outline: none;
}

.vorstand-btn {
    display: inline-block;
    margin: 1.2em auto 0 auto;
    padding: 0.85em 2.1em;
    background: linear-gradient(90deg, #a1075c 50%, #55d5e3 100%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px 0 #8ec8f880, 0 0.5px 5px #e3eef5;
    text-shadow: 0 1px 4px #23548277;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
}

.vorstand-btn:hover {
    background: linear-gradient(90deg, #0f91b9 0%, #ac1689 100%);
    color: #fff;
    transform: translateY(-1.5px) scale(1.03);
    box-shadow: 0 4px 20px 0 #ffbdbd77;
    text-decoration: none;
    outline: none;
}

.vorstand-modal-btn {
  display: block;
  margin: 1.1em auto;
  padding: 0.7em 1.2em;
  background: linear-gradient(90deg, #005da1 80%, #308ee7 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 #8ec8f880;
  text-shadow: 0 1px 2px #23548277;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
  max-width: 90%;
}
.vorstand-modal-btn:hover,
.vorstand-modal-btn:focus {
  background: linear-gradient(90deg, #308ee7 0%, #005da1 100%);
  color: #fff;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 14px 0 #b4e6ff77;
  outline: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 32, 48, 0.45); /* dunklerer Schleier */
  backdrop-filter: blur(5px);        /* Hintergrund weichzeichnen */
  -webkit-backdrop-filter: blur(5px); /* Für Safari */
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}
.modal.show {
    display: flex;   /* Nur wenn Modal offen! */
}

.modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 0 44px 0 #e5eaf2, 0 1.5px 18px #d7e8ff40;
    padding: 2.1em 1.5em 1.5em 1.5em;
    min-width: 290px;
    max-width: 90vw;
    color: #184260;
    position: relative;
    animation: popIn 0.27s;
    text-align: left;
}
@keyframes popIn {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.close-modal {
    position: absolute;
    right: 16px;
    top: 10px;
    font-size: 1.9em;
    color: #005da1;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.16s;
}
.close-modal:hover {
    color: #196cab;
}
