/* =========================================================
   Jordarter – Startseite (einheitliches Design)
========================================================= */

html:has(.page-home) {
    scroll-behavior: smooth;
}

.page-home {
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(13, 188, 249, 0.2);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);

    --section-pad-y: clamp(4rem, 8vw, 6.5rem);
    --section-gap: clamp(2rem, 4vw, 3.5rem);
    --section-header-inner-gap: 0.5rem;
    --section-header-margin-bottom: var(--section-gap);
    --content-max: 1200px;
    --content-wide: 1400px;

    --brand-glow: rgba(13, 188, 249, 0.45);
    --surface-card: rgba(35, 41, 51, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(13, 188, 249, 0.35);
}

.page-home .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Layout primitives ---- */

.page-home .section {
    padding: var(--section-pad-y) 1.5rem;
    position: relative;
}

.page-home .section--muted {
    background-color: var(--secondary-color);
}

.page-home .section--contact {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.page-home .section-inner {
    width: min(var(--content-max), 100%);
    margin: 0 auto;
}

.page-home #dates .section-inner,
.page-home #event .section-inner,
.page-home .section--contact .section-inner {
    width: min(var(--content-wide), 100%);
}

.page-home .section-head,
.page-home .team-intro.section-head {
    margin: 0 0 var(--section-header-margin-bottom);
    padding: 0;
    max-width: 40rem;
}

.page-home .section-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--section-header-inner-gap);
}

.page-home .section-head--left .section-title-group {
    width: fit-content;
    max-width: 100%;
}

.page-home .section-head--left .section-title,
.page-home .team-intro .section-title,
.page-home .section-title-group .partners-title {
    text-align: center;
}

.page-home .section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 36rem;
}

.page-home .section-head--center .section-title-group {
    align-items: center;
}

.page-home .section-head--left {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    max-width: none;
    width: 100%;
}

.page-home .section-eyebrow {
    display: inline-block;
    margin: 0;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--main-brand-color);
    background: rgba(13, 188, 249, 0.12);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-pill);
}

.page-home .section-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.05;
    font-weight: 700;
    color: var(--main-brand-color);
    margin: 0;
}

.page-home .section-lead {
    margin: clamp(0.85rem, 2vw, 1rem) 0 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--secondary-text-color);
}

/* ---- Navigation ---- */

.page-home .site-nav {
    margin-top: 0;
}

.page-home .open-sidebar-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-md);
    background: rgba(21, 23, 28, 0.75);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    color: var(--text-color);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-home .open-sidebar-button:hover {
    border-color: var(--border-accent);
    transform: translateY(-1px);
}

.page-home .links-container {
    background: rgba(15, 17, 22, 0.95);
    border-left: 1px solid var(--border-subtle);
    padding-top: 5.5rem;
    z-index: 10050;
}

.page-home .links-container a {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.35rem 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-home .links-container a:hover {
    color: var(--main-brand-color);
    padding-left: 0.35rem;
}

.page-home #overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 10040;
    transition: opacity 0.35s ease;
}

/* ---- Hero ---- */

.page-home header.hero {
    padding: clamp(5rem, 12vw, 7rem) 1.5rem clamp(4rem, 8vw, 6rem);
    background:
        radial-gradient(ellipse 80% 60% at 10% -10%, rgba(13, 188, 249, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 50% at 95% 80%, rgba(13, 188, 249, 0.08), transparent 50%),
        var(--primary-color);
    border-bottom: 1px solid var(--border-subtle);
}

.page-home .hero-inner {
    width: min(var(--content-wide), 100%);
    margin: 0 auto;
}

.page-home .hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary-text-color);
    margin-bottom: 0.75rem;
}

.page-home header.hero h1 {
    font-size: clamp(3.2rem, 10vw, 6.5rem);
    line-height: 1;
    margin: 0;
    background: linear-gradient(135deg, var(--main-brand-color) 0%, #6ee4ff 55%, var(--main-brand-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.page-home .hero-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: clamp(0.85rem, 2.5vw, 1.75rem);
    margin: 0 0 clamp(1.5rem, 3.5vw, 2.5rem);
}

.page-home .hero-dart-scene {
    position: relative;
    flex: 0 0 auto;
    width: clamp(4rem, 11vw, 5.5rem);
    height: clamp(4rem, 11vw, 5.5rem);
    margin: 0;
}

.page-home .hero-dart-board {
    display: block;
    width: 100%;
    height: 100%;
}

.page-home .hero-dart-board__ring {
    fill: none;
    stroke: rgba(13, 188, 249, 0.22);
    stroke-width: 1.15;
}

.page-home .hero-dart-board__ring--outer {
    stroke: rgba(13, 188, 249, 0.16);
}

.page-home .hero-dart-board__ring:nth-of-type(2) {
    stroke: rgba(13, 188, 249, 0.34);
}

.page-home .hero-dart-board__ring:nth-of-type(3) {
    stroke: rgba(13, 188, 249, 0.48);
}

.page-home .hero-dart-board__bullseye {
    fill: var(--main-brand-color);
    transform-box: fill-box;
    transform-origin: center;
    animation: hero-bullseye-hit 5.5s ease-in-out infinite;
}

.page-home .hero-dart {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 118%;
    height: auto;
    overflow: visible;
    pointer-events: none;
    transform-origin: 7% 50%;
    transform: translate(-7%, -50%) translateX(85%);
    animation: hero-dart-throw 5.5s ease-in-out infinite;
    will-change: transform, opacity;
}

.page-home .hero-dart__point {
    fill: url(#heroDartPoint);
}

.page-home .hero-dart__barrel {
    fill: url(#heroDartBarrel);
}

.page-home .hero-dart__shaft {
    fill: #2a323c;
}

.page-home .hero-dart__flight {
    fill: rgba(13, 188, 249, 0.72);
}

.page-home .hero-dart__flight-fold {
    fill: none;
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 0.65;
    stroke-linecap: round;
}

@keyframes hero-dart-throw {
    0%,
    100% {
        opacity: 0;
        transform: translate(-7%, -50%) translateX(85%) scale(0.94);
    }

    7% {
        opacity: 1;
    }

    46% {
        opacity: 1;
        transform: translate(-7%, -50%) translateX(0) scale(1);
    }

    50% {
        transform: translate(-7%, -50%) translateX(-0.04rem) scale(1);
    }

    54% {
        transform: translate(-7%, -50%) translateX(0) scale(1);
    }

    80% {
        opacity: 1;
        transform: translate(-7%, -50%) translateX(0) scale(1);
    }

    92% {
        opacity: 0;
        transform: translate(-7%, -50%) translateX(0) scale(0.98);
    }
}

@keyframes hero-bullseye-hit {
    0%,
    42%,
    100% {
        fill: var(--main-brand-color);
        filter: drop-shadow(0 0 0 rgba(13, 188, 249, 0));
        transform: scale(1);
    }

    50% {
        fill: #6ee4ff;
        filter: drop-shadow(0 0 8px rgba(110, 228, 255, 0.85));
        transform: scale(1.18);
    }

    60% {
        fill: var(--main-brand-color);
        filter: drop-shadow(0 0 4px rgba(13, 188, 249, 0.45));
        transform: scale(1);
    }
}

@media (max-width: 520px) {
    .page-home .hero-dart-scene {
        width: clamp(3.6rem, 18vw, 4.5rem);
        height: clamp(3.6rem, 18vw, 4.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .hero-dart {
        animation: none;
        opacity: 1;
        transform: translate(-7%, -50%) translateX(0);
    }

    .page-home .hero-dart-board__bullseye {
        animation: none;
        transform: none;
    }
}

.page-home .header_main_content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: 0;
}

.page-home .header_text_information {
    width: 100%;
    max-width: 36rem;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.75;
}

.page-home .header_picture {
    width: clamp(220px, 28vw, 380px);
    height: clamp(220px, 28vw, 380px);
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--border-accent);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .header_picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.page-home .header_picture:hover {
    border-color: var(--main-brand-color);
    transform: scale(1.04);
    box-shadow: 0 0 48px rgba(13, 188, 249, 0.35);
}

.page-home .header_picture:hover img {
    transform: scale(1.08);
}

/* ---- Team ---- */

.page-home #team {
    display: block;
    padding: var(--section-pad-y) 1.5rem;
    justify-content: initial;
    align-items: initial;
}

.page-home #team .section-inner {
    width: min(var(--content-wide), 100%);
}

.page-home .team-layout {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.page-home .team-intro.section-head {
    max-width: none;
}

.page-home #team .section-title {
    width: auto;
    display: block;
    padding: 0;
    text-align: inherit;
}

@media (min-width: 1025px) {
    .page-home .team-intro {
        position: sticky;
        top: 5.5rem;
    }
}

.page-home .team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    row-gap: 1.25rem;
    width: 100% !important;
    margin: 0 !important;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    justify-items: stretch;
}

.page-home .team-member {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 1rem 0.65rem 0.85rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--primary-color);
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease,
        z-index 0s ease 0.25s;
}

.page-home .team-member:hover,
.page-home .team-member:active,
.page-home .team-member:focus-visible {
    z-index: 2;
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), 0 0 28px rgba(13, 188, 249, 0.15);
    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease,
        z-index 0s ease;
}

.page-home .team-member:focus-visible {
    outline: 2px solid var(--main-brand-color);
    outline-offset: 3px;
}

.page-home .team-member-photo {
    display: block;
    width: min(100%, 7.5rem);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(13, 188, 249, 0.25);
    background: var(--light-secondary-color);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.3s ease;
}

.page-home .team-member:hover .team-member-photo,
.page-home .team-member:active .team-member-photo,
.page-home .team-member:focus-visible .team-member-photo {
    border-color: var(--main-brand-color);
    box-shadow: 0 0 24px rgba(13, 188, 249, 0.45);
    transform: scale(1.18);
}

.page-home .team-member img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0;
    object-fit: cover;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    filter: none !important;
    transition: transform 0.3s ease;
}

.page-home .team-member:hover img,
.page-home .team-member:active img,
.page-home .team-member:focus-visible img {
    transform: scale(1.08);
    filter: none !important;
    box-shadow: none !important;
}

.page-home #team .team-member-photo img:hover {
    transform: scale(1.08);
    border-color: transparent;
}

.page-home .team-member-name {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--secondary-text-color);
    transition: color 0.2s ease;
    word-break: break-word;
}

.page-home .team-member:hover .team-member-name,
.page-home .team-member:active .team-member-name,
.page-home .team-member:focus-visible .team-member-name {
    color: var(--main-brand-color);
}

/* ---- Chronik ---- */

.page-home #chronicle {
    background-color: var(--primary-color);
}

.page-home #chronicle .timeline {
    max-width: 52rem;
    padding: 0;
}

.page-home #chronicle .timeline::before {
    content: "";
    position: absolute;
    left: 5.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--main-brand-color), rgba(13, 188, 249, 0.15));
    border-radius: 2px;
}

.page-home #chronicle .event {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.75rem;
    padding-left: 0;
}

.page-home #chronicle .date {
    flex: none;
    width: auto;
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    background: var(--main-brand-color);
    color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(13, 188, 249, 0.35);
}

.page-home #chronicle .content {
    flex: none;
    margin-left: 0;
    padding: 1.35rem 1.5rem;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.page-home #chronicle .content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: var(--text-color);
}

.page-home #chronicle .content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--secondary-text-color);
}

.page-home #chronicle .arrow {
    display: none;
}

/* ---- Aktivitäten ---- */

.page-home #dates {
    padding: var(--section-pad-y) 1.5rem;
}

.page-home #dates .section-title {
    width: auto;
    display: block;
    padding: 0;
    text-align: inherit;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.page-home #dates .flex-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.page-home #dates .card {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: none;
    height: 100%;
    justify-content: flex-start;
    gap: 0;
    text-align: left;
    background: var(--primary-color);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home #dates .card * {
    text-align: left;
}

.page-home #dates .card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.page-home #dates .card-title,
.page-home #dates h4 {
    font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
    white-space: normal;
    min-height: 3.5rem;
    margin: 0 0 1rem;
    line-height: 1.2;
    color: var(--main-brand-color);
}

.page-home #dates .card p {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    line-height: 1.65;
}

.page-home #dates .card p:last-of-type {
    margin-bottom: 1.25rem;
}

.page-home #dates .card--training .training-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: auto;
    width: 100%;
}

.page-home #dates .training-calendar-btn {
    width: 100%;
    max-width: 100%;
}

.page-home #dates .card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: auto;
    margin-inline: 0;
    align-self: stretch;
    padding: 0.85rem 1.6rem;
    width: 100%;
    max-width: 100%;
    min-height: 3rem;

    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-align: center;
    color: var(--primary-color);
    background-color: var(--main-brand-color);
    border: 2px solid var(--main-brand-color);
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 20px rgba(13, 188, 249, 0.28);
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.page-home #dates .card-link + .card-link {
    margin-top: 0.45rem;
}

.page-home #dates .card-link::after {
    content: "";
    flex-shrink: 0;
    width: 0.95em;
    height: 0.95em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h8M9 4l4 4-4 4' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h8M9 4l4 4-4 4' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.2s ease;
}

.page-home #dates .card-link--external::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 11.5 11.5 4.5M11.5 4.5H6.5M11.5 4.5v5' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 11.5 11.5 4.5M11.5 4.5H6.5M11.5 4.5v5' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-home #dates .card-link:hover {
    color: var(--main-brand-color);
    background-color: transparent;
    box-shadow: 0 8px 24px rgba(13, 188, 249, 0.38);
    transform: translateY(-2px);
}

.page-home #dates .card-link:hover::after {
    transform: translate(3px, -2px);
}

.page-home #dates .card-link:focus-visible {
    outline: 2px solid var(--text-color);
    outline-offset: 3px;
}

/* ---- Training: Probetraining-Callout ---- */

.page-home #dates .card--training {
    overflow: hidden;
}

.page-home .training-trial-callout {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0 0 1.15rem;
    padding: 1rem 1.05rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(13, 188, 249, 0.45);
    background:
        linear-gradient(135deg, rgba(13, 188, 249, 0.16) 0%, rgba(13, 188, 249, 0.05) 100%);
    box-shadow: 0 0 0 0 rgba(13, 188, 249, 0.25);
    animation: training-callout-glow 3.2s ease-in-out infinite;
}

.page-home .training-trial-callout::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(110, 228, 255, 0.35);
    opacity: 0.55;
    animation: training-callout-shimmer 3.2s ease-in-out infinite;
    pointer-events: none;
}

.page-home .training-trial-callout__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: rgba(13, 188, 249, 0.18);
    border: 1px solid rgba(13, 188, 249, 0.45);
    animation: training-dart-pulse 2.4s ease-in-out infinite;
}

.page-home .training-trial-callout__dart {
    position: relative;
    display: block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--main-brand-color);
    box-shadow: 0 0 10px rgba(13, 188, 249, 0.75);
    animation: training-dart-hit 2.4s ease-in-out infinite;
}

.page-home .training-trial-callout__dart::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 0.85rem;
    height: 2px;
    margin-right: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), var(--main-brand-color));
    transform: translateY(-50%);
}

.page-home .training-trial-callout__content {
    flex: 1;
    min-width: 0;
}

.page-home .training-trial-callout__eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--main-brand-color);
}

.page-home .training-trial-callout__text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-color);
}

.page-home .training-trial-callout__text strong {
    color: var(--main-brand-color);
    font-weight: 600;
}

@keyframes training-callout-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(13, 188, 249, 0.18);
    }

    50% {
        box-shadow: 0 0 28px rgba(13, 188, 249, 0.28);
    }
}

@keyframes training-callout-shimmer {
    0%,
    100% {
        opacity: 0.35;
        box-shadow: inset 0 0 0 0 rgba(110, 228, 255, 0);
    }

    50% {
        opacity: 1;
        box-shadow: inset 0 0 22px rgba(110, 228, 255, 0.18);
    }
}

@keyframes training-dart-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes training-dart-hit {
    0%,
    78%,
    100% {
        transform: scale(1);
    }

    84% {
        transform: scale(1.35);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .training-trial-callout,
    .page-home .training-trial-callout__icon,
    .page-home .training-trial-callout__dart {
        animation: none;
    }

    .page-home .training-trial-callout::before {
        animation: none;
        background-position: 50% 0;
    }
}

/* ---- Events ---- */

.page-home #event {
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.page-home #event.section {
    padding: var(--section-pad-y) 1.5rem;
}

.page-home .event-panel {
    width: 100%;
    margin: 0;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: var(--primary-color);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.page-home .next-event-banner {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.1rem, 3vw, 1.35rem);
    background: rgba(13, 188, 249, 0.08);
    border: 1px solid rgba(13, 188, 249, 0.28);
    border-radius: var(--radius-lg);
}

.page-home .next-event-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
}

.page-home .next-event-banner__copy {
    min-width: min(100%, 16rem);
}

.page-home .next-event-banner__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--main-brand-color);
}

.page-home .next-event-banner__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
}

.page-home .next-event-banner__meta {
    margin: 0;
    font-size: 0.92rem;
    color: var(--secondary-text-color);
}

.page-home .next-event-banner__cta {
    flex-shrink: 0;
}

.page-home #event .event-note {
    margin: 1.75rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

.page-home .event-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

.page-home .event-copy p {
    margin: 0 0 1.25rem;
    color: var(--secondary-text-color);
    line-height: 1.75;
    font-size: 0.95rem;
}

.page-home .event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.page-home .competition-ranking {
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.page-home .competition-ranking__panel {
    width: 100%;
}

.page-home .competition-ranking__inner {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: rgba(13, 188, 249, 0.06);
    border: 1px solid rgba(13, 188, 249, 0.22);
    border-radius: var(--radius-lg);
}

.page-home .competition-ranking__inner--loading {
    min-height: 8rem;
    display: grid;
    place-items: center;
}

.page-home .competition-ranking__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

.page-home .competition-ranking__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--main-brand-color);
}

.page-home .competition-ranking__title {
    margin: 0;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-color);
}

.page-home .competition-ranking__series {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    color: var(--secondary-text-color);
}

.page-home .competition-ranking__updated {
    margin: 0;
    font-size: 0.82rem;
    color: var(--secondary-text-color);
    white-space: nowrap;
}

.page-home .competition-ranking__table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.page-home .competition-ranking__table {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.18);
}

.page-home .competition-ranking__table th,
.page-home .competition-ranking__table td {
    padding: 0.72rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.page-home .competition-ranking__table th {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-text-color);
    background: rgba(0, 0, 0, 0.22);
}

.page-home .competition-ranking__table tbody tr:last-child td {
    border-bottom: 0;
}

.page-home .competition-ranking__cell {
    font-size: 0.92rem;
    color: var(--text-color);
}

.page-home .competition-ranking__cell--place {
    width: 4.5rem;
    font-weight: 700;
    color: var(--main-brand-color);
}

.page-home .competition-ranking__cell--points,
.page-home .competition-ranking__cell--events,
.page-home .competition-ranking__cell--avg {
    width: 7rem;
    white-space: nowrap;
}

.page-home .competition-ranking__row--hidden {
    display: none;
}

.page-home .competition-ranking__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
}

.page-home .competition-ranking__external {
    font-size: 0.88rem;
    color: var(--main-brand-color);
    text-decoration: none;
}

.page-home .competition-ranking__external:hover,
.page-home .competition-ranking__external:focus-visible {
    text-decoration: underline;
}

.page-home .competition-ranking__message {
    margin: 0;
    color: var(--secondary-text-color);
}

.page-home .competition-ranking__message--error {
    color: #ffb4b4;
}

.page-home .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .btn--primary {
    color: var(--primary-color);
    background: var(--main-brand-color);
    border-color: var(--main-brand-color);
    box-shadow: 0 6px 20px rgba(13, 188, 249, 0.3);
}

.page-home .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(13, 188, 249, 0.4);
}

.page-home .btn--ghost {
    color: var(--main-brand-color);
    background: transparent;
    border-color: var(--border-accent);
}

.page-home .btn--ghost:hover {
    background: rgba(13, 188, 249, 0.1);
    transform: translateY(-2px);
}

.page-home .event-flyer {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.page-home .event-flyer img {
    display: block;
    width: 100%;
    height: auto;
}

.page-home .event-note {
    margin: 1.75rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    line-height: 1.65;
}

/* ---- Sponsoren & Partner (Nebeninhalt) ---- */

.page-home .section--partners {
    padding: clamp(2rem, 4.5vw, 3rem) 1.5rem;
    background: transparent;
    border-top: 1px solid var(--border-subtle);
}

.page-home .partners-head {
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 28rem;
}

.page-home .section--partners .section-eyebrow {
    font-size: 0.62rem;
    padding: 0.28rem 0.65rem;
    letter-spacing: 0.1em;
    opacity: 0.85;
}

.page-home .partners-title {
    margin: 0;
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary-text-color);
}

.page-home .partners-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
    gap: clamp(0.65rem, 1.8vw, 1rem);
    max-width: 42rem;
}

.page-home .partner-item {
    margin: 0;
    min-width: 0;
}

.page-home .partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(4.5rem, 12vw, 5.75rem);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(0.85rem, 2.2vw, 1.15rem);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home a.partner-card:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 188, 249, 0.35);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}

.page-home a.partner-card:focus-visible {
    outline: 2px solid var(--main-brand-color);
    outline-offset: 3px;
}

.page-home .partner-item--featured {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 36rem);
}

.page-home .partner-featured-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: 100%;
}

.page-home .partner-maxl-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "bubble figure";
    align-items: end;
    gap: 0.35rem 0.65rem;
    min-height: 6.75rem;
    padding: 0.75rem 0.75rem 0;
    overflow: hidden;
    border: 1px solid rgba(13, 188, 249, 0.28);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 78% 12%, rgba(13, 188, 249, 0.14), transparent 52%),
        linear-gradient(180deg, rgba(35, 41, 51, 0.88) 0%, rgba(10, 12, 16, 0.98) 100%);
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.page-home a.partner-maxl-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 188, 249, 0.55);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.28),
        0 0 32px rgba(13, 188, 249, 0.16);
}

.page-home a.partner-maxl-cta:focus-visible {
    outline: 2px solid var(--main-brand-color);
    outline-offset: 3px;
}

.page-home .partner-maxl-cta__bubble {
    grid-area: bubble;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    align-self: center;
    margin: 0;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 17, 22, 0.92);
    border: 1px solid rgba(13, 188, 249, 0.35);
    animation: maxl-bubble-soft 4.8s ease-in-out infinite;
}

.page-home .partner-maxl-cta__eyebrow {
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-text-color);
}

.page-home .partner-maxl-cta__text {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--main-brand-color);
}

.page-home .partner-maxl-cta__figure {
    grid-area: figure;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: clamp(5.5rem, 24vw, 7.5rem);
    height: clamp(6.5rem, 28vw, 8.75rem);
    overflow: hidden;
    transform-origin: center bottom;
    animation: maxl-character-float 4.8s ease-in-out infinite;
}

.page-home .partner-maxl-cta__figure img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: contain;
    object-position: bottom center;
}

@keyframes maxl-character-float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    40% {
        transform: translateY(-6px) rotate(-1deg);
    }

    70% {
        transform: translateY(-2px) rotate(0.6deg);
    }
}

@keyframes maxl-bubble-soft {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-2px) scale(1.04);
        opacity: 1;
    }
}

.page-home .partner-card--featured {
    flex-direction: column;
    gap: 0.75rem;
    min-height: clamp(5.75rem, 14vw, 7rem);
    padding: clamp(0.95rem, 2.4vw, 1.25rem) clamp(1rem, 2.5vw, 1.35rem);
    border: 1px solid rgba(13, 188, 249, 0.45);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(240, 250, 255, 0.97) 100%);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.22),
        0 0 32px rgba(13, 188, 249, 0.14);
}

.page-home a.partner-card--featured:hover {
    border-color: var(--main-brand-color);
    box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.28),
        0 0 40px rgba(13, 188, 249, 0.24);
}

.page-home .partner-badge {
    display: inline-block;
    margin: 0;
    padding: 0.32rem 0.8rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--main-brand-color);
    background: rgba(13, 188, 249, 0.12);
    border: 1px solid rgba(13, 188, 249, 0.35);
    border-radius: var(--radius-pill);
}

.page-home .partner-card img {
    display: block;
    width: 100%;
    max-width: 10.5rem;
    height: auto;
    max-height: 3rem;
    object-fit: contain;
    object-position: center;
}

.page-home .partner-item--featured .partner-card img {
    max-width: 9.5rem;
    max-height: 4.75rem;
}

@media (min-width: 768px) {
    .page-home .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: min(100%, 36rem);
        margin-inline: auto;
    }

    .page-home .partner-item--featured {
        width: 100%;
    }
}

@media (min-width: 1025px) {
    .page-home .partner-featured-wrap {
        grid-template-columns: minmax(0, 1fr) minmax(10rem, 12rem);
        align-items: stretch;
        gap: 0.75rem;
    }

    .page-home .partner-maxl-cta {
        grid-template-columns: 1fr;
        grid-template-areas:
            "bubble"
            "figure";
        justify-items: center;
        min-height: 100%;
        padding: 0.85rem 0.5rem 0;
    }

    .page-home .partner-maxl-cta__bubble {
        align-items: center;
        align-self: center;
    }

    .page-home .partner-maxl-cta__figure {
        width: 100%;
        height: clamp(7.5rem, 12vw, 9.5rem);
    }
}

@media (max-width: 1024px) {
    .page-home .partners-grid {
        max-width: min(100%, 22rem);
        margin-inline: auto;
    }

    .page-home .partner-item--featured {
        width: 100%;
    }
}

@media (max-width: 767px) and (orientation: portrait) {
    .page-home .hero-eyebrow {
        text-align: left;
    }

    .page-home .hero-title-row {
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .page-home header.hero h1 {
        text-align: left;
    }

    .page-home .partners-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-inline: auto;
        gap: 0.75rem;
    }

    .page-home .partner-item,
    .page-home .partner-item--featured {
        grid-column: auto;
        justify-self: stretch;
        width: 100%;
    }

    .page-home .partner-card,
    .page-home .partner-card--featured {
        min-height: 4.75rem;
    }

    .page-home .partner-item--featured .partner-card img {
        max-height: 4.25rem;
    }

    .page-home .partner-maxl-cta {
        min-height: 6.25rem;
        padding: 0.7rem 0.7rem 0;
    }

    .page-home .partner-maxl-cta__figure {
        width: clamp(5rem, 22vw, 6.75rem);
        height: clamp(6rem, 26vw, 7.5rem);
    }

    .page-home footer#contact .grid_item {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
        align-self: stretch;
    }

    .page-home footer#contact #item3.grid_item {
        width: 100%;
        justify-self: stretch;
    }

    .page-home footer#contact .grid_item--news {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

    .page-home footer#contact .grid_item--contact .contact-details {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 932px) and (max-height: 430px) and (orientation: landscape) {
    .page-home .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 100%;
        gap: 0.65rem;
    }

    .page-home .partner-item--featured {
        grid-column: 1 / -1;
        width: 100%;
    }

    .page-home .partner-maxl-cta__figure {
        width: 5.5rem;
        height: 6.25rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .page-home .partners-grid {
        max-width: min(100%, 28rem);
        margin-inline: auto;
    }
}

@media (max-width: 480px) {
    .page-home .section--partners {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-home .partner-card img {
        max-height: 2.65rem;
    }

    .page-home .partner-item--featured .partner-card img {
        max-height: 4rem;
    }

    .page-home .partner-maxl-cta {
        min-height: 6rem;
        padding: 0.65rem 0.65rem 0;
        gap: 0.25rem 0.5rem;
    }

    .page-home .partner-maxl-cta__bubble {
        padding: 0.42rem 0.62rem;
    }

    .page-home .partner-maxl-cta__text {
        font-size: 0.68rem;
    }

    .page-home .partner-maxl-cta__figure {
        width: 4.75rem;
        height: 5.75rem;
    }
}

/* ---- Kontakt ---- */

.page-home footer#contact {
    padding: var(--section-pad-y) 1.5rem;
}

.page-home footer#contact h5 {
    display: none;
}

.page-home .grid-container {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 1rem;
    grid-template-rows: none;
    grid-auto-rows: minmax(min-content, auto);
    align-items: stretch;
}

.page-home .grid_item {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(21, 23, 28, 0.65);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.25s ease, transform 0.25s ease;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-home .grid_item:hover {
    border-color: var(--border-accent);
}

.page-home .grid-card-title {
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 600;
    color: var(--main-brand-color);
    line-height: 1.2;
}

.page-home .grid_item h6 {
    display: none;
}

.page-home .grid_item p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--secondary-text-color);
}

.page-home .grid_item p strong {
    color: var(--text-color);
}

.page-home .grid_item a {
    color: var(--main-brand-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page-home .grid_item a:not(.social-link):not(.map-route-link):not(.instagram-feed__profile-link):not(.facebook-feed__profile-link):hover {
    color: #6ee4ff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.page-home .grid_item--social {
    gap: 1rem;
}

.page-home .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    padding: 1rem;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .social-link:hover {
    color: inherit;
    text-decoration: none;
    border-color: var(--main-brand-color);
    transform: scale(1.08);
    box-shadow: 0 0 28px rgba(13, 188, 249, 0.35);
}

.page-home .social-link:hover img {
    filter: brightness(1.15);
    transform: scale(1.06);
}

.page-home .grid_item--social img {
    width: auto;
    height: auto;
    max-width: 3rem;
    max-height: 3rem;
}

.page-home .social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.page-home .grid_item--news {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    justify-self: start;
    align-self: start;
    width: fit-content;
    max-width: min(100%, 40rem);
    padding: clamp(1rem, 1.5vw, 1.25rem);
}

.page-home .grid_item--contact {
    align-items: flex-start;
    text-align: left;
    min-width: 0;
    height: 100%;
    align-self: stretch;
}

.page-home .grid_item--contact .contact-details {
    width: max-content;
    max-width: 100%;
    min-width: 0;
}

.page-home .contact-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1.35rem;
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--main-brand-color);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .page-home .contact-save-btn:hover {
        background: rgba(13, 188, 249, 0.1);
        border-color: var(--main-brand-color);
        transform: translateY(-1px);
    }
}

.page-home .contact-save-btn:active {
    background: rgba(13, 188, 249, 0.1);
    border-color: var(--main-brand-color);
}

.page-home .contact-save-btn:focus-visible {
    outline: 2px solid var(--main-brand-color);
    outline-offset: 3px;
}

.page-home .grid_item--instagram {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 0.75rem;
    justify-self: stretch;
    align-self: start;
    width: 100%;
    max-width: none;
    padding: clamp(1rem, 1.5vw, 1.25rem);
}

.page-home .grid_item--instagram .grid-card-title {
    margin-bottom: 0;
}

.page-home .instagram-feed {
    width: 100%;
}

.page-home .instagram-feed__profile {
    width: 100%;
    max-width: none;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: rgba(21, 23, 28, 0.45);
}

.page-home .instagram-feed__profile-frame {
    display: block;
    width: 100%;
    min-height: 0;
    height: clamp(16rem, 48vw, 22rem);
    border: 0;
    background: transparent;
}

.page-home .instagram-feed__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1rem);
    width: 100%;
}

.page-home .instagram-feed__post {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.page-home .instagram-feed__post iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.page-home .instagram-feed__profile-link,
.page-home .facebook-feed__profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-height: 3rem;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    color: #fff;
    border: 2px solid transparent;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        filter 0.2s ease;
}

.page-home .instagram-feed__profile-link {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
    box-shadow: 0 6px 20px rgba(221, 42, 123, 0.32);
}

.page-home .facebook-feed__profile-link {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.32);
}

.page-home .instagram-feed__profile-link-label,
.page-home .facebook-feed__profile-link-label {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    line-height: 1.2;
    color: inherit;
}

.page-home .instagram-feed__profile-link::after,
.page-home .facebook-feed__profile-link::after {
    content: "";
    flex-shrink: 0;
    width: 0.95em;
    height: 0.95em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 11.5 11.5 4.5M11.5 4.5H6.5M11.5 4.5v5' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 11.5 11.5 4.5M11.5 4.5H6.5M11.5 4.5v5' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.2s ease;
}

.page-home .instagram-feed__profile-link:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.08);
    box-shadow: 0 10px 28px rgba(221, 42, 123, 0.42);
    transform: translateY(-2px);
}

.page-home .facebook-feed__profile-link:hover {
    color: #fff;
    text-decoration: none;
    background: #166fe5;
    border-color: #166fe5;
    box-shadow: 0 10px 28px rgba(24, 119, 242, 0.42);
    transform: translateY(-2px);
}

.page-home .instagram-feed__profile-link:hover::after,
.page-home .facebook-feed__profile-link:hover::after {
    transform: translate(2px, -2px);
}

.page-home .instagram-feed__profile-link:active,
.page-home .instagram-feed__profile-link:focus,
.page-home .instagram-feed__profile-link:visited,
.page-home .facebook-feed__profile-link:active,
.page-home .facebook-feed__profile-link:focus,
.page-home .facebook-feed__profile-link:visited {
    color: #fff;
    text-decoration: none;
}

.page-home .instagram-feed__profile-link:visited {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
}

.page-home .facebook-feed__profile-link:visited {
    background: #1877f2;
    border-color: #1877f2;
}

.page-home .instagram-feed__profile-link:focus-visible,
.page-home .facebook-feed__profile-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .page-home .instagram-feed__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .page-home .instagram-feed__grid {
        grid-template-columns: 1fr;
    }

    .page-home .instagram-feed__profile-frame {
        min-height: 16rem;
        height: clamp(16rem, 72vw, 22rem);
    }
}

.page-home .grid_item--facebook {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 0.75rem;
    justify-self: stretch;
    align-self: start;
    width: 100%;
    max-width: none;
    padding: clamp(1rem, 1.5vw, 1.25rem);
}

.page-home .grid_item--facebook .grid-card-title {
    margin-bottom: 0;
}

.page-home .facebook-feed {
    width: 100%;
    max-width: 100%;
}

.page-home .facebook-feed__page {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: rgba(21, 23, 28, 0.45);
    line-height: 0;
}

.page-home .facebook-feed__page-frame {
    display: block;
    width: 100%;
    min-height: 0;
    height: clamp(16rem, 48vw, 22rem);
    border: 0;
    background: transparent;
}

.page-home .facebook-feed__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1rem);
    width: 100%;
}

.page-home .facebook-feed__post {
    min-width: 0;
}

.page-home .facebook-feed__post-frame {
    display: block;
    width: 100%;
    min-height: 0;
    height: clamp(16rem, 48vw, 22rem);
    border: 0;
    background: transparent;
}

@media (max-width: 1024px) {
    .page-home .facebook-feed__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .page-home .facebook-feed__grid {
        grid-template-columns: 1fr;
    }

    .page-home .facebook-feed__page-frame,
    .page-home .facebook-feed__post-frame {
        min-height: 16rem;
        height: clamp(16rem, 72vw, 22rem);
    }
}

.page-home .contact-details {
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 1.25rem;
    row-gap: 1rem;
    width: max-content;
    max-width: 100%;
    margin: 0;
}

.page-home .contact-details dt {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.65;
}

.page-home .contact-details dd {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--secondary-text-color);
}

.page-home .contact-details .contact-person {
    color: var(--secondary-text-color);
}

.page-home .contact-details a {
    width: fit-content;
    max-width: 100%;
}

.page-home .contact-details dd a[href^="mailto:"] {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .page-home .contact-details a:not([href^="mailto:"]) {
        word-break: break-word;
    }
}

.page-home #item3.grid_item {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
    height: 100%;
    align-self: stretch;
}

.page-home #item5.grid_item {
    flex-direction: unset;
    justify-content: initial;
    align-items: stretch;
    height: 100%;
    align-self: stretch;
    padding: clamp(1.5rem, 3vw, 2rem);
    gap: 0;
}

.page-home #item5 p {
    margin-top: 0;
}

.page-home .grid_item--address {
    display: grid;
    grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
    text-align: left;
    overflow: visible;
    height: 100%;
    min-height: 0;
}

.page-home .address-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: start;
}

.page-home .grid_item--address .grid-card-title {
    margin-bottom: 0;
}

.page-home .address-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--secondary-text-color);
}

.page-home .address-media {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 10.5rem;
    aspect-ratio: 16 / 9;
    align-self: stretch;
    overflow: hidden;
    border-radius: var(--radius-md);
    isolation: isolate;
    background: var(--secondary-color);
    border: 1px solid var(--border-subtle);
}

.page-home #item5 .map-hint,
.page-home #item5 .map-container {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: inherit;
    overflow: hidden;
}

.page-home #item5 .map-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: clamp(0.75rem, 3vw, 1.25rem);
    border: none;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    color: var(--secondary-text-color);
    background: linear-gradient(160deg, rgba(21, 23, 28, 0.98) 0%, rgba(35, 41, 51, 0.92) 100%);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.page-home #item5 .map-hint:hover {
    background: linear-gradient(160deg, rgba(25, 28, 34, 1) 0%, rgba(40, 48, 58, 0.96) 100%);
    box-shadow: inset 0 0 0 1px var(--border-accent);
}

.page-home #item5 .map-hint:focus-visible {
    outline: 2px solid var(--main-brand-color);
    outline-offset: -2px;
}

.page-home #item5 .map-hint[hidden] {
    display: none !important;
}

.page-home .map-hint__badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--main-brand-color);
    background: rgba(13, 188, 249, 0.12);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-pill);
}

.page-home .map-hint__title {
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

.page-home .map-hint__text {
    max-width: 22rem;
    font-size: clamp(0.72rem, 1.8vw, 0.82rem);
    line-height: 1.55;
    color: var(--secondary-text-color);
}

.page-home #item5 .map-container {
    display: none;
    background: var(--secondary-color);
}

.page-home #item5 .map-container.is-visible {
    display: block;
}

.page-home #item5 #map {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.page-home #item5 .map-route-link {
    position: absolute;
    right: clamp(0.45rem, 2vw, 0.75rem);
    bottom: clamp(0.45rem, 2vw, 0.75rem);
    z-index: 2;
    max-width: calc(100% - 0.9rem);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-color);
    background: var(--main-brand-color);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home #item5 .map-route-link::before {
    content: "Route";
}

.page-home #item5 .map-route-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 188, 249, 0.45);
    color: var(--primary-color);
    text-decoration: none;
}

.page-home .grid_item--address img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
}

/* Karten-Ausschnitt je Viewport */

@media (min-width: 1367px) {
    .page-home .grid_item--address {
        grid-template-columns: minmax(9.5rem, 11.5rem) minmax(0, 1fr);
    }
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
    .page-home #dates .flex-container {
        grid-template-columns: 1fr;
        max-width: 32rem;
        margin-inline: auto;
    }

    .page-home #item5 #map {
        width: 100% !important;
        height: 100% !important;
        max-width: none;
        max-height: none;
    }

    .page-home .header_main_content {
        grid-template-columns: 1fr;
        text-align: left;
        justify-items: start;
    }

    .page-home .header_text_information {
        text-align: left;
        max-width: none;
    }

    .page-home .header_picture {
        justify-self: center;
    }

    .page-home #chronicle .timeline::before {
        left: 0.85rem;
    }

    .page-home #chronicle .event {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding-left: 2rem;
    }

    .page-home #chronicle .date {
        justify-self: start;
    }

    .page-home .event-body {
        grid-template-columns: 1fr;
    }

    .page-home .event-panel {
        border-radius: var(--radius-lg);
    }

    .page-home .next-event-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .page-home .next-event-banner__cta {
        width: 100%;
    }

    .page-home .competition-ranking__header {
        flex-direction: column;
    }

    .page-home .competition-ranking__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .page-home .competition-ranking__toggle,
    .page-home .competition-ranking__external {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1024px) and (orientation: portrait) {
    .page-home .grid_item--address {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-home .address-media {
        width: 100%;
        min-height: 10.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .page-home .grid_item--address {
        grid-template-columns: minmax(6.5rem, 8.5rem) minmax(0, 1fr);
        gap: 0.85rem;
    }

    .page-home .address-media {
        width: 100%;
        min-height: 9.5rem;
    }
}

/* Kontakt-Grid: Reihenfolge Kontakt → Adresse → Instagram → Facebook → Aktuelles */

@media (min-width: 768px) {
    .page-home .instagram-feed__profile-frame,
    .page-home .facebook-feed__page-frame,
    .page-home .facebook-feed__post-frame {
        height: clamp(17rem, 24vw, 21rem);
    }
}

@media (max-width: 1024px) {
    .page-home .grid-container {
        grid-template-columns: minmax(min-content, 1fr) minmax(0, 1.35fr);
        grid-template-areas:
            "item3 item5"
            "item2 item4"
            "item1 item1";
        grid-template-rows: none;
        grid-auto-rows: minmax(min-content, auto);
    }

    .page-home .grid_item--news,
    .page-home .grid_item--instagram,
    .page-home .grid_item--facebook {
        text-align: left;
        justify-self: stretch;
        align-self: start;
    }

    .page-home .grid_item--news {
        width: fit-content;
        max-width: 100%;
        justify-self: start;
    }
}

@media (max-width: 767px) {
    .page-home .grid-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "item3"
            "item5"
            "item2"
            "item4"
            "item1";
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .page-home .grid-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "item3 item5"
            "item2 item4"
            "item1 item1";
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .page-home .grid-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "item3 item5"
            "item2 item4"
            "item1 item1";
    }
}

@media (min-width: 768px) {
    .page-home .address-media {
        min-height: 0;
        aspect-ratio: unset;
        height: 100%;
    }
}

@media (min-width: 1025px) {
    .page-home .grid-container {
        grid-template-columns: minmax(min-content, 1.05fr) repeat(3, minmax(0, 1fr));
        grid-template-areas:
            "item3 item5 item5 item5"
            "item2 item4 item1 item1";
        grid-template-rows: none;
        grid-auto-rows: minmax(min-content, auto);
    }

    .page-home .grid_item--news {
        width: fit-content;
        max-width: 100%;
        justify-self: start;
    }

    .page-home .grid_item--address {
        grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
    }
}

@media (orientation: landscape) and (max-height: 520px) {
    .page-home .header_main_content {
        grid-template-columns: 1fr;
        text-align: left;
        justify-items: start;
    }

    .page-home .header_text_information {
        text-align: left;
        max-width: none;
    }

    .page-home .header_picture {
        justify-self: center;
    }
}

@media (max-width: 767px), (max-width: 932px) and (max-height: 430px) {
    .page-home .section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-home .section-head,
    .page-home .section-head--left {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        max-width: none;
    }

    .page-home .team-intro {
        position: static;
        width: 100%;
    }

    .page-home .section-head .section-title-group,
    .page-home .section-head--left .section-title-group {
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }

    .page-home .section-head .section-title,
    .page-home .section-head .partners-title,
    .page-home #team .section-title,
    .page-home #team h2.section-title {
        width: 100%;
        display: block;
        padding: 0;
        text-align: center;
    }

    .page-home .section-eyebrow {
        margin-inline: auto;
    }

    .page-home .section-lead {
        text-align: center;
    }

    .page-home .team-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-home .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .page-home #dates .card {
        border-radius: var(--radius-md);
    }

    .page-home .event-actions {
        flex-direction: column;
    }

    .page-home .btn {
        width: 100%;
    }

    .page-home .grid_item--address {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .page-home .address-media {
        aspect-ratio: 16 / 9;
        min-height: 11.5rem;
        max-height: none;
        width: 100%;
    }

    .page-home #item5 .map-route-link {
        padding: 0.45rem 0.75rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .page-home .grid_item--address {
        grid-template-columns: 1fr;
    }

    .page-home .address-media {
        min-height: 9rem;
    }
}

@media (max-width: 480px) {
    .page-home .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        row-gap: 1rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .page-home .team-member {
        padding: 0.75rem 0.5rem;
    }

    .page-home .team-member-photo {
        width: min(100%, 5.5rem);
    }

    .page-home .address-media {
        min-height: 10.25rem;
    }

    .page-home #item5 .map-route-link {
        right: 0.4rem;
        bottom: 0.4rem;
        padding: 0.4rem 0.65rem;
        font-size: 0.65rem;
    }
}

@media (min-width: 1400px) {
    .page-home .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .header_picture:hover,
    .page-home .header_picture:hover img {
        transform: none;
    }

    .page-home #dates .card-link:hover {
        transform: none;
    }

    .page-home #dates .card-link:hover::after {
        transform: none;
    }

    .page-home #dates .card:hover,
    .page-home .social-link:hover,
    .page-home .social-link:hover img {
        transform: none;
        filter: none;
    }

    .page-home .grid_item:hover,
    .page-home .btn--primary:hover,
    .page-home .btn--ghost:hover,
    .page-home .team-member:hover,
    .page-home .team-member:active,
    .page-home .team-member:focus-visible {
        transform: none;
    }

    .page-home a.partner-card:hover {
        transform: none;
    }

    .page-home .team-member:hover .team-member-photo,
    .page-home .team-member:active .team-member-photo,
    .page-home .team-member:focus-visible .team-member-photo,
    .page-home .team-member:hover img,
    .page-home .team-member:active img,
    .page-home .team-member:focus-visible img,
    .page-home #team .team-member-photo img:hover {
        transform: none;
    }

    .page-home .partner-maxl-cta__bubble,
    .page-home .partner-maxl-cta__figure {
        animation: none;
    }
}

/* ---- iOS Safari (iPhone/iPad) ---- */

@supports (-webkit-touch-callout: none) {
    @media (max-width: 932px) and (orientation: portrait) {
        .page-home .hero-eyebrow {
            text-align: left;
        }

        .page-home .hero-title-row {
            justify-content: flex-start;
            width: 100%;
        }

        .page-home header.hero h1 {
            text-align: left;
        }
    }

    @media (max-width: 932px) {
        .page-home .section-head,
        .page-home .section-head--left,
        .page-home .team-intro.section-head {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .page-home .section-head .section-title-group,
        .page-home .section-head--left .section-title-group {
            align-items: center;
            width: 100%;
        }

        .page-home .section-head .section-title,
        .page-home .section-head .partners-title,
        .page-home #team h2,
        .page-home #team .section-title {
            display: block;
            width: 100%;
            max-width: 100%;
            padding-left: 0;
            padding-right: 0;
            text-align: center;
        }

        .page-home .section-eyebrow {
            margin-inline: auto;
        }

        .page-home .section-lead {
            text-align: center;
        }

        .page-home .training-trial-callout {
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }

        .page-home .instagram-feed__profile {
            width: 100%;
        }

        .page-home .instagram-feed__profile-frame {
            min-height: 0;
            height: clamp(16rem, 58vw, 21rem);
        }

        .page-home .facebook-feed__page {
            width: 100%;
            max-width: 100%;
        }

        .page-home .facebook-feed__page-frame,
        .page-home .facebook-feed__post-frame {
            min-height: 0;
            height: clamp(16rem, 58vw, 21rem);
        }
    }
}

/* Desktop: Kontakt/Adresse gleiche Höhe (nach allen Viewport-Regeln) */
@media (min-width: 768px) {
    .page-home .grid-container {
        align-items: stretch;
    }

    .page-home #item3.grid_item,
    .page-home #item5.grid_item {
        height: 100%;
        align-self: stretch;
    }

    .page-home .grid_item--address {
        height: 100%;
        min-height: 0;
    }

    .page-home .address-media {
        min-height: 0;
        aspect-ratio: unset;
        height: 100%;
    }
}
