/* =========================================
   Konzept Seite
   ========================================= */

.konzept-page {
    background-color: #000000;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto 1fr auto;
}

.konzept-page::before {
    display: none;
}

.konzept-page::after {
    display: block;
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.25) 65%, rgba(0, 0, 0, 0) 85%);
}

.konzept-bg-wrapper {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: -2; 
    display: flex;
    flex-direction: column;
}

.konzept-hauptbild {
    width: 100%; 
    height: auto; 
    display: block;
    flex-shrink: 0; 
}

.konzept-kachel {
    width: 100%;
    min-height: 50vh;
    flex-grow: 1;
    background-image: url('images/konzept_kachel.webp');
    background-repeat: repeat;
    background-size: 1254px 1254px;
    background-position: top center; 
    position: relative;
    z-index: 0; 
    overflow: hidden;
}

.konzept-endbild {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.konzept-page header { grid-column: 1; grid-row: 1; }
.konzept-page .konzept-main { grid-column: 1; grid-row: 2; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-bottom: 15vw; }
.konzept-page .site-footer { grid-column: 1; grid-row: 3; z-index: 10; }

.konzept-section {
    width: 100%;
    max-width: 1000px;
    padding: 5rem 2rem;
    text-align: center;
}

.konzept-section h1 {
    color: #ffffff;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 3rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

/* =========================================
   Konzept Seite - Kachel Overlays
   ========================================= */
.kachel-overlay {
    position: absolute;
    width: 1254px;
    height: 1254px;
    background-image: url('images/konzept_kachel_overlay.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* =========================================
   Konzept Seite - Grid Layout
   ========================================= */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.concept-block {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(170, 255, 170, 0.1);
}

.concept-block h2 {
    color: #aaffaa;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(170, 255, 170, 0.3);
}

.concept-block p {
    color: #cccccc;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* =========================================
   Konzept Seite - Interaktive Irrlichter
   ========================================= */
.interactivity-block {
    position: relative;
    overflow: hidden;
}

.interactivity-block:hover {
    transform: none;
}

.interactivity-wisps {
    position: relative;
    width: 100%;
    height: 80px;
    margin-top: 1rem;
    pointer-events: none;
    z-index: 0;
}

.int-wisp-wrapper {
    position: absolute;
    will-change: transform;
}

.int-wisp-w-1 { top: 40px; left: 30%; }
.int-wisp-w-2 { top: 10px; left: 50%; }
.int-wisp-w-3 { top: 50px; left: 70%; }

.int-wisp-1 { width: 12px; height: 12px; animation: intWispDance1 2s infinite linear; animation-play-state: paused; }
.int-wisp-2 { width: 8px; height: 8px; animation: intWispDance2 1.6s infinite linear; animation-play-state: paused; }
.int-wisp-3 { width: 14px; height: 14px; animation: intWispDance3 2.4s infinite linear; animation-play-state: paused; }
.int-wisp-1 { width: 12px; height: 12px; animation: intWispDance1 3s infinite linear; animation-play-state: paused; }
.int-wisp-2 { width: 8px; height: 8px; animation: intWispDance2 2.5s infinite linear; animation-play-state: paused; }
.int-wisp-3 { width: 14px; height: 14px; animation: intWispDance3 4s infinite linear; animation-play-state: paused; }

.interactivity-block:hover .int-wisp-1,
.interactivity-block:hover .int-wisp-2,
.interactivity-block:hover .int-wisp-3 {
    animation-play-state: running;
}

@keyframes intWispDance1 {
    0%   { transform: rotate(0deg) translate(25px) rotate(0deg); }
    100% { transform: rotate(360deg) translate(25px) rotate(-360deg); }
}

@keyframes intWispDance2 {
    0%   { transform: rotate(120deg) translate(18px) rotate(-120deg); }
    100% { transform: rotate(-240deg) translate(18px) rotate(240deg); }
}

@keyframes intWispDance3 {
    0%   { transform: rotate(240deg) translate(28px) rotate(-240deg); }
    100% { transform: rotate(600deg) translate(28px) rotate(-600deg); }
}

.interactivity-block h2,
.interactivity-block p {
    position: relative;
    z-index: 1;
}

.concept-block.image-block {
    padding: 0;
    overflow: hidden;
    min-height: 250px;
}

.concept-block.image-block .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    font-style: italic;
    background-size: cover;
    background-position: center;
}

.concept-block.image-block img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================
   Konzept Seite - Slideshow
   ========================================= */
.slideshow-block {
    position: relative;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-container .slide {
    display: none;
}

.slideshow-container .slide.active {
    display: block;
}

.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(170, 255, 170, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dots .dot.active,
.slideshow-dots .dot:hover {
    background: #aaffaa;
    border-color: #aaffaa;
    box-shadow: 0 0 10px rgba(170, 255, 170, 0.8);
}

/* =========================================
   Konzept Seite - 3er Bild-Raster (Trio)
   ========================================= */
.concept-block.image-block.trio-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 4px;
}

.trio-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.concept-block.image-block.trio-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.concept-block.image-block.trio-grid .trio-image-wrapper:hover img {
    transform: scale(1.05);
}

/* =========================================
   Konzept Seite - 4er Bild-Raster
   ========================================= */
.concept-block.image-block.quad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
}

.concept-block.image-block.quad-grid .placeholder-img,
.concept-block.image-block.quad-grid img {
    object-fit: cover;
    object-position: left top;
}

.quad-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.quad-image-year {
    position: absolute;
    bottom: 5px;
    right: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

.concept-block.image-block.quad-grid .quad-image-wrapper:nth-child(2) img {
    object-position: center;
}

.concept-block.color-block {
    border-color: rgba(170, 255, 170, 0.3);
}

.concept-block.color-block h2,
.concept-block.color-block p {
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.color-squares {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.color-square {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.color-square:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   Konzept Seite - Sound Board
   ========================================= */
.sound-board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    height: 100%;
}

.sound-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem 0.5rem;
    color: #cccccc;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sound-btn:hover {
    background: rgba(170, 255, 170, 0.1);
    border-color: rgba(170, 255, 170, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sound-btn.playing {
    background: rgba(170, 255, 170, 0.2);
    border-color: #aaffaa;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(170, 255, 170, 0.4), inset 0 0 10px rgba(170, 255, 170, 0.2);
}

.sound-btn .icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.sound-btn.playing .icon {
    animation: pulseSoundIcon 1.5s infinite alternate ease-in-out;
}

.sound-btn .label {
    font-size: 0.95rem;
    font-weight: bold;
    letter-spacing: 1px;
}

@keyframes pulseSoundIcon {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(170, 255, 170, 0.5)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 15px rgba(170, 255, 170, 0.9)); }
}

.concept-block.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .concept-grid {
        grid-template-columns: 1fr;
    }
    .concept-block.full-width {
        grid-column: auto;
    }
}