﻿/* ==========================================================================
   GLOBAL STYLESHEET - Seitenübergreifende Styles
   ========================================================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Microsoft Sans Serif', 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #F6CECE, #D1DCEF, mintcream);
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1rem, 2vw, 1.25rem); }
h6 { font-size: clamp(0.875rem, 1.5vw, 1rem); }

p {
    margin-bottom: 1rem;
    text-align: justify;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1400px;
    width: 100%;
    padding: 0 1rem;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.header {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(252, 247, 233, 0.95);
    border-radius: 15px;
    margin: 1rem auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    max-width: 1400px;
    width: 100%;
}

.header-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.header-images img {
    /* Standart für alle Bilder */
	width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-images img.small {
    /* Nur für Bilder mit class="small" */
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.header-images img.large {
    /* Nur für Bilder mit class="large" */
    width: 400px;
    height: 300px;    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.header-images img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.main-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #2c3e50;
    margin: 1.5rem 0;
    font-weight: 700;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid #3498db;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.nav-links a:hover {
    background-color: #f8eece;
    color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* ==========================================================================
   CARD COMPONENTS
   ========================================================================== */

.card {
    background: rgba(248, 249, 250, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    border-left: 4px solid #3498db;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.card-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */

.section {
    background: rgba(252, 247, 233, 0.95);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
    backdrop-filter: blur(15px);
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.section-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* ==========================================================================
   WORK/ABOUT SECTIONS
   ========================================================================== */

.work-section,
.about-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    background: rgba(252, 247, 233, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
    backdrop-filter: blur(15px);
}

.work-card,
.about-card {
    background: rgba(248, 249, 250, 0.95);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #3498db;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover,
.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.work-card h3,
.about-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.work-card p,
.about-card p {
    text-align: justify;
    line-height: 1.7;
}


       /*  diesen img Befehl habe ich eingefügt  */
img {
  max-width: 100%;
  height: auto;
}


/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */

.location-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: rgba(252, 247, 233, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
    backdrop-filter: blur(15px);
}

.location-card {
    background: rgba(248, 249, 250, 0.95);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #3498db;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.location-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid black;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-images img.custom-size {
    width: 450px;
    height: 250px;
    max-width: none;
    border: 1px solid black;
}

.location-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   IMAGES
   ========================================================================== */

.work-card img,
.about-card img {
    width: calc(50% - 0.5rem);
    max-width: 200px;
    height: 120px;
    border: 1px solid black;
    border-radius: 10px;
    margin: 0.5rem auto;
    display: block;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.work-card img:hover,
.about-card img:hover {
    transform: scale(1.1);
}

.work-card img.custom-size {
    width: 450px;
    height: 250px;
    max-width: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    color: #2c3e50;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid #3498db;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #f8eece;   /*  Button Füllfarbe bei hover #f8eece = beige  */
    color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    color: white;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
    border-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
    color: white;
}

        /* Der Home Button Styles -> Alt weil es eine weitere Option gab */
        
        .home-button-alt {
            background: #ff6b6b;
            color: white;
            padding: 8px 16px;
            border: none;
            border-radius: 20px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-right: 20px;
        }
        
        .home-button-alt:hover {
            background: #ff5252;
            transform: scale(1.05);
        }


/* =====================================================================
		Ausklappbares Menu aus dem Inhaltsverzeichnis script
   ============================================================== */
   
        .expandable-section {
            margin-top: 15px;
            border-top: 1px solid rgba(102, 126, 234, 0.1);
            padding-top: 15px;
        }

        .expand-toggle {
            background: rgba(102, 126, 234, 0.2);
            border: 3px;
            border-color: #2c3e50;
            color: #041014;   /*  Original Schriftfarbe #667eea   */
            padding: 15px 15px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            width: 100%;
            text-align: left;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.2s ease;
            font-size: 0.9rem;
        }

        .expand-toggle:hover {
            background: rgba(248, 238, 206);   /* original Füllfarbe bei hover 102, 126, 234 0,15  */
            color: #e74c3c;   /* Schriftfarbe bei Maus drüber (#e74c3c = rot)  */
            border-color: #2980b9;
            transform: translateY(-1px);
        }

        .expand-icon {
            transition: transform 0.3s ease;
            font-size: 1.2rem;
        }

        .expand-icon.rotated {
            transform: rotate(180deg);
        }

        .expanded-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .expanded-content.open {
            max-height: 4000px;
        }

        .expanded-list {
            list-style: none;
            padding: 15px 0 0 0;
        }

        .expanded-item {
            margin-bottom: 8px;
            padding: 8px 15px;
            background: rgba(102, 126, 234, 0.3);  /*   Füllfarbe der ausgeklappten Buttons blau */
            border-radius: 6px;
            border-left: 2px solid rgba(102, 126, 234, 0.3);
            transition: all 0.2s ease;
        }

        .expanded-item:hover {
            background: rgba(102, 126, 234, 0.08);
            border-left-color: #667eea;
            transform: translateX(3px);
        }

        .expanded-link {
            text-decoration: none;
            color: #5a6c7d;   /*  Schriftfarbe der ausgeklappten Menuboxen    */
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .expanded-link::before {
            content: "•";
            color: #e74c3c;   /* Farbe dieses Punkts, original  #667eea  */
            font-weight: bold;
        }

        .period-label {
            font-size: 0.8rem;
            color: #8796a5;   /* für was?      */
            margin-left: auto;
            font-style: italic;
        }


/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: clamp(20px, 4vw, 30px);
    right: clamp(20px, 4vw, 30px);
    background-color: #28a745;  /* Rot für Home-Button wäre #e74c3c */
    color: white;
    border: none;
    border-radius: 50%;
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    font-size: clamp(14px, 3vw, 18px);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-alt {
    position: fixed;
    bottom: clamp(20px, 4vw, 30px);
    left: clamp(20px, 4vw, 30px);
    background-color: #28a745;    /* Grün für Nach oben Button  */
    color: white;
    border: none;
    border-radius: 8px;
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
    font-size: clamp(12px, 2.5vw, 14px);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top-alt:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.scroll-to-top-alt.visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   VIDEO SECTION
   ========================================================================== */

.video-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
    text-align: center;
    backdrop-filter: blur(15px);
}

.contact-info {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 2rem;
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(10px);
}

.footer a {
    color: #74b9ff;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #0984e3;
}

/* ==========================================================================
   GALLERY SECTION  Hier sind gallery-theme-header, gallery-theme-title + gallery-theme-description eingebunden,
   aber es gibt noch alternative Befehle in einer global_stylesheet_version2
   ========================================================================== */

.gallery-theme-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3498db;
}

.gallery-theme-title {
    color: #2c3e50;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.gallery-theme-description {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

       
		 .gallery-container {
            max-width: 1300px;
            margin: 2rem auto;
            background: rgba(252, 247, 233, 0.95);
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            padding: 1rem;  /* Innenabstand des Containers, verhindert das der Inhalt den Rand berührt. 1rem = ca. 16px Abstand zu allen Seiten */
            backdrop-filter: blur(15px);
        }

        .gallery-title {
            text-align: center;
            color: #2c3e50;
            font-size: clamp(1.8rem, 2vw, 2.5rem);
            margin-bottom: 3rem;
            font-weight: 700;
            position: relative;
        }

        .gallery-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 600px;
            height: 3px;
            background: linear-gradient(135deg, #3498db, #2980b9);
            border-radius: 3px;
        }

        /* Image Row Styles */
        .image-row {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 1.0rem;  /* Definiert den Abstand zwischen den Items  */
            margin: 0.5rem 0;
            flex-wrap: wrap;
        }

        .image-row-3 {
            justify-content: center;   /* vorher: space between  */
        }

        .image-row-4 {
            justify-content: center;   /* vorher: space between  */
        }

        .image-row-5 {
            justify-content: center;   /* vorher: space between  */
        }

        .image-item {
            position: relative;
            overflow: hidden;
            border: 1px solid black;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: #fff;
            cursor: pointer;
            width: auto;           /* Variable Breite */
		    height: 278px;         /* Feste Höhe */
		    object-fit: contain;   /* Proportionen erhalten */
        }

.image-item img.height-200 { height: 200px; }
.image-item img.height-250 { height: 250px; }
.image-item img.height-300 { height: 300px; }
.image-item img.height-350 { height: 350px; }
.image-item img.height-400 { height: 400px; }
.image-item img.height-450 { height: 450px; }

        .image-item:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
        }

        .image-item img {
            width: 100%;
            max-height: 278px;
            object-fit: contain;
            transition: transform 0.3s ease;
            display: block;
        }

									/* diesen img.small Tag habe ich eingefügt  */
        .image-item img.small {
            width: 90%;
            max-height: 180px;
            object-fit: contain;
            transition: transform 0.3s ease;
            display: block;
        }
                
        .image-item:hover img {
            transform: scale(1.05);
        }

        /* Text Section */
        .text-section {
            margin: 2rem 0;  /* Abstand der Textbox nach aussen  */
            padding: 0.5rem;
            background: rgba(248, 249, 250, 0.8);
            border-radius: 15px;
            border-left: 4px solid #3498db;
        }

.text-section p.text-transparent {
    background: transparent;
    border: none;
    /* Gleiche Hintergrundfarbe wie gallery-container */
}

        .text-section h3 {
            color: #2c3e50;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .text-section p {
            color: #5a6c7d;
            font-size: 1.1rem;
            line-height: 1.7;
            text-align: center;  /*  vorher justify  */
        }
        
                
        /* METHODE 1: Border-left als Seitenlinie */
        .p-with-line {
            border-left: 3px solid #3498db;
            padding-left: 1rem;
            margin: 1rem 0;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 0 8px 8px 0;
        }
        

        /* METHODE 2: Border-bottom als Unterlinie */
        .p-with-bottom-line {
            border-bottom: 3px solid #e74c3c;
            padding-bottom: 0.5rem;
            margin-bottom: 2rem;
        }
        
        /* METHODE 3: Border-top als Oberlinie */
        .p-with-top-line {
            border-top: 3px solid #f39c12;
            padding-top: 0.5rem;
            margin-top: 1rem;
        }
        
        
        /*  METHODE 4: Vollständiger Rahmen um einen Text und leichte Farbunterlegung*/
        .p-with-frame {
            border: 3px solid #9b59b6;
            padding: 1rem;
            border-radius: 8px;
            background: rgba(155, 89, 182, 0.1);
        }
        
        /* METHODE 11: Animierte Linie */
        .p-animated-line {
            position: relative;
            padding-left: 1.5rem;
            margin: 1rem 0;
        }

        .p-animated-line::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 15px;
            height: 0;
            background: linear-gradient(to bottom, #ff6b6b, #feca57);
            border-radius: 3px;
            animation: growLine 2s ease-in-out infinite alternate;
        }

        @keyframes growLine {
            0% { height: 0; }
            100% { height: 100%; }
        }


       /* Responsive Anpassungen Border-bottom als Unterlinie */
        @media (max-width: 768px) {
            .p-responsive-line {
                border-left-width: 2px;
                padding-left: 0.5rem;
            }
        }

        @media (max-width: 480px) {
            .p-responsive-line {
                border-left-width: 1px;
                padding-left: 0.3rem;
            }
        }

        /* Responsive Design original 1024px */
        @media (max-width: 1024px) {
            .image-row {
                gap: 1rem;
            }
            
            .image-row-5 .image-item {
                flex: 0 1 calc(50% - 0.5rem);
            }
        }

        @media (max-width: 768px) {
            .gallery-container {
                padding: 2rem;
            }
            
            .image-row {
                flex-direction: column;
                align-items: center;
            }
            
            .image-row .image-item {
                max-width: 100%;
                margin-bottom: 1rem;
            }
            
            .text-section {
                margin: 2rem 0;
                padding: 1.5rem;
            }
        }

        /* Lightbox */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .lightbox.active {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
        }

        .lightbox img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 10px;
        }

        .lightbox-close {
            position: absolute;
            top: -40px;
            right: -10px;
            background: #e74c3c;
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .lightbox-close:hover {
            background: #c0392b;
            transform: scale(1.1);
        }

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.highlight {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.shadow-sm { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }
.shadow-lg { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }

.rounded-sm { border-radius: 5px; }
.rounded-md { border-radius: 10px; }
.rounded-lg { border-radius: 15px; }
.rounded-xl { border-radius: 20px; }

/* Color Classes */
.text-red { color: #e74c3c; }
.text-blue { color: #3498db; }
.text-green { color: #27ae60; }
.text-yellow { color: #f39c12; }
.text-purple { color: #9b59b6; }
.text-gray { color: #7f8c8d; }
.text-dark { color: #2c3e50; }

.bg-red { background-color: #e74c3c; }
.bg-blue { background-color: #3498db; }
.bg-green { background-color: #27ae60; }
.bg-yellow { background-color: #f39c12; }
.bg-purple { background-color: #9b59b6; }
.bg-gray { background-color: #95a5a6; }
.bg-dark { background-color: #2c3e50; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .container-fluid {
        padding: 0 1.5rem;
    }
    
    .section-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }
    
    .work-section,
    .work-card,     /* diesen Befehl habe ich dazugefügt weil sich der weiße Bereich nicht verkleinert  */
    .about-section,
    .location-section {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .header-images {
        grid-template-columns: 1fr;
    }
    
    .location-images, {
        grid-template-columns: 1fr;
    }

      /*  von mir eingefügt der img und img.custom-size Befehl */
      
	  img,
	  img.custom-size {
	    width: 100%;
	    height: auto;
	  }

    
    .video-section {
        grid-template-columns: 1fr;
    }
    
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container,
    .container-fluid {
        padding: 0 0.75rem;
    }
    
    .header,
    .work-section,
    .about-section,
    .location-section,
    .contact-section,
    .section {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .work-card,
    .about-card,
    .location-card,
    .card {
        padding: 1rem;
    }
    
    .btn {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 250px;
    }
    
    .video-wrapper {
        margin: 1rem 0;
    }

    /* von mir eingefügt der folgende img und img.custom-size Befehl  */
    

  img,
  img.custom-size {
    width: 80%;  /* z.B. nur 80% des Containers */
    height: auto;
  }

}


        /* Responsive Design vom Home Button */

        @media (max-width: 768px) {
            .home-button {
                position: static;
                margin-bottom: 15px;
                align-self: center;
            }
            
            .header {
                padding: 15px;
            }
            
            .main-title {
                font-size: 1.5em;
            }
        }



/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .scroll-to-top,
    .nav-links,
    .video-wrapper {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section,
    .work-section,
    .about-section,
    .location-section {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: white;
        color: black;
    }
    
    .card,
    .work-card,
    .about-card,
    .location-card {
        border: 2px solid black;
    }
}