/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Yesteryear';
    src: url('fonts/Yesteryear-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

/* ========== Main Header & Nav (Index + Subpages) ========== */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 20px 20px 24px;
}

/* Startseite: kein Menü */
body.page-home .main-header {
    display: none;
}

.main-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav-list > li {
    position: relative;
}

.main-nav-list > li > a {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #333;
}

/* Index: Header über Hero – helle Links */
.main-header .main-nav-list > li > a {
    color: #fff;
}

.main-header .main-nav-list > li > a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.main-nav .nav-logo a {
    display: flex;
    align-items: center;
}

.main-nav .nav-logo img,
.main-nav .subpage-logo img {
    max-height: 120px;
    width: auto;
    display: block;
}

/* Stecher-Dropdown: dunkler Hintergrund, helle Texte, weiße Icons */
.menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    padding: 12px 0;
    min-width: 160px;
    background: #1a1a1a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children.is-open .sub-menu {
    opacity: 1;
    visibility: visible;
}

.sub-menu-item {
    list-style: none;
    margin: 0;
}

.sub-menu-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 40px;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #fff;
    position: relative;
}

/* Namen im Submenü immer weiß (a + span) */
.menu-item-has-children .sub-menu .sub-menu-item a,
.menu-item-has-children .sub-menu .sub-menu-item a span {
    color: #fff !important;
}

.sub-menu-item a::before {
    content: '';
    display: block;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.sub-menu-item a:hover,
.menu-item-has-children .sub-menu .sub-menu-item a:hover span {
    color: rgb(255, 120, 90) !important;
}

.sub-menu-item.current-menu-item a,
.sub-menu-item.current-menu-item a span {
    color: rgb(231, 58, 26) !important;
}

/* Submenu-Icons links: weiß dargestellt (Filter auf schwarzen Icons) */
.sub-menu-item.li-tattoo a::before {
    background-image: url('img/icon_tattoo-machine-black.png');
    filter: brightness(0) invert(1);
    opacity: 1;
}

.sub-menu-item.li-piercing a::before {
    background-image: url('img/icon_piercing-black.png');
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* Subpage-Header nutzt gleiche Nav, eigene Farbe */
.subpage-header .main-nav-list > li > a {
    color: #333;
}

.subpage-header .main-nav-list > li > a:hover,
.subpage-header .main-nav .nav-link-stecher.active {
    color: rgb(231, 58, 26);
}

.subpage-header .nav-logo img {
    max-height: 150px;
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-title {
    font-family: 'Yesteryear', cursive;
    font-size: 72px;
    font-weight: lighter;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: scrollDown 2s infinite;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    border-radius: 100%;

}

.scroll-arrow:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.chevron {
    position: relative;
    width: 20px;
    height: 20px;
}

.chevron:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    font-weight: 400 !important;
    text-decoration: none !important;
    line-height: 1;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tattoo & Piercing Section */
.tattoo-piercing-section {
    background-color: #2a2a2a;
    position: relative;
    z-index: 1;
}

.section-banner {
    background-color: rgba(231, 58, 26, 0.9);
    padding: 20px 0;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.banner-title {
    font-family: 'Yesteryear', cursive;
    font-weight: lighter;
    font-size: 40px;
    color: #ffffff;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 20px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.intro-text {
    color: #ffffff;
    font-weight: 300;
    text-align: right;
    font-size: 22px;
}

.image-content {
    text-align: center;
}

.studio-image {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    margin-top: 50px;
}

.studio-image:hover {
    filter: grayscale(0%);
}

/* Team Section */
.team-section {
    background-color: #ffffff;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    position: relative;
}

.member-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-name {
    font-family: 'Yesteryear', cursive;
    font-size: 28px;
    font-weight: lighter;
    margin-bottom: 5px;
    opacity: 0.9;
    text-align: center;
}

.member-role {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: right;
    width: 100%;
}

.team-member:hover .member-image img {
    filter: grayscale(100%);
}

/* Gallery Section */
.gallery-section {
    background-color: #2a2a2a;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Mosaic-Galerie: zentriert in der Row, Abstand oben/unten */
.gallery-section:has(.mosaic-gallery) {
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    width: 100%;
    background-color: #2a2a2a;
    padding: 60px 0 0;
    position: relative;
    z-index: 1;
}

/* Boxed: 3 Spalten – Adresse | Logo | Öffnungszeiten */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 0;
    text-align: center;
}

.footer-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-right {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-title {
    font-family: 'Yesteryear', cursive;
    font-weight: lighter;
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-address,
.footer-phone,
.footer-email,
.footer-hours {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-link {
    color: rgb(231, 58, 26);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-maps {
    margin: 12px 0 0;
}
.footer-maps-link {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #fff;
    background-color: rgb(231, 58, 26);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.footer-maps-link:hover {
    color: #fff;
    background-color: rgb(200, 50, 22);
    text-decoration: none;
}
body.footer-light .footer-maps-link {
    color: #fff;
}
body.footer-light .footer-maps-link:hover {
    color: #fff;
}

.footer-bottom {
    width: 100%;
    background-color: rgba(231, 58, 26, 0.85);
    padding: 20px 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-align: center;
}

.footer-logo {
    display: block;
    line-height: 0;
    margin: 0 auto;
}

.footer-logo img {
    width: 150px;
    height: auto;
    display: block;
}

.copyright {
    color: #ffffff;
    font-size: 14px;
}

.footer-bottom .footer-link {
    color: #fff;
}
.footer-bottom .footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Mobile: kein weißer Streifen oben, nur Burger sichtbar */
    .subpage-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: 0;
        box-shadow: none;
        border: none;
    }
    .subpage-nav {
        background: transparent !important;
        padding: 0 !important;
        min-height: 0;
    }
    .subpage-header .nav-logo img,
    .subpage-header .subpage-logo img {
        max-height: 48px;
    }
    body.footer-light {
        padding-top: 0;
    }

    /* Startseite: am Handy Header mit Burger anzeigen (sonst ausgeblendet) */
    body.page-home .main-header {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: 0;
        box-shadow: none;
    }
    body.page-home .main-header .main-nav {
        background: transparent !important;
        padding: 0 !important;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    .intro-text {
        font-size: 16px;
    }

    /* Hamburger-Menü: Logoleiste ausgeblendet, nur Burger sichtbar */
    .nav-header-mobile {
        display: block;
        height: 0;
        min-height: 0;
        padding: 0;
        overflow: visible;
    }
    .nav-logo-mobile {
        display: none;
    }
    .subpage-nav {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
    }
    /* Floating Burger: fixiert rechts, immer sichtbar, runder Button */
    .hamburger {
        position: fixed;
        top: 14px;
        right: 14px;
        z-index: 1002;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 48px;
        height: 48px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.5);
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }
    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .subpage-header.nav-open .hamburger span:nth-child(1),
    .main-header.nav-open .hamburger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .subpage-header.nav-open .hamburger span:nth-child(2),
    .main-header.nav-open .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .subpage-header.nav-open .hamburger span:nth-child(3),
    .main-header.nav-open .hamburger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .nav-logo-mobile img {
        max-height: 48px;
        width: auto;
    }
    /* Logo aus dem Menü (zwischen STECHER und KONTAKT) weg */
    .main-nav-list .nav-logo,
    .main-nav-list .subpage-logo {
        display: none !important;
        visibility: hidden;
        height: 0;
        overflow: hidden;
        margin: 0 !important;
        padding: 0 !important;
    }
    .main-nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 80px 24px 24px 36px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        list-style: none;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1001;
        overflow-y: auto;
    }
    .subpage-header.nav-open .main-nav-list,
    .main-header.nav-open .main-nav-list {
        display: flex;
    }
    .main-nav-list > li {
        margin: 0;
    }
    .main-nav-list > li > a {
        display: block;
        padding: 10px 0;
        font-size: 17px;
        color: #fff;
    }
    .subpage-header .main-nav-list > li > a {
        color: #fff;
    }
    .main-header.nav-open .main-nav-list > li > a:hover,
    .subpage-header.nav-open .main-nav-list > li > a:hover {
        color: #fff;
    }
    /* Submenü auf Mobile: immer sichtbar, gleiche Darstellung wie Hauptlinks, kein Dropdown-Stil */
    .main-nav-list .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        margin: 0;
        padding: 0;
        max-height: none;
        overflow: visible;
        border-radius: 0;
        list-style: none;
        border: none;
    }
    .main-nav-list .sub-menu-item a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        font-size: 17px;
        color: #fff;
    }
    .main-nav-list .sub-menu-item a::before {
        position: static;
        transform: none;
        flex-shrink: 0;
    }
    .main-nav-list .sub-menu-item a:hover {
        color: #fff;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Subpages (z. B. Karsten, Dana, Tanja, Thomas) ========== */

/* Subpage: weißer Header mit Nav + Logo (z-index damit Dropdown über Banner liegt) */
.subpage-header {
    position: relative;
    z-index: 50;
    background: #fff;
    padding: 20px 20px 30px;
}

.subpage-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* Hamburger + Mobile-Header: nur auf Desktop ausblenden (auf Handy in Media Query anzeigen) */
@media (min-width: 769px) {
    .nav-header-mobile {
        display: none;
    }
}

.subpage-nav a {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #333;
}

.subpage-nav a:hover {
    color: rgb(231, 58, 26);
}

.subpage-nav a.active {
    color: rgb(231, 58, 26);
}

/* Logo in der Mitte zwischen STECHER und KONTAKT */
.subpage-nav .subpage-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.subpage-nav .subpage-logo img {
    max-height: 150px;
    width: auto;
    display: block;
}

/* Subpage-Banner: Akzentfarbe, Bild links, Text rechts */
.subpage-banner {
    background: rgb(231, 58, 26);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 48px 24px;
    flex-wrap: wrap;
}

.subpage-banner-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.subpage-banner-text h1 {
    font-family: 'Yesteryear', cursive;
    font-size: 36px;
    font-weight: lighter;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.subpage-banner-text .subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #fff;
    line-height: 1.8;
    text-transform: uppercase;
}

.subpage-banner-text .subtitle span {
    opacity: 0.95;
}

@media (max-width: 600px) {
    .subpage-banner {
        flex-direction: column;
        text-align: center;
    }
    .subpage-banner-text h1 {
        font-size: 28px;
    }
}

/* Banner ohne Foto (z. B. FAQ) */
.subpage-banner--no-photo {
    justify-content: center;
}
.subpage-banner--no-photo .subpage-banner-text {
    text-align: center;
}
.subpage-banner--no-photo .subtitle {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 400;
}
.subpage-banner--impressum .subtitle {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
}

/* Impressum-Sektion: zweispaltig */
.impressum-section {
    background-color: #2a2a2a;
    padding: 3rem 24px 4rem;
    position: relative;
    z-index: 1;
}
.impressum-inner {
    max-width: 1000px;
    margin: 0 auto;
}
.impressum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
}
.impressum-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.impressum-block {
    color: #e0e0e0;
}
.impressum-heading {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 0.5rem;
}
.impressum-block p {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.impressum-link {
    color: rgb(231, 58, 26);
    text-decoration: none;
}
.impressum-link:hover {
    text-decoration: underline;
}
@media (max-width: 700px) {
    .impressum-grid {
        grid-template-columns: 1fr;
    }
}

/* Kontakt-Sektion */
.kontakt-section {
    background-color: #2a2a2a;
    padding: 3rem 24px 4rem;
    position: relative;
    z-index: 1;
}
.kontakt-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}
.kontakt-block {
    color: #e0e0e0;
    margin-bottom: 2rem;
}
.kontakt-heading {
    font-family: 'Yesteryear', cursive;
    font-size: 28px;
    font-weight: lighter;
    color: rgb(231, 58, 26);
    margin-bottom: 1rem;
}
.kontakt-block p {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 0.5rem;
}
.btn-maps {
    display: inline-block;
    padding: 14px 28px;
    background-color: rgb(231, 58, 26);
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-maps:hover {
    background-color: rgb(200, 50, 22);
    color: #fff;
    transform: translateY(-2px);
}

/* Datenschutz-Sektion: einspaltiger Fließtext */
.datenschutz-section {
    background-color: #2a2a2a;
    padding: 3rem 24px 4rem;
    position: relative;
    z-index: 1;
}
.datenschutz-inner {
    max-width: 720px;
    margin: 0 auto;
}
.datenschutz-inner p,
.datenschutz-inner ul {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #e0e0e0;
    margin: 0 0 1rem;
}
.datenschutz-intro {
    margin-bottom: 2rem !important;
}
.datenschutz-heading {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.25rem;
}
.datenschutz-heading:first-of-type {
    margin-top: 0;
}
.datenschutz-subheading {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin: 1.5rem 0 0.5rem;
}
.datenschutz-list {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}
.datenschutz-list li {
    margin-bottom: 0.25rem;
}

/* FAQ-Sektion: Accordions */
.faq-section {
    background-color: #2a2a2a;
    padding: 3rem 24px 4rem;
    position: relative;
    z-index: 1;
}
.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}
.faq-category-title {
    font-family: 'Yesteryear', cursive;
    font-size: 28px;
    font-weight: lighter;
    color: rgb(231, 58, 26);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.faq-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.faq-accordion-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.faq-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-align: left;
    transition: color 0.2s ease;
}
.faq-accordion-header:hover {
    color: rgb(231, 58, 26);
}
.faq-accordion-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}
.faq-accordion-item.open .faq-accordion-icon {
    transform: rotate(-135deg);
}
.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-accordion-content p:first-child {
    padding-top: 0;
}
.faq-accordion-item.open .faq-accordion-content p:first-child {
    padding-top: 0.5rem;
}
.faq-accordion-content p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #e0e0e0;
    margin: 0 0 1rem;
    padding: 0 0 0 0;
}
.faq-accordion-content p:last-child {
    margin-bottom: 0;
    padding-bottom: 1rem;
}
.faq-accordion-item.open .faq-accordion-content {
    max-height: 800px;
}

.subpage-intro {
    background-color: #2a2a2a;
    padding: 2rem 24px 3rem;
    max-width: 720px;
    margin: 0 auto;
}

.subpage-intro .intro-text {
    color: #e0e0e0;
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    margin: 0;
}

/* Mosaic-Galerie: 2×2-Blöcke (wie mosaic-test), 8 Spalten × 6 Zeilen */
.mosaic-gallery {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    aspect-ratio: 8 / 6;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background-color: #2a2a2a;
    flex-shrink: 0;
    gap: 0;
}

/* Variante: nur 2 Mosaics nebeneinander (12 Bilder), 8×3 */
.mosaic-gallery--2 {
    grid-template-rows: repeat(3, 1fr);
    aspect-ratio: 8 / 3;
}

/* Variante: 8 Mosaics (48 Bilder), 8×12 */
.mosaic-gallery--8 {
    grid-template-rows: repeat(12, 1fr);
    aspect-ratio: 8 / 12;
}

.mosaic-gallery .gallery-item {
    overflow: hidden;
    min-height: 0;
}

/* Mosaic 1 (Bilder 1–6): links oben */
.mosaic-gallery .gallery-item:nth-child(1)  { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.mosaic-gallery .gallery-item:nth-child(2)  { grid-column: 3 / span 2; grid-row: 1; }
.mosaic-gallery .gallery-item:nth-child(3)  { grid-column: 1;         grid-row: 3; }
.mosaic-gallery .gallery-item:nth-child(4)  { grid-column: 3;         grid-row: 2; }
.mosaic-gallery .gallery-item:nth-child(5)  { grid-column: 2 / span 2; grid-row: 3; }
.mosaic-gallery .gallery-item:nth-child(6)  { grid-column: 4;         grid-row: 2 / span 2; }
/* Mosaic 2 (Bilder 7–12): rechts oben */
.mosaic-gallery .gallery-item:nth-child(7)  { grid-column: 5 / span 2; grid-row: 1 / span 2; }
.mosaic-gallery .gallery-item:nth-child(8)  { grid-column: 7 / span 2; grid-row: 1; }
.mosaic-gallery .gallery-item:nth-child(9)  { grid-column: 5;         grid-row: 3; }
.mosaic-gallery .gallery-item:nth-child(10) { grid-column: 7;         grid-row: 2; }
.mosaic-gallery .gallery-item:nth-child(11) { grid-column: 6 / span 2; grid-row: 3; }
.mosaic-gallery .gallery-item:nth-child(12) { grid-column: 8;         grid-row: 2 / span 2; }
/* Mosaic 3 (Bilder 13–18): links unten */
.mosaic-gallery .gallery-item:nth-child(13) { grid-column: 1 / span 2; grid-row: 4 / span 2; }
.mosaic-gallery .gallery-item:nth-child(14) { grid-column: 3 / span 2; grid-row: 4; }
.mosaic-gallery .gallery-item:nth-child(15) { grid-column: 1;         grid-row: 6; }
.mosaic-gallery .gallery-item:nth-child(16) { grid-column: 3;         grid-row: 5; }
.mosaic-gallery .gallery-item:nth-child(17) { grid-column: 2 / span 2; grid-row: 6; }
.mosaic-gallery .gallery-item:nth-child(18) { grid-column: 4;         grid-row: 5 / span 2; }
/* Mosaic 4 (Bilder 19–24): rechts unten */
.mosaic-gallery .gallery-item:nth-child(19) { grid-column: 5 / span 2; grid-row: 4 / span 2; }
.mosaic-gallery .gallery-item:nth-child(20) { grid-column: 7 / span 2; grid-row: 4; }
.mosaic-gallery .gallery-item:nth-child(21) { grid-column: 5;         grid-row: 6; }
.mosaic-gallery .gallery-item:nth-child(22) { grid-column: 7;         grid-row: 5; }
.mosaic-gallery .gallery-item:nth-child(23) { grid-column: 6 / span 2; grid-row: 6; }
.mosaic-gallery .gallery-item:nth-child(24) { grid-column: 8;         grid-row: 5 / span 2; }
/* Mosaic 5 (25–30): Zeilen 7–9, links */
.mosaic-gallery .gallery-item:nth-child(25) { grid-column: 1 / span 2; grid-row: 7 / span 2; }
.mosaic-gallery .gallery-item:nth-child(26) { grid-column: 3 / span 2; grid-row: 7; }
.mosaic-gallery .gallery-item:nth-child(27) { grid-column: 1;         grid-row: 9; }
.mosaic-gallery .gallery-item:nth-child(28) { grid-column: 3;         grid-row: 8; }
.mosaic-gallery .gallery-item:nth-child(29) { grid-column: 2 / span 2; grid-row: 9; }
.mosaic-gallery .gallery-item:nth-child(30) { grid-column: 4;         grid-row: 8 / span 2; }
/* Mosaic 6 (31–36): Zeilen 7–9, rechts */
.mosaic-gallery .gallery-item:nth-child(31) { grid-column: 5 / span 2; grid-row: 7 / span 2; }
.mosaic-gallery .gallery-item:nth-child(32) { grid-column: 7 / span 2; grid-row: 7; }
.mosaic-gallery .gallery-item:nth-child(33) { grid-column: 5;         grid-row: 9; }
.mosaic-gallery .gallery-item:nth-child(34) { grid-column: 7;         grid-row: 8; }
.mosaic-gallery .gallery-item:nth-child(35) { grid-column: 6 / span 2; grid-row: 9; }
.mosaic-gallery .gallery-item:nth-child(36) { grid-column: 8;         grid-row: 8 / span 2; }
/* Mosaic 7 (37–42): Zeilen 10–12, links */
.mosaic-gallery .gallery-item:nth-child(37) { grid-column: 1 / span 2; grid-row: 10 / span 2; }
.mosaic-gallery .gallery-item:nth-child(38) { grid-column: 3 / span 2; grid-row: 10; }
.mosaic-gallery .gallery-item:nth-child(39) { grid-column: 1;         grid-row: 12; }
.mosaic-gallery .gallery-item:nth-child(40) { grid-column: 3;         grid-row: 11; }
.mosaic-gallery .gallery-item:nth-child(41) { grid-column: 2 / span 2; grid-row: 12; }
.mosaic-gallery .gallery-item:nth-child(42) { grid-column: 4;         grid-row: 11 / span 2; }
/* Mosaic 8 (43–48): Zeilen 10–12, rechts */
.mosaic-gallery .gallery-item:nth-child(43) { grid-column: 5 / span 2; grid-row: 10 / span 2; }
.mosaic-gallery .gallery-item:nth-child(44) { grid-column: 7 / span 2; grid-row: 10; }
.mosaic-gallery .gallery-item:nth-child(45) { grid-column: 5;         grid-row: 12; }
.mosaic-gallery .gallery-item:nth-child(46) { grid-column: 7;         grid-row: 11; }
.mosaic-gallery .gallery-item:nth-child(47) { grid-column: 6 / span 2; grid-row: 12; }
.mosaic-gallery .gallery-item:nth-child(48) { grid-column: 8;         grid-row: 11 / span 2; }

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

/* Startseite: Grau, Hover bunt */
body:not(.footer-light) .mosaic-gallery .gallery-item img {
    filter: grayscale(100%);
}
body:not(.footer-light) .mosaic-gallery .gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Unterseiten (Dana, Karsten): Bunt, Hover grau */
body.footer-light .mosaic-gallery .gallery-item img {
    filter: grayscale(0%);
}
body.footer-light .mosaic-gallery .gallery-item:hover img {
    filter: grayscale(100%);
    transform: scale(1.05);
}

/* Handy: 3 Bilder = eine Einheit, Zeilenumbruch, dann die nächsten 3 */
@media (max-width: 768px) {
    .mosaic-gallery {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: none;
        grid-auto-rows: 1fr;
        aspect-ratio: auto;
    }
    .mosaic-gallery .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
    .mosaic-gallery .gallery-item {
        aspect-ratio: 1;
    }
}

/* Heller Footer für Subpages */
body.footer-light .footer {
    background-color: #eaeaea;
}

body.footer-light .footer-title,
body.footer-light .footer-address,
body.footer-light .footer-hours {
    color: #333;
}

body.footer-light .footer-link {
    color: rgb(231, 58, 26);
}
body.footer-light .footer-bottom .footer-link {
    color: #fff;
}
body.footer-light .footer-bottom .footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== 404 Fehlerseite ========== */
body.page-404 .error-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
}
body.page-404 .error-section {
    text-align: center;
}
body.page-404 .error-title {
    font-family: 'Yesteryear', cursive;
    font-size: 4rem;
    color: #e73a1a;
    margin-bottom: 0.5rem;
}
body.page-404 .error-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}
body.page-404 .error-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: #e73a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}
body.page-404 .error-link:hover {
    background-color: #c93218;
}
body.page-404 .footer {
    background-color: #eaeaea;
}
body.page-404 .footer-title,
body.page-404 .footer-address,
body.page-404 .footer-hours {
    color: #333;
}
body.page-404 .footer-link {
    color: rgb(231, 58, 26);
}
