
/* ==================== RESET & BASIS ==================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #fafafa; /* sanftes Off-White */
}

/* ==================== TYPOGRAPHIE ==================== */
h1, h2, h3 {
    font-family: "Optima";
    font-weight: 600;
    color: #5a2a5c; /* sanftes Lila-Pink */
    text-align: center;
    margin: 40px 0 20px 0;
}

h2 {
    font-size: 2rem;
	font-weight: 300;
}

h3 {
    font-size: 1.3rem;
}



/* ==================== HEADER ==================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}

.header-left {
    font-weight: 600;
    font-size: 1.2rem;
}

.artist-name {
    margin: 0;
    font-family: "Julius Sans One", sans-serif;
    color: #DFDFDF;
    white-space: nowrap;
}

/* Center Image */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center; /* zentriert horizontal */
    align-items: center;
}

.header-center .heads img {
    max-height: 100px;   /* Bild klein halten */
    width: auto;
    display: block;
}

/* Optional: responsive kleiner auf Mobil */
@media (max-width: 768px) {
    .header-center .heads img {
        max-height: 35px;
    }
}

@media (max-width: 480px) {
    .header-center .heads img {
        max-height: 25px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px; /* Abstand zwischen Menü und Language Switch */
}

.language-switch {
    font-size: 0.85rem;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.main-nav ul li a {
    font-family: "Helvetica", sans-serif;
    font-weight: 500;
    color: #481c50;
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #ff99cc;
}

/* Hamburger Menü für mobile */
.hamburger {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    user-select: none;
}

/* ==================== HAMBURGER MOBILE ==================== */
@media (max-width: 768px) {
    /* Hamburger sichtbar machen */
    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 1.4rem;
        user-select: none;
        z-index: 20; /* sicher über der Nav */
    }

    /* Navigation verstecken und mobil positionieren */
    .main-nav ul {
        display: none; /* default versteckt */
        flex-direction: column;
        position: absolute;
        top: 100%;     /* direkt unter Header */
        right: 20px;   /* Abstand vom rechten Rand */
        background-color: #fff;
        padding: 10px 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        gap: 10px;
        z-index: 10;
    }

    /* Navigation öffnen, wenn Hamburger aktiv */
    .main-nav.active ul {
        display: flex;
    }

    /* Links innerhalb der mobilen Navigation */
    .main-nav ul li {
        margin: 10px 0;
        text-align: right;
        padding-right: 10px;
    }

    /* Optional: kleiner Schriftgrad */
    .main-nav ul li a {
        font-size: 0.95rem;
    }
}

/* ==================== NAVIGATION ==================== */
nav {
    display: flex;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: #5a2a5c;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #ffb6c1;
    transform: scale(1.05);
}

/* ==================== SECTION LAYOUT ==================== */
section {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 25px;
}

/*====================WELCOME==========================*/
#welcome {
    max-width: 800px;
    margin: 60px auto 40px auto;
    padding: 0 20px;
    text-align: center;
}

#welcome .welcome-text p {
    font-family: "Optima";
    font-size: 1.2rem;
    line-height: 1.5em;
    color: #5a2a5c;
    margin: 0;
}

@media (max-width: 768px) {
    #welcome .welcome-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #welcome .welcome-text p {
        font-size: 0.9rem;
    }
}

/* ==================== Slider Box ==================== */
#home-slider {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
    text-align: center;
}

.slide-box {
    width: 100%;
    max-width: 800px;
    height: 0;
    padding-bottom: 100%; /* quadratische Box */
    position: relative;
    overflow: hidden;
    background-color: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.slide-box img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.slide-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 5px;
    font-size: 0.85rem;
    line-height: 1.2em;
    color: #5a2a5c;
}

.slide-text .title {
    font-weight: 600;
    margin: 0;
}

.slide-text .details {
    font-weight: 400;
    margin: 2px 0;
    color: #7a507f;
}

.slide-text .learn-more {
    margin-top: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #ffb6c1;
    align-self: flex-end; /* rechtsbündig */
}

/* Pfeile außen */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #5a2a5c;
    background: transparent;
    padding: 5px;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}

#prev-slide { left: -30px; }
#next-slide { right: -30px; }

/* Dots */
.slider-dots {
    text-align: center;
    margin-top: 8px;
}

.slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.slider-dot.active {
    background: #ffb6c1;
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
    .slide-text { font-size: 0.8rem; }
    .slider-arrow { font-size: 1.2rem; left: -20px; right: -20px; }
    
    .main-nav ul {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        right: 0;
        width: 150px;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .main-nav ul li {
        margin: 10px 0;
        text-align: right;
        padding-right: 20px;
    }

    .hamburger {
        display: block;
    }

    .main-nav.active ul {
        display: flex;
    }

    .artist-name {
        font-size: 1rem; /* kleiner auf mobilen Geräten */
    }
}

@media (max-width: 480px) {
    .slide-box { aspect-ratio: 1 / 1; }
    .slide-text { font-size: 0.75rem; }
    .slider-arrow { font-size: 1rem; left: -15px; right: -15px; }
    nav ul { flex-direction: column; gap: 15px; }
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal img {
    max-height: 80vh;
    max-width: 70vw;
    height: auto;
    cursor: pointer;
}

.arrow {
    color: white;
    font-size: 40px;
    cursor: pointer;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

.modal-description {
    color: white;
    text-align: center;
    margin-top: 3px;
    max-width: 80%;
    font-size: 16px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .arrow { font-size: 30px; }
}

/* ==================== WORKS OVERVIEW ==================== */
.works-overview {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 Boxen pro Reihe */
    gap: 20px 40px; /* 20px vertikal, 40px horizontal */
}

.work-box {
    text-align: end; /* Text rechtsbündig */
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.work-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.work-box:hover img {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.work-box h2 {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: #5a2a5c;
    line-height: 1.2em;
    text-align: end;
}

/* RESPONSIVE Anpassungen */
@media (max-width: 1200px) {
    .works-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .works-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
    .works-grid { grid-template-columns: 1fr; }
}
/* ================= FIXED PROJECT NAV ================= */

/* ================= Project Navigation Sticky ================= */

.back-link,
.project-nav {
    position: sticky;
    top: 20px; /* Abstand vom oberen Rand beim Scrollen */
    z-index: 5;
}

/* horizontale Position */
.back-link {
    float: left;
    margin: 20px;
}

.project-nav {
    float: right;
    margin: 20px;
    display: flex;
    gap: 25px;
}

/* Alle Links gleich gestalten */
.back-link a,
.project-nav a {
    text-decoration: none;
    color: #5a2a5c;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s;
	
}

/* Hover Effekte */
.back-link a:hover {
    color: #ffb6c1;
    transform: translateX(-2px);
}

.project-nav .prev:hover {
    color: #ffb6c1;
    transform: translateX(-2px);
}

.project-nav .next:hover {
    color: #ffb6c1;
    transform: translateX(2px);
}

/* Project Navigation Typography */
.back-link a,
.project-nav a {
    font-family: "Optima", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.02em;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .back-link,
    .project-nav {
        top: 95px;
    }

    .back-link a,
    .project-nav a {
        font-size: 0.85rem;
    }

    .project-nav {
        gap: 15px;
        right: 15px;
    }

    .back-link {
        left: 15px;
    }
}

@media (max-width: 480px) {

    .back-link,
    .project-nav {
        top: 85px;
    }

    .back-link a,
    .project-nav a {
        font-size: 0.8rem;
    }

    .project-nav {
        gap: 12px;
        right: 10px;
    }

    .back-link {
        left: 10px;
    }
}
/* ============================= */
/* PROJECTS!!(Water and Fire) – ALTERNATING */
/* ============================= */
/* ================= Series Grid ================= */
.series-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Jedes Figure-Item */
.series-grid figure {
    width: 70%;
    max-width: 700px;
    margin: 0;
}

/* Alternierend links/rechts */
.series-grid figure:nth-child(odd) {
    align-self: flex-start;
}

.series-grid figure:nth-child(even) {
    align-self: flex-end;
}

/* Bild im Figure */
.series-grid figure img {
    width: 100%;
    height: auto;
    display: block;
}

/* Figcaption */
.series-grid figure figcaption {
    margin-top: 6px;
    font-size: 0.75rem;
    color: #777;
    text-align: left;
    font-family: "Optima", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .series-grid figure {
        width: 100%;
    }
    .series-grid {
        gap: 50px;
    }
}

@media (max-width: 480px) {
    .series-grid figure {
        width: 100%;
    }
    .series-grid {
        gap: 40px;
    }
}

/* Abstand unter jedem series-grid, bevor der nächste Titel kommt */
.series-grid {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Abstand zwischen den Bildern im Grid */
    margin-bottom: 120px; /* Abstand zum nächsten Titel */
}

.series-grid figure {
    margin: 0;
}

.series-grid figcaption {
    margin-top: 6px;
    font-size: 0.75rem;
    color: #777;
    text-align: left;
    font-family: "Optima", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .series-grid {
        gap: 50px;
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .series-grid {
        gap: 40px;
        margin-bottom: 60px;
    }
}
/* ==================== ABOUT ==================== */
.content {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.content p {
    text-align: justify;
    text-justify: inter-word;
    color: #444;
}

.exhibition-list {
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding-left: 20px;
    color: #444;
}

.exhibition-list li {
    margin-bottom: 10px;
}

/* ==================== CONTACT ==================== */
#contact {
    text-align: center;
}

#contact p {
    max-width: 600px;
    margin: 20px auto;
    color: #444;
}

#contact a {
    color: #ffb6c1;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

#contact a:hover {
    color: #d16ba5;
    transform: translateY(-2px);
}

/* ==================== GALLERY ==================== */
#gallery {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.gallery-item p {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(90, 42, 92, 0.7);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover p {
    opacity: 1;
}

.gallery-item.vertical {
    height: 400px;
}

.gallery-item.horizontal {
    height: 250px;
}


/* ================= DRAWINGS GRID ================= */

#drawings-grid-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.drawings-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.drawing-box {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    background: #f4f4f4;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drawing-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover */
.drawing-box:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.drawing-box:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1200px) {
    .drawings-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .drawings-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .drawings-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
    .drawings-grid { grid-template-columns: 1fr; }
}


/* Lightbox Hintergrund */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    overflow: auto;
}

/* Bild + Caption Container */
.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 100vh;
}

/* Bild */
.lightbox-img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
}

/* Caption unter dem Bild */
.lightbox-caption {
    color: #333;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    margin: 4px 0 0 0;
    border-radius: 2px;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1em;
    max-width: 90%;
}

/* Close Button */
.lightbox-close {
    position: fixed; /* fixiert */
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #5a2a5c;
    cursor: pointer;
    opacity: 0.8;
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Pfeile fixiert */
.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #5a2a5c;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
    padding: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    color: #ffb6c1;
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

/* kleine Bildschirme */
@media (max-width: 600px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        left: 10px;
        right: 10px;
    }

    .lightbox-close {
        font-size: 24px;
        top: 15px;
        right: 20px;
    }
}
/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .drawings-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .drawings-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .drawings-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
    .drawings-grid { grid-template-columns: 1fr; }
}


/* ==================== FOOTER ==================== */
footer {
    position: relative;              /* für absolute Position der Mitte */
    display: flex;
    justify-content: space-between;  /* links und rechts bleiben an den Ecken */
    align-items: center;
    padding: 20px 40px;
    background-color: #ffffff;
    color: #5a2a5c;
    font-size: 0.9rem;
}

.footer-left p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-left a {
    color: #5a2a5c;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-left a:hover {
    color: #ffb6c1;
}

.footer-center a.back-to-top {
    position: absolute;       
    left: 50%;                
    top: 50%;                 /* vertikal Mitte des Footers */
    transform: translate(-50%, -50%); /* horizontal + vertikal zentrieren */
    font-size: 1.5rem;        
    text-decoration: none;
    color: #5a2a5c;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.footer-center a.back-to-top:hover {
    color: #ffb6c1;
    transform: translate(-50%, -50%) translateY(-3px);
}

.footer-right a.footer-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.footer-right a.footer-icon img {
    width: 100%;
    height: 100%;
}

.footer-right a.footer-icon:hover {
    transform: scale(1.1);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* ==================== FOOTER RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 480px) {
    /* Footer-Layout auf sehr kleinen Bildschirmen */
    footer {
        flex-wrap: wrap;       /* Elemente umbrechen, falls nötig */
        gap: 8px;
        padding: 15px 20px;
    }

    /* Back-to-top Pfeil neben Insta */
    .footer-center a.back-to-top {
        position: relative;    /* nicht mehr absolut */
        left: auto;
        top: auto;
        transform: none;
        margin-right: 8px;     /* Abstand zum Instagram-Icon */
        order: 2;              /* hinter Footer-Left, vor Footer-Right */
    }

    /* Footer-Right und Insta-Icon bleiben wie bisher */
    .footer-right {
        display: flex;
        align-items: center;
        gap: 8px;
        order: 3;
    }
}

/*============================= Contact Form ===============================================*/

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 20px 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
}

.contact-form button {
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    background-color: black;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #444;
}

label.gdpr {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gdpr-note {
    font-size: 0.8rem;
    color: #888;
}

#contact p.social-links {
    margin-top: 40px;
}



/* ================= WORKS IMAGE PROTECTION ================= */
.series-grid figure img,
.gallery-item img,
.drawing-box img,
.work-box img,
.lightbox-img {
    user-select: none;        /* Kein blaues Markieren */
    -webkit-user-drag: none;  /* Drag verhindern (Chrome/Safari) */
    -moz-user-select: none;   /* Firefox */
    -ms-user-select: none;    /* IE/Edge */
    cursor: pointer;           /* Klickbar */
}

/* Rechtsklick auf allen Bildern verhindern */
.series-grid figure img,
.gallery-item img,
.drawing-box img,
.work-box img {
    pointer-events: auto;
}