﻿.verein-page {
    --verein-cream: #f4efe3;
    --verein-ink: #18323c;
    --verein-muted: #695f57;
    --verein-green: #4f7e68;
    --verein-red: #a73f28;
    --verein-orange: #e66317;
    --verein-gold: #e0b220;
    --verein-blue: #3a82ad;
    background: var(--verein-cream);
    color: var(--verein-ink);
    overflow: hidden;
}

.navbar-custom .nav-item.dropdown {
    position: relative;
}

.navbar-custom .nav-item.dropdown > .dropdown-menu {
    top: 100%;
    left: 0;
    margin-top: 0 !important;
    transform: none !important;
}

@media (min-width: 1200px) {
    .navbar-custom .nav-item.dropdown:hover > .dropdown-menu,
    .navbar-custom .nav-item.dropdown:focus-within > .dropdown-menu {
        position: absolute;
        display: block;
    }
}

.verein-page h1,
.verein-page h2,
.verein-page h3 {
    color: var(--verein-ink);
}

.verein-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    background-image: linear-gradient(90deg, rgba(24, 50, 60, 0.80) 0%, rgba(24, 50, 60, 0.42) 44%, rgba(24, 50, 60, 0.08) 100%), url("../assets/unser-verein/images/verein-hero.jpg");
    background-position: center;
    background-size: cover;
}

.verein-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 42px;
    background: radial-gradient(24px 18px at 24px 0, transparent 98%, var(--verein-cream) 100%) 0 0 / 48px 42px repeat-x;
}

.verein-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 120px 0 115px;
}

.verein-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--verein-green);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.verein-hero h1 {
    max-width: 720px;
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.94;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.22);
}

.verein-hero p {
    max-width: 670px;
    margin: 0 0 28px;
    color: #ffffff;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.42;
}

.verein-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.verein-hero-actions .btn {
    min-width: 180px;
}

.verein-intro {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 76px 0 46px;
}

.verein-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
    align-items: center;
    gap: 56px;
}

.verein-eyebrow {
    margin-bottom: 12px;
    color: var(--verein-orange);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.verein-intro h2,
.verein-section-title {
    margin: 0 0 18px;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.02;
}

.verein-lead {
    color: #2b2b2b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
}

.verein-intro p,
.verein-text p {
    color: var(--verein-muted);
    font-size: 17px;
    line-height: 1.7;
}

.verein-photo-stack {
    position: relative;
    min-height: 470px;
}

.verein-photo-main,
.verein-photo-small {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 20px 46px rgba(24, 50, 60, 0.22);
}

.verein-photo-main {
    top: 0;
    right: 0;
    width: 82%;
    height: 390px;
    border: 10px solid #ffffff;
    border-radius: 42px 42px 42px 10px;
}

.verein-photo-small {
    left: 0;
    bottom: 0;
    width: 48%;
    height: 220px;
    border: 8px solid #ffffff;
    border-radius: 50%;
}

.verein-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.verein-fact {
    padding: 20px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.verein-fact strong {
    display: block;
    color: var(--verein-red);
    font-size: 30px;
    line-height: 1;
}

.verein-fact span {
    display: block;
    margin-top: 8px;
    color: var(--verein-muted);
    font-size: 14px;
    font-weight: 700;
}

.verein-values {
    padding: 70px 0;
    background: #ffffff;
}

.verein-values-inner,
.verein-history-inner,
.verein-cta-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.verein-values-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.verein-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.verein-value-card {
    min-height: 260px;
    padding: 26px 22px;
    border-radius: 8px;
    background: var(--verein-cream);
    border-top: 8px solid var(--accent);
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.verein-value-card img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 16px;
}

.verein-value-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.verein-value-card p {
    margin: 0;
    color: var(--verein-muted);
    font-size: 15px;
    line-height: 1.55;
}

.verein-history {
    padding: 78px 0;
}

.verein-history-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 52px;
    align-items: center;
}

.verein-history-image {
    position: relative;
}

.verein-history-image img {
    width: 100%;
    min-height: 450px;
    object-fit: cover;
    border: 10px solid #ffffff;
    border-radius: 52px 12px 52px 12px;
    box-shadow: 0 18px 44px rgba(24, 50, 60, 0.18);
}

.verein-note {
    position: absolute;
    right: -18px;
    bottom: 28px;
    max-width: 250px;
    padding: 18px 20px;
    border-radius: 8px;
    background: var(--verein-gold);
    color: #ffffff;
    font-weight: 900;
    line-height: 1.25;
    box-shadow: 0 16px 32px rgba(24, 50, 60, 0.18);
}

.verein-sponsor-section {
    margin-top: 42px;
}

.verein-sponsor-section h3 {
    margin: 0 0 22px;
    color: var(--verein-ink);
    font-size: 26px;
}

.verein-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.verein-sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 20px;
    border: 1px solid rgba(24, 50, 60, 0.1);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(24, 50, 60, 0.08);
}

.verein-sponsor-card img {
    display: block;
    width: 100%;
    max-width: 280px;
    max-height: 110px;
    object-fit: contain;
}

.verein-sponsor-card.is-poster img {
    max-height: 220px;
}

@media (max-width: 900px) {
    .verein-sponsor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .verein-sponsor-grid {
        grid-template-columns: 1fr;
    }
}

.verein-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.verein-list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: var(--verein-muted);
    font-size: 16px;
    line-height: 1.55;
}

.verein-list li::before {
    content: "";
    width: 30px;
    height: 12px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--verein-green);
}

.verein-list strong {
    white-space: nowrap;
}

@media (max-width: 620px) {
    .verein-list li > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .verein-list strong {
        white-space: normal;
    }
}

.verein-liability {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 34px;
    padding: 24px;
    border: 1px solid rgba(167, 63, 40, 0.18);
    border-left: 5px solid var(--verein-red);
    border-radius: 8px;
    background: linear-gradient(135deg, #fffaf3 0%, #f7eee2 100%);
    box-shadow: 0 12px 28px rgba(24, 50, 60, 0.09);
}

.verein-liability-row {
    margin-top: 52px;
}

.verein-liability-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--verein-red);
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(167, 63, 40, 0.24);
}

.verein-liability h3 {
    margin: 0 0 8px;
    color: var(--verein-ink);
    font-size: 23px;
}

.verein-liability p {
    margin: 0;
    color: var(--verein-muted);
    font-size: 16px;
    line-height: 1.55;
}

.verein-liability .verein-liability-rule {
    margin-top: 10px;
    color: var(--verein-red);
    font-size: 18px;
    font-weight: 900;
}

.verein-cta {
    padding: 74px 0 86px;
    background: var(--verein-blue);
    color: #ffffff;
}

.verein-cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.verein-cta h2,
.verein-cta p {
    color: #ffffff;
}

.verein-cta h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 46px);
}

.verein-cta p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.verein-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 991px) {
    .verein-hero {
        min-height: 560px;
    }

    .verein-intro-grid,
    .verein-history-grid,
    .verein-cta-box {
        grid-template-columns: 1fr;
    }

    .verein-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .verein-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .verein-hero {
        min-height: 520px;
    }

    .verein-hero-inner,
    .verein-intro,
    .verein-values-inner,
    .verein-history-inner,
    .verein-cta-inner {
        width: min(100% - 24px, 1120px);
    }

    .verein-facts,
    .verein-card-grid {
        grid-template-columns: 1fr;
    }

    .verein-photo-stack {
        min-height: auto;
    }

    .verein-photo-main,
    .verein-photo-small {
        position: static;
        width: 100%;
        height: auto;
        margin-top: 16px;
        border-radius: 24px;
    }

    .verein-note {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 14px;
        box-sizing: border-box;
    }

    .verein-history-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .verein-history-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .verein-history-image img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        box-sizing: border-box;
    }

    .verein-liability {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 18px;
    }

    .verein-liability-icon {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }
}

/* Unser Verein subpages */
.verein-subpage {
    --verein-cream: #f4efe3;
    --verein-ink: #18323c;
    --verein-muted: #695f57;
    --verein-green: #4f7e68;
    --verein-red: #a73f28;
    --verein-orange: #e66317;
    --verein-gold: #e0b220;
    --verein-blue: #3a82ad;
    background: var(--verein-cream);
    color: var(--verein-ink);
}

.verein-sub-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(90deg, rgba(24, 50, 60, 0.78), rgba(24, 50, 60, 0.2)), var(--hero-image);
    background-position: center;
    background-size: cover;
}

.verein-sub-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 36px;
    background: radial-gradient(22px 16px at 22px 0, transparent 98%, var(--verein-cream) 100%) 0 0 / 44px 36px repeat-x;
}

.verein-sub-hero-inner,
.verein-sub-content,
.verein-news-list,
.verein-gallery-wrap,
.verein-team-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.verein-sub-hero-inner {
    position: relative;
    z-index: 1;
    padding: 90px 0 92px;
}

.verein-sub-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 0.96;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.22);
}

.verein-sub-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: #ffffff;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.45;
}

.verein-sub-content {
    padding: 70px 0;
}

.verein-sub-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 36px;
    align-items: start;
}

.verein-panel {
    padding: 30px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.verein-panel + .verein-panel {
    margin-top: 20px;
}

.verein-panel h2,
.verein-panel h3 {
    margin: 0 0 14px;
    color: var(--verein-ink);
}

.verein-panel h2 {
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
}

.verein-panel h3 {
    font-size: 24px;
}

.verein-panel p,
.verein-panel li {
    color: var(--verein-muted);
    font-size: 16px;
    line-height: 1.65;
}

.verein-panel ul {
    margin: 14px 0 0;
    padding-left: 20px;
}

.verein-highlight {
    border-top: 8px solid var(--verein-orange);
}

.verein-side-card {
    overflow: hidden;
    padding: 0;
}

.verein-side-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.verein-side-card > div {
    padding: 24px;
}

.mitgliedschaft-sammelpass-image {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin-top: 24px;
    border-radius: 8px;
}

.verein-price {
    display: inline-flex;
    align-items: stretch;
    gap: 8px;
    margin: 10px 0 18px;
    color: var(--verein-red);
    font-weight: 900;
}

.verein-price strong {
    display: flex;
    align-items: center;
    font-size: 42px;
    line-height: 1;
    white-space: nowrap;
}

.verein-price span {
    display: flex;
    align-items: center;
    line-height: 1.3;
    white-space: nowrap;
}

.verein-news-list {
    padding: 70px 0;
}

.verein-news-item {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
    padding: 24px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.verein-news-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

.verein-news-item h2 {
    margin: 0 0 12px;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: 34px;
}

.elternbildung-gutschein {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 28px;
    border-top: 8px solid var(--verein-gold);
}

.elternbildung-gutschein-mark {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 50%;
    background: var(--verein-gold);
    color: #ffffff;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: 25px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(217, 167, 24, 0.24);
}

.elternbildung-gutschein h2 {
    margin: 4px 0 16px;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}

.elternbildung-gutschein-image {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 0 26px;
    border: 1px solid rgba(24, 50, 60, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(24, 50, 60, 0.10);
}

.elternbildung-gutschein p {
    margin-bottom: 14px;
}

.elternbildung-gutschein-link {
    margin-top: 4px;
}

@media (max-width: 620px) {
    .elternbildung-gutschein {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 16px;
        padding: 24px 20px;
    }

    .elternbildung-gutschein-mark {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
}

.verein-team-wrap {
    padding: 70px 0;
}

.verein-team-photo {
    overflow: hidden;
    margin-bottom: 28px;
    border: 10px solid #ffffff;
    border-radius: 46px 12px 46px 12px;
    box-shadow: 0 18px 44px rgba(24, 50, 60, 0.18);
}

.verein-team-photo img {
    width: 100%;
    display: block;
}

.verein-subpage #group-teachers {
    padding: 34px 0 70px;
    background: #ffffff;
}

.verein-subpage .teacher-box {
    overflow: hidden;
    border-radius: 8px;
    background: var(--verein-cream);
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.verein-subpage .teacher-info {
    padding: 16px;
}

.team-card-section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 74px;
}

.team-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.domino-team-card {
    --team-color: #4f7e68;
    height: 100%;
    padding: 30px 24px 26px;
    border-radius: 8px;
    background: var(--team-color);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 14px 34px rgba(24, 50, 60, 0.13);
}

.team-card-grid .domino-team-card:nth-child(4n+1) {
    --team-color: #4f7e68;
}

.team-card-grid .domino-team-card:nth-child(4n+2) {
    --team-color: #3a82ad;
}

.team-card-grid .domino-team-card:nth-child(4n+3) {
    --team-color: #85555f;
}

.team-card-grid .domino-team-card:nth-child(4n+4) {
    --team-color: #e0b220;
}

.domino-team-image {
    overflow: hidden;
    width: 260px;
    height: 260px;
    margin: 0 auto 20px;
    border: 6px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(24, 50, 60, 0.2);
}

.domino-team-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
}

.domino-team-body h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: 28px;
    line-height: 1.05;
}

.domino-team-text,
.domino-team-text p {
    color: rgba(255, 255, 255, 0.94);
    font-size: 15px;
    line-height: 1.55;
}

.domino-team-text {
    min-height: 72px;
}

.domino-team-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.domino-team-contact-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.domino-team-contact-row a,
.domino-team-contact-row span {
    color: #ffffff;
}

.team-mail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    margin-top: 4px;
    padding: 10px 18px;
    border-radius: 25px 10px;
    background: #ffffff;
    color: #18323c !important;
    font-weight: 900;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.team-mail-button:hover,
.team-mail-button:focus {
    background: #18323c;
    color: #ffffff !important;
}

.verein-gallery-wrap {
    padding: 70px 0 84px;
}

.verein-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.verein-gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    border: 8px solid #ffffff;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.verein-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    display: block;
}

.verein-gallery-item.wide {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .verein-sub-grid,
    .verein-news-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .verein-sub-grid,
    .verein-sub-grid > *,
    .verein-sub-grid aside,
    .verein-sub-grid .verein-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .team-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .verein-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .verein-sub-hero-inner,
    .verein-sub-content,
    .verein-news-list,
    .verein-gallery-wrap,
    .verein-team-wrap {
        width: min(100% - 24px, 1120px);
    }

    .verein-sub-grid .verein-panel {
        padding-right: 18px;
        padding-left: 18px;
    }

    .verein-sub-grid .verein-panel .row {
        margin-right: 0;
        margin-left: 0;
    }

    .verein-sub-grid .verein-panel .row > [class*="col-"] {
        min-width: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .verein-sub-grid a {
        overflow-wrap: anywhere;
    }

    .verein-sub-grid .verein-panel h2,
    .verein-sub-grid .verein-panel h3 {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .team-card-section {
        width: min(100% - 24px, 1120px);
    }

    .team-card-grid {
        grid-template-columns: 1fr;
    }

    .verein-gallery-grid {
        grid-template-columns: 1fr;
    }

    .verein-gallery-item.wide {
        grid-column: span 1;
    }
}

/* Domino footer */
footer.domino-footer {
    margin-top: 0;
    padding: 52px 0 32px;
    background: #4f7e68;
    color: #ffffff;
}

.domino-footer h6 {
    margin-bottom: 14px;
    color: #ffffff;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: 22px;
    line-height: 1.05;
}

.domino-footer p,
.domino-footer li,
.domino-footer a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.65;
}

.domino-footer a:hover {
    color: #e0b220;
}

.domino-footer .footer-icons li {
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.domino-footer .footer-icons i,
.domino-footer .social-media a i {
    color: #e0b220;
}

.domino-footer .footer-logo {
    max-width: 230px;
    margin: 0 auto 10px;
}

.domino-footer .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.domino-footer .footer-links li {
    border-bottom: 0;
    line-height: 1.35 !important;
}

.domino-footer .credits {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

.domino-footer .credits hr {
    border-color: rgba(255, 255, 255, 0.20);
}

/* Serviceangebot */
.service-page .verein-sub-hero {
    background-position: center;
}

.service-overview {
    padding-bottom: 82px;
}

.service-intro {
    max-width: 820px;
    margin-bottom: 30px;
}

.service-intro h2 {
    margin: 0 0 18px;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.02;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    display: flex;
    min-height: 340px;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
    border-radius: 8px;
    border-top: 8px solid var(--accent);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.service-card img {
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
    object-fit: contain;
    border-radius: 16px;
}

.service-card h3 {
    min-height: 58px;
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.25;
}

.service-card p {
    flex: 1;
    color: var(--verein-muted);
    font-size: 15px;
    line-height: 1.58;
}

.service-card .btn {
    margin-top: 16px;
}

.service-band {
    padding: 62px 0 76px;
    background: #ffffff;
}

.service-band-inner {
    display: grid;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.service-band h2 {
    margin: 0 0 10px;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
}

.service-band p {
    max-width: 720px;
    margin: 0;
    color: var(--verein-muted);
    font-size: 17px;
    line-height: 1.6;
}

.service-info-card,
.service-price-card {
    border-top: 8px solid var(--verein-blue);
}

.service-info-card.is-green {
    border-top-color: var(--verein-green);
}

.service-info-card.is-gold {
    border-top-color: var(--verein-gold);
}

.service-list-panel {
    border-top: 8px solid #85555f;
}

@media (max-width: 991px) {
    .service-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-band-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .service-card-grid {
        grid-template-columns: 1fr;
    }

    .service-band-inner {
        width: min(100% - 24px, 1120px);
    }

    .service-card h3 {
        min-height: 0;
    }
}

/* Kontakt */
.kontakt-content {
    padding-bottom: 84px;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.38fr);
    gap: 32px;
    align-items: start;
}

.kontakt-form-panel {
    border-top: 8px solid var(--verein-green);
}

/* Kursanmeldung */
.register-page { background: var(--verein-cream); }
.register-course-name { max-width: 760px; margin: 12px 0 0; color: #fff; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.35; }
.register-content { padding-bottom: 84px; }
.register-shell { width: 100%; }
.register-panel { width: 100%; max-width: 900px; margin: 0 auto; border-top: 8px solid var(--verein-green); }
.register-panel > h2 { margin-bottom: 28px; }
.register-form { width: 100%; max-width: 680px; margin: 0 auto; }
.register-form .row { margin-bottom: 16px; }
.register-form .col-md-9,
.register-form .col-md-12 { width: 100%; padding-right: 0; padding-left: 0; }
.register-form .formlabel { margin-bottom: 6px; color: var(--verein-ink); font-weight: 700; }
.register-form .form-control,
.register-form input[type="text"],
.register-form input[type="password"] { width: 100% !important; max-width: none; min-height: 50px; padding: 11px 14px; border: 2px solid rgba(24, 50, 60, 0.14); border-radius: 8px; background: #fbfaf6; box-shadow: none; }
.register-form .ui-selectoneradio { margin-bottom: 24px; }
.register-form #discount_button {
    min-height: 48px;
    margin-top: 10px;
    padding: 11px 22px;
    border: 2px solid var(--verein-green);
    border-radius: 999px;
    background: var(--verein-green);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(79, 126, 104, 0.22);
}
.register-form #discount_button:hover,
.register-form #discount_button:focus {
    border-color: var(--verein-orange);
    background: var(--verein-orange);
    color: #ffffff;
}
.register-form .checklist { margin-top: 30px; font-size: clamp(25px, 3vw, 34px); }
.register-form .checklist:first-child { margin-top: 22px; }
.register-form .register-child-remove-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    margin-bottom: 18px;
}
.register-form .register-child-remove {
    display: inline-block;
    width: auto !important;
    min-width: 56px;
    min-height: 44px;
    margin: 0;
    padding: 9px 18px;
    border: 0 !important;
    border-radius: 5px;
    background: #e94724 !important;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    opacity: 1 !important;
    visibility: visible !important;
}
.register-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(24, 50, 60, 0.14); }
.register-actions .ui-button,
.register-actions .btn { width: auto !important; min-width: 160px; margin: 0; }

@media (max-width: 575px) {
    .register-panel { padding: 22px 18px; }
    .register-actions .ui-button,
    .register-actions .btn { width: 100% !important; }
}

.kontakt-form-panel h2 {
    margin: 0 0 24px;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.02;
}

.kontakt-jsf-form .row {
    margin-bottom: 16px;
}

.kontakt-field-label {
    display: block;
    margin: 0 0 7px;
    color: var(--verein-ink);
    font-size: 14px;
    font-weight: 900;
}

.kontakt-jsf-form .form-control {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 2px solid rgba(24, 50, 60, 0.14);
    border-radius: 8px;
    background: #fbfaf6;
    color: var(--verein-ink);
    font-size: 16px;
    box-shadow: none;
}

.kontakt-jsf-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.kontakt-jsf-form .form-control:focus {
    border-color: var(--verein-blue);
    background: #ffffff;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(58, 145, 189, 0.14);
}

.kontakt-jsf-form input[type="submit"] {
    min-width: 170px;
    min-height: 48px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--verein-green);
    color: #ffffff;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(62, 143, 81, 0.24);
}

.kontakt-jsf-form input[type="submit"]:hover,
.kontakt-jsf-form input[type="submit"]:focus {
    background: var(--verein-orange);
}

.kontakt-messages {
    margin-top: 20px;
}

.kontakt-info-card {
    border-top: 8px solid var(--verein-blue);
}

.kontakt-social-card {
    border-top-color: var(--verein-gold);
}

.kontakt-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kontakt-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--verein-muted);
}

.kontakt-list i {
    margin-top: 4px;
    color: var(--verein-orange);
}

.kontakt-list a {
    color: var(--verein-ink);
    font-weight: 800;
}

.kontakt-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.kontakt-socials a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--verein-green);
    color: #ffffff;
}

.kontakt-socials a:hover {
    background: var(--verein-orange);
    color: #ffffff;
}

.kontakt-arrival {
    margin-top: 32px;
    border-top: 8px solid var(--verein-orange);
}

.kontakt-arrival-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.kontakt-arrival h2 {
    margin: 0;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
}

.kontakt-arrival-symbol {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: var(--verein-orange);
    color: #ffffff;
    font-size: 26px;
    box-shadow: 0 10px 22px rgba(230, 99, 23, 0.24);
}

.kontakt-arrival-intro {
    margin: 22px 0 18px;
    color: var(--verein-muted);
    font-size: 17px;
    line-height: 1.6;
}

.kontakt-parking-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kontakt-parking-list li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 20px;
    border: 1px solid rgba(24, 50, 60, 0.10);
    border-radius: 8px;
    background: var(--verein-cream);
}

.kontakt-parking-number {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--verein-green);
    color: #ffffff;
    font-weight: 900;
}

.kontakt-parking-list strong,
.kontakt-stroller-note strong {
    display: block;
    margin-bottom: 5px;
    color: var(--verein-ink);
    font-size: 17px;
}

.kontakt-parking-list p,
.kontakt-stroller-note p {
    margin: 0;
    color: var(--verein-muted);
    font-size: 15px;
    line-height: 1.55;
}

.kontakt-stroller-note {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-top: 20px;
    padding: 22px 24px;
    border-left: 5px solid var(--verein-gold);
    border-radius: 8px;
    background: #fff8dd;
}

.kontakt-stroller-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    background: var(--verein-gold);
    color: #ffffff;
    font-size: 23px;
}

.kontakt-map {
    overflow: hidden;
    margin-top: 32px;
    border: 10px solid #ffffff;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(24, 50, 60, 0.14);
}

.kontakt-map iframe {
    display: block;
    width: 100%;
    min-height: 360px;
}

@media (max-width: 900px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-parking-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .kontakt-arrival-head {
        align-items: center;
    }

    .kontakt-arrival-symbol {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .kontakt-parking-list li {
        padding: 17px;
    }

    .kontakt-stroller-note {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 18px;
    }

    .kontakt-stroller-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }
}

/* Impressum und Datenschutz */
.legal-content {
    max-width: 980px;
}

.legal-panel {
    min-height: 120px;
}

.legal-panel h2 {
    margin-bottom: 18px;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.05;
}

.legal-panel p {
    color: var(--verein-muted);
    font-size: 16px;
    line-height: 1.75;
}

.legal-panel a {
    color: var(--verein-green);
    font-weight: 800;
}

/* Startseite Slider */
#layerslider .domino-slide-text {
    max-width: 660px;
    padding: 26px 30px 30px;
    border-radius: 8px !important;
    background: rgba(24, 50, 60, 0.78);
    box-shadow: 0 22px 48px rgba(24, 50, 60, 0.24);
}

#layerslider .domino-slide-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #4f7e68;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#layerslider .domino-slide-text h1 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.98;
    text-shadow: none;
}

#layerslider .domino-slide-text .subtitle {
    max-width: 580px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.4;
}

#layerslider .ls-bg {
    filter: saturate(1.05) contrast(1.02);
}

/* Domino Startseite */
.domino-home {
    background: #f4efe3;
    color: #18323c;
    overflow: hidden;
}

.domino-home .section-heading h2,
.domino-home h2,
.domino-home h3 {
    color: #18323c;
}

.home-eyebrow {
    margin-bottom: 12px;
    color: #e66317;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-welcome,
.home-categories,
.home-service-preview,
.home-team-section,
.home-gallery-strip,
.home-contact-section {
    padding-top: 74px;
    padding-bottom: 74px;
}

#main .home-categories.container,
#main .home-service-preview.container {
    padding-right: 12px;
    padding-left: 12px;
}

.home-welcome h2,
.home-program-band h2,
.home-contact-card h2 {
    margin: 0 0 18px;
    font-family: "Baloo", "Segoe UI", Arial, sans-serif;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.02;
}

.home-lead {
    color: #2b2b2b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
}

.home-welcome p,
.home-program-band p,
.home-contact-card p {
    color: #695f57;
    font-size: 17px;
    line-height: 1.7;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.home-photo-pair {
    position: relative;
    min-height: 470px;
}

.home-photo-large,
.home-photo-small {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 20px 46px rgba(24, 50, 60, 0.22);
}

.home-photo-large {
    top: 0;
    right: 0;
    width: 84%;
    height: 390px;
    border: 10px solid #ffffff;
    border-radius: 42px 42px 42px 10px;
}

.home-photo-small {
    left: 0;
    bottom: 0;
    width: 48%;
    height: 220px;
    border: 8px solid #ffffff;
    border-radius: 50%;
}

.home-category-card {
    display: flex;
    min-height: 250px;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
    border-radius: 8px;
    border-top: 8px solid var(--accent);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.home-category-card:hover {
    transform: translateY(-4px);
}

.home-category-card img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 16px;
}

.home-category-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.15;
}

.home-category-card p {
    margin: 0;
    color: #695f57;
    font-size: 15px;
    line-height: 1.55;
}

.home-program-band {
    padding: 72px 0;
    background: #3a82ad;
}

.home-program-band h2,
.home-program-band p,
.home-program-band .home-eyebrow {
    color: #ffffff;
}

.home-program-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.home-service-box {
    height: 100%;
    background: var(--service-color) !important;
}

.home-service-box > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-service-box .service-content {
    text-align: center;
}

.home-service-box .title {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.12;
}

.home-service-box .service-content a {
    color: #18323c;
    font-weight: 900;
}

.home-service-box .home-service-link {
    margin-top: 12px;
    padding: 10px 18px;
    background: #ffffff;
    color: #18323c !important;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-service-box .home-service-link:hover,
.home-service-box .home-service-link:focus {
    background: #4f7e68;
    color: #ffffff !important;
}

.home-voice {
    background: #4f7e68;
}

.home-quote-card {
    height: 100%;
    padding: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.home-quote-card p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.55;
}

.home-quote-card strong {
    color: #ffffff;
}

.home-team-intro {
    display: grid;
    grid-template-columns: minmax(420px, 0.56fr) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.home-team-intro img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    border-radius: 8px;
}

.home-team-intro h3 {
    margin: 0 0 12px;
    font-size: 32px;
}

.home-team-intro p {
    color: #695f57;
    font-size: 16px;
    line-height: 1.65;
}

.home-team-card {
    overflow: hidden;
    margin: 0 10px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.home-team-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.home-team-info {
    padding: 18px;
}

.home-team-info h4 {
    margin: 0 0 8px;
    color: #18323c;
    font-size: 21px;
}

.home-team-text,
.home-team-text p {
    color: #695f57;
    font-size: 14px;
    line-height: 1.55;
}

.home-gallery-strip {
    background: #ffffff;
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border: 8px solid #f4efe3;
    border-radius: 8px;
}

.home-contact-section#contact {
    background-color: #f4efe3;
    background-image: none;
}

.home-contact-card,
.home-map {
    height: 100%;
    padding: 30px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 50, 60, 0.08);
}

.home-map {
    overflow: hidden;
    padding: 0;
}

.home-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
}

@media (max-width: 991px) {
    .home-map,
    .home-map iframe {
        height: 440px;
        min-height: 440px;
    }
}

@media (max-width: 991px) {
    .home-program-actions {
        justify-content: flex-start;
    }

    .home-team-intro {
        grid-template-columns: 1fr;
    }

    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-photo-pair {
        min-height: auto;
    }

    .home-photo-large,
    .home-photo-small {
        position: static;
        width: 100%;
        height: auto;
        margin-top: 16px;
        border-radius: 24px;
    }

    .home-gallery-grid {
        grid-template-columns: 1fr;
    }
}

