:root {
    --background-color: #fdf6ec;
    --text-color: #3e2c23;
    --primary-color: #c89b68;
    --secondary-color: #f8f1e7;
    --hover-color: #ffffff;
    --font-family: 'Roboto Slab', serif;
    --nav-height: 80px;
    --gap-size: 2rem;
    --transparent: rgba(200, 155, 104, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
}

i {
    font-size: 3rem;
}


/* Navbar */
.navbar {
    width: 100%;
    height: var(--nav-height);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.4s, box-shadow 0.4s;
    background-color: rgba(200, 155, 104, 0.6);
}

.navbar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

nav {
    display: flex;
    gap: var(--gap-size);
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

nav .active {
    color: var(--primary-color);
}


/* Navbar im "gescrollten" Zustand */
.navbar.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar nav a {
    color: var(--text-color);
}

.navbar nav a:hover {
    color: var(--hover-color);
}

.navbar .active {
    color: var(--hover-color);
}


/* Header Bereich */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
    height: 100vh;
    background: url('../public/images/header.jpg') center/cover no-repeat;
    color: white;
    background-color: #00000066;
    background-blend-mode: multiply;
}

.header h1 {
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 10px;
}

.header-logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}



/* 📄 Einheitlicher Section Header */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

/* 📄 Einheitliches Icon */
.section-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--hover-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: popIn 0.6s ease;
}


/* Kurse Sektion */
.courses {
    background-color: #fdf6ec;
    padding: 6rem 2rem;
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.courses h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.courses-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Neue Kurskarten */
.course-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.course-card-simple {
    background-color: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card-simple:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.course-icon-wrapper {
    background-color: var(--primary-color);
    color: white;
    font-size: 2.5rem;
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-card-simple h3 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.course-card-simple p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Button */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.6rem 1.4rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
    margin-top: auto;
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}



/* Über uns Sektion */
.about {
    background-color: var(--secondary-color);
    padding: 6rem 2rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Events Sektion */
.events {
    background-color: var(--secondary-color);
    padding: 6rem 2rem;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.events h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.events-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.event-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.event-card {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event-date {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 1.5rem;
    text-align: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: bold;
}

.event-date .month {
    font-size: 1.2rem;
    text-transform: uppercase;
}

.event-info {
    flex: 1;
    padding: 2rem;
    text-align: left;
}

.event-info h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.event-location {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.event-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Der Button wird wiederverwendet */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}


.event-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 4000;
}

.event-overlay.active {
    display: flex;
}

.overlay-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: left;
    position: relative;
    animation: fadeIn 0.4s ease;
}

.close-overlay {
    position: absolute;
    top: 1px;
    right: 1px;
    color: var(--text-color);
    cursor: pointer;
}

.close-overlay i {
    font-size: 2.3rem;
}

.overlay-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.overlay-content h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.overlay-content strong {
    display: inline-block;
    width: 120px;
    font-weight: bold;
    color: var(--text-color);
}

.overlay-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    max-height: 200px;
    object-fit: cover;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* Kontaktbereich */
.contact {
    background-color: #fdf6ec;
    padding: 6rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.section-icon {
    background-color: var(--primary-color);
    color: white;
    font-size: 2rem;
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact h2 {
    font-size: 2.5rem;
    color: var(--text-color);
}

.contact-intro {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
    align-items: flex-start;
    margin-top: 3rem;
    text-align: left;
}

/* Formular */
.contact-form {
    flex: 1 1 440px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2.25rem 2rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label,
.contact-form input,
.contact-form textarea,
.form-check label,
.hint {
    font-family: var(--font-family);
    /* gleiche Font wie Rest */
}

.contact-form label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.req {
    color: #b73a3a;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    font-size: 1rem;
    font-weight: 400;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    border: 1.8px solid #ddd;
    background-color: #fdfdfd;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9b8f87;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 155, 104, 0.2);
    background: #fff;
}

.contact-form textarea {
    resize: none;
    min-height: 150px;
}

.hint {
    font-size: 0.85rem;
    color: #8a7a71;
}

/* Fehlermarkierung (HTML5-Validation) */
.contact-form input:invalid[required],
.contact-form textarea:invalid[required],
.form-check input:invalid[required]+label {
    box-shadow: none;
}

.contact-form input:invalid[required],
.contact-form textarea:invalid[required] {
    border-color: #d66;
    background: #fff7f7;
}

/* Schöne Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    /* kleiner */
    height: 16px;
    border: 1.8px solid var(--primary-color);
    /* dünnerer Rand */
    border-radius: 4px;
    /* leicht abgerundet */
    display: grid;
    place-content: center;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s, border-color 0.2s;
}

.form-check input[type="checkbox"]::before {
    content: "✓";
    font-size: 0.85rem;
    /* kleinerer Haken */
    color: white;
    transform: scale(0);
    transition: transform 0.2s ease-in-out;
}


.form-check input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.form-check label {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    cursor: pointer;
}

.form-check a {
    color: var(--text-color);
    text-decoration: underline;
}

/* Button */
.btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--background-color);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* Kontaktinfos */
.contact-info {
    flex: 1 1 320px;
    padding: 0.5rem 0;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.form-msg {
    padding: .75rem 1rem;
    border-radius: 10px;
    font-size: .95rem;
    background: #fff;
    border: 1px solid #e9e3db;
    color: var(--text-color);
}

.form-msg.info {
    border-color: #d7cfc6;
}

.form-msg.success {
    border-color: #6fb07c;
    background: #f2fbf4;
}

.form-msg.error {
    border-color: #d66;
    background: #fff7f7;
}




/* Footer */
.footer {
    background-color: #3e2c23;
    color: #fdf6ec;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fdf6ec;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}


/* Normales Burger-Icon */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 3001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.4s ease;
}

/* Burger zu X Animation */
.burger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active div:nth-child(2) {
    opacity: 0;
}

.burger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 3000;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}


/* Container für Links */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.mobile-nav a {
    color: var(--text-color);
    font-size: 2rem;
    margin: 1rem 0;
    text-decoration: none;
    font-weight: bold;
}

.mobile-nav a:hover {
    color: var(--hover-color);
}

/* Burger und Close Icons */
.burger-icon,
.close-icon {
    display: none;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    z-index: 3001;
}

/* Positionierung des X im Overlay */
.close-icon {
    display: none;
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 3001;
}

.mobile-nav-overlay.active .close-icon {
    display: block;
}


/* Preloader Container */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    transition: opacity 0.5s ease;
}

.container {
    height: calc(155px * (2.1 / 5));
    width: 155px;
    transform-origin: center;
    overflow: visible;
}

.car {
    fill: none;
    stroke: var(--primary-color);
    stroke-dasharray: 15, 85;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: travel 1.3s linear infinite;
    will-change: stroke-dasharray, stroke-dashoffset;
    transition: stroke 0.5s ease;
}

.track {
    stroke: var(--primary-color);
    opacity: .1;
}

@keyframes travel {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 100;
    }
}


/* Kein Scrollen im Hintergrund, wenn Mobile-Menü aktiv */
.no-scroll {
    overflow: hidden;
    height: 100%;
}

.course-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    padding: 2rem;
}

.course-overlay.active {
    display: flex;
}

.course-overlay .overlay-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.course-overlay ul {
    margin: 0 0 1rem 1rem;
    padding: 0;
}

.course-overlay .close-overlay {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
}

/* FAQ */
.faq {
    background-color: var(--secondary-color);
    padding: 6rem 2rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq .section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e7e0d8;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.faq-item[open] {
    border-color: var(--primary-color);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    font-size: 1.5rem;
    transition: transform .2s ease;
    color: var(--primary-color);
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
    color: var(--text-color);
    line-height: 1.6;
    animation: faqReveal .2s ease;
}

@keyframes faqReveal {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===== Neue Gallery (Masonry + Lightbox) ===== */
.gallery.gallery--masonry {
    background: var(--secondary-color);
    padding: 6rem 2rem;
}

.gallery.gallery--masonry .sg-note {
    color: var(--text-color);
    opacity: .75;
}

.gal2-viewport {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gal2-masonry {
    column-count: 4;
    column-gap: 1.2rem;
}

@media (max-width: 1100px) {
    .gal2-masonry {
        column-count: 3;
    }
}

@media (max-width: 820px) {
    .gal2-masonry {
        column-count: 2;
    }
}

@media (max-width: 560px) {
    .gal2-masonry {
        column-count: 1;
    }
}

.gal2-card {
    break-inside: avoid;
    margin: 0 0 1.2rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    overflow: clip;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}

.gal2-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, .12);
}

.gal2-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
    transition: transform .36s ease;
}

.gal2-card:hover .gal2-img {
    transform: scale(1.03);
}

.gal2-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .65rem .8rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: .01em;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
}

.gal2-card:hover .gal2-cap {
    opacity: 1;
    transform: translateY(0);
}

.gal2-cap i {
    font-size: 1.2rem;
}

.gal2-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
}

#galSentinel {
    height: 1px;
}

/* Lightbox */
.gal2-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gal2-lightbox.is-open {
    display: flex;
}

.gal2-lightbox__img {
    max-width: 92vw;
    max-height: 84vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.gal2-lightbox__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    text-align: center;
    padding: .8rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6));
    font-weight: 700;
}

.gal2-lightbox__close {
    position: absolute;
    top: .6rem;
    right: .9rem;
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: .2rem .4rem;
}

.gal2-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, .25);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}

.gal2-lightbox__nav:hover {
    background: rgba(255, 255, 255, .22);
}

.gal2-lightbox__prev {
    left: 1rem;
}

.gal2-lightbox__next {
    right: 1rem;
}

.gal2-lightbox__nav i {
    font-size: 1.6rem;
}

/* Focus sichtbar */
.gal2-card:focus-visible {
    outline: 3px solid rgba(200, 155, 104, .55);
    outline-offset: 3px;
    border-radius: 16px;
}

.gal2-lightbox__nav:focus-visible,
.gal2-lightbox__close:focus-visible {
    outline: 3px solid rgba(200, 155, 104, .55);
    outline-offset: 2px;
}