/* =============================================================
   IMNU FRONTEND CSS
   Mobile-first · CSS-Variablen aus render.php/:root
   ============================================================= */

/* ── Reset-Ergänzungen ──────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.frontend {
    margin: 0;
    background: var(--color-bg, #ffffff);
    color: var(--color-text, #202124);
    font-family: var(--font-body, system-ui, sans-serif);
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary, #1a73e8);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9375rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn--primary {
    background: var(--color-primary, #1a73e8);
    color: #fff;
}

.btn--primary:hover {
    background: color-mix(in srgb, var(--color-primary, #1a73e8) 85%, #000);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary, #1a73e8);
    border-color: var(--color-primary, #1a73e8);
}

.btn--outline:hover {
    background: var(--color-primary, #1a73e8);
    color: #fff;
}

/* ── Abschnitte (Sections) ──────────────────────────────────── */
.section {
    padding-block: 4rem;
}

@media (min-width: 768px) {
    .section {
        padding-block: 5.5rem;
    }
}

.section--alt {
    background: color-mix(in srgb, var(--color-primary, #1a73e8) 5%, #fff);
}

.section__heading {
    font-family: var(--font-heading, inherit);
    color: var(--color-heading, #202124);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin: 0 0 1.25rem;
    line-height: 1.2;
}

.section__lead {
    font-size: 1.0625rem;
    color: color-mix(in srgb, var(--color-text, #202124) 70%, #fff);
    max-width: 65ch;
    margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 64px;
    padding-inline: 1.25rem;
    max-width: 1120px;
    margin-inline: auto;
}

/* Logo */
.site-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.site-logo img {
    height: 36px;
    width: auto;
}

.site-logo__text {
    font-family: var(--font-heading, inherit);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-heading, #202124);
    white-space: nowrap;
}

/* Desktop Nav */
.main-nav__list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: .25rem;
    width: 100%;
}

@media (min-width: 768px) {
    .main-nav__list {
        flex-direction: row;
        align-items: center;
        width: auto;
    }
}

.main-nav__link {
    display: block;
    padding: .5rem .875rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: .9375rem;
    color: var(--color-text, #202124);
    text-decoration: none;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.main-nav__link:hover {
    background: color-mix(in srgb, var(--color-primary, #1a73e8) 10%, transparent);
    color: var(--color-primary, #1a73e8);
    text-decoration: none;
}

.main-nav__link--cta {
    background: var(--color-primary, #1a73e8);
    color: #fff !important;
    padding-inline: 1.25rem;
    border-radius: 999px;
    margin-left: .5rem;
}

.main-nav__link--cta:hover {
    background: color-mix(in srgb, var(--color-primary, #1a73e8) 85%, #000) !important;
}

/* Hamburger */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background .15s;
}

.nav-toggle:hover {
    background: rgba(0, 0, 0, .06);
}

.nav-toggle__bar {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-text, #202124);
    border-radius: 2px;
    transition: transform .25s, opacity .2s, width .2s;
}

/* Burger → X */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

/* Mobile Nav Overlay */
.main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - 64px);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.5rem 1.25rem;
    display: none;
    flex-direction: column;
    gap: .5rem;
    overflow-y: auto;
    z-index: 9999;
}

.main-nav.is-open {
    display: flex;
}

@media (min-width: 768px) {
    .main-nav {
        position: static;
        background: none;
        backdrop-filter: none;
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        overflow: visible;
        inset: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--color-primary, #1a73e8) 12%, #fff) 0%,
            #fff 60%);
    overflow: hidden;
    padding-block: 5rem 4rem;
    min-height: 420px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hero {
        padding-block: 7rem 6rem;
        min-height: 540px;
    }
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 640px;
}

.hero__headline {
    font-family: var(--font-heading, inherit);
    color: var(--color-heading, #202124);
    font-size: clamp(1.75rem, 5.5vw, 3rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero__sub {
    font-size: clamp(1rem, 2.5vw, 1.1875rem);
    color: color-mix(in srgb, var(--color-text, #202124) 75%, #fff);
    margin: 0 0 2rem;
    max-width: 52ch;
}

/* Decorative shape */
.hero__shape {
    position: absolute;
    inset-inline-end: -10%;
    bottom: -30%;
    width: min(600px, 80vw);
    aspect-ratio: 1;
    background: radial-gradient(circle,
            color-mix(in srgb, var(--color-primary, #1a73e8) 18%, transparent) 0%,
            transparent 70%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 540px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.service-card__img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
}

.service-card__title {
    font-family: var(--font-heading, inherit);
    color: var(--color-heading, #202124);
    font-size: 1.0625rem;
    margin: 0 0 .5rem;
}

.service-card__text {
    color: color-mix(in srgb, var(--color-text, #202124) 75%, #fff);
    font-size: .9375rem;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT / TEAM
   ═══════════════════════════════════════════════════════════════ */
.people-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    margin-top: 1.5rem;
}

.person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
}

.person-card__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.person-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-primary, #1a73e8) 15%, #fff);
    color: var(--color-primary, #1a73e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.person-card__body {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.person-card__name {
    font-weight: 700;
    color: var(--color-heading, #202124);
    font-size: 1rem;
}

.person-card__role {
    font-size: .875rem;
    color: color-mix(in srgb, var(--color-text, #202124) 65%, #fff);
}

.person-card__email {
    font-size: .875rem;
    color: var(--color-primary, #1a73e8);
    word-break: break-word;
}

/* ═══════════════════════════════════════════════════════════════
   EVENTS
   ═══════════════════════════════════════════════════════════════ */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: .5rem;
}

.event-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem 1.25rem;
    align-items: start;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
    border-left: 3px solid var(--color-primary, #1a73e8);
}

.event-card__date {
    font-size: .8125rem;
    font-weight: 700;
    color: var(--color-primary, #1a73e8);
    white-space: nowrap;
    padding-top: .2rem;
}

.event-card__title {
    font-family: var(--font-heading, inherit);
    font-size: 1rem;
    margin: 0 0 .25rem;
    color: var(--color-heading, #202124);
    grid-column: 2;
}

.event-card__text {
    font-size: .9375rem;
    color: color-mix(in srgb, var(--color-text, #202124) 75%, #fff);
    margin: 0;
    grid-column: 2;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact__grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact__text {
    margin: 0 0 1.25rem;
    font-size: 1rem;
}

.contact__links {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.contact__link {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text, #202124);
    text-decoration: none;
    transition: color .15s;
}

.contact__link:hover {
    color: var(--color-primary, #1a73e8);
    text-decoration: none;
}

.contact__icon {
    font-size: 1.125rem;
}

.contact__hours h3 {
    font-family: var(--font-heading, inherit);
    font-size: 1rem;
    margin: 0 0 .75rem;
    color: var(--color-heading, #202124);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.hours-table th,
.hours-table td {
    text-align: left;
    padding: .375rem .5rem;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.hours-table th {
    font-weight: 600;
    width: 3rem;
    color: var(--color-heading, #202124);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: color-mix(in srgb, var(--color-heading, #202124) 95%, #fff);
    color: rgba(255, 255, 255, .8);
    padding-block: 3rem 0;
}

.site-footer__inner {
    display: grid;
    gap: 2rem;
    padding-inline: 1.25rem;
    max-width: 1120px;
    margin-inline: auto;
}

@media (min-width: 640px) {
    .site-footer__inner {
        grid-template-columns: 1fr auto;
        align-items: start;
    }
}

.site-footer .site-logo__text {
    color: #fff;
}

.site-footer__tagline {
    font-size: .875rem;
    margin: .375rem 0 0;
    opacity: .6;
}

.site-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .5rem;
}

.site-footer__nav a {
    font-size: .9375rem;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    padding: .25rem .5rem;
    border-radius: 6px;
    transition: color .15s, background .15s;
}

.site-footer__nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
}

.site-footer__copy {
    max-width: 1120px;
    margin-inline: auto;
    padding: 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 2rem;
}

.site-footer__copy p {
    margin: 0;
    font-size: .8125rem;
    opacity: .5;
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════ */
.legal-page {
    padding-block: 4rem;
}

.legal-page .container {
    max-width: 780px;
}

.legal-page h1 {
    font-family: var(--font-heading, inherit);
    color: var(--color-heading, #202124);
    margin-bottom: 2rem;
}

.legal-content {
    line-height: 1.75;
    font-size: 1rem;
}

.legal-content h2,
.legal-content h3 {
    font-family: var(--font-heading, inherit);
    color: var(--color-heading, #202124);
    margin-top: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Staggered delay für Grid-Items */
.services-grid .reveal:nth-child(2) {
    transition-delay: .1s;
}

.services-grid .reveal:nth-child(3) {
    transition-delay: .2s;
}

.services-grid .reveal:nth-child(4) {
    transition-delay: .3s;
}

.people-grid .reveal:nth-child(2) {
    transition-delay: .08s;
}

.people-grid .reveal:nth-child(3) {
    transition-delay: .16s;
}

.people-grid .reveal:nth-child(4) {
    transition-delay: .24s;
}

/* Nutzer mit Bewegungseinschränkung: keine Animation */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =============================================================
   ERGÄNZUNGEN – ans Ende der bestehenden frontend.css anhängen
   ============================================================= */

/* ── Placeholder – Farbe aus Primärfarbe des Tenants ───────── */
.is-placeholder {
    color: color-mix(in srgb, var(--color-primary, #1a73e8) 50%, #888) !important;
    font-style: italic;
    pointer-events: none;
    user-select: none;
}

.service-card__img--placeholder,
.gallery-item--placeholder {
    width: 100%;
    aspect-ratio: 3/2;
    background-color: color-mix(in srgb, var(--color-primary, #1a73e8) 8%, #f8f8f8);
    background-image: repeating-linear-gradient(-45deg,
            transparent,
            transparent 6px,
            color-mix(in srgb, var(--color-primary, #1a73e8) 6%, transparent) 6px,
            color-mix(in srgb, var(--color-primary, #1a73e8) 6%, transparent) 12px);
}

.person-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-primary, #1a73e8) 15%, #f0f0f0);
    color: var(--color-primary, #1a73e8);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    flex-shrink: 0;
}

.has-placeholders {
    position: relative;
}

.has-placeholders::before {
    content: 'Beispielinhalt – bitte im Admin befüllen';
    display: block;
    text-align: right;
    font-size: .6875rem;
    font-style: italic;
    color: color-mix(in srgb, var(--color-primary, #1a73e8) 40%, transparent);
    margin-bottom: .75rem;
}

/* ── Hero mit Hintergrundbild ───────────────────────────────── */
.hero[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__content--overlay {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    max-width: 600px;
}

/* ── Logo Bild ──────────────────────────────────────────────── */
.site-logo__img {
    height: 40px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

/* ── Nav-Toggle Bars (feste Breite damit leere Spans sichtbar) ─ */
.nav-toggle__bar {
    display: block;
    width: 28px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

/* ── Intro / Kurzvorstellung ────────────────────────────────── */
.section--intro {
    padding-block: 3rem 2.5rem;

}

.container--narrow {
    max-width: 760px;
    margin-inline: auto;
}

.section__heading--center {
    text-align: center;
}

.intro__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text, #202124);
}

.intro__text p {
    margin: 0 0 1rem;
}

.intro__text p:last-child {
    margin-bottom: 0;
}

/* ── Service-Card Text (TinyMCE HTML) ───────────────────────── */
.service-card__text p {
    margin: 0 0 .5rem;
}

.service-card__text p:last-child {
    margin-bottom: 0;
}

/* ── Event-Card Layout ──────────────────────────────────────── */
.event-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: .5rem 1.25rem;
    align-items: start;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .07);
    border-left: 3px solid var(--color-primary, #1a73e8);
}

.event-card__date {
    font-size: .8rem;
    font-weight: 700;
    color: var(--color-primary, #1a73e8);
    white-space: nowrap;
    padding-top: .2rem;
}

.event-card__body {
    min-width: 0;
}

.event-card__title {
    font-size: 1rem;
    margin: 0 0 .25rem;
    color: var(--color-heading, #202124);
}

.event-card__text {
    margin: 0 0 .5rem;
    font-size: .9375rem;
}

.event-card__text p {
    margin: 0 0 .375rem;
}

.event-card__text p:last-child {
    margin-bottom: 0;
}

.event-card__link {
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-primary, #1a73e8);
}

/* ── Galerie ────────────────────────────────────────────────── */
.section--gallery {
    padding-block: 3rem 3.5rem;
}

.gallery-grid {
    display: grid;
    gap: .875rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 0;
    background: #f0f0f0;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .52);
    color: #fff;
    font-size: .8rem;
    padding: .375rem .625rem;
}

.gallery-item--placeholder {
    min-height: 120px;
}

/* ── Social Media ───────────────────────────────────────────── */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.25rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4375rem .875rem;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--color-text, #202124);
    background: color-mix(in srgb, var(--color-primary, #1a73e8) 8%, #fff);
    border: 1px solid color-mix(in srgb, var(--color-primary, #1a73e8) 22%, transparent);
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}

.social-link:hover {
    background: var(--color-primary, #1a73e8);
    color: #fff;
    border-color: transparent;
}

.social-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* ── Öffnungszeiten ─────────────────────────────────────────── */
.hours-table em {
    font-style: normal;
    font-size: .875rem;
    color: color-mix(in srgb, var(--color-text, #202124) 50%, transparent);
}

/* ── Legal-Seite ────────────────────────────────────────────── */
.legal-page {
    padding-block: 3rem;
}

.legal-page h1 {
    margin-bottom: 1.5rem;
}

.legal-content p,
.legal-content li {
    line-height: 1.7;
}

.legal-empty {
    color: color-mix(in srgb, var(--color-text, #202124) 55%, transparent);
    font-style: italic;
}

/* ── Floating Action Buttons ──────────────────────────────── */
.floating-actions {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .625rem;
    z-index: 900;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    transition: transform .2s, box-shadow .2s, background .2s;
    color: #fff;
    background: var(--color-primary, #1a73e8);
}

.floating-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
    color: #fff;
}

.floating-btn--phone {
    background: #22c55e;
}

.floating-btn--email {
    background: var(--color-primary, #1a73e8);
}

.floating-btn--top {
    background: color-mix(in srgb, var(--color-primary, #1a73e8) 75%, #000);
}

/* ── Kontaktformular ──────────────────────────────────────── */
.contact__form {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
    max-width: 680px;
}

.contact-form__group {
    display: flex;
    flex-direction: column;
    gap: .375rem;
}

.contact-form__group label {
    font-size: .875rem;
    font-weight: 500;
    color: var(--color-heading, #202124);
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: .625rem .875rem;
    border: 1.5px solid color-mix(in srgb, var(--color-text, #202124) 20%, transparent);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text, #202124);
    background: var(--color-bg, #fff);
    transition: border-color .15s;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: var(--color-primary, #1a73e8);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn--primary {
    align-self: flex-start;
    margin-top: .25rem;
}

/* Contact form success/error message */
.contact-msg {
    padding: .75rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: .9375rem;
}

.contact-msg--sent {
    background: #dcfce7;
    color: #166534;
}

.contact-msg--error {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Gallery Lightbox ───────────────────────────────────────── */
.gallery-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.gallery-item__rights {
    display: block;
    font-size: .7rem;
    color: #888;
    padding: .2rem .4rem;
    text-align: right;
}

/* Lightbox Overlay */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .92);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: lightbox-fadein .2s ease;
}

.lightbox-overlay.is-open {
    display: flex;
    flex-direction: column;
}

@keyframes lightbox-fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: min(90vw, 1200px);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, .6);
    display: block;
}

.lightbox-caption {
    color: #eee;
    font-size: .9rem;
    margin-top: .75rem;
    text-align: center;
}

.lightbox-rights {
    color: #aaa;
    font-size: .75rem;
    margin-top: .25rem;
    text-align: center;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
    transition: opacity .15s;
    z-index: 10000;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: .5rem .9rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background .15s;
    z-index: 10000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, .25);
}

.lightbox-nav--prev {
    left: .75rem;
}

.lightbox-nav--next {
    right: .75rem;
}