/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */

/* ==========================================================================
   FARBPALETTE - Beach Vibes Collection
   ========================================================================== */

:root {
    /* ==========================================================================
       GRUNDFARBEN - Hier können Sie die Farben Ihrer Webseite definieren
       ========================================================================== */
    --blau: rgb(80, 142, 146);          /* Helles Beach Blau */
    --mintgruen: rgb(81, 136, 129);    /* Sanftes Mintgrün */
    --beige: rgb(237, 247, 86);         /* Warmes Beige-Gelb */
    --weiss: #ffffff;                   /* Reines Weiß */
    --grau-hell: #f8f9fa;              /* Sehr helles Grau */
    --grau-mittel: #666666;            /* Mittleres Grau */
    --grau-dunkel: #333333;            /* Dunkles Grau */
    --schwarz: #000000;                /* Schwarz */
    
    /* Cappuccino Farbtöne */
    --cappuccino-light: #f5f1ed;       /* Sehr heller Cappuccino */
    --cappuccino-cream: #f0e9e2;       /* Cappuccino Creme */
    --cappuccino-soft: #e8ddd4;        /* Weicher Cappuccino */
    --cappuccino-medium: #d4c4b0;      /* Mittlerer Cappuccino */
    --cappuccino-warm: #c7b299;        /* Warmer Cappuccino */
    
    /* ==========================================================================
       REFERENZ-ZUORDNUNGEN - Hier ordnen Sie die Farben den Verwendungszwecken zu
       Ändern Sie nur diese Zuordnungen, um das komplette Farbschema zu ändern!
       ========================================================================== */
    --text-light: var(--weiss);         /* Heller Text auf dunklem Hintergrund */
    --text-dark: var(--grau-dunkel);    /* Dunkler Text auf hellem Hintergrund */
    --text-muted: var(--grau-mittel);   /* Gedämpfter Text */
    
    --title-light: var(--weiss);        /* Helle Titel */
    --title-dark: var(--grau-dunkel);   /* Dunkle Titel */
    --title-accent: var(--blau);        /* Akzent-Titel */
    
    --banner: var(--blau);              /* Banner-Farbe */
    --banner-accent: var(--blau);  /* Banner-Akzent */
    --banner-bg: var(--blau);           /* Banner-Hintergrund */
    
    --bg-light: var(--cappuccino-cream);    /* Heller Hintergrund */
    --bg-soft: var(--cappuccino-cream);     /* Weicher Hintergrund */
    --bg-dark: var(--blau);                 /* Dunkler Hintergrund */
    --bg-accent: var(--cappuccino-cream);    /* Akzent-Hintergrund */
    
    --footer-bg: var(--blau);           /* Footer-Hintergrund */
    --footer-text: var(--weiss);        /* Footer-Text */
    --footer-accent: var(--schwarz);      /* Footer-Akzent für Links */
    
    --button-primary: var(--blau);      /* Primäre Button-Farbe */
    --button-hover: var(--mintgruen);   /* Button Hover-Farbe */
    --button-text: var(--weiss);        /* Button-Text */
    
    --link-color: var(--blau);          /* Link-Farbe */
    --link-hover: var(--mintgruen);     /* Link Hover-Farbe */
    
    --nav-bg: var(--blau);              /* Navigation-Hintergrund */
    --nav-text: var(--weiss);           /* Navigation-Text */
    --nav-text-hover: var(--schwarz);     /* Navigation-Text Hover */
    
    --border-light: #e0e0e0;            /* Helle Rahmen */
    --border-accent: var(--blau);       /* Akzent-Rahmen */
    
    /* ==========================================================================
       TRANSPARENZEN - Für Overlays und Effekte
       ========================================================================== */
    --alpha-10: 0.1;
    --alpha-20: 0.2;
    --alpha-25: 0.25;
    --alpha-30: 0.3;
    --alpha-40: 0.4;
    --alpha-50: 0.5;
    --alpha-70: 0.7;
    --alpha-80: 0.8;
    --alpha-90: 0.9;
    --alpha-95: 0.95;
    
    /* ==========================================================================
       SCHATTEN - Für Depth-Effekte und Text-Schatten
       ========================================================================== */
    --shadow-light: rgba(0, 0, 0, var(--alpha-10));
    --shadow-medium: rgba(0, 0, 0, var(--alpha-20));
    --shadow-strong: rgba(0, 0, 0, var(--alpha-30));
    --shadow-text: rgba(0, 0, 0, var(--alpha-80));
    --shadow-text-light: 2px 2px 4px rgba(0, 0, 0, var(--alpha-80));
    --shadow-text-strong: 3px 3px 6px rgba(0, 0, 0, var(--alpha-80));
    --shadow-nav: 0 2px 10px rgba(81, 226, 245, var(--alpha-30));
    
    /* ==========================================================================
       STATUS-FARBEN - Für Erfolg, Fehler, etc.
       ========================================================================== */
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
    --info: var(--blau);
    
    /* ==========================================================================
       EXTENDED COLOR PALETTE - Cappuccino Theme
       ========================================================================== */
    --color-helles-blau: var(--blau);
    --color-helles-blau-light: rgba(80, 142, 146, 0.1);
    --color-helles-blau-medium: rgba(80, 142, 146, 0.5);
    --color-helles-blau-strong: rgba(80, 142, 146, 0.8);
    
    --color-mintgruen-light: rgba(81, 136, 129, 0.1);
    --color-mintgruen-medium: rgba(81, 136, 129, 0.5);
    --color-mintgruen-opaque: rgba(81, 136, 129, 0.8);
    
    --color-sanftes-beige: var(--cappuccino-warm);
    --color-sanftes-beige-light: var(--cappuccino-light);
    --color-sanftes-beige-medium: var(--cappuccino-medium);
    
    --color-white: var(--weiss);
    
    --shadow-helles-blau: rgba(80, 142, 146, 0.3);
    --shadow-cappuccino: rgba(212, 196, 176, 0.4);
}

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    background: var(--bg-light);
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 182%; /* Schriftgröße auf 182% des Originals (140% * 1,3) */
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

/* Font Face Declarations */
@font-face {
    font-family: 'daniel';
    src: url('fonts/daniel.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'cour';
    src: url('fonts/cour.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Typography Base - Überschriften mit daniel.ttf */
h1 {
    font-family: 'daniel', serif !important; /* Überschriften mit daniel.ttf */
    font-size: 3.9rem;
    font-weight: 300;
    color: var(--schwarz);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

h1:not(.site-name) {
    font-family: 'daniel', serif !important; /* Überschriften mit daniel.ttf */
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    font-size: 3.25rem;

}

h2 {
    font-family: 'daniel', serif !important; /* Überschriften mit daniel.ttf */
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--schwarz);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-family: 'daniel', serif !important; /* Überschriften mit daniel.ttf */
    font-size: 1.95rem;
    font-weight: 400;
    color: var(--schwarz);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

p {
    font-family: 'cour', monospace !important; /* Alle Texte mit cour.ttf */
    margin: 1.5rem auto;
    max-width: 800px;
    text-align: center;
    font-size: 1.43rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

/* Main Content Container */
.main-content {
    max-width: 150vw;
    margin: 0;
    padding: 0;
}

/* Artist Quote als Full-Height Banner mit animiertem Titel */
.artist-quote {
    height: 100vh;
    width: 100vw;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Small banner for all pages except index */
.artist-quote.small-banner {
    height: 120px;
    background: var(--banner-bg) !important;
    background-image: none !important;
}

.artist-quote.small-banner .banner-background {
    display: none;
}

.artist-quote.small-banner .banner-title {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    animation: none;
    width: auto;
    margin-right:5rem;
}

.artist-quote.small-banner .banner-title .site-name {
    font-size: 3.25rem !important;
    text-shadow: none;
}

.artist-quote.small-banner .banner-subtitle {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    animation: none;
    text-align: center;
    margin-left: 10rem;
}

.artist-quote.small-banner .banner-subtitle .site-subtitle {
    font-size: 1.2rem !important;
    text-shadow: none;
}

/* Separater Background Container */
.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--schwarz) url('bilder/banner/main3.png') center center no-repeat;
    background-size: auto 100vh;
    z-index: 1;
}

/* Titel Animation Container - deutlich größer */
.banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    animation: titleFadeIn 3s ease-in-out 1s forwards; /* Startet nach 1 Sekunde */
    text-align: center;
    width: 100%;
}

.banner-title .site-name {
    font-family: 'daniel', serif !important; /* daniel.ttf verwenden */
    font-size: 10.4rem !important; /* Deutlich größer */
    color: var(--title-light) !important;
    text-shadow: var(--shadow-text-strong);
    margin: 0 !important;
    background: none !important;
    -webkit-text-fill-color: var(--title-light) !important;
    line-height: 1.2;
    font-weight: normal !important;
}

.banner-title .site-subtitle {
    font-family: 'cour', monospace !important; /* cour.ttf verwenden */
    font-size: 2.6rem !important;
    color: var(--text-light) !important;
    text-shadow: var(--shadow-text-light);
    margin: 1rem 0 0 3rem; /* nach rechts versetzt */
    opacity: var(--alpha-90);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: left;
}

/* Separate Container für Untertitel - nach rechts versetzt */
.banner-subtitle {
    position: absolute;
    top: 55%; /* Etwas unterhalb des Titels */
    left: 60%; /* Nach rechts von der Mitte */
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0;
    animation: titleFadeIn 3s ease-in-out 1.5s forwards; /* Startet etwas später */
    text-align: left;
    width: auto;
}

.banner-subtitle .site-subtitle {
    font-family: 'cour', monospace !important; /* cour.ttf verwenden */
    font-size: 2.6rem !important;
    color: var(--text-light) !important;
    text-shadow: var(--shadow-text-light);
    margin: 0;
    opacity: var(--alpha-90);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: left;
}

/* Navigation - jetzt unter dem Banner */
nav {
    background: var(--nav-bg); /* Navigation-Hintergrund */
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Nicht mehr fixed */
    z-index: 1000;
    box-shadow: var(--shadow-nav);
    transition: all 0.3s ease;
    height: auto;
    min-height: 120px;
    margin-top: 0; /* Explizit kein oberer Abstand */
}

.nav-brand {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    max-width: 60%;
    min-height: 100%;
    justify-content: center; /* Zentriere vertikal */
}

.nav-brand .site-name {
    font-family: 'daniel', serif !important; /* daniel.ttf für Navigation */
    font-size: 2.5rem !important;
    color: var(--nav-text) !important; /* Navigation-Text */
    margin: 0 !important;
    font-weight: normal !important;
    letter-spacing: -0.01em;
    line-height: 1.1;
    word-wrap: break-word;
    overflow: visible;
}

.nav-brand .site-subtitle {
    font-family: 'cour', monospace !important; /* cour.ttf für Navigation-Untertitel */
    font-size: 0.8rem !important;
    color: var(--nav-text) !important; /* Navigation-Text */
    margin: 0.3rem 0 0 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    word-wrap: break-word;
    overflow: visible;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-size: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: 'cour', monospace !important; /* cour.ttf für Navigation-Links */
    color: var(--nav-text); /* Navigation-Text */
    text-decoration: none;
    font-weight: 500;

    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
}

.nav-links a:hover {
    color: var(--nav-text-hover); /* Navigation-Text Hover */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--nav-text-hover); /* Navigation-Text Hover für Underline */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a.active {
    color: var(--nav-text-hover) !important;
}
.nav-links a.active::after {
    width: 80% !important;
    background: var(--nav-text-hover) !important;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.burger-menu span {
    width: 24px;
    height: 2px;
    background: var(--nav-text); /* Navigation-Text für Burger-Menu */
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 0;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* =========================================================================
   GALLERY COMPONENTS - SQUARESPACE STYLE
   ========================================================================== */

/* Gallery Item Zoom Functionality */
.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--weiss);
    transition: all 0.4s ease;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, var(--alpha-10));
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Enlarged Image State */
.gallery-item.enlarged {
    position: fixed;
    top: 10vh;
    left: 10vw;
    width: 80vw;
    height: 80vh;
    z-index: 3000;
    background: rgba(0, 0, 0, var(--alpha-95));
    aspect-ratio: unset;
    box-shadow: 0 0 50px rgba(0, 0, 0, var(--alpha-80));
    border-radius: 0;
}

.gallery-item.enlarged img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1);
}

.gallery-item.enlarged:hover img {
    transform: scale(1);
}

/* Overlay für vergrößerte Bilder */
.gallery-item.enlarged::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, var(--alpha-90));
    z-index: -1;
}

/* Close Button für vergrößerte Bilder */
.gallery-item.enlarged::after {
    content: '×';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, var(--alpha-50));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.gallery-item.enlarged::after:hover {
    background: rgba(0, 0, 0, var(--alpha-80));
}

/* Mobile Anpassungen für vergrößerte Bilder */
@media (max-width: 768px) {
    .gallery-item.enlarged {
        top: 5vh;
        left: 5vw;
        width: 90vw;
        height: 90vh;
    }
    
    .gallery-item.enlarged::after {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

/* Animation für Titel */
@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

/* Mobile Anpassungen für Banner */
@media (max-width: 768px) {
    .banner-title .site-name {
        font-size: 5.2rem !important;
    }
    
    .banner-subtitle {
        left: 55%; /* Weniger Versetzung auf Tablets */
        top: 58%; /* Etwas tiefer positioniert */
    }
    
    .banner-subtitle .site-subtitle {
        font-size: 1.56rem !important;
    }
    
    .main-content {
        margin-top: 60px;
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .banner-title .site-name {
        font-size: 3.9rem !important;
    }
    
    .banner-subtitle {
        left: 52%; /* Noch weniger Versetzung auf Smartphones */
        top: 60%; /* Noch tiefer positioniert */
    }
    
    .banner-subtitle .site-subtitle {
        font-size: 1.3rem !important;
    }
    
    .main-content {
        margin-top: 50px;
        padding: 1.5rem 1rem;
    }
}

/* ==========================================================================
   CARD COMPONENTS - SQUARESPACE STYLE
   ========================================================================== */

/* Exhibition Cards */
.exhibition-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 4rem auto;
    max-width: 1600px;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.exhibition-card {
    background: var(--bg-light);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid var(--cappuccino-medium);
    border-radius: 0px;
    box-shadow: 0 8px 25px var(--shadow-cappuccino);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .exhibition-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px var(--shadow-cappuccino);
        border-color: var(--cappuccino-warm);
        background: var(--cappuccino-warm);
    }

.exhibition-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.exhibition-card:hover img {
    transform: scale(1.02);
}

/* 2x2 Image Grid für Exhibition Cards */
.card-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.grid-image {
    overflow: hidden;
    position: relative;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.grid-image.placeholder {
    background: var(--color-helles-blau-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    font-size: 2rem;
    color: var(--text-muted);
    font-family: 'daniel', serif;
}

.card-image-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--color-helles-blau-light), var(--color-mintgruen-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    font-family: 'daniel', serif;
    font-size: 2rem;
    color: var(--text-muted);
    text-align: center;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-title {
    font-family: 'daniel', serif !important; /* Überschriften mit daniel.ttf */
    font-size: 1.95rem;
    font-weight: 400;
    color: var(--schwarz);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.card-date,
.card-location {
    font-family: 'cour', monospace !important; /* Texte mit cour.ttf */
    display: flex;
    align-items: center;
    font-size: 1.105rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-date::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.card-location::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.card-description {
    font-family: 'cour', monospace !important; /* Texte mit cour.ttf */
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.card-status {
    font-family: 'cour', monospace !important; /* Texte mit cour.ttf */
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.975rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
}

.status-upcoming {
    background: var(--bg-soft);
    color: var(--blau);
    border: 1px solid var(--blau);
}

.status-current {
    background: var(--bg-soft);
    color: var(--grau-mittel);
    border: 1px solid var(--grau-mittel);
}

.status-past {
    background: var(--bg-soft);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

/* Buttons */
.more-info-btn {
    font-family: 'cour', monospace !important; /* Buttons mit cour.ttf */
    background: transparent;
    color: var(--button-primary);
    border: 2px solid var(--button-primary);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 400;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 1.17rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.more-info-btn:hover {
    background: var(--button-primary);
    color: var(--button-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(81, 226, 245, var(--alpha-30));
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: 'cour', monospace !important; /* Buttons mit cour.ttf */
    background: transparent;
    border: 2px solid var(--color-helles-blau); /* Helles Blau */
    color: var(--color-helles-blau); /* Helles Blau */
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 1.17rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-helles-blau); /* Helles Blau */
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--color-helles-blau-medium);
}

/* Gallery Grid */
.bildergalerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 2rem;
    background:var(--bg-light);
    border-radius: 20px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--color-helles-blau-strong) 0%, 
        var(--color-mintgruen-opaque) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-icon {
    color: var(--color-sanftes-beige); /* Sanftes Beige */
    font-size: 2rem;
}

/* ==========================================================================
   CONTACT SECTION - FULLSCREEN WITH BACKGROUND IMAGE
   ========================================================================== */

/* Vollbild Kontakt Sektion */
.contact-section-fullscreen {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: url('bilder/banner/Kontakt.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

/* Overlay für bessere Lesbarkeit */
.contact-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--color-helles-blau-medium) 0%, 
        rgba(157, 249, 239, var(--alpha-40)) 100%);
    z-index: 1;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

.contact-container-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

/* Linke Seite - Titel und Info */
.contact-info-left {
    color: var(--text-light);
    text-align: left;
}

.main-contact-title {
    font-family: 'daniel', serif !important;
    font-size: 0rem !important;
    color: var(--text-light) !important;
    margin-bottom: 2rem !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.1;
    font-weight: normal !important;
    text-align: left !important;
}

.contact-subtitle {
    margin-bottom: 3rem;
}

.contact-subtitle p {
    font-family: 'cour', monospace !important;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, var(--alpha-95));
    text-shadow: 2px 2px 4px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: left;
    max-width: none;
}

.contact-details {
    background: var(--color-sanftes-beige-light); /* Sanftes Beige mit Transparenz */
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 2px solid var(--color-sanftes-beige-medium);
    border-radius: 15px;
}

.contact-details p {
    font-family: 'cour', monospace !important;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, var(--alpha-80));
    text-align: left;
    max-width: none;
}

.intro-overlay.show-title .intro-subtitle {
    opacity: 1;
}

@media (max-width: 768px) {
    .intro-overlay .intro-subtitle {
        font-size: 1.2rem;
        margin-right: 5vw;
    }
}

@media (max-width: 480px) {
    .intro-overlay .intro-subtitle {
        font-size: 1rem;
        margin-right: 2vw;
    }
}

/* Rechte Seite - Halbtransparentes Formular */
.contact-form-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container-transparent {
    background: rgba(255, 255, 255, var(--alpha-95));
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px var(--shadow-helles-blau);
    border: 2px solid var(--color-sanftes-beige-medium);
}

/* Neue Form Styles */
.contact-form-new {
    width: 100%;
}

.form-group-new {
    position: relative;
    margin-bottom: 2rem;
}

.form-input-new,
.form-textarea-new {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--weiss);
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--grau-dunkel);
    transition: all 0.3s ease;
    outline: none;
}

.form-textarea-new {
    min-height: 120px;
    resize: vertical;
}

.form-input-new:focus,
.form-textarea-new:focus {
    border-color: var(--color-helles-blau); /* Helles Blau */
    box-shadow: 0 0 0 3px var(--color-helles-blau-light);
}

.form-label-new {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--weiss);
    padding: 0 0.3rem;
}

.form-input-new:focus + .form-label-new,
.form-input-new:not(:placeholder-shown) + .form-label-new,
.form-textarea-new:focus + .form-label-new,
.form-textarea-new:not(:placeholder-shown) + .form-label-new {
    top: -0.5rem;
    font-size: 0.85rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* File Upload neue Styles */
.file-upload-group-new {
    margin-bottom: 2.5rem;
}

.file-upload-container-new {
    position: relative;
}

.file-input-hidden {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    background: var(--bg-soft);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'cour', monospace !important;
    color: var(--text-muted);
}

.file-upload-label-new:hover {
    border-color: var(--color-helles-blau); /* Helles Blau */
    background: var(--color-sanftes-beige-medium); /* Sanftes Beige mit Transparenz */
    color: var(--color-helles-blau); /* Helles Blau */
}

.file-upload-icon {
    font-size: 1.5rem;
}

.file-name-display {
    display: none;
    margin-top: 0.5rem;
    font-family: 'cour', monospace !important;
    font-size: 0.9rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* Submit Button neue Styles */
.submit-btn-new {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, var(--button-primary), var(--button-hover));
    color: var(--button-text);
    border: none;
    border-radius: 8px;
    font-family: 'cour', monospace !important;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(81, 226, 245, var(--alpha-40));
}

.submit-btn-new:active {
    transform: translateY(0);
}

/* Form Status neue Styles */
.form-status-new {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'cour', monospace !important;
    font-size: 0.95rem;
    text-align: center;
}

.form-status-new.success {
    background: rgba(40, 167, 69, var(--alpha-10));
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, var(--alpha-20));
}

.form-status-new.loading {
    background: var(--color-helles-blau-light); /* Helles Blau mit Transparenz */
    color: var(--color-helles-blau); /* Helles Blau */
    border: 1px solid var(--shadow-helles-blau);
}

.form-status-new.error {
    background: rgba(220, 53, 69, var(--alpha-10));
    color: var(--error);
    border: 1px solid rgba(220, 53, 69, var(--alpha-20));
}

/* Error Messages für neue Form */
.form-error {
    display: none;
    color: var(--error);
    font-family: 'cour', monospace !important;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Mobile Responsive für neue Kontakt Sektion */
@media (max-width: 1024px) {
    .contact-container-new {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-info-left {
        text-align: center;
    }
    
    .main-contact-title {
        font-size: 4rem !important;
        text-align: center !important;
    }
    
    .contact-subtitle p {
        text-align: center;
    }
    
    .contact-details p {
        text-align: center;
    }
    
    .contact-section-fullscreen {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 0 1rem;
    }
    
    .contact-container-new {
        gap: 2rem;
    }
    
    .main-contact-title {
        font-size: 3rem !important;
    }
    
    .contact-subtitle p {
        font-size: 1.2rem;
    }
    
    .form-container-transparent {
        padding: 2rem;
    }
    
    .contact-section-fullscreen {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .main-contact-title {
        font-size: 2.5rem !important;
    }
    
    .contact-subtitle p {
        font-size: 1rem;
    }
    
    .form-container-transparent {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .form-input-new,
    .form-textarea-new {
        padding: 1rem 0.8rem 0.6rem;
        font-size: 0.95rem;
    }
    
    .submit-btn-new {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   CONTACT SECTION - MODERN CONTACT FORM
   ========================================================================== */

/* Kontakt Sektion */
.contact-section {
    margin: 0 auto 4rem;
    padding: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    background: linear-gradient(
        var(--shadow-helles-blau-hover), 
        var(--color-mintgruen-medium)
    ), url('bilder/banner/Kontakt.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* Linke Seite - Informationsbereich */
.contact-info-side {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
}

.contact-title {
    font-family: 'daniel', serif !important;
    font-size: 3.5rem !important;
    color: var(--text-light) !important;
    margin-bottom: 2rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.2;
    text-align: left !important;
}

.contact-description {
    margin-bottom: 3rem;
}

.contact-description p {
    font-family: 'cour', monospace !important;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, var(--alpha-95));
    text-shadow: 1px 1px 2px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: none;
}

.direct-contact {
    background: var(--color-sanftes-beige-light); /* Sanftes Beige mit Transparenz */
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 2px solid var(--color-sanftes-beige-medium);
    border-radius: 15px;
}

.contact-item {
    font-family: 'cour', monospace !important;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, var(--alpha-80));
}

.contact-item:first-child {
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Rechte Seite - Kontaktformular */
.contact-form-side {
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: rgba(255, 255, 255, var(--alpha-95));
    backdrop-filter: blur(10px);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px var(--shadow-helles-blau);
    border: 2px solid var(--color-sanftes-beige-medium);
    border-radius: 20px;
}

/* Form Groups */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    border: 2px solid var(--border-light);
    background: var(--weiss);
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--grau-dunkel);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-helles-blau); /* Helles Blau */
    box-shadow: 0 0 0 3px var(--color-helles-blau-light);
}

.form-group label {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--weiss);
    padding: 0 0.3rem;
}

.form-group.focused label,
.form-group input:focus + label,
.form-group textarea:focus + label {
    top: -0.5rem;
    font-size: 0.85rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* File Upload */
.file-upload-group {
    margin-bottom: 2.5rem;
}

.file-upload-container {
    position: relative;
}

.file-upload-container input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 2px dashed var(--border-light);
    background: var(--bg-soft);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'cour', monospace !important;
    color: var(--text-muted);
}

.file-upload-label:hover {
    border-color: var(--color-helles-blau); /* Helles Blau */
    background: var(--color-sanftes-beige-medium); /* Sanftes Beige mit Transparenz */
    color: var(--color-helles-blau); /* Helles Blau */
}

.file-upload-icon {
    font-size: 1.5rem;
}

.file-name {
    display: none;
    margin-top: 0.5rem;
    font-family: 'cour', monospace !important;
    font-size: 0.9rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, var(--color-helles-blau), var(--color-mintgruen-strong)); /* Helles Blau zu Mintgrün Gradient */
    color: var(--text-light);
    border: none;
    font-family: 'cour', monospace !important;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--color-mintgruen-opaque), var(--color-helles-blau));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-helles-blau-hover);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Form Status */
.form-status {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    font-family: 'cour', monospace !important;
    font-size: 0.95rem;
    text-align: center;
}

.form-status.success {
    background: rgba(40, 167, 69, var(--alpha-10));
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, var(--alpha-20));
}

.form-status.loading {
    background: rgba(237, 247, 86, var(--alpha-10)); /* Burnt Orange mit Transparenz */
    color: var(--beige); /* Burnt Orange */
    border: 1px solid rgba(237, 247, 86, var(--alpha-20));
}

.form-status.error {
    background: rgba(220, 53, 69, var(--alpha-10));
    color: var(--error);
    border: 1px solid rgba(220, 53, 69, var(--alpha-20));
}

/* Additional Info Section */
.additional-info {
    margin-top: 6rem;
}

.additional-info h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Personal Story (bestehende Styles beibehalten) */
.personal-story {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem auto;
    max-width: 1000px;
}

.story-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, var(--alpha-10));
}

.story-text p {
    text-align: left;
    margin: 1.5rem 0;
    max-width: none;
}

.story-text blockquote {
    font-family: 'cour', monospace !important;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.56rem;
    text-align: left;
    position: relative;
}

.story-text blockquote p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 0;
}

.story-highlight {
    color: var(--beige); /* Burnt Orange */
    font-weight: 600;
}

/* Artist Quote */
.artist-quote:not(.banner-quote) {
    background: var(--schwarz);
    color: var(--text-light);
    margin: 0rem ;
    text-align: center;
    max-width: 100%;
}

.quote-text {
    font-family: 'cour', monospace !important;
    font-size: 1.95rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 300;
}

.quote-author {
    font-family: 'cour', monospace !important;
    font-size: 1.17rem;
    opacity: 0.8;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   MODAL SYSTEM - PREVIEW FUNCTIONALITY
   ========================================================================== */

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--alpha-90));
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--weiss);
    margin: 2% auto;
    padding: 0;
    border-radius: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, var(--alpha-25));
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--bg-soft);
}

.modal-header h2 {
    font-family: 'daniel', serif !important;
    font-size: 3.25rem;
    color: var(--schwarz);
    margin: 0 0 1rem 0;
    text-align: center;
}

.modal-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.modal-meta .card-date,
.modal-meta .card-location {
    font-family: 'cour', monospace !important;
    font-size: 1.17rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-content > p {
    padding: 0 2rem 2rem 2rem;
    font-family: 'cour', monospace !important;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    max-width: none;
    margin: 0;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
    padding-top: 0;
    max-width: 100%;
    margin: 0 auto;
}

.modal-images .gallery-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-images .gallery-item:hover {
    transform: scale(1.02);
}

.modal-images .gallery-item.enlarged {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vh;
    z-index: 10001;
    background: rgba(0, 0, 0, var(--alpha-95));
    aspect-ratio: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, var(--alpha-80));
}

.modal-images .gallery-item.enlarged::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, var(--alpha-90));
    z-index: -1;
}

.modal-images .gallery-item.enlarged::after {
    content: '×';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, var(--alpha-50));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10002;
}

.modal-images .gallery-item.enlarged::after:hover {
    background: rgba(0, 0, 0, var(--alpha-80));
}

.modal-images .gallery-item.enlarged img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: none;
}

.modal-images .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--schwarz);
}

.no-images-message {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* Lightbox for Modal Images */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--alpha-95));
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.lightbox-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    background: rgba(0, 0, 0, var(--alpha-70));
    padding: 1rem 2rem;
    border-radius: 0;
}

.lightbox-title {
    font-family: 'daniel', serif !important;
    font-size: 1.95rem;
    margin-bottom: 0.5rem;
}

.lightbox-description {
    font-family: 'cour', monospace !important;
    font-size: 1.17rem;
    opacity: 0.9;
}

.lightbox-counter {
    font-family: 'cour', monospace !important;
    font-size: 1.04rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, var(--alpha-50));
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, var(--alpha-80));
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Intro-Overlay Banner Styles für index.php */
.intro-overlay.index-intro {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #000;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.9s ease;
    opacity: 1;
    overflow: hidden;
}

.intro-overlay .intro-bg {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('bilder/banner/main3.png') center center no-repeat;
    background-size: cover;
    opacity: 1;
    z-index: 1;
}

.intro-overlay .intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--weiss);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.intro-overlay .intro-title {
    font-family: 'daniel', serif !important;
    font-size: 7.8rem;
    color: var(--weiss);
    text-shadow: 3px 3px 16px rgba(0,0,0,0.7);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.intro-overlay .intro-subtitle {
    font-family: 'cour', monospace !important;
    font-size: 2.6rem;
    color: var(--weiss);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin: 0;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.7s 0.3s;
}
.intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .intro-overlay .intro-title {
        font-size: 3.9rem;
    }
    .intro-overlay .intro-subtitle {
        font-size: 1.56rem;
    }
}

@media (max-width: 480px) {
    .intro-overlay .intro-title {
        font-size: 2.6rem;
    }
    .intro-overlay .intro-subtitle {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   NAVIGATION WITH ARROWS STICKY ON SCROLL
   ========================================================================= */

.nav-arrow {
    /* Text/Pfeil-Zeichen ausblenden */
    color: transparent;
    font-size: 0;
    /* Button-Reset */
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    /* Größe des Pfeil-Bildes definieren */
    width: 50px; /* Passe die Größe nach Wunsch an */
    height: 50px;
    /* Dein Bild einbinden */
    background-image: url('bilder/Pfeil.png'); /* Pfad ggf. anpassen */
    background-size: contain; /* Bild passt sich der Größe an */
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

    /* Hover-Effekt (optional: leicht vergrößern) */
.nav-arrow:hover {
    transform: scale(1.1);
}


/* LINKS: Bild spiegeln (horizontal umdrehen) */
.nav-arrow-left {
    transform: scaleX(-1); /* Spiegelt das Bild horizontal */
}

/* Hover-Effekt für Links (Spiegelung beibehalten + Vergrößerung) */
.nav-arrow-left:hover {
   transform: scaleX(-1) scale(1.1);
}


/* ==========================================================================
   FOOTER STYLES - NEU FORMATIERUNG
   ========================================================================= */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-family: 'cour', monospace !important;
    box-shadow: 0 -4px 24px rgba(80, 142, 146, 0.08);
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem 2rem;
    gap: 2rem;
}
.footer-section {
    flex: 1 1 220px;
    margin-bottom: 2rem;
    min-width: 200px;
}
.footer-section h3 {
    font-family: 'daniel', serif !important;
    font-size: 1.69rem;
    color: var(--footer-accent);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.footer-section ul,
.footer-section p {
    font-family: 'cour', monospace !important;
    font-size: 1.3rem;
    color: var(--footer-text);
    margin: 0 0 0.5rem 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.footer-section ul.contact-info {
    margin-bottom: 1rem;
}
.footer-section ul.contact-info li {
    margin-bottom: 0.3rem;
}
.footer-section .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.footer-section .social-links a {
    color: var(--footer-accent);
    font-size: 1.43rem;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}
.footer-section .social-links a:hover {
    color: var(--footer-text);
}
.footer-section a {
    color: var(--footer-accent);
    text-decoration: none;
    font-size: 1.3rem;
    margin-right: 1rem;
    transition: color 0.3s;
}
.footer-section a:hover {
    color: var(--footer-text);
}
.footer-bottom {
    background: rgba(80, 142, 146, 0.85);
    color: var(--footer-text);
    text-align: center;
    padding: 1rem 0;
    font-size: 1.235rem;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--footer-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.footer-bottom .footer-copyright {
    margin: 0;
}
.footer-bottom .footer-design {
    font-size: 1rem;
    color: var(--footer-accent);
    font-family: 'cour', monospace !important;
    opacity: 0.8;
}
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1rem 1rem 1rem;
    }
    .footer-section {
        margin-bottom: 1.5rem;
    }
    .footer-bottom {
        font-size: 1.1rem;
    }
}

/* Exhibition Cards Custom Layout for Index */
.custom-index-layout {
    display: flex;
    flex-direction: column;
    background: none;
    padding: 0 3vw;
    width: 100vw;
    box-sizing: border-box;
}
.exhibition-row {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 0;
    width: 100%;
}
.exhibition-row-top {
    margin-bottom: 3rem;
}
.exhibition-card-large {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 520px;
    min-height: 520px;
    background: var(--bg-light);
    box-shadow: 0 8px 25px var(--shadow-cappuccino);
    border-radius: 0px;
    overflow: hidden;
}
    .exhibition-card-large .card-image-single {
        flex: 1 1 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--cappuccino-warm);
        min-width: 0;
        height: 100%;
    }
.exhibition-card-large .card-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.exhibition-card-large .card-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3.5rem 2rem;
    text-align: center;
    background: none;
    height: 100%;
}
.exhibition-card-large .card-title {
    font-size: 2.7rem;
    margin-bottom: 1.5rem;
}
.exhibition-card-large .card-meta {
    gap: 2.2rem;
    margin-bottom: 1.5rem;
}
.exhibition-card-large .more-info-btn {
    margin-top: 2.2rem;
    font-size: 1.35rem;
    padding: 1.1rem 2.2rem;
}
.exhibition-card-small {
    flex: 1 1 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 840px;
    min-height: 840px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 8px 25px var(--shadow-cappuccino); 
    border-radius: 0px; 
}
.exhibition-card-small .card-image-single {
    height: 588px; /* 70% von 840px */
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-helles-blau-light), var(--color-mintgruen-light));
}
.exhibition-card-small .card-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.exhibition-card-small .card-content {
    height: 252px; /* 30% von 840px */
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem;
    text-align: center;
    background: none;
}
@media (max-width: 1100px) {
    .exhibition-card-small {
        height: 640px;
        min-height: 0;
    }
    .exhibition-card-small .card-image-single {
        height: 448px; /* 70% von 640px */
    }
    .exhibition-card-small .card-content {
        height: 192px; /* 30% von 640px */
        padding: 2rem 1rem;
    }
}

/* =========================================================================
   GALLERY COMPONENTS - SQUARESPACE STYLE
   ========================================================================== */

/* Gallery Item Zoom Functionality */
.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--weiss);
    transition: all 0.4s ease;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, var(--alpha-10));
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Enlarged Image State */
.gallery-item.enlarged {
    position: fixed;
    top: 10vh;
    left: 10vw;
    width: 80vw;
    height: 80vh;
    z-index: 3000;
    background: rgba(0, 0, 0, var(--alpha-95));
    aspect-ratio: unset;
    box-shadow: 0 0 50px rgba(0, 0, 0, var(--alpha-80));
    border-radius: 0;
}

.gallery-item.enlarged img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1);
}

.gallery-item.enlarged:hover img {
    transform: scale(1);
}

/* Overlay für vergrößerte Bilder */
.gallery-item.enlarged::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, var(--alpha-90));
    z-index: -1;
}

/* Close Button für vergrößerte Bilder */
.gallery-item.enlarged::after {
    content: '×';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, var(--alpha-50));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.gallery-item.enlarged::after:hover {
    background: rgba(0, 0, 0, var(--alpha-80));
}

/* Mobile Anpassungen für vergrößerte Bilder */
@media (max-width: 768px) {
    .gallery-item.enlarged {
        top: 5vh;
        left: 5vw;
        width: 90vw;
        height: 90vh;
    }
    
    .gallery-item.enlarged::after {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

/* Animation für Titel */
@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

/* Mobile Anpassungen für Banner */
@media (max-width: 768px) {
    .banner-title .site-name {
        font-size: 5.2rem !important;
    }
    
    .banner-subtitle {
        left: 55%; /* Weniger Versetzung auf Tablets */
        top: 58%; /* Etwas tiefer positioniert */
    }
    
    .banner-subtitle .site-subtitle {
        font-size: 1.56rem !important;
    }
    
    .main-content {
        margin-top: 60px;
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .banner-title .site-name {
        font-size: 3.9rem !important;
    }
    
    .banner-subtitle {
        left: 52%; /* Noch weniger Versetzung auf Smartphones */
        top: 60%; /* Noch tiefer positioniert */
    }
    
    .banner-subtitle .site-subtitle {
        font-size: 1.3rem !important;
    }
    
    .main-content {
        margin-top: 50px;
        padding: 1.5rem 1rem;
    }
}

/* ==========================================================================
   CARD COMPONENTS - SQUARESPACE STYLE
   ========================================================================== */

/* Exhibition Cards */
.exhibition-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 4rem auto;
    max-width: 1600px;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.exhibition-card {
    background: var(--bg-light);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid var(--cappuccino-medium);
    border-radius: 0px;
    box-shadow: 0 8px 25px var(--shadow-cappuccino);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .exhibition-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px var(--shadow-cappuccino);
        border-color: var(--cappuccino-warm);
        background: var(--cappuccino-warm);
    }

.exhibition-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.exhibition-card:hover img {
    transform: scale(1.02);
}

/* 2x2 Image Grid für Exhibition Cards */
.card-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.grid-image {
    overflow: hidden;
    position: relative;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.grid-image.placeholder {
    background: var(--color-helles-blau-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    font-size: 2rem;
    color: var(--text-muted);
    font-family: 'daniel', serif;
}

.card-image-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--color-helles-blau-light), var(--color-mintgruen-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    font-family: 'daniel', serif;
    font-size: 2rem;
    color: var(--text-muted);
    text-align: center;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-title {
    font-family: 'daniel', serif !important; /* Überschriften mit daniel.ttf */
    font-size: 1.95rem;
    font-weight: 400;
    color: var(--schwarz);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.card-date,
.card-location {
    font-family: 'cour', monospace !important; /* Texte mit cour.ttf */
    display: flex;
    align-items: center;
    font-size: 1.105rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-date::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.card-location::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.card-description {
    font-family: 'cour', monospace !important; /* Texte mit cour.ttf */
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.card-status {
    font-family: 'cour', monospace !important; /* Texte mit cour.ttf */
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.975rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
}

.status-upcoming {
    background: var(--bg-soft);
    color: var(--blau);
    border: 1px solid var(--blau);
}

.status-current {
    background: var(--bg-soft);
    color: var(--grau-mittel);
    border: 1px solid var(--grau-mittel);
}

.status-past {
    background: var(--bg-soft);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

/* Buttons */
.more-info-btn {
    font-family: 'cour', monospace !important; /* Buttons mit cour.ttf */
    background: transparent;
    color: var(--button-primary);
    border: 2px solid var(--button-primary);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 400;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 1.17rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.more-info-btn:hover {
    background: var(--button-primary);
    color: var(--button-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(81, 226, 245, var(--alpha-30));
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: 'cour', monospace !important; /* Buttons mit cour.ttf */
    background: transparent;
    border: 2px solid var(--color-helles-blau); /* Helles Blau */
    color: var(--color-helles-blau); /* Helles Blau */
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 1.17rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-helles-blau); /* Helles Blau */
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--color-helles-blau-medium);
}

/* Gallery Grid */
.bildergalerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 2rem;
    background:var(--bg-light);
    border-radius: 20px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--color-helles-blau-strong) 0%, 
        var(--color-mintgruen-opaque) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-icon {
    color: var(--color-sanftes-beige); /* Sanftes Beige */
    font-size: 2rem;
}

/* ==========================================================================
   CONTACT SECTION - FULLSCREEN WITH BACKGROUND IMAGE
   ========================================================================== */

/* Vollbild Kontakt Sektion */
.contact-section-fullscreen {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: url('bilder/banner/Kontakt.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

/* Overlay für bessere Lesbarkeit */
.contact-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--color-helles-blau-medium) 0%, 
        rgba(157, 249, 239, var(--alpha-40)) 100%);
    z-index: 1;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

.contact-container-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

/* Linke Seite - Titel und Info */
.contact-info-left {
    color: var(--text-light);
    text-align: left;
}

.main-contact-title {
    font-family: 'daniel', serif !important;
    font-size: 0rem !important;
    color: var(--text-light) !important;
    margin-bottom: 2rem !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.1;
    font-weight: normal !important;
    text-align: left !important;
}

.contact-subtitle {
    margin-bottom: 3rem;
}

.contact-subtitle p {
    font-family: 'cour', monospace !important;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, var(--alpha-95));
    text-shadow: 2px 2px 4px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: left;
    max-width: none;
}

.contact-details {
    background: var(--color-sanftes-beige-light); /* Sanftes Beige mit Transparenz */
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 2px solid var(--color-sanftes-beige-medium);
    border-radius: 15px;
}

.contact-details p {
    font-family: 'cour', monospace !important;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, var(--alpha-80));
    text-align: left;
    max-width: none;
}

.intro-overlay.show-title .intro-subtitle {
    opacity: 1;
}

@media (max-width: 768px) {
    .intro-overlay .intro-subtitle {
        font-size: 1.2rem;
        margin-right: 5vw;
    }
}

@media (max-width: 480px) {
    .intro-overlay .intro-subtitle {
        font-size: 1rem;
        margin-right: 2vw;
    }
}

/* Rechte Seite - Halbtransparentes Formular */
.contact-form-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container-transparent {
    background: rgba(255, 255, 255, var(--alpha-95));
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px var(--shadow-helles-blau);
    border: 2px solid var(--color-sanftes-beige-medium);
}

/* Neue Form Styles */
.contact-form-new {
    width: 100%;
}

.form-group-new {
    position: relative;
    margin-bottom: 2rem;
}

.form-input-new,
.form-textarea-new {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--weiss);
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--grau-dunkel);
    transition: all 0.3s ease;
    outline: none;
}

.form-textarea-new {
    min-height: 120px;
    resize: vertical;
}

.form-input-new:focus,
.form-textarea-new:focus {
    border-color: var(--color-helles-blau); /* Helles Blau */
    box-shadow: 0 0 0 3px var(--color-helles-blau-light);
}

.form-label-new {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--weiss);
    padding: 0 0.3rem;
}

.form-input-new:focus + .form-label-new,
.form-input-new:not(:placeholder-shown) + .form-label-new,
.form-textarea-new:focus + .form-label-new,
.form-textarea-new:not(:placeholder-shown) + .form-label-new {
    top: -0.5rem;
    font-size: 0.85rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* File Upload neue Styles */
.file-upload-group-new {
    margin-bottom: 2.5rem;
}

.file-upload-container-new {
    position: relative;
}

.file-input-hidden {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    background: var(--bg-soft);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'cour', monospace !important;
    color: var(--text-muted);
}

.file-upload-label-new:hover {
    border-color: var(--color-helles-blau); /* Helles Blau */
    background: var(--color-sanftes-beige-medium); /* Sanftes Beige mit Transparenz */
    color: var(--color-helles-blau); /* Helles Blau */
}

.file-upload-icon {
    font-size: 1.5rem;
}

.file-name-display {
    display: none;
    margin-top: 0.5rem;
    font-family: 'cour', monospace !important;
    font-size: 0.9rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* Submit Button neue Styles */
.submit-btn-new {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, var(--button-primary), var(--button-hover));
    color: var(--button-text);
    border: none;
    border-radius: 8px;
    font-family: 'cour', monospace !important;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(81, 226, 245, var(--alpha-40));
}

.submit-btn-new:active {
    transform: translateY(0);
}

/* Form Status neue Styles */
.form-status-new {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'cour', monospace !important;
    font-size: 0.95rem;
    text-align: center;
}

.form-status-new.success {
    background: rgba(40, 167, 69, var(--alpha-10));
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, var(--alpha-20));
}

.form-status-new.loading {
    background: var(--color-helles-blau-light); /* Helles Blau mit Transparenz */
    color: var(--color-helles-blau); /* Helles Blau */
    border: 1px solid var(--shadow-helles-blau);
}

.form-status-new.error {
    background: rgba(220, 53, 69, var(--alpha-10));
    color: var(--error);
    border: 1px solid rgba(220, 53, 69, var(--alpha-20));
}

/* Error Messages für neue Form */
.form-error {
    display: none;
    color: var(--error);
    font-family: 'cour', monospace !important;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Mobile Responsive für neue Kontakt Sektion */
@media (max-width: 1024px) {
    .contact-container-new {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-info-left {
        text-align: center;
    }
    
    .main-contact-title {
        font-size: 4rem !important;
        text-align: center !important;
    }
    
    .contact-subtitle p {
        text-align: center;
    }
    
    .contact-details p {
        text-align: center;
    }
    
    .contact-section-fullscreen {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 0 1rem;
    }
    
    .contact-container-new {
        gap: 2rem;
    }
    
    .main-contact-title {
        font-size: 3rem !important;
    }
    
    .contact-subtitle p {
        font-size: 1.2rem;
    }
    
    .form-container-transparent {
        padding: 2rem;
    }
    
    .contact-section-fullscreen {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .main-contact-title {
        font-size: 2.5rem !important;
    }
    
    .contact-subtitle p {
        font-size: 1rem;
    }
    
    .form-container-transparent {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .form-input-new,
    .form-textarea-new {
        padding: 1rem 0.8rem 0.6rem;
        font-size: 0.95rem;
    }
    
    .submit-btn-new {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   CONTACT SECTION - MODERN CONTACT FORM
   ========================================================================== */

/* Kontakt Sektion */
.contact-section {
    margin: 0 auto 4rem;
    padding: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    background: linear-gradient(
        var(--shadow-helles-blau-hover), 
        var(--color-mintgruen-medium)
    ), url('bilder/banner/Kontakt.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* Linke Seite - Informationsbereich */
.contact-info-side {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
}

.contact-title {
    font-family: 'daniel', serif !important;
    font-size: 3.5rem !important;
    color: var(--text-light) !important;
    margin-bottom: 2rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.2;
    text-align: left !important;
}

.contact-description {
    margin-bottom: 3rem;
}

.contact-description p {
    font-family: 'cour', monospace !important;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, var(--alpha-95));
    text-shadow: 1px 1px 2px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: none;
}

.direct-contact {
    background: var(--color-sanftes-beige-light); /* Sanftes Beige mit Transparenz */
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 2px solid var(--color-sanftes-beige-medium);
    border-radius: 15px;
}

.contact-item {
    font-family: 'cour', monospace !important;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, var(--alpha-80));
}

.contact-item:first-child {
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Rechte Seite - Kontaktformular */
.contact-form-side {
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: rgba(255, 255, 255, var(--alpha-95));
    backdrop-filter: blur(10px);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px var(--shadow-helles-blau);
    border: 2px solid var(--color-sanftes-beige-medium);
    border-radius: 20px;
}

/* Form Groups */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    border: 2px solid var(--border-light);
    background: var(--weiss);
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--grau-dunkel);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-helles-blau); /* Helles Blau */
    box-shadow: 0 0 0 3px var(--color-helles-blau-light);
}

.form-group label {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--weiss);
    padding: 0 0.3rem;
}

.form-group.focused label,
.form-group input:focus + label,
.form-group textarea:focus + label {
    top: -0.5rem;
    font-size: 0.85rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* File Upload */
.file-upload-group {
    margin-bottom: 2.5rem;
}

.file-upload-container {
    position: relative;
}

.file-upload-container input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 2px dashed var(--border-light);
    background: var(--bg-soft);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'cour', monospace !important;
    color: var(--text-muted);
}

.file-upload-label:hover {
    border-color: var(--color-helles-blau); /* Helles Blau */
    background: var(--color-sanftes-beige-medium); /* Sanftes Beige mit Transparenz */
    color: var(--color-helles-blau); /* Helles Blau */
}

.file-upload-icon {
    font-size: 1.5rem;
}

.file-name {
    display: none;
    margin-top: 0.5rem;
    font-family: 'cour', monospace !important;
    font-size: 0.9rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, var(--color-helles-blau), var(--color-mintgruen-strong)); /* Helles Blau zu Mintgrün Gradient */
    color: var(--text-light);
    border: none;
    font-family: 'cour', monospace !important;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--color-mintgruen-opaque), var(--color-helles-blau));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-helles-blau-hover);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Form Status */
.form-status {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    font-family: 'cour', monospace !important;
    font-size: 0.95rem;
    text-align: center;
}

.form-status.success {
    background: rgba(40, 167, 69, var(--alpha-10));
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, var(--alpha-20));
}

.form-status.loading {
    background: rgba(237, 247, 86, var(--alpha-10)); /* Burnt Orange mit Transparenz */
    color: var(--beige); /* Burnt Orange */
    border: 1px solid rgba(237, 247, 86, var(--alpha-20));
}

.form-status.error {
    background: rgba(220, 53, 69, var(--alpha-10));
    color: var(--error);
    border: 1px solid rgba(220, 53, 69, var(--alpha-20));
}

/* Additional Info Section */
.additional-info {
    margin-top: 6rem;
}

.additional-info h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Personal Story (bestehende Styles beibehalten) */
.personal-story {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem auto;
    max-width: 1000px;
}

.story-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, var(--alpha-10));
}

.story-text p {
    text-align: left;
    margin: 1.5rem 0;
    max-width: none;
}

.story-text blockquote {
    font-family: 'cour', monospace !important;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.56rem;
    text-align: left;
    position: relative;
}

.story-text blockquote p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 0;
}

.story-highlight {
    color: var(--beige); /* Burnt Orange */
    font-weight: 600;
}

/* Artist Quote */
.artist-quote:not(.banner-quote) {
    background: var(--schwarz);
    color: var(--text-light);
    margin: 0rem ;
    text-align: center;
    max-width: 100%;
}

.quote-text {
    font-family: 'cour', monospace !important;
    font-size: 1.95rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 300;
}

.quote-author {
    font-family: 'cour', monospace !important;
    font-size: 1.17rem;
    opacity: 0.8;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   MODAL SYSTEM - PREVIEW FUNCTIONALITY
   ========================================================================== */

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--alpha-90));
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--weiss);
    margin: 2% auto;
    padding: 0;
    border-radius: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, var(--alpha-25));
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--bg-soft);
}

.modal-header h2 {
    font-family: 'daniel', serif !important;
    font-size: 3.25rem;
    color: var(--schwarz);
    margin: 0 0 1rem 0;
    text-align: center;
}

.modal-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.modal-meta .card-date,
.modal-meta .card-location {
    font-family: 'cour', monospace !important;
    font-size: 1.17rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-content > p {
    padding: 0 2rem 2rem 2rem;
    font-family: 'cour', monospace !important;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    max-width: none;
    margin: 0;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
    padding-top: 0;
    max-width: 100%;
    margin: 0 auto;
}

.modal-images .gallery-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-images .gallery-item:hover {
    transform: scale(1.02);
}

.modal-images .gallery-item.enlarged {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vh;
    z-index: 10001;
    background: rgba(0, 0, 0, var(--alpha-95));
    aspect-ratio: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, var(--alpha-80));
}

.modal-images .gallery-item.enlarged::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, var(--alpha-90));
    z-index: -1;
}

.modal-images .gallery-item.enlarged::after {
    content: '×';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, var(--alpha-50));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10002;
}

.modal-images .gallery-item.enlarged::after:hover {
    background: rgba(0, 0, 0, var(--alpha-80));
}

.modal-images .gallery-item.enlarged img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: none;
}

.modal-images .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--schwarz);
}

.no-images-message {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* Lightbox for Modal Images */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--alpha-95));
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.lightbox-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    background: rgba(0, 0, 0, var(--alpha-70));
    padding: 1rem 2rem;
    border-radius: 0;
}

.lightbox-title {
    font-family: 'daniel', serif !important;
    font-size: 1.95rem;
    margin-bottom: 0.5rem;
}

.lightbox-description {
    font-family: 'cour', monospace !important;
    font-size: 1.17rem;
    opacity: 0.9;
}

.lightbox-counter {
    font-family: 'cour', monospace !important;
    font-size: 1.04rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, var(--alpha-50));
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, var(--alpha-80));
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Intro-Overlay Banner Styles für index.php */
.intro-overlay.index-intro {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #000;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.9s ease;
    opacity: 1;
    overflow: hidden;
}

.intro-overlay .intro-bg {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('bilder/banner/main3.png') center center no-repeat;
    background-size: cover;
    opacity: 1;
    z-index: 1;
}

.intro-overlay .intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--weiss);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.intro-overlay .intro-title {
    font-family: 'daniel', serif !important;
    font-size: 7.8rem;
    color: var(--weiss);
    text-shadow: 3px 3px 16px rgba(0,0,0,0.7);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.intro-overlay .intro-subtitle {
    font-family: 'cour', monospace !important;
    font-size: 2.6rem;
    color: var(--weiss);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin: 0;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.7s 0.3s;
}
.intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .intro-overlay .intro-title {
        font-size: 3.9rem;
    }
    .intro-overlay .intro-subtitle {
        font-size: 1.56rem;
    }
}

@media (max-width: 480px) {
    .intro-overlay .intro-title {
        font-size: 2.6rem;
    }
    .intro-overlay .intro-subtitle {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   NAVIGATION WITH ARROWS STICKY ON SCROLL
   ========================================================================= */

.nav-with-arrows {
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    background: var(--nav-bg);
    box-shadow: var(--shadow-nav);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    transition: box-shadow 0.3s, background 0.3s;
}

/* Entferne das body padding-top, da sticky erst beim Scrollen greift */
body {
    padding-top: 0;
}

/* ==========================================================================
   FOOTER STYLES - NEU FORMATIERUNG
   ========================================================================= */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-family: 'cour', monospace !important;
    box-shadow: 0 -4px 24px rgba(80, 142, 146, 0.08);
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem 2rem;
    gap: 2rem;
}
.footer-section {
    flex: 1 1 220px;
    margin-bottom: 2rem;
    min-width: 200px;
}
.footer-section h3 {
    font-family: 'daniel', serif !important;
    font-size: 1.69rem;
    color: var(--footer-accent);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.footer-section ul,
.footer-section p {
    font-family: 'cour', monospace !important;
    font-size: 1.3rem;
    color: var(--footer-text);
    margin: 0 0 0.5rem 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.footer-section ul.contact-info {
    margin-bottom: 1rem;
}
.footer-section ul.contact-info li {
    margin-bottom: 0.3rem;
}
.footer-section .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.footer-section .social-links a {
    color: var(--footer-accent);
    font-size: 1.43rem;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}
.footer-section .social-links a:hover {
    color: var(--footer-text);
}
.footer-section a {
    color: var(--footer-accent);
    text-decoration: none;
    font-size: 1.3rem;
    margin-right: 1rem;
    transition: color 0.3s;
}
.footer-section a:hover {
    color: var(--footer-text);
}
.footer-bottom {
    background: rgba(80, 142, 146, 0.85);
    color: var(--footer-text);
    text-align: center;
    padding: 1rem 0;
    font-size: 1.235rem;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--footer-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.footer-bottom .footer-copyright {
    margin: 0;
}
.footer-bottom .footer-design {
    font-size: 1rem;
    color: var(--footer-accent);
    font-family: 'cour', monospace !important;
    opacity: 0.8;
}
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1rem 1rem 1rem;
    }
    .footer-section {
        margin-bottom: 1.5rem;
    }
    .footer-bottom {
        font-size: 1.1rem;
    }
}

/* Exhibition Cards Custom Layout for Index */
.custom-index-layout {
    display: flex;
    flex-direction: column;
    background: none;
    padding: 0 3vw;
    width: 100vw;
    box-sizing: border-box;
}
.exhibition-row {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 0;
    width: 100%;
}
.exhibition-row-top {
    margin-bottom: 3rem;
}
.exhibition-card-large {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 520px;
    min-height: 520px;
    background: var(--bg-light);
    box-shadow: 0 8px 25px var(--shadow-cappuccino);
    border-radius: 0px;
    overflow: hidden;
}
    .exhibition-card-large .card-image-single {
        flex: 1 1 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--cappuccino-warm);
        min-width: 0;
        height: 100%;
    }
.exhibition-card-large .card-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.exhibition-card-large .card-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3.5rem 2rem;
    text-align: center;
    background: none;
    height: 100%;
}
.exhibition-card-large .card-title {
    font-size: 2.7rem;
    margin-bottom: 1.5rem;
}
.exhibition-card-large .card-meta {
    gap: 2.2rem;
    margin-bottom: 1.5rem;
}
.exhibition-card-large .more-info-btn {
    margin-top: 2.2rem;
    font-size: 1.35rem;
    padding: 1.1rem 2.2rem;
}
.exhibition-card-small {
    flex: 1 1 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 840px;
    min-height: 840px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 8px 25px var(--shadow-cappuccino); 
    border-radius: 0px; 
}
.exhibition-card-small .card-image-single {
    height: 588px; /* 70% von 840px */
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-helles-blau-light), var(--color-mintgruen-light));
}
.exhibition-card-small .card-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.exhibition-card-small .card-content {
    height: 252px; /* 30% von 840px */
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem;
    text-align: center;
    background: none;
}
@media (max-width: 1100px) {
    .exhibition-card-small {
        height: 640px;
        min-height: 0;
    }
    .exhibition-card-small .card-image-single {
        height: 448px; /* 70% von 640px */
    }
    .exhibition-card-small .card-content {
        height: 192px; /* 30% von 640px */
        padding: 2rem 1rem;
    }
}

/* ==========================================================================
   CARD COMPONENTS - SQUARESPACE STYLE
   ========================================================================== */

/* Exhibition Cards */
.exhibition-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 4rem auto;
    max-width: 1600px;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.exhibition-card {
    background: var(--bg-light);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid var(--cappuccino-medium);
    border-radius: 0px;
    box-shadow: 0 8px 25px var(--shadow-cappuccino);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .exhibition-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px var(--shadow-cappuccino);
        border-color: var(--cappuccino-warm);
        background: var(--cappuccino-warm);
    }

.exhibition-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.exhibition-card:hover img {
    transform: scale(1.02);
}

/* 2x2 Image Grid für Exhibition Cards */
.card-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.grid-image {
    overflow: hidden;
    position: relative;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.grid-image.placeholder {
    background: var(--color-helles-blau-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    font-size: 2rem;
    color: var(--text-muted);
    font-family: 'daniel', serif;
}

.card-image-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--color-helles-blau-light), var(--color-mintgruen-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    font-family: 'daniel', serif;
    font-size: 2rem;
    color: var(--text-muted);
    text-align: center;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-title {
    font-family: 'daniel', serif !important; /* Überschriften mit daniel.ttf */
    font-size: 1.95rem;
    font-weight: 400;
    color: var(--schwarz);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.card-date,
.card-location {
    font-family: 'cour', monospace !important; /* Texte mit cour.ttf */
    display: flex;
    align-items: center;
    font-size: 1.105rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-date::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.card-location::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.card-description {
    font-family: 'cour', monospace !important; /* Texte mit cour.ttf */
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.card-status {
    font-family: 'cour', monospace !important; /* Texte mit cour.ttf */
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.975rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
}

.status-upcoming {
    background: var(--bg-soft);
    color: var(--blau);
    border: 1px solid var(--blau);
}

.status-current {
    background: var(--bg-soft);
    color: var(--grau-mittel);
    border: 1px solid var(--grau-mittel);
}

.status-past {
    background: var(--bg-soft);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

/* Buttons */
.more-info-btn {
    font-family: 'cour', monospace !important; /* Buttons mit cour.ttf */
    background: transparent;
    color: var(--button-primary);
    border: 2px solid var(--button-primary);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 400;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 1.17rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.more-info-btn:hover {
    background: var(--button-primary);
    color: var(--button-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(81, 226, 245, var(--alpha-30));
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: 'cour', monospace !important; /* Buttons mit cour.ttf */
    background: transparent;
    border: 2px solid var(--color-helles-blau); /* Helles Blau */
    color: var(--color-helles-blau); /* Helles Blau */
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 1.17rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-helles-blau); /* Helles Blau */
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--color-helles-blau-medium);
}

/* Gallery Grid */
.bildergalerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 2rem;
    background:var(--bg-light);
    border-radius: 20px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--color-helles-blau-strong) 0%, 
        var(--color-mintgruen-opaque) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-icon {
    color: var(--color-sanftes-beige); /* Sanftes Beige */
    font-size: 2rem;
}

/* ==========================================================================
   CONTACT SECTION - FULLSCREEN WITH BACKGROUND IMAGE
   ========================================================================== */

/* Vollbild Kontakt Sektion */
.contact-section-fullscreen {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: url('bilder/banner/Kontakt.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

/* Overlay für bessere Lesbarkeit */
.contact-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--color-helles-blau-medium) 0%, 
        rgba(157, 249, 239, var(--alpha-40)) 100%);
    z-index: 1;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

.contact-container-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

/* Linke Seite - Titel und Info */
.contact-info-left {
    color: var(--text-light);
    text-align: left;
}

.main-contact-title {
    font-family: 'daniel', serif !important;
    font-size: 0rem !important;
    color: var(--text-light) !important;
    margin-bottom: 2rem !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.1;
    font-weight: normal !important;
    text-align: left !important;
}

.contact-subtitle {
    margin-bottom: 3rem;
}

.contact-subtitle p {
    font-family: 'cour', monospace !important;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, var(--alpha-95));
    text-shadow: 2px 2px 4px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: left;
    max-width: none;
}

.contact-details {
    background: var(--color-sanftes-beige-light); /* Sanftes Beige mit Transparenz */
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 2px solid var(--color-sanftes-beige-medium);
    border-radius: 15px;
}

.contact-details p {
    font-family: 'cour', monospace !important;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, var(--alpha-80));
    text-align: left;
    max-width: none;
}

.intro-overlay.show-title .intro-subtitle {
    opacity: 1;
}

@media (max-width: 768px) {
    .intro-overlay .intro-subtitle {
        font-size: 1.2rem;
        margin-right: 5vw;
    }
}

@media (max-width: 480px) {
    .intro-overlay .intro-subtitle {
        font-size: 1rem;
        margin-right: 2vw;
    }
}

/* Rechte Seite - Halbtransparentes Formular */
.contact-form-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container-transparent {
    background: rgba(255, 255, 255, var(--alpha-95));
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px var(--shadow-helles-blau);
    border: 2px solid var(--color-sanftes-beige-medium);
}

/* Neue Form Styles */
.contact-form-new {
    width: 100%;
}

.form-group-new {
    position: relative;
    margin-bottom: 2rem;
}

.form-input-new,
.form-textarea-new {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--weiss);
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--grau-dunkel);
    transition: all 0.3s ease;
    outline: none;
}

.form-textarea-new {
    min-height: 120px;
    resize: vertical;
}

.form-input-new:focus,
.form-textarea-new:focus {
    border-color: var(--color-helles-blau); /* Helles Blau */
    box-shadow: 0 0 0 3px var(--color-helles-blau-light);
}

.form-label-new {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--weiss);
    padding: 0 0.3rem;
}

.form-input-new:focus + .form-label-new,
.form-input-new:not(:placeholder-shown) + .form-label-new,
.form-textarea-new:focus + .form-label-new,
.form-textarea-new:not(:placeholder-shown) + .form-label-new {
    top: -0.5rem;
    font-size: 0.85rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* File Upload neue Styles */
.file-upload-group-new {
    margin-bottom: 2.5rem;
}

.file-upload-container-new {
    position: relative;
}

.file-input-hidden {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    background: var(--bg-soft);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'cour', monospace !important;
    color: var(--text-muted);
}

.file-upload-label-new:hover {
    border-color: var(--color-helles-blau); /* Helles Blau */
    background: var(--color-sanftes-beige-medium); /* Sanftes Beige mit Transparenz */
    color: var(--color-helles-blau); /* Helles Blau */
}

.file-upload-icon {
    font-size: 1.5rem;
}

.file-name-display {
    display: none;
    margin-top: 0.5rem;
    font-family: 'cour', monospace !important;
    font-size: 0.9rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* Submit Button neue Styles */
.submit-btn-new {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, var(--button-primary), var(--button-hover));
    color: var(--button-text);
    border: none;
    border-radius: 8px;
    font-family: 'cour', monospace !important;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(81, 226, 245, var(--alpha-40));
}

.submit-btn-new:active {
    transform: translateY(0);
}

/* Form Status neue Styles */
.form-status-new {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'cour', monospace !important;
    font-size: 0.95rem;
    text-align: center;
}

.form-status-new.success {
    background: rgba(40, 167, 69, var(--alpha-10));
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, var(--alpha-20));
}

.form-status-new.loading {
    background: var(--color-helles-blau-light); /* Helles Blau mit Transparenz */
    color: var(--color-helles-blau); /* Helles Blau */
    border: 1px solid var(--shadow-helles-blau);
}

.form-status-new.error {
    background: rgba(220, 53, 69, var(--alpha-10));
    color: var(--error);
    border: 1px solid rgba(220, 53, 69, var(--alpha-20));
}

/* Error Messages für neue Form */
.form-error {
    display: none;
    color: var(--error);
    font-family: 'cour', monospace !important;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Mobile Responsive für neue Kontakt Sektion */
@media (max-width: 1024px) {
    .contact-container-new {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-info-left {
        text-align: center;
    }
    
    .main-contact-title {
        font-size: 4rem !important;
        text-align: center !important;
    }
    
    .contact-subtitle p {
        text-align: center;
    }
    
    .contact-details p {
        text-align: center;
    }
    
    .contact-section-fullscreen {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 0 1rem;
    }
    
    .contact-container-new {
        gap: 2rem;
    }
    
    .main-contact-title {
        font-size: 3rem !important;
    }
    
    .contact-subtitle p {
        font-size: 1.2rem;
    }
    
    .form-container-transparent {
        padding: 2rem;
    }
    
    .contact-section-fullscreen {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .main-contact-title {
        font-size: 2.5rem !important;
    }
    
    .contact-subtitle p {
        font-size: 1rem;
    }
    
    .form-container-transparent {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .form-input-new,
    .form-textarea-new {
        padding: 1rem 0.8rem 0.6rem;
        font-size: 0.95rem;
    }
    
    .submit-btn-new {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   CONTACT SECTION - MODERN CONTACT FORM
   ========================================================================== */

/* Kontakt Sektion */
.contact-section {
    margin: 0 auto 4rem;
    padding: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    background: linear-gradient(
        var(--shadow-helles-blau-hover), 
        var(--color-mintgruen-medium)
    ), url('bilder/banner/Kontakt.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* Linke Seite - Informationsbereich */
.contact-info-side {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
}

.contact-title {
    font-family: 'daniel', serif !important;
    font-size: 3.5rem !important;
    color: var(--text-light) !important;
    margin-bottom: 2rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.2;
    text-align: left !important;
}

.contact-description {
    margin-bottom: 3rem;
}

.contact-description p {
    font-family: 'cour', monospace !important;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, var(--alpha-95));
    text-shadow: 1px 1px 2px rgba(0, 0, 0, var(--alpha-80));
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: none;
}

.direct-contact {
    background: var(--color-sanftes-beige-light); /* Sanftes Beige mit Transparenz */
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 2px solid var(--color-sanftes-beige-medium);
    border-radius: 15px;
}

.contact-item {
    font-family: 'cour', monospace !important;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, var(--alpha-80));
}

.contact-item:first-child {
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Rechte Seite - Kontaktformular */
.contact-form-side {
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: rgba(255, 255, 255, var(--alpha-95));
    backdrop-filter: blur(10px);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px var(--shadow-helles-blau);
    border: 2px solid var(--color-sanftes-beige-medium);
    border-radius: 20px;
}

/* Form Groups */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    border: 2px solid var(--border-light);
    background: var(--weiss);
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--grau-dunkel);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-helles-blau); /* Helles Blau */
    box-shadow: 0 0 0 3px var(--color-helles-blau-light);
}

.form-group label {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    font-family: 'cour', monospace !important;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--weiss);
    padding: 0 0.3rem;
}

.form-group.focused label,
.form-group input:focus + label,
.form-group textarea:focus + label {
    top: -0.5rem;
    font-size: 0.85rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* File Upload */
.file-upload-group {
    margin-bottom: 2.5rem;
}

.file-upload-container {
    position: relative;
}

.file-upload-container input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 2px dashed var(--border-light);
    background: var(--bg-soft);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'cour', monospace !important;
    color: var(--text-muted);
}

.file-upload-label:hover {
    border-color: var(--color-helles-blau); /* Helles Blau */
    background: var(--color-sanftes-beige-medium); /* Sanftes Beige mit Transparenz */
    color: var(--color-helles-blau); /* Helles Blau */
}

.file-upload-icon {
    font-size: 1.5rem;
}

.file-name {
    display: none;
    margin-top: 0.5rem;
    font-family: 'cour', monospace !important;
    font-size: 0.9rem;
    color: var(--color-helles-blau); /* Helles Blau */
    font-weight: 500;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, var(--color-helles-blau), var(--color-mintgruen-strong)); /* Helles Blau zu Mintgrün Gradient */
    color: var(--text-light);
    border: none;
    font-family: 'cour', monospace !important;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--color-mintgruen-opaque), var(--color-helles-blau));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-helles-blau-hover);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Form Status */
.form-status {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    font-family: 'cour', monospace !important;
    font-size: 0.95rem;
    text-align: center;
}

.form-status.success {
    background: rgba(40, 167, 69, var(--alpha-10));
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, var(--alpha-20));
}

.form-status.loading {
    background: rgba(237, 247, 86, var(--alpha-10)); /* Burnt Orange mit Transparenz */
    color: var(--beige); /* Burnt Orange */
    border: 1px solid rgba(237, 247, 86, var(--alpha-20));
}

.form-status.error {
    background: rgba(220, 53, 69, var(--alpha-10));
    color: var(--error);
    border: 1px solid rgba(220, 53, 69, var(--alpha-20));
}

/* Additional Info Section */
.additional-info {
    margin-top: 6rem;
}

.additional-info h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Personal Story (bestehende Styles beibehalten) */
.personal-story {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem auto;
    max-width: 1000px;
}

.story-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, var(--alpha-10));
}

.story-text p {
    text-align: left;
    margin: 1.5rem 0;
    max-width: none;
}

.story-text blockquote {
    font-family: 'cour', monospace !important;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.56rem;
    text-align: left;
    position: relative;
}

.story-text blockquote p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 0;
}

.story-highlight {
    color: var(--beige); /* Burnt Orange */
    font-weight: 600;
}

/* Artist Quote */
.artist-quote:not(.banner-quote) {
    background: var(--schwarz);
    color: var(--text-light);
    margin: 0rem ;
    text-align: center;
    max-width: 100%;
}

.quote-text {
    font-family: 'cour', monospace !important;
    font-size: 1.95rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 300;
}

.quote-author {
    font-family: 'cour', monospace !important;
    font-size: 1.17rem;
    opacity: 0.8;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   MODAL SYSTEM - PREVIEW FUNCTIONALITY
   ========================================================================== */

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--alpha-90));
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--weiss);
    margin: 2% auto;
    padding: 0;
    border-radius: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, var(--alpha-25));
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--bg-soft);
}

.modal-header h2 {
    font-family: 'daniel', serif !important;
    font-size: 3.25rem;
    color: var(--schwarz);
    margin: 0 0 1rem 0;
    text-align: center;
}

.modal-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.modal-meta .card-date,
.modal-meta .card-location {
    font-family: 'cour', monospace !important;
    font-size: 1.17rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-content > p {
    padding: 0 2rem 2rem 2rem;
    font-family: 'cour', monospace !important;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    max-width: none;
    margin: 0;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
    padding-top: 0;
    max-width: 100%;
    margin: 0 auto;
}

.modal-images .gallery-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-images .gallery-item:hover {
    transform: scale(1.02);
}

.modal-images .gallery-item.enlarged {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vh;
    z-index: 10001;
    background: rgba(0, 0, 0, var(--alpha-95));
    aspect-ratio: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, var(--alpha-80));
}

.modal-images .gallery-item.enlarged::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, var(--alpha-90));
    z-index: -1;
}

.modal-images .gallery-item.enlarged::after {
    content: '×';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, var(--alpha-50));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10002;
}

.modal-images .gallery-item.enlarged::after:hover {
    background: rgba(0, 0, 0, var(--alpha-80));
}

.modal-images .gallery-item.enlarged img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: none;
}

.modal-images .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--schwarz);
}

.no-images-message {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* Lightbox for Modal Images */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--alpha-95));
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.lightbox-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    background: rgba(0, 0, 0, var(--alpha-70));
    padding: 1rem 2rem;
    border-radius: 0;
}

.lightbox-title {
    font-family: 'daniel', serif !important;
    font-size: 1.95rem;
    margin-bottom: 0.5rem;
}

.lightbox-description {
    font-family: 'cour', monospace !important;
    font-size: 1.17rem;
    opacity: 0.9;
}

.lightbox-counter {
    font-family: 'cour', monospace !important;
    font-size: 1.04rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, var(--alpha-50));
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, var(--alpha-80));
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Intro-Overlay Banner Styles für index.php */
.intro-overlay.index-intro {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #000;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.9s ease;
    opacity: 1;
    overflow: hidden;
}

.intro-overlay .intro-bg {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('bilder/banner/main3.png') center center no-repeat;
    background-size: cover;
    opacity: 1;
    z-index: 1;
}

.intro-overlay .intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--weiss);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.intro-overlay .intro-title {
    font-family: 'daniel', serif !important;
    font-size: 7.8rem;
    color: var(--weiss);
    text-shadow: 3px 3px 16px rgba(0,0,0,0.7);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.intro-overlay .intro-subtitle {
    font-family: 'cour', monospace !important;
    font-size: 2.6rem;
    color: var(--weiss);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin: 0;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.7s 0.3s;
}
.intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .intro-overlay .intro-title {
        font-size: 3.9rem;
    }
    .intro-overlay .intro-subtitle {
        font-size: 1.56rem;
    }
}

@media (max-width: 480px) {
    .intro-overlay .intro-title {
        font-size: 2.6rem;
    }
    .intro-overlay .intro-subtitle {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   NAVIGATION WITH ARROWS STICKY ON SCROLL
   ========================================================================= */

.nav-with-arrows {
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    background: var(--nav-bg);
    box-shadow: var(--shadow-nav);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    transition: box-shadow 0.3s, background 0.3s;
}

/* Entferne das body padding-top, da sticky erst beim Scrollen greift */
body {
    padding-top: 0;
}

/* ==========================================================================
   FOOTER STYLES - NEU FORMATIERUNG
   ========================================================================= */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-family: 'cour', monospace !important;
    box-shadow: 0 -4px 24px rgba(80, 142, 146, 0.08);
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem 2rem;
    gap: 2rem;
}
.footer-section {
    flex: 1 1 220px;
    margin-bottom: 2rem;
    min-width: 200px;
}
.footer-section h3 {
    font-family: 'daniel', serif !important;
    font-size: 1.69rem;
    color: var(--footer-accent);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.footer-section ul,
.footer-section p {
    font-family: 'cour', monospace !important;
    font-size: 1.3rem;
    color: var(--footer-text);
    margin: 0 0 0.5rem 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.footer-section ul.contact-info {
    margin-bottom: 1rem;
}
.footer-section ul.contact-info li {
    margin-bottom: 0.3rem;
}
.footer-section .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.footer-section .social-links a {
    color: var(--footer-accent);
    font-size: 1.43rem;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}
.footer-section .social-links a:hover {
    color: var(--footer-text);
}
.footer-section a {
    color: var(--footer-accent);
    text-decoration: none;
    font-size: 1.3rem;
    margin-right: 1rem;
    transition: color 0.3s;
}
.footer-section a:hover {
    color: var(--footer-text);
}
.footer-bottom {
    background: rgba(80, 142, 146, 0.85);
    color: var(--footer-text);
    text-align: center;
    padding: 1rem 0;
    font-size: 1.235rem;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--footer-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.footer-bottom .footer-copyright {
    margin: 0;
}
.footer-bottom .footer-design {
    font-size: 1rem;
    color: var(--footer-accent);
    font-family: 'cour', monospace !important;
    opacity: 0.8;
}
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1rem 1rem 1rem;
    }
    .footer-section {
        margin-bottom: 1.5rem;
    }
    .footer-bottom {
        font-size: 1.1rem;
    }
}

/* Exhibition Cards Custom Layout for Index */
.custom-index-layout {
    display: flex;
    flex-direction: column;
    background: none;
    padding: 0 3vw;
    width: 100vw;
    box-sizing: border-box;
}
.exhibition-row {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 0;
    width: 100%;
}
.exhibition-row-top {
    margin-bottom: 3rem;
}
.exhibition-card-large {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 520px;
    min-height: 520px;
    background: var(--bg-light);
    box-shadow: 0 8px 25px var(--shadow-cappuccino);
    border-radius: 0px;
    overflow: hidden;
}
    .exhibition-card-large .card-image-single {
        flex: 1 1 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--cappuccino-warm);
        min-width: 0;
        height: 100%;
    }
.exhibition-card-large .card-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.exhibition-card-large .card-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3.5rem 2rem;
    text-align: center;
    background: none;
    height: 100%;
}
.exhibition-card-large .card-title {
    font-size: 2.7rem;
    margin-bottom: 1.5rem;
}
.exhibition-card-large .card-meta {
    gap: 2.2rem;
    margin-bottom: 1.5rem;
}
.exhibition-card-large .more-info-btn {
    margin-top: 2.2rem;
    font-size: 1.35rem;
    padding: 1.1rem 2.2rem;
}
.exhibition-card-small {
    flex: 1 1 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 840px;
    min-height: 840px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 8px 25px var(--shadow-cappuccino); 
    border-radius: 0px; 
}
.exhibition-card-small .card-image-single {
    height: 588px; /* 70% von 840px */
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-helles-blau-light), var(--color-mintgruen-light));
}
.exhibition-card-small .card-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.exhibition-card-small .card-content {
    height: 252px; /* 30% von 840px */
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem;
    text-align: center;
    background: none;
}
@media (max-width: 1100px) {
    .exhibition-card-small {
        height: 640px;
        min-height: 0;
    }
    .exhibition-card-small .card-image-single {
        height: 448px; /* 70% von 640px */
    }
    .exhibition-card-small .card-content {
        height: 192px; /* 30% von 640px */
        padding: 2rem 1rem;
    }
}

/* ==========================================================================
   GALLERY COMPONENTS - SQUARESPACE STYLE
   ========================================================================== */

/* Gallery Item Zoom Functionality */
.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--weiss);
    transition: all 0.4s ease;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, var(--alpha-10));
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Enlarged Image State */
.gallery-item.enlarged {
    position: fixed;
    top: 10vh;
    left: 10vw;
    width: 80vw;
    height: 80vh;
    z-index: 3000;
    background: rgba(0, 0, 0, var(--alpha-95));
    aspect-ratio: unset;
    box-shadow: 0 0 50px rgba(0, 0, 0, var(--alpha-80));
    border-radius: 0;
}

.gallery-item.enlarged img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1);
}

.gallery-item.enlarged:hover img {
    transform: scale(1);
}

/* Overlay für vergrößerte Bilder */
.gallery-item.enlarged::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, var(--alpha-90));
    z-index: -1;
}

/* Close Button für vergrößerte Bilder */
.gallery-item.enlarged::after {
    content: '×';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, var(--alpha-50));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.gallery-item.enlarged::after:hover {
    background: rgba(0, 0, 0, var(--alpha-80));
}

/* Mobile Anpassungen für vergrößerte Bilder */
@media (max-width: 768px) {
    .gallery-item.enlarged {
        top: 5vh;
        left: 5vw;
        width: 90vw;
        height: 90vh;
    }
    
    .gallery-item.enlarged::after {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

.gallery-item.enlarged .gallery-overlay {
    display: none;
}











.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   Keep every page and all content usable on tablets and phones.
   ========================================================================== */

html {
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

@media (max-width: 900px) {
    body {
        font-size: 100%;
        overflow-x: hidden;
    }

    h1,
    h1:not(.site-name) {
        font-size: clamp(2.4rem, 10vw, 3.25rem);
    }

    h2 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    h3 {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }

    p {
        font-size: 1.05rem;
        padding-inline: 0;
    }

    .artist-quote.small-banner {
        min-height: 110px;
        height: auto;
        padding: 1rem;
        gap: 0.25rem;
    }

    .artist-quote.small-banner .banner-title,
    .artist-quote.small-banner .banner-subtitle {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .artist-quote.small-banner .banner-title .site-name {
        font-size: clamp(2.3rem, 11vw, 3.25rem) !important;
        line-height: 1;
    }

    .artist-quote.small-banner .banner-subtitle .site-subtitle {
        font-size: clamp(0.72rem, 3.6vw, 1rem) !important;
        letter-spacing: 0.08em;
        text-align: center;
    }

    .nav-with-arrows {
        position: relative;
        min-height: auto;
        padding: 0.75rem;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .nav-with-arrows .nav-links {
        flex: 1 1 auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.25rem 0.5rem;
        min-width: 0;
        font-size: 0.85rem;
    }

    .nav-links a {
        min-height: 44px;
        padding: 0.65rem 0.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .nav-arrow {
        flex: 0 0 36px;
        width: 36px;
        height: 44px;
    }

    .burger-menu {
        display: none;
    }

    .main-content {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        padding: 1.5rem 1rem;
    }

    .exhibition-cards,
    .bildergalerie,
    .modal-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        width: 100%;
        padding: 1rem;
        margin: 2rem auto;
    }

    .custom-index-layout {
        width: 100%;
        padding: 0;
    }

    .exhibition-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .exhibition-row-top {
        margin-bottom: 1.5rem;
    }

    .exhibition-card-large,
    .exhibition-card-small {
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .exhibition-card-large .card-image-single,
    .exhibition-card-small .card-image-single {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .exhibition-card-large .card-content,
    .exhibition-card-small .card-content {
        flex: none;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 1.5rem 1rem;
    }

    .exhibition-card-large .card-title {
        font-size: 2.2rem;
    }

    .exhibition-card-large .more-info-btn {
        margin-top: 1rem;
        font-size: 1rem;
        padding: 0.85rem 1.25rem;
    }

    .personal-story,
    .contact-container,
    .contact-container-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .story-image {
        height: auto;
        max-height: 70vh;
    }

    .modal-content {
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
        max-height: calc(100dvh - 1rem);
    }

    .modal-header,
    .modal-content > p,
    .modal-actions {
        padding-inline: 1rem;
    }

    .footer-content {
        gap: 0.5rem;
    }

    .footer-section {
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .artist-quote:not(.small-banner) {
        min-height: 100svh;
        height: 100svh;
    }

    .banner-background {
        background-size: cover;
    }

    .banner-title .site-name {
        font-size: clamp(3rem, 17vw, 4.5rem) !important;
        overflow-wrap: anywhere;
    }

    .banner-subtitle {
        left: 50%;
        width: 90%;
        transform: translateX(-50%);
        text-align: center;
    }

    .banner-subtitle .site-subtitle {
        font-size: 1rem !important;
        letter-spacing: 0.1em;
        text-align: center;
    }

    .exhibition-cards,
    .bildergalerie,
    .modal-images {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }

    .card-content {
        padding: 1.25rem 1rem;
    }

    .card-meta,
    .modal-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .gallery-filters {
        gap: 0.5rem;
        padding-inline: 0.5rem;
    }

    .filter-btn,
    .more-info-btn,
    button,
    input,
    textarea,
    select {
        max-width: 100%;
    }

    .footer-section p,
    .footer-section ul,
    .footer-section a {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.legal-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.legal-page section {
    margin-bottom: 2rem;
    text-align: center;
}

.legal-page h2 {
    margin-bottom: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1.65rem;
    line-height: 1.3;
    text-align: center;
}

.legal-page p {
    text-align: center;
}

.legal-page + footer {
    text-align: initial;
}

.nav-with-arrows .nav-links {
    flex: 1 1 auto;
    justify-content: center;
}

.legal-page a,
.footer-bottom a {
    color: inherit;
}

.contact-privacy-note {
    margin-top: 0.75rem;
    font-size: 0.55em;
    line-height: 1.5;
}

/* Start page cards: fluid at every intermediate desktop width. */
.custom-index-layout .exhibition-row {
    display: grid;
    width: 100%;
    align-items: stretch;
}

.custom-index-layout .exhibition-row-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.custom-index-layout .exhibition-row-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.custom-index-layout .exhibition-card-large,
.custom-index-layout .exhibition-card-small {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
}

.custom-index-layout .exhibition-card-small .card-image-single {
    height: auto;
    aspect-ratio: 4 / 3;
}

.custom-index-layout .exhibition-card-small .card-content {
    height: auto;
    min-height: 250px;
}

@media (max-width: 1200px) and (min-width: 901px) {
    .custom-index-layout .exhibition-row-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .custom-index-layout .exhibition-row-top,
    .custom-index-layout .exhibition-row-bottom {
        grid-template-columns: 1fr;
    }

    .custom-index-layout .exhibition-card-small .card-content {
        min-height: 0;
    }
}

/* Larger, thumb-friendly lightbox controls on touch-sized screens. */
@media (max-width: 768px) {
    .lightbox-image {
        max-width: calc(100% - 5.5rem);
        max-height: 78%;
    }

    .lightbox-nav {
        width: 58px;
        height: 76px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.25rem;
        line-height: 1;
        background: rgba(0, 0, 0, 0.68);
        z-index: 10002;
        touch-action: manipulation;
    }

    .lightbox-prev {
        left: 0.35rem;
    }

    .lightbox-next {
        right: 0.35rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.75rem;
        min-width: 48px;
        min-height: 48px;
        font-size: 2.5rem;
        line-height: 48px;
        text-align: center;
    }
}

/* Navigation remains inside the viewport at every desktop window width. */
.nav-with-arrows {
    max-width: 100%;
    overflow: visible;
}

.nav-with-arrows .nav-links {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 1500px) and (min-width: 1101px) {
    .nav-with-arrows {
        padding-inline: 1rem;
        gap: 0.75rem;
    }

    .nav-with-arrows .nav-links {
        flex: 1 1 auto;
        justify-content: space-evenly;
        gap: clamp(0.15rem, 0.8vw, 0.75rem);
        font-size: clamp(0.78rem, 1.05vw, 1rem);
    }

    .nav-with-arrows .nav-links a {
        padding: 0.65rem clamp(0.2rem, 0.55vw, 0.55rem);
        white-space: nowrap;
    }

    .nav-with-arrows .nav-arrow {
        flex: 0 0 40px;
        width: 40px;
        height: 44px;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .nav-with-arrows {
        min-height: auto;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        align-items: center;
    }

    .nav-with-arrows .nav-links {
        flex: 1 1 auto;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }

    .nav-with-arrows .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 42px;
        padding: 0.5rem 0.25rem;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .nav-with-arrows .nav-arrow {
        flex: 0 0 40px;
        width: 40px;
        height: 44px;
    }
}

/* Rechtsseiten: finale Ausrichtung nach allen allgemeinen Überschriftenregeln. */
body main.legal-page,
body main.legal-page section,
body main.legal-page section p {
    text-align: center !important;
}

body main.legal-page section h2 {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    font-family: 'cour', monospace !important;
    text-align: center !important;
}
