@charset "utf-8";
/* =========================
   Grundlegendes
   ========================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1D1D1D;
}

/* =========================
   Header & Navigation
   ========================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #1D1D1D;
    padding: 6px 20px;
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 6px 20px;
    background-color: #1D1D1D;
    z-index: 1000;
}

.logo-h1-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 52px;
    display: block;
}

.header-h1 {
    font-size: 16px;
    color: #dedede;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
    position: relative;
    top: 5px;
}

.main-nav {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #dedede;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.main-nav a:hover {
    color: #ffffff;
}

.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    border-radius: 4px;
    
    /* Übergang vorbereiten */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* kleiner "Slide-Up" Effekt */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* rutscht nach unten */
}

.submenu li {
    padding: 8px 15px;
}

.submenu li a {
    color: #fff;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* =========================
   Slider
   ========================= */
.swiper {
    width: 100%;
    aspect-ratio: 16/5;
    max-height: 60vh;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-text {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.4);
    color: #f78205;
    font-size: 24px;
    padding: 12px 24px;
    border-radius: 5px;
    text-align: center;
    z-index: 10;
    max-width: 96%;
}

.swiper-button-prev,
.swiper-button-next {
    color: #666666;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #666666;
}

.swiper-pagination {
    bottom: 2px !important;
    display: none;
}

/* =========================
   Textblöcke
   ========================= */
.text-block,
.text-block-h1,
.intro-center,
.intro-text,
h1.intro-text {
    max-width: 980px;
    margin: 0 auto 10px auto;
    padding: 0 12px;
    text-align: justify;
    color: #dcdcdc;
    font-size: 18px;
    line-height: 1.6;
    font-family: Arial, sans-serif;
    font-weight: normal;
    display: block;
}

.intro-text a,
.contact-link { 
    color: #dcdcdc;
    text-decoration: underline;
}

.intro-text a:hover,
.contact-link:hover {
    text-decoration: underline;
    color: #ffffff;
	
}

/* =========================
   Grid Thumbnails
   ========================= */



.grid-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 22px;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.grid-item a:hover img {
    transform: scale(1.05);
}

.grid-item a:hover figcaption {
    background: rgba(0,0,0,0.7);
    color: #f78205;
}


.grid-item a {
    display: block;
    position: relative;
    text-decoration: none;
}

.grid-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 22px;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.grid-item a:hover img {
    transform: scale(1.05);
}

.grid-item a:hover p {
    background: rgba(0,0,0,0.7);
    color: #f78205;
}

/* =========================
   Footer
   ========================= */
footer {
    background-color: #1D1D1D;
    padding: 20px 10px;
    text-align: center;
    border-top: 1px solid #ccc;
    color: #dcdcdc;
    font-size: 20px;
}

.footer-contact {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-icon.phone,
.footer-icon.mail {
    color: #f78205;
}

.footer-text {
    color: #dcdcdc;
    text-decoration: none;
}

.footer-text.email-link:hover {
    text-decoration: underline;
}

.footer-copy {
    color: #dcdcdc;
    font-size: 13px;
    margin-top: 6px;
}

.footer-copy-link {
    color: #dcdcdc;
    text-decoration: none;
}

.footer-copy-link:hover {
    text-decoration: underline;
}

.footer-instagram-container {
    margin-top: 20px;
    text-align: center;
}

.footer-instagram {
    width: 32px;
    height: 32px;
    display: inline-block;
}

/* =========================
   Desktop Slider Text Section
   ========================= */
.slider-text-section h2 {
    color: #dcdcdc;
    text-align: center;
    margin-bottom: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
}





.start-grid .grid-item {
    aspect-ratio: 1 / 1; /* quadratisch */
    overflow: hidden;
    border-radius: 4px;
}

.start-grid .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.start-grid .grid-item a:hover img {
    transform: scale(1.05);
}










/* Grid-Container */
.grid {
     max-width: 1200px;
    margin: 0 auto 20px;
	display: grid;
    grid-template-columns: repeat(4, 1fr); /* immer 4 Spalten */
    grid-template-rows: repeat(3, auto); /* genau 3 Reihen */
    gap: 5px; /* Abstand zwischen den Bildern */
	
	display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten */
    grid-template-rows: repeat(3, 1fr);    /* 3 Reihen */
    gap: 5px;
}


.grid-item {
    aspect-ratio: 1 / 1; /* quadratisch */
}

.grid-item img {
     aspect-ratio: 1 / 1;
   
   
    transition: transform 0.3s ease;
	
	
        display: block; 
	
	position: relative;
    overflow: hidden;
    border-radius: 4px;
	width: 100%;
    height: 100%;
    object-fit: cover;   /* sauberer Zuschnitt */
    display: block;
	 cursor: pointer;
}

.grid-item img:hover {
    transform: scale(1.05); /* 5% größer zoomen */
}




/* =========================
   Startseite Grid (quadratisch)
   ========================= */
.start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten auf Desktop */
    gap: 20px;
    max-width: 1200px;
	padding: 0 10px;    /* gleichmäßiger Abstand links/rechts */
    box-sizing: border-box; /* Padding wird in Breite einbezogen */
    margin: 0 auto 20px;
}

.start-grid .grid-item {
    aspect-ratio: 1 / 1; /* quadratisch */
    overflow: hidden;
    border-radius: 4px;
}

.start-grid .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.start-grid .grid-item a:hover img {
    transform: scale(1.05);
}


footer {
    padding-top: 20px; /* schöner Puffer */
}
/* Tablet: 2 Spalten */






/* =========================
   Galerie Overlay
   ========================= */

/* Overlay Hintergrund */
.gallery-overlay {
  display: none;          /* Overlay standardmäßig versteckt */
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30,30,30,1);
  z-index: 2000;
}



.gallery-container {
  position: relative;
  width: 70%;
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.gallery-container img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
	border: 1px solid #777777; /* hellgrauer Rand */
}
/* Navigation Pfeile */
.galleryNav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* nur Pfeile klickbar */
  overflow: visible;
}

.galleryNav span {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: #8D8D8D;
  cursor: pointer;
  pointer-events: auto; /* klickbar */
  z-index: 2100;
  user-select: none;
  transition: transform 0.2s ease;
}

/* Links-Pfeil */
.galleryNav span#prevBtn {
  left: 0;
  transform: translate(-70%, -50%); /* nach links außerhalb */
	padding: 100px;     /* klickbarer Bereich größer als das Icon */
}

/* Rechts-Pfeil */
.galleryNav span#nextBtn {
  right: 0;
  transform: translate(70%, -50%); /* nach rechts außerhalb */
	padding: 100px;     /* klickbarer Bereich größer als das Icon */
}

/* Pfeile Hover Effekt */
.galleryNav span:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Close Button immer oben rechts am Overlay */
.galleryClose {
  position: fixed;       /* FIXED damit es immer sichtbar ist */
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 3000;         /* über alles andere */
  user-select: none;
}

/* Entfernt den blauen Effekt auf iOS / Android */
.galleryNav span {
    -webkit-tap-highlight-color: transparent;
}


.video-container {
    margin-top: 30px;
	margin-bottom: 80px; 
}

.video-container video {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
}

/* =========================
   Kontaktseite
   ========================= */
.contact-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.contact-intro {
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 12px;
    font-size: 18px;
    color: #dcdcdc;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-item i {
    color: #f78205;
    min-width: 20px;
}

.contact-item a {
    color: #dcdcdc;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 14px;
    color: #aaaaaa;
}
/* =========================
   Kontakt – Adresse
   ========================= */
.contact-address {
    margin-bottom: 18px;
    font-size: 18px;
    color: #dcdcdc;
    line-height: 1.5;
}

.contact-name {
    font-weight: bold;
    margin-bottom: 6px;
}
.impressum-last-paragraph {
    margin-bottom: 40px; /* Abstand nach unten */
}

.ueber-uns-h1 {
    font-size: 32px;          /* gewünschte Größe */
    text-align: center;        /* zentriert */
    color: #dcdcdc; 
	padding-top: 20px;/* hellgrau passend zum Layout */
    margin: 0 0 30px 0;     /* oben/unten Abstand */
    font-weight: bold;
}
.ueber-uns-subtitle {
    font-size: 22px;       /* gewünschte Größe */
    color: #dcdcdc;        /* passend zum Layout */
    padding-top: 50px;  /* funktioniert zuverlässig */
    margin: 0 0 15px 0;  /* nur unten Margin */
    font-weight: bold;
}
.leistungen-liste,
.ablauf-liste {
    margin: 20px 0 30px 20px;  /* Abstand oben, unten, links */
    color: #dcdcdc;
    font-size: 18px;
    line-height: 1.6;
}
.testabschnitt {
    margin-bottom: 80px; /* Abstand zwischen Text und Footer */
}

.kontakt-link {
    text-decoration: underline;  /* immer unterstrichen */
    color: inherit;              /* Schriftfarbe bleibt gleich */
    font-weight: normal;         /* normal, bis Hover */
    transition: font-weight 0.2s ease;
}

.kontakt-link:hover {
    color: #f78205; /* Orange passend zu deinem Layout */
   
}

.kontakt-link,
.kontakt-link:visited,
.kontakt-link:active {
    text-decoration: underline;  /* unterstrichen */
    color: inherit;              /* gleiche Farbe wie Text */
    font-weight: normal;         /* Standard */
    transition: font-weight 0.2s ease;
}









@media (max-width: 1280px) and (min-width: 1025px) {
    .slider-text {
        font-size: 20px; /* größer als 14px */
        max-width: 99%;
    }
}
@media (max-width: 1024px) {
     .slider-text-section h2 {
        font-size: 28px;
    }

    .slider-text {
        font-size: 18px;
        padding: 10px 20px;
        word-spacing: 0px;
        letter-spacing: 0px;
    }

    .header-h1 {
        font-size: 18px;
    }
	.grid {
        grid-template-columns: repeat(2, 1fr);
    }
	.start-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 10px; /* bleibt gleich */
    }
}

@media (max-width: 768px) {
  .grid {
        grid-template-columns: repeat(2, 1fr);
    }
 .text-block:last-of-type {
        margin-bottom: 60px;
    }
    .slider-text-section h2 {
        font-size: 24px;
    }

    .slider-text {
        font-size: 14px;
		word-spacing: 0px;
        letter-spacing: 0px;
        padding: 2px 2px;
		max-width: 100%;
    }

    .header-h1 {
        font-size: 16px;
    }
	.gallery-container {
    width: 90%;
  }
	.galleryNav span {
    font-size: 40px;
    width: 25%;  /* größerer Klickbereich für Touch */
  }
}

.ueber-uns-h1 {
        font-size: 24px;
        margin: 20px 0 20px 0;
    }


/* Tablet & Handy Hochformat – Pfeile unsichtbar, aber klickbar */
@media (max-width: 768px) and (orientation: portrait) {
    .galleryNav span {
        opacity: 0;           
        pointer-events: auto;
    }
}

 @media (min-width: 601px) and (max-width: 768px) {
    .ueber-uns-subtitle {
        font-size: 18px;
        margin: 16px 0 12px 0;
    }
    .leistungen-liste,
    .ablauf-liste {
        margin-left: 15px;
        font-size: 16px;
    }
}
/* Tablet hochkant */
@media (min-width: 601px) and (max-width: 768px) {
    /* =========================
       Header
       ========================= */
    /* Main Navigation - Burger Menü */
    .main-nav {
        flex-direction: column;
        gap: 18px;
        background: #383838;
        width: 200px;             /* feste Breite */
        position: absolute;
        top: 70px;                
        right: 10px;              /* Abstand vom Bildschirmrand */
        padding: 10px 0;          
        box-shadow: -4px 6px 12px rgba(0,0,0,0.4);
        border-radius: 0 0 0 6px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Top-Level Links mehr Luft nach links */
    .main-nav > li > a {
        display: block;
        padding: 6px 20px;        /* mehr Abstand links */
    }

    /* Submenus */
    .main-nav .submenu {
        width: 100%;               /* füllt Parent aus, kein Knick */
        left: 0;
        padding: 5px 0;
        border-radius: 0 0 6px 6px;
    }

    /* Submenu Links etwas kleiner */
    .main-nav .submenu a {
        display: block;
        padding: 6px 15px;
        font-size: 14px;           /* kleiner als Top-Level */
    }

    /* Aktiver Parent-Link orange, wenn Untermenü sichtbar */
    .main-nav .has-submenu.active > a {
        color: #f78205;
    }
	header {
        flex-direction: row; /* Logo und H1 nebeneinander */
        align-items: center;
        justify-content: space-between;
        height: auto;
        padding: 10px 20px;
       position: sticky;
    top: 0;
    z-index: 1000;  /* gleiche Ebene wie Desktop & Mobile */
    background-color: #1D1D1D; /* sichert den Hintergrund */
}

   .logo-h1-wrapper {
    display: flex;
    flex-direction: row; /* Logo links, H1 rechts */
    align-items: flex-end; /* H1 unten bündig mit Logo */
    gap: 15px;
}


    .header-h1 {
        text-align: left;
        white-space: normal;
        font-size: 16px;
        margin: 0;
        position: relative;
        top: 0;
		margin-bottom: 11px;
    /* margin-bottom: 2px;  <- optional anpassen */
    }

    /* =========================
       Burger Icon
       ========================= */
    .burger {
        display: flex;
        position: absolute;
        top: 10px;
        right: 15px;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    /* =========================
       Main Navigation Smooth
       ========================= */
    .main-nav {
        flex-direction: column;
        gap: 18px;
        background: #383838;
        width: 160px;
        position: absolute;
        top: 70px; /* direkt unter Header */
        right: 0;
        padding: 15px 20px;
        box-shadow: -4px 6px 12px rgba(0,0,0,0.4);
        border-radius: 0 0 0 6px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        font-size: 20px;
        padding: 6px 0;
    }

    /* =========================
       Submenu Smooth
       ========================= */
    .has-submenu {
        position: relative; /* Parent für absolute Submenu */
    }

    .has-submenu .submenu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        position: absolute;
        top: 100%; /* direkt unter Parent-Link */
        left: 0;
        width: 160px;
        background: #383838;
        flex-direction: column;
        padding: 10px 0;
        border-radius: 0 0 6px 6px;
        z-index: 1000;
    }

    .has-submenu.active .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
	/* Aktiver Parent-Link im Burger-Menü orange, wenn Untermenü sichtbar */
.main-nav .has-submenu.active > a,
    .main-nav .has-submenu:hover > a {
        color: #f78205;
    }


    /* =========================
       Textblöcke
       ========================= */
    .text-block,
    .text-block-h1,
    .intro-center,
    .intro-text,
    h1.intro-text {
        text-align: left;
        word-spacing: normal;
        hyphens: auto;
        overflow-wrap: break-word;
        font-size: 17px;
        max-width: 95%;
        margin: 0 0 10px 0;
        padding: 0 12px;
    }

    .text-block-h1 {
        font-size: 17px;
    }

    /* =========================
       Grid zwei Spalten
       ========================= */
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item p {
        font-size: 18px;
        padding: 6px 8px;
    }



    /* =========================
       Slider Text
       ========================= */
    .slider-text {
        font-size: 18px;
        padding: 8px 16px;
        position: static;
        transform: none;
        margin: 15px auto 25px auto;
        background: rgba(0,0,0,0);
        border-radius: 5px;
        text-align: center;
    }

    .slider-text-section h2 {
        font-size: 24px;
    }

    /* =========================
       Swiper Buttons ausblenden
       ========================= */
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
	 .main-nav .submenu {
        display: none; /* standardmäßig geschlossen */
        position: relative; /* damit es nicht verrutscht */
        width: 100%;
        background: #383838;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .has-submenu.active .submenu {
        display: block; /* sichtbar, wenn aktiv */
    }

    .main-nav .submenu a {
        font-size: 16px;
        padding: 8px 20px;
        color: #dedede;
    }

    .main-nav .submenu a:hover {
        color: #f78205;
    }

    /* Galerie-Parent orange, wenn Untermenü aktiv */
    .has-submenu.active > a {
        color: #f78205;
    }
}


/* =========================
   Handy (max-width: 600px)
   ========================= */
@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
	/* =========================
       Header
       ========================= */
    header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 10px 20px;
       position: sticky;
        top: 0;
        z-index: 1000;
		background-color: #1D1D1D;
    }

    .logo-h1-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .header-h1 {
        text-align: center;
        white-space: normal;
        font-size: 16px;
    }

    /* =========================
       Burger Icon
       ========================= */
    .burger {
        display: flex;
        position: absolute;
        top: 10px;
        right: 15px;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    /* =========================
       Main Navigation (Burger Menu Smooth)
       ========================= */
    .main-nav {
        flex-direction: column;
        gap: 15px;
        background: #383838;
        width: 160px;
        position: absolute;
        top: 70px; /* Header-Höhe anpassen, falls nötig */
        right: 0;
        padding: 15px 20px;
        box-shadow: -4px 6px 12px rgba(0,0,0,0.4);
        border-radius: 0 0 0 6px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }

    /* Aktiviert beim Klick auf Burger */
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        font-size: 22px;
        padding: 6px 0;
    }

    /* =========================
       Mobile Submenu Smooth
       ========================= */
    .has-submenu {
        position: relative; /* Parent für absolute Submenu */
    }

    .has-submenu .submenu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        position: absolute;
        top: 100%; /* direkt unter Parent-Link */
        left: 0;
        width: 160px;
        background: #383838;
        flex-direction: column;
        padding: 10px 0;
        border-radius: 0 0 6px 6px;
        z-index: 1000;
    }

    .has-submenu.active .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
/* Aktiver Parent-Link im Burger-Menü orange, wenn Untermenü sichtbar */
.main-nav .has-submenu.active > a {
    color: #f78205; /* gleiche Orange wie dein Text */
}

    /* =========================
       Textblöcke
       ========================= */
    .text-block,
    .text-block-h1,
    .intro-center,
    .intro-text,
    h1.intro-text {
        text-align: left;
        word-spacing: normal;
        hyphens: auto;
        overflow-wrap: break-word;
        font-size: 17px;
        max-width: 95%;
        margin: 0 0 10px 0;
        padding: 0 12px;
    }

    .text-block-h1 {
        font-size: 17px;
    }

    /* =========================
       Grid einspaltig
       ========================= */
    .grid {
        grid-template-columns: 1fr;
    }

    .grid-item p {
        font-size: 18px;
        padding: 6px 8px;
    }

    /* =========================
       Slider Text
       ========================= */
    .slider-text {
        position: static;
        transform: none;
        margin: 15px auto 25px auto;
        font-size: 20px;
        background: rgba(0,0,0,0);
        padding: 8px 12px;
        border-radius: 5px;
        text-align: center;
    }

    .slider-text-section h2 {
        font-size: 22px;
    }

    /* =========================
       Swiper Buttons ausblenden
       ========================= */
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
	.start-grid {
        grid-template-columns: 1fr;
        padding: 0 10px; /* kleiner Abstand zum Rand */
    }
	/* Burger-Menü sichtbar */
    .burger {
        display: flex;
    }

    .main-nav {
        flex-direction: column;
        gap: 15px;
        background: #383838;
        width: 80%;           /* fast volle Breite */
        max-width: 220px;     /* optional */
        padding: 15px 20px;
        box-sizing: border-box;
        position: absolute;
        top: 70px;
        right: 0;
        border-radius: 0 0 0 6px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Hauptlinks */
    .main-nav a {
        font-size: 22px;
        padding: 10px 0;
    }

    /* Untermenüs im Flow */
    .main-nav .submenu {
        position: static;      
        width: 100%;
        display: none;
        background: #383838;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .has-submenu.active .submenu {
        display: block;
    }

    /* Untermenü-Links etwas kleiner & eingerückt */
    .main-nav .submenu a {
        font-size: 18px;
        padding: 8px 20px;
        color: #dedede;
    }

    .main-nav .submenu a:hover {
        color: #f78205;
    }

    /* Aktiver Parent-Link orange */
    .main-nav .has-submenu.active > a {
        color: #f78205;
    }
}
@media (max-width: 480px) {
  .gallery-container {
    width: 100%;
  }

  .galleryNav span {
    font-size: 35px;
    width: 30%; /* fast ein Drittel vom Overlay */
  }

  .galleryClose {
    font-size: 36px;
    top: 10px;
    right: 15px;
  }

  /* Pfeile näher an das Bild heran für kleine Bildschirme */
  .galleryNav span#prevBtn {
    transform: translate(-80%, -50%);
  }

  .galleryNav span#nextBtn {
    transform: translate(80%, -50%);
  }
}
