@font-face {
    font-family: 'FarbkatzenFont';
    src: url('../fonts/BLUECHERIES.woff2') format('woff2'),
         url('../fonts/BLUECHERIES.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* -------------------
   Grundlegendes Reset
----------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #faf9f7;
}

/* ---------
   Container
------------*/
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ----------
   Regenbogen
-------------*/

#canvas-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* ----------------------
   Regenbogen-Hintergrund
-------------------------*/
#canvas-wrapper {
    background: linear-gradient(
        135deg,
        rgba(255, 77, 77, 0.05),
        rgba(255, 153, 0, 0.05),
        rgba(255, 237, 77, 0.05),
        rgba(51, 204, 102, 0.05),
        rgba(51, 204, 255, 0.05),
        rgba(102, 153, 255, 0.05),
        rgba(204, 102, 255, 0.05)
    );
}

#rainCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

#site-content {
    position: relative;
    z-index: 5;
}

.header,
.footer {
    position: relative;
    z-index: 10;
}

/* -------------------
   Header / Navigation
----------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(250, 249, 247, 0.95);
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header .logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav ul li a {
    text-decoration: none;
    color: #222222;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: #c46a2d;
}

/* ----
   Hero
-------*/
.hero {
    padding-top: calc(70px + env(safe-area-inset-top));
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-family: 'FarbkatzenFont', serif !important;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #222222;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555555;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.hero-image img {
    width: auto;
    height: 60vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* ----------
   Abschnitte
-------------*/
.section {
    padding: 5rem 0;
}

.section h1 {
    font-family: 'FarbkatzenFont', serif !important;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #222222;
    text-align: center;
}


.section h2 {
    font-family: serif !important;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #222222;
    text-align: center;
}

.section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #444444;
}

/* ----------
   Künstlerin
-------------*/
.kuenstlerin-layout {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.kuenstlerin-layout .portrait img {
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.kuenstlerin-layout .bio {
    flex: 1;
}

/* -------
   Galerie
----------*/
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-grid .large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ---------
   Aktuelles
------------*/
.aktuelles p {
    max-width: 700px;
    margin: 0 auto;
}

/* -------
   Kontakt
----------*/
.kontakt a {
    color: #c46a2d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.kontakt a:hover {
    color: #222222;
}

/* ------
   Footer
---------*/
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.footer-nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-nav a {
    text-decoration: none;
    color: #222222;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #c46a2d;
}

/* ------------- 
Impressum Layout
----------------*/

.section.impressum { 
padding: 5rem 0; 
background-color: #faf9f7;
} 

.section.impressum h1, 
.section.impressum h2, 
.section.impressum h3 { 
font-family: serif !important; 
color: #222222; 
margin-bottom: 1.5rem; 
text-align: center; 
} 

.section.impressum h1 { 
font-size: 2.5rem; 
} 

.section.impressum h2 { 
font-size: 2rem; 
} 

.section.impressum h3 { 
font-size: 1.5rem; 
margin-top: 2rem; 
} 

.section.impressum p { 
font-family: sans-serif !important; 
color: #444444; 
text-align: center; 
max-width: 800px; 
margin: 0 auto 1.5rem auto; 
line-height: 1.6; 
} 

.section.impressum a { 
color: #c46a2d;
text-decoration: none; 
transition: color 0.3s ease; 
} 

.section.impressum a:hover { 
color: #222222; 
}

/* -----------------------------
   Datenschutzerklärung Layout
-------------------------------*/
.section.datenschutz {
    padding: 5rem 0;
    background-color: #faf9f7;
}

.section.datenschutz h1,
.section.datenschutz h2,
.section.datenschutz h3 {
    font-family: serif !important;
    color: #222222;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section.datenschutz h1 {
    font-size: 2.5rem;
}

.section.datenschutz h2 {
    font-size: 2rem;
}

.section.datenschutz h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.section.datenschutz p {
    font-family: sans-serif !important;
    color: #444444;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.section.datenschutz a {
    color: #c46a2d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section.datenschutz a:hover {
    color: #222222;
}

/* -----------------------------
   Responsive Design
-------------------------------*/
/* Tablets / kleinere Desktops */
@media (max-width: 1024px) {
  .gallery-grid-variantC {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-grid-variantC .large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Mobile/Smartphones und kleine Tablets */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header .container {
        padding: 0.5rem 0;
    }

    .header .logo img {
        height: 40px;
    }

    .hero {
        padding-top: 60px;
        padding-bottom: 2rem;
    }

    /* Künstlerin Layout anpassen */
    .kuenstlerin-layout {
        flex-direction: column;
        text-align: center;
    }

    .kuenstlerin-layout .portrait img {
        width: 80%;
        margin-bottom: 1.5rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    /* Navigation */
    .nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Galerie */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-auto-rows: 200px;
    }

    /* Impressum */
    .section.impressum h1 { font-size: 2rem; } 
    .section.impressum h2 { font-size: 1.6rem; } 
    .section.impressum h3 { font-size: 1.2rem; } 
    .section.impressum p { 
        font-size: 0.95rem; 
        padding: 0 1rem; 
    }

    /* Datenschutz */
    .section.datenschutz h1 { font-size: 2rem; }
    .section.datenschutz h2 { font-size: 1.6rem; }
    .section.datenschutz h3 { font-size: 1.2rem; }
    .section.datenschutz p { 
        font-size: 0.95rem; 
        padding: 0 1rem; 
    }
}

/* Sehr kleine Smartphones */
@media (max-width: 600px) {
  .gallery-grid-variantC {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-grid-variantC .large {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* --------
   Lightbox
-----------*/
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 2000;
}