/* Blur-Effekt für den geschützten Inhalt */
body.protected #main-content {
    filter: blur(12px);
    pointer-events: none;        /* Verhindert Klicks und Interaktion */
    user-select: none;           /* Verhindert Textauswahl */
    transition: filter 0.5s ease;
}

body.unlocked #main-content {
    filter: none;
    pointer-events: auto;
    user-select: auto;
}

/* Passwort-Modal */
#password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.4s ease;
}

#password-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: white;
    padding: 10px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
}

.modal-content h2 {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #000;
}

.modal-content input {
    width: 80%;
    padding: 12px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    text-align: center;
}

.modal-content button {
    background: red;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-family: 'Bangers', cursive;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-content button:hover {
    background: #cc0000;
}

.error-msg {
    color: red;
    margin-top: 10px;
    font-weight: bold;
}

/* Zweispaltiges Layout für den internen Inhalt */
.intern-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.column {
    text-decoration: none;
    color: #000;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.column h2 {
    margin-bottom: 20px;
    font-size: 2em;
}

ion-icon {
    height: 100px;
    width: 100px;
}

/* NEU: Cloud-Icon Hover-Effekt */
.column:hover ion-icon[name="cloud-outline"] {
    color: #1976d2;
    transition: color 0.3s ease;
}

.column ion-icon[name="cloud-outline"] {
    transition: color 0.3s ease;
    color: inherit;
}

/* Foto-Grid für die Jahre */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.photo-tile {
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.photo-tile:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.photo-tile span {
    font-size: 2.4em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Verschiedene Farben für die Jahres-Kacheln */
.photo-tile:nth-child(1) { background: #d32f2f; } /* Rot */
.photo-tile:nth-child(2) { background: #1976d2; } /* Blau */
.photo-tile:nth-child(3) { background: #388e3c; } /* Grün */
.photo-tile:nth-child(4) { background: #f57c00; } /* Orange */
.photo-tile:nth-child(5) { background: #7b1fa2; } /* Lila */
.photo-tile:nth-child(6) { background: #c2185b; } /* Pink */
.photo-tile:nth-child(7) { background: #0097a7; } /* Cyan */
.photo-tile:nth-child(8) { background: #689f38; } /* Hellgrün */

/* Weitere Farben bei Bedarf (wird zyklisch wiederholt) */
.photo-tile:nth-child(9) { background: #d32f2f; }
.photo-tile:nth-child(10) { background: #1976d2; }
/* usw. */

/* Responsiv: Auf kleinen Bildschirmen eine Spalte */
@media (max-width: 900px) {
    .intern-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Icon-Grössen */
.icon-large {
    width: 150px;
    height: auto;
    margin: 20px 0;
}

/* Weniger Abstand oben zum Titel "Interner Bereich" */
section h1.section-title {
    margin-top: 20px; /* statt dem großen padding-top: 100px der Section */
}