@charset "UTF-8";

/* ==== GRUNDEINSTELLUNGEN ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #001f3f;
    color: white;
}
html, body {
    overflow-x: hidden;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* ==== NAVIGATION ==== */
#navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #003366;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo span {
    font-size: 20px;
    font-weight: bold;
    color: #7ecfff;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #7ecfff;
}

/* ==== STARTSEITE ==== */
#startseite {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 20, 50, 0.45), rgba(0, 10, 30, 0.65)), url("Startseite.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.start-content {
    z-index: 10;
    transform: translateY(-140px);
}

.start-content .start-button {
    transform: translateY(140px);
}

.start-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #7ecfff;
}

.start-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: #7ecfff;
    color: #001f3f;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: transform 0.3s;
}

.start-button:hover {
    background-color: #a5dcff;
}

/* ==== FISCH ANIMATION ==== */
.fish {
    position: absolute;
    font-size: 40px;
    animation: swim linear infinite;
    transform: scaleX(-1);
    left: -100px;
}

.fish:nth-child(1) { top: 15%; animation-duration: 12s; animation-delay: 0s; }
.fish:nth-child(2) { top: 35%; animation-duration: 18s; animation-delay: 2s; }
.fish:nth-child(3) { top: 55%; animation-duration: 15s; animation-delay: 5s; }
.fish:nth-child(4) { top: 75%; animation-duration: 22s; animation-delay: 1s; }
.fish:nth-child(5) { top: 25%; animation-duration: 10s; animation-delay: 8s; }
.fish:nth-child(6) { top: 45%; animation-duration: 25s; animation-delay: 4s; }
.fish:nth-child(7) { top: 65%; animation-duration: 14s; animation-delay: 6s; }
.fish:nth-child(8) { top: 85%; animation-duration: 20s; animation-delay: 3s; }

@keyframes swim {
    0%   { left: -100px; transform: scaleX(-1); }
    49%  { transform: scaleX(-1); }
    50%  { left: 105vw; transform: scaleX(1); }
    99%  { transform: scaleX(1); }
    100% { left: -100px; transform: scaleX(-1); }
}

/* ==== AUFZUG ==== */
#aufzug {
    height: calc(100vh - 60px);
    min-height: 0;
    background: transparent;
    padding: 10px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.ebene-titel {
    font-size: 32px;
    font-weight: bold;
    color: #7ecfff;
    height: 50px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
    position: relative;
    z-index: 10;
	-webkit-text-stroke: 1.5px #000;        /* schwarze Kontur (Chrome, Safari, Edge) */
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0    0   6px rgba(0,0,0,0.8);       /* zusätzlicher dunkler Schein */
    paint-order: stroke fill;               /* Kontur HINTER dem Text, damit Schrift scharf bleibt */
}

.aufzug-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    min-height: 0;
    width: 100%;
    position: relative;
    overflow: visible;
}

/* ==== FAHRSTUHL ==== */
.fahrstuhl {
    position: relative;
    width: min(750px, 65vw);
    height: calc(100vh - 160px);
    background: linear-gradient(160deg, #5a5a5a 0%, #3a3a3a 40%, #2e2e2e 100%);
    border-radius: 12px;
    border: 12px solid #1a1a1a;
    box-shadow:
        inset 0 2px 6px rgba(255,255,255,0.08),
        inset 0 -4px 10px rgba(0,0,0,0.6),
        0 0 40px rgba(0,0,0,0.8),
        0 0 80px rgba(0,20,60,0.5);
    display: flex;
    flex-direction: column;
    overflow: visible;
    transition: transform 1.5s ease-in, opacity 1.5s ease-in;
}

/* Wackel-Animation beim Knopfdruck */
@keyframes fahrstuhlWackeln {
    0%   { transform: translateX(0); }
    15%  { transform: translateX(-4px) rotate(-0.3deg); }
    30%  { transform: translateX(4px) rotate(0.3deg); }
    45%  { transform: translateX(-3px) rotate(-0.2deg); }
    60%  { transform: translateX(3px) rotate(0.2deg); }
    75%  { transform: translateX(-1px); }
    100% { transform: translateX(0); }
}

.fahrstuhl.wackeln {
    animation: fahrstuhlWackeln 0.6s ease-in-out;
}

.fahrstuhl.herangezoomt {
    transform: scale(15);
    opacity: 0;
    pointer-events: none;
    transition: transform 1.5s ease-in, opacity 1.2s ease-in;
}


/* ==== TÜREN ==== */
.tueren {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    overflow: hidden;
}

.tuer {
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        #5a5a5a 0%,
        #7a7a7a 20%,
        #8e8e8e 35%,
        #6e6e6e 50%,
        #7a7a7a 65%,
        #606060 80%,
        #4a4a4a 100%
    );
    border: 2px solid #1a1a1a;
    position: relative;
    z-index: 2;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Metall-Streifen auf den Türen */
.tuer-streifen {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to right, rgba(255,255,255,0.05), rgba(255,255,255,0.18), rgba(255,255,255,0.05));
    pointer-events: none;
}

.tuer.links .tuer-streifen { right: 30%; }
.tuer.rechts .tuer-streifen { left: 30%; }

.tuer.links {
    border-right: 2px solid #111;
}

.tuer.rechts {
    border-left: 2px solid #111;
}

/* Lichtstrahl beim Öffnen */
.tuer-licht {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 100%;
    background: linear-gradient(to right,
        transparent,
        rgba(126, 207, 255, 0.15),
        rgba(200, 240, 255, 0.3),
        rgba(126, 207, 255, 0.15),
        transparent
    );
    z-index: 1;
    pointer-events: none;
    transition: width 1.2s ease 0.3s, opacity 0.5s ease 1.5s;
    opacity: 0;
}

.fahrstuhl.offen .tuer-licht {
    width: 0;
    opacity: 0;
}

/* Türen öffnen */
.fahrstuhl.offen .tuer.links {
    transform: translateX(-90%);
}

.fahrstuhl.offen .tuer.rechts {
    transform: translateX(90%);
}

/* Druckvignette */
.druck-vignette {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 1s ease;
    background: radial-gradient(ellipse at center,
        transparent 40%,
        rgba(0, 0, 20, 0.5) 100%
    );
}

.druck-vignette.zone-2 { opacity: 0.3; }
.druck-vignette.zone-3 { opacity: 0.55; }
.druck-vignette.zone-4 { opacity: 0.75; }
.druck-vignette.zone-5 { opacity: 0.9; }


/* ==== BLASEN ANIMATION ==== */
.blasen-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.blase {
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        rgba(255,255,255,0.6),
        rgba(126,207,255,0.2) 60%,
        transparent
    );
    border: 1px solid rgba(126,207,255,0.4);
    animation: blasenAufsteigen linear forwards;
    pointer-events: none;
}

@keyframes blasenAufsteigen {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.8; }
    20%  { transform: translateY(-20vh) translateX(8px) scale(1.05); opacity: 0.7; }
    40%  { transform: translateY(-40vh) translateX(-6px) scale(1.1); opacity: 0.6; }
    60%  { transform: translateY(-60vh) translateX(10px) scale(1.08); opacity: 0.4; }
    80%  { transform: translateY(-80vh) translateX(-4px) scale(1.15); opacity: 0.2; }
    100% { transform: translateY(-105vh) translateX(5px) scale(1.2); opacity: 0; }
}


/* ==== UNTERWASSER ==== */
.unterwasser {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
    overflow: hidden;
}

.fische-hinten .fisch {
    position: absolute;
    font-size: 40px;
    animation: swim2 linear infinite;
    opacity: 0.8;
}

.fische-hinten .fisch:nth-child(1) { top: 30%; animation-duration: 12s; }
.fische-hinten .fisch:nth-child(2) { top: 60%; animation-duration: 18s; }
.fische-hinten .fisch:nth-child(3) { top: 45%; animation-duration: 15s; }

@keyframes swim2 {
    0%   { left: -100px; transform: scaleX(-1); }
    100% { left: 110%; transform: scaleX(-1); }
}

/* ==== INFO PANEL (rechts) ==== */
#info-panel.seite.rechts {
    display: none;
    position: fixed !important;
    right: 30px !important;
    left: auto !important;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: white;
    z-index: 100;
    margin: 0;
}

#info-panel.seite.rechts.sichtbar {
    display: flex;
}
/* Balken */
.balken-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.balken-label {
    font-size: 14px;
    color: #7ecfff;
    font-weight: bold;
}

.balken {
    width: 30px;
    height: 300px;
    background-color: #003366;
    border-radius: 15px;
    border: 2px solid #7ecfff;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.balken-fill {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: background 1s ease;
}

/* Farben je Zone */
.zone-1 { background: linear-gradient(to bottom, #87CEEB, #4da6ff); }
.zone-2 { background: linear-gradient(to bottom, #4da6ff, #003399); }
.zone-3 { background: linear-gradient(to bottom, #003399, #001a66); }
.zone-4 { background: linear-gradient(to bottom, #001a66, #000d33); }
.zone-5 { background: linear-gradient(to bottom, #000d33, #0000); }

/* Temperatur */
.temperatur-anzeige {
    font-size: 22px;
    color: #7ecfff;
}

/* Zurück Button */
.zurueck-btn {
    margin-top: 10px;
    padding: 12px 20px;
    background-color: #7ecfff;
    color: #001f3f;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.3s;
}

.zurueck-btn:hover {
    transform: scale(1.05);
}

.fisch-zone {
    position: absolute;
    font-size: 50px;
    z-index: 1;
    animation: swimRight linear infinite;
    user-select: none;
    pointer-events: none;
}

@keyframes swimReal1 {
    0%   { transform: translateX(-100px) translateY(0px) scaleX(-1); }
    25%  { transform: translateX(25vw) translateY(-30px) scaleX(-1); }
    50%  { transform: translateX(50vw) translateY(15px) scaleX(-1); }
    75%  { transform: translateX(75vw) translateY(-20px) scaleX(-1); }
    100% { transform: translateX(110vw) translateY(0px) scaleX(-1); }
}

@keyframes swimReal2 {
    0%   { transform: translateX(-100px) translateY(0px) scaleX(-1); }
    33%  { transform: translateX(33vw) translateY(25px) scaleX(-1); }
    66%  { transform: translateX(66vw) translateY(-10px) scaleX(-1); }
    100% { transform: translateX(110vw) translateY(0px) scaleX(-1); }
}

@keyframes swimReal3 {
    0%   { transform: translateX(-100px) translateY(0px) scaleX(-1); }
    20%  { transform: translateX(20vw) translateY(-15px) scaleX(-1); }
    40%  { transform: translateX(40vw) translateY(20px) scaleX(-1); }
    60%  { transform: translateX(60vw) translateY(-25px) scaleX(-1); }
    80%  { transform: translateX(80vw) translateY(10px) scaleX(-1); }
    100% { transform: translateX(110vw) translateY(0px) scaleX(-1); }
}

/* ==== MEMORY OVERLAY ==== */
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 5, 20, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.memory-content {
    background: #001a66;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #4da6ff;
    max-width: 500px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    max-width: 380px;
}

.card {
    width: 80px;
    height: 80px;
    background: #003399;
    border-radius: 10px;
    cursor: pointer;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: transparent;
    transition: transform 0.3s;
}

.card.flipped {
    background: #4da6ff;
    color: white;
    transform: rotateY(180deg);
}

.card.matched {
    background: #28a745;
    visibility: hidden;
}

/* ==== NAVIGATION LOGO ==== */
.nav-logo a {
    color: #7ecfff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

/* ==== DROPDOWN NAVIGATION ==== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #002b55;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    min-width: 200px;
    z-index: 2000;
    box-shadow: 0 8px 15px rgba(0,0,0,0.5);
    border: 1px solid #1a4a7a;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: white;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    text-align: left;
}

.dropdown-menu li a:hover {
    background-color: #1a4a7a;
    color: #7ecfff;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ==== WACKELN ==== */
@keyframes wackeln {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-6px); }
    40%  { transform: translateX(6px); }
    60%  { transform: translateX(-4px); }
    80%  { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.fahrstuhl.wackeln {
    animation: wackeln 0.6s ease;
}

/* ==== DISPLAY (LED-Anzeige) ==== */
.display-panel {
    width: 100%;
    background-color: #111;
    border-bottom: 4px solid #222;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

#display-screen {
    font-family: 'Courier New', monospace;
    font-size: 28px;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 8px #00ff88, 0 0 20px #00cc66;
    letter-spacing: 2px;
    background-color: #000;
    padding: 6px 20px;
    border-radius: 6px;
    border: 2px solid #0a3;
}

/* ==== KNOPF PANEL ==== */
.knopf-panel {
    width: 100%;
    height: 110px;
    background: linear-gradient(to bottom, #2a2a2a, #1e1e1e);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-bottom: 4px solid #111;
    flex-shrink: 0;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.knopf-panel-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.knopf {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 3px solid #555;
    background: radial-gradient(circle at 35% 30%, #e0e0e0, #999 60%, #666);
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #222;
    transition: all 0.2s;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.6),
        inset 0 1px 3px rgba(255,255,255,0.4),
        inset 0 -2px 4px rgba(0,0,0,0.3);
    position: relative;
    padding: 0;
    line-height: 1;
}

.knopf:hover {
    background: radial-gradient(circle at 35% 30%, #b0e8ff, #5ab8e8 60%, #2a7aaa);
    color: white;
    transform: scale(1.08);
    box-shadow:
        0 6px 14px rgba(0,0,0,0.7),
        0 0 12px rgba(126,207,255,0.4),
        inset 0 1px 3px rgba(255,255,255,0.5);
}

.knopf.aktiv {
    background: radial-gradient(circle at 35% 30%, #7ecfff, #2a9fd6 60%, #005f99);
    color: white;
    box-shadow:
        0 0 16px #7ecfff,
        0 0 30px rgba(126,207,255,0.5),
        inset 0 2px 4px rgba(255,255,255,0.3);
    transform: scale(0.95);
}

/* ==== STRAND-KNOPF (0) ==== */
.knopf.strand-knopf {
    background-color: #ffd27f;
    border-color: #cc9933;
}
.knopf.strand-knopf:hover {
    background-color: #ffe0a0;
}

/* ==== WACKELN ==== */
@keyframes wackeln {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-4px); }
    40%  { transform: translateX(4px); }
    60%  { transform: translateX(-3px); }
    80%  { transform: translateX(3px); }
    100% { transform: translateX(0); }
}
.fahrstuhl.wackeln {
    animation: wackeln 0.3s ease-in-out 2;
}

/* ==== LUFTBLASEN ==== */
.blasen-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.blase {
    position: absolute;
    bottom: -40px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.2));
    border-radius: 50%;
    opacity: 0.7;
}

/* Blasen steigen auf (Runterfahren-Gefühl: Wasser strömt hoch) */
@keyframes blasenAuf {
    0%   { transform: translateY(0) translateX(0); opacity: 0.8; }
    50%  { transform: translateY(-50vh) translateX(15px); opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(-10px); opacity: 0; }
}


/* Wellen-Overlay (animiert) */
.wellen {
    position: absolute;
    bottom: 38%;        /* Höhe an die Wasserlinie im Bild anpassen */
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    overflow: hidden;
}

.welle {
    position: absolute;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C150,90 350,0 600,40 C850,80 1050,10 1200,40 L1200,120 L0,120 Z' fill='%23ffffff' fill-opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 50% 100%;
}

.welle.welle1 {
    animation: wellenBewegung 7s linear infinite;
    opacity: 0.5;
}
.welle.welle2 {
    animation: wellenBewegung 11s linear infinite reverse;
    opacity: 0.3;
    bottom: 10px;
}

@keyframes wellenBewegung {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==== STRAND-VIDEO ==== */
/* ==== STRAND-VIDEO ==== */
.strand-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    pointer-events: none;   /* ← nicht klickbar, kein Pausieren */
}

/* Play-Button / Controls in allen Browsern verstecken */
.strand-video::-webkit-media-controls,
.strand-video::-webkit-media-controls-start-playback-button,
.strand-video::-webkit-media-controls-play-button,
.strand-video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none;
    opacity: 0;
}

#strand-video-bg { z-index: 0; }
#strand-video-innen { z-index: 0; }

#aufzug .aufzug-container,
#aufzug .ebene-titel,
#aufzug #info-panel {
    position: relative;
    z-index: 2;
}

#aufzug.strand .strand-video {
    display: block;
}

#aufzug.strand .unterwasser {
    background: transparent !important;
}

/* Hintergrund neutral abdunkeln, damit es nicht doppelt aussieht */
#aufzug.strand {
    background: #1a1a1a !important;
}

#aufzug.strand #strand-video-bg {
    opacity: 0.35;   /* Hintergrund dezent, Innenraum bleibt voll */
}

/* ==== ECHTE FISCH-BILDER: SCHWIMM-RICHTUNGEN ==== */
@keyframes fischRechts {
    0%   { transform: translateX(-150px) translateY(0); }
    25%  { transform: translateX(25vw) translateY(-15px); }
    50%  { transform: translateX(50vw) translateY(10px); }
    75%  { transform: translateX(75vw) translateY(-12px); }
    100% { transform: translateX(110vw) translateY(0); }
}

@keyframes fischLinks {
    0%   { transform: translateX(110vw) translateY(0); }
    25%  { transform: translateX(75vw) translateY(-15px); }
    50%  { transform: translateX(50vw) translateY(10px); }
    75%  { transform: translateX(25vw) translateY(-12px); }
    100% { transform: translateX(-150px) translateY(0); }
}

@keyframes fischRechtsUnten {
    0%   { transform: translateX(-150px) translateY(-40px); }
    50%  { transform: translateX(50vw) translateY(35vh); }
    100% { transform: translateX(110vw) translateY(75vh); }
}

@keyframes fischOben {
    0%   { transform: translateY(85vh) translateX(0); }
    50%  { transform: translateY(40vh) translateX(20px); }
    100% { transform: translateY(-20vh) translateX(-15px); }
}

@keyframes fischUntenLinks {
    0%   { transform: translateX(110vw) translateY(-40px); }
    50%  { transform: translateX(50vw) translateY(35vh); }
    100% { transform: translateX(-150px) translateY(75vh); }
}

/* ==== SUBTILES SCHLAENGELN DER FISCH-BILDER ==== */
@keyframes fischSchlaengeln {
    0%   { transform: rotate(-2deg) translateY(0); }
    25%  { transform: rotate(1.5deg) translateY(-2px); }
    50%  { transform: rotate(-1.5deg) translateY(0); }
    75%  { transform: rotate(2deg) translateY(2px); }
    100% { transform: rotate(-2deg) translateY(0); }
}

.wasser-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.wasser-bg.sichtbar {
    opacity: 1;
}

/* ==== STRAND: Video durch offenen Fahrstuhl sichtbar ==== */
/* Innenraum-Hintergrund des Fahrstuhls transparent, wenn offen */
.fahrstuhl.offen {
    background: transparent;
}

/* Bereich HINTER den Türen (der .tueren-Container) transparent,
   damit das Video durchscheint, wenn die Türen offen sind */
.fahrstuhl.offen .tueren {
    background: transparent;
}

/* ==== BLASEN: zwei Richtungen für Fahrt ==== */
@keyframes blasenHoch {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.85; }
    50%  { transform: translateY(-50vh) translateX(12px) scale(1.1); opacity: 0.55; }
    100% { transform: translateY(-105vh) translateX(-8px) scale(1.2); opacity: 0; }
}

@keyframes blasenRunter {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.85; }
    50%  { transform: translateY(50vh) translateX(12px) scale(1.1); opacity: 0.55; }
    100% { transform: translateY(105vh) translateX(-8px) scale(1.2); opacity: 0; }
}

/* ==== FISCH-INFO OVERLAY ==== */
#fisch-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
    /* Hintergrundfarbe wird per JS auf Zonenfarbe gesetzt */
}

#fisch-overlay.sichtbar {
    display: flex;
}

#fisch-box {
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    background: rgba(255, 255, 255, 0.12);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    display: flex;
    align-items: stretch;
    gap: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#fisch-bild-bereich {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

#fisch-bild {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.5));
    animation: fischReinZoom 0.5s ease;
}

@keyframes fischReinZoom {
    0%   { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

#fisch-text-bereich {
    flex: 1;
    background: #ffffff;
    color: #001f3f;
    border-radius: 16px;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#fisch-name {
    font-size: 30px;
    color: #003366;
    margin-bottom: 18px;
    border-bottom: 3px solid #7ecfff;
    padding-bottom: 12px;
}

#fisch-text {
    font-size: 17px;
    line-height: 1.7;
    flex: 1;
}

#fisch-zurueck {
    margin-top: 25px;
    align-self: flex-start;
    padding: 14px 32px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

#fisch-zurueck:hover {
    background-color: #7ecfff;
    color: #001f3f;
    transform: scale(1.05);
}

/* Schwertfisch: schwimmt schräg nach oben-links */
@keyframes fischObenLinks {
    0%   { transform: translate(110vw, 30vh) scaleX(1); }
    100% { transform: translate(-300px, -30vh) scaleX(1); }
}

/* Phantomqualle: schwimmt schräg nach unten-rechts */
@keyframes fischUntenRechts {
    0%   { transform: translate(-300px, -20vh) scaleX(1); }
    100% { transform: translate(110vw, 30vh) scaleX(1); }
}
/* Bartmännchen: schwimmt schräg nach oben-rechts */
@keyframes fischObenRechts {
    0%   { transform: translate(-300px, 30vh) scaleX(-1); }
    100% { transform: translate(110vw, -30vh) scaleX(-1); }
}

/* ==== SEITEN-FOOTER (Impressum-Link) ==== */
.seiten-footer {
    width: 100%;
    background-color: #002b55;
    border-top: 2px solid #1a4a7a;
    text-align: center;
    padding: 18px 20px;
    margin-top: auto;
}

.seiten-footer a {
    color: #7ecfff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.seiten-footer a:hover {
    color: #ffffff;
}

/* ==== IMPRESSUM SEITE ==== */
.impressum-seite {
    min-height: calc(100vh - 160px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    background: linear-gradient(to bottom, #003366, #001f3f);
}

.impressum-box {
    background-color: #002b55;
    border: 1px solid #1a4a7a;
    border-radius: 16px;
    padding: 40px 50px;
    max-width: 650px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.impressum-box h1 {
    color: #7ecfff;
    margin-bottom: 25px;
    font-size: 2rem;
    border-bottom: 2px solid #1a4a7a;
    padding-bottom: 12px;
}

.impressum-box p {
    margin: 12px 0;
    line-height: 1.6;
    color: #ffffff;
}

.impressum-box p strong {
    color: #7ecfff;
}

.impressum-zurueck {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #7ecfff;
    color: #001f3f;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: transform 0.3s;
}

.impressum-zurueck:hover {
    transform: scale(1.05);
}