/*
 * GastgeberPilot Website-Design
 * ---------------------------------------------------------
 * Version 2: moderne Markenbühne im Stil des Marketingbildes.
 * Farben: Burgund, Gold, Oliv, Creme. Layout: warme Gastro-Atmosphäre,
 * großes Logo, weiche Glasflächen, klare Karten und mobile Bedienbarkeit.
 */
:root {
    --gp-burgund: #8b1e2d;
    --gp-burgund-dark: #66141f;
    --gp-gold: #b59352;
    --gp-gold-soft: #d9c292;
    --gp-olive: #55602b;
    --gp-cream: #f4efe7;
    --gp-card: rgba(255,255,255,0.88);
    --gp-text: #292929;
    --gp-muted: #626262;
    --gp-shadow: 0 22px 70px rgba(67, 48, 31, 0.18);
    --gp-radius: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--gp-text);
    background:
        radial-gradient(circle at 8% 6%, rgba(181,147,82,0.24), transparent 30%),
        radial-gradient(circle at 92% 5%, rgba(139,30,45,0.13), transparent 35%),
        linear-gradient(180deg, #fbf7f0 0%, #efe9df 100%);
    min-height: 100vh;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.74), rgba(255,255,255,0.81)),
        url("gastgeberpilot_marketingbild.png") center center / cover no-repeat;
    filter: blur(18px) saturate(0.95);
    transform: scale(1.08);
    z-index: -2;
}

body:after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,250,242,0.74), rgba(244,239,231,0.96));
    z-index: -1;
}

a { color: var(--gp-burgund); }

.gp-page {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.gp-page-wide {
    width: min(1240px, calc(100% - 36px));
}

.gp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 12px;
    gap: 18px;
}

.gp-topbar-glass {
    position: sticky;
    top: 0;
    z-index: 20;
    padding-top: 14px;
    padding-bottom: 14px;
    backdrop-filter: blur(16px);
}

.gp-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--gp-text);
    font-weight: 800;
}

.gp-brand img {
    width: 210px;
    max-width: 62vw;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(66,38,26,0.12));
}

.gp-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.gp-nav a,
.gp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 850;
    border: 1px solid rgba(139,30,45,0.16);
    background: rgba(255,255,255,0.74);
    color: var(--gp-burgund);
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.gp-nav a:hover,
.gp-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}

.gp-button-primary {
    background: var(--gp-burgund);
    color: #fff;
    border-color: var(--gp-burgund);
}

.gp-button-gold {
    background: linear-gradient(135deg, var(--gp-gold), #c7a868);
    color: #fff;
    border-color: rgba(255,255,255,0.22);
}

/* Große moderne Startbühne */
.gp-brand-hero {
    position: relative;
    overflow: hidden;
    margin: 18px 0 38px;
    border-radius: 44px;
    box-shadow: var(--gp-shadow);
    border: 1px solid rgba(255,255,255,0.72);
    isolation: isolate;
}

.gp-brand-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.70) 54%, rgba(246,241,232,0.96)),
        url("gastgeberpilot_marketingbild.png") center center / cover no-repeat;
    z-index: -2;
}

.gp-brand-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 11%, rgba(255,255,255,0.86), transparent 33%),
        radial-gradient(circle at 85% 22%, rgba(181,147,82,0.18), transparent 38%),
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.66));
    z-index: -1;
}

.gp-hero-shell {
    padding: clamp(22px, 4vw, 48px);
}

.gp-logo-showcase {
    width: min(980px, 100%);
    margin: 0 auto 22px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,0.56);
    box-shadow: 0 18px 54px rgba(59,37,24,0.13);
    border: 1px solid rgba(255,255,255,0.72);
}

.gp-logo-showcase img {
    display: block;
    width: 100%;
    height: auto;
}

.gp-ribbon {
    width: min(760px, 94%);
    margin: 0 auto 24px;
    padding: 15px 24px 16px;
    text-align: center;
    color: #fff;
    font-size: clamp(19px, 2.3vw, 30px);
    line-height: 1.25;
    font-weight: 800;
    background: linear-gradient(90deg, transparent, var(--gp-burgund) 8%, #9b2435 50%, var(--gp-burgund) 92%, transparent);
    border-radius: 999px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

.gp-icon-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto 28px;
}

.gp-icon-strip div {
    min-height: 118px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
    padding: 12px 8px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(255,255,255,0.82);
    box-shadow: 0 12px 30px rgba(64,43,28,0.12);
}

.gp-icon-strip span {
    font-size: 32px;
    line-height: 1;
}

.gp-icon-strip strong {
    color: var(--gp-burgund);
    font-size: 12px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.gp-hero-bottom {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    align-items: stretch;
}

.gp-hero-message,
.gp-contact-card {
    border-radius: 32px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(255,255,255,0.82);
    box-shadow: 0 18px 54px rgba(59,37,24,0.13);
    backdrop-filter: blur(14px);
}

.gp-hero-message {
    padding: clamp(24px, 4vw, 42px);
}

.gp-contact-card {
    padding: clamp(24px, 4vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.gp-contact-title {
    color: var(--gp-olive);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 950;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gp-contact-title:before,
.gp-contact-title:after {
    content: "";
    height: 1px;
    background: rgba(85,96,43,0.50);
    flex: 1;
}

.gp-contact-card strong {
    font-size: clamp(30px, 4vw, 46px);
    color: var(--gp-text);
    line-height: 1.1;
}

.gp-contact-card a {
    color: var(--gp-text);
    font-size: clamp(22px, 2.8vw, 34px);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.gp-contact-card p {
    margin: 10px 0 0;
    color: var(--gp-olive);
    font-weight: 750;
}

.gp-kicker {
    display: inline-flex;
    background: rgba(139,30,45,0.10);
    color: var(--gp-burgund);
    border-radius: 999px;
    font-weight: 900;
    padding: 8px 14px;
    margin-bottom: 16px;
}

.gp-kicker-light {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

h1, h2, h3 {
    color: var(--gp-burgund);
    line-height: 1.08;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(36px, 6vw, 68px);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.035em;
}

h3 { font-size: 24px; }

.gp-lead {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.52;
    color: #3d3d3d;
    margin: 0 0 24px;
}

.gp-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.gp-section { padding: 34px 0; }

.gp-section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 28px;
}

.gp-module-section {
    padding-top: 46px;
}

.gp-grid {
    display: grid;
    gap: 18px;
}

.gp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gp-grid-4 { grid-template-columns: repeat(4, 1fr); }

.gp-card {
    background: var(--gp-card);
    border: 1px solid rgba(255,255,255,0.76);
    border-radius: var(--gp-radius);
    padding: 24px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.07);
    backdrop-filter: blur(8px);
}

.gp-card-soft {
    background: rgba(255,255,255,0.72);
}

.gp-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(139,30,45,0.09);
    color: var(--gp-burgund);
    font-size: 26px;
    margin-bottom: 14px;
}

.gp-muted { color: var(--gp-muted); }

.gp-highlight {
    background: linear-gradient(135deg, var(--gp-burgund), #a62638);
    color: #fff;
    border-radius: 32px;
    padding: clamp(28px, 4vw, 46px);
    box-shadow: var(--gp-shadow);
}

.gp-highlight-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    position: relative;
    overflow: hidden;
}

.gp-highlight-modern:after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 70%);
}

.gp-highlight h2,
.gp-highlight p,
.gp-highlight a { color: #fff; }

.gp-form { display: grid; gap: 16px; }

.gp-field label {
    display: block;
    font-weight: 900;
    margin-bottom: 7px;
    color: var(--gp-burgund);
}

.gp-field input,
.gp-field textarea {
    width: 100%;
    border: 1px solid rgba(139,30,45,0.18);
    background: rgba(255,255,255,0.92);
    border-radius: 16px;
    padding: 14px 15px;
    font: inherit;
    color: var(--gp-text);
}

.gp-field textarea {
    min-height: 110px;
    resize: vertical;
}

.gp-checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    font-size: 15px;
}

.gp-checkbox input { margin-top: 4px; }

.gp-error {
    background: #fff1f1;
    color: #9b1c1c;
    border: 1px solid #efb2b2;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
}

.gp-success {
    background: #eef8ed;
    color: #285b2d;
    border: 1px solid #b7d8b5;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
}

.gp-footer {
    padding: 38px 0 44px;
    color: var(--gp-muted);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.gp-footer a {
    color: var(--gp-muted);
    margin-right: 14px;
}

.gp-table-wrap {
    overflow-x: auto;
    background: rgba(255,255,255,0.86);
    border-radius: 22px;
    box-shadow: var(--gp-shadow);
}

table.gp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.gp-table th,
.gp-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(139,30,45,0.10);
    vertical-align: top;
}

.gp-table th {
    color: var(--gp-burgund);
    background: rgba(139,30,45,0.06);
    white-space: nowrap;
}

.gp-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    background: rgba(139,30,45,0.10);
    color: var(--gp-burgund);
}

.gp-debug {
    margin: 18px 0;
    border: 1px dashed #997;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fffbe8;
    color: #333;
}

.gp-debug pre {
    white-space: pre-wrap;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .gp-icon-strip { grid-template-columns: repeat(4, 1fr); }
    .gp-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .gp-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .gp-topbar-glass {
        position: static;
    }

    .gp-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .gp-nav a { flex: 1 1 auto; }

    .gp-hero-bottom,
    .gp-grid-3,
    .gp-grid-4 {
        grid-template-columns: 1fr;
    }

    .gp-page,
    .gp-page-wide {
        width: min(100% - 22px, 1160px);
    }

    .gp-button,
    .gp-nav a { width: 100%; }

    .gp-brand-hero {
        border-radius: 30px;
        margin-top: 8px;
    }

    .gp-hero-shell { padding: 14px; }

    .gp-logo-showcase {
        border-radius: 22px;
        margin-bottom: 16px;
    }

    .gp-ribbon {
        width: 100%;
        border-radius: 22px;
        font-size: 17px;
        padding: 13px 16px;
    }

    .gp-icon-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gp-icon-strip div {
        min-height: 104px;
    }

    .gp-contact-card strong {
        font-size: 30px;
    }

    .gp-contact-card a {
        font-size: 22px;
    }

    .gp-highlight-modern {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .gp-icon-strip { grid-template-columns: 1fr 1fr; }
    .gp-icon-strip strong { font-size: 11px; }
    .gp-icon-strip span { font-size: 28px; }
    h1 { font-size: 34px; }
}

/* =========================================================
 * Modern Fix 1 - Startseite / Hero
 * ---------------------------------------------------------
 * Diese neuen Klassen sind bewusst eindeutig benannt (*-v3),
 * damit alte Browser-Caches oder frühere Layoutklassen die
 * Startseite nicht mehr zerlegen können.
 * ========================================================= */
.gp-topbar-modern {
    margin-bottom: 6px;
}

.gp-brand-modern img {
    width: 230px;
    max-width: 72vw;
}

.gp-nav-modern a {
    min-width: 150px;
}

.gp-hero-v3 {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin: 14px 0 42px;
    padding: clamp(18px, 4vw, 46px);
    border-radius: 44px;
    border: 1px solid rgba(255,255,255,0.76);
    box-shadow: var(--gp-shadow);
    background: rgba(255,255,255,0.72);
}

.gp-hero-v3:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.78) 58%, rgba(246,241,232,0.98)),
        url("gastgeberpilot_marketingbild.png") center center / cover no-repeat;
}

.gp-hero-v3:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 11%, rgba(255,255,255,0.90), transparent 34%),
        radial-gradient(circle at 90% 28%, rgba(181,147,82,0.20), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.72));
}

.gp-logo-stage-v3 {
    width: min(980px, 100%);
    margin: 0 auto 18px;
    padding: clamp(6px, 1.5vw, 14px);
    border-radius: 32px;
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: 0 18px 54px rgba(59,37,24,0.12);
    backdrop-filter: blur(8px);
}

.gp-logo-stage-v3 img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: center center;
    border-radius: 22px;
}

.gp-ribbon-v3 {
    display: block;
    width: min(800px, 96%);
    margin: 0 auto 24px;
    padding: 15px 24px 16px;
    border-radius: 999px;
    text-align: center;
    color: #fff;
    font-size: clamp(19px, 2.3vw, 30px);
    line-height: 1.25;
    font-weight: 900;
    background: linear-gradient(90deg, transparent, var(--gp-burgund) 8%, #9b2435 50%, var(--gp-burgund) 92%, transparent);
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

.gp-feature-grid-v3 {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.gp-feature-grid-v3 article {
    min-width: 0;
    min-height: 120px;
    display: grid !important;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 13px 9px;
    text-align: center;
    border-radius: 20px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.88);
    box-shadow: 0 12px 30px rgba(64,43,28,0.12);
    backdrop-filter: blur(8px);
}

.gp-feature-grid-v3 span {
    display: block;
    font-size: 32px;
    line-height: 1;
}

.gp-feature-grid-v3 strong {
    display: block;
    color: var(--gp-burgund);
    font-size: 12px;
    line-height: 1.16;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.gp-hero-content-v3 {
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    gap: 22px;
    align-items: stretch;
}

.gp-hero-text-v3,
.gp-contact-card-v3 {
    min-width: 0;
    border-radius: 32px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(255,255,255,0.84);
    box-shadow: 0 18px 54px rgba(59,37,24,0.13);
    backdrop-filter: blur(14px);
}

.gp-hero-text-v3 {
    padding: clamp(24px, 4vw, 42px);
}

.gp-contact-card-v3 {
    padding: clamp(24px, 4vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.gp-contact-title-v3 {
    color: var(--gp-olive);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 950;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gp-contact-title-v3:before,
.gp-contact-title-v3:after {
    content: "";
    height: 1px;
    background: rgba(85,96,43,0.50);
    flex: 1;
}

.gp-contact-card-v3 strong {
    font-size: clamp(30px, 4vw, 46px);
    color: var(--gp-text);
    line-height: 1.1;
}

.gp-contact-card-v3 a {
    color: var(--gp-text);
    font-size: clamp(20px, 2.8vw, 34px);
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.gp-contact-card-v3 p {
    margin: 10px 0 0;
    color: var(--gp-olive);
    font-weight: 800;
}

@media (max-width: 1120px) {
    .gp-feature-grid-v3 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .gp-brand-modern img {
        width: 190px;
    }

    .gp-nav-modern {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        width: 100%;
    }

    .gp-nav-modern a {
        width: 100%;
        min-width: 0;
    }

    .gp-hero-v3 {
        margin-top: 8px;
        padding: 12px;
        border-radius: 30px;
    }

    .gp-logo-stage-v3 {
        border-radius: 24px;
        margin-bottom: 14px;
    }

    .gp-logo-stage-v3 img {
        max-height: 360px;
        border-radius: 18px;
    }

    .gp-ribbon-v3 {
        width: 100%;
        border-radius: 22px;
        font-size: 17px;
        padding: 13px 15px;
        margin-bottom: 16px;
    }

    .gp-feature-grid-v3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 18px;
    }

    .gp-feature-grid-v3 article {
        min-height: 104px;
        border-radius: 18px;
    }

    .gp-hero-content-v3 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gp-hero-text-v3,
    .gp-contact-card-v3 {
        border-radius: 24px;
    }
}

@media (max-width: 440px) {
    .gp-page,
    .gp-page-wide {
        width: min(100% - 18px, 1160px);
    }

    .gp-brand-modern img {
        width: 175px;
    }

    .gp-logo-stage-v3 img {
        max-height: 305px;
    }

    .gp-feature-grid-v3 span {
        font-size: 27px;
    }

    .gp-feature-grid-v3 strong {
        font-size: 10.5px;
        letter-spacing: 0;
    }

    .gp-hero-text-v3,
    .gp-contact-card-v3 {
        padding: 22px 18px;
    }
}


/* =========================================================
 * Video-Einbindung Startseite
 * ---------------------------------------------------------
 * Das Marketingvideo liegt auf dem Server unter:
 *   /video/info_01.mp4
 *
 * Technische Hinweise / Debug:
 * - Die index.php bindet es relativ mit video/info_01.mp4 ein.
 * - Für mobile Geräte wird preload="metadata" genutzt, damit die Seite
 *   schnell bleibt und das Video nicht ungefragt komplett geladen wird.
 * - Der Browser benötigt den MIME-Type video/mp4. Falls der Server das
 *   Video herunterladen statt abspielen will, MIME-Type in .htaccess/cPanel prüfen.
 * ========================================================= */
.gp-video-section {
    padding-top: 8px;
}

/*
 * Kompakter Videoblock:
 * - max-width begrenzt die Bühne, damit das Video nicht die ganze Seite erschlägt.
 * - margin:auto zentriert den Block.
 * - Die feste 1:1-Fallback-Technik unten hält das Video bewusst quadratisch.
 * - Das Video selbst ist als quadratische MP4-Datei angelegt.
 */
.gp-video-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    max-width: 620px;
    margin: 0 auto;
    border-radius: 34px;
    padding: clamp(10px, 1.8vw, 18px);
    background: rgba(255,255,255,0.80);
    border: 1px solid rgba(255,255,255,0.82);
    box-shadow: 0 18px 52px rgba(31,21,16,0.15);
    backdrop-filter: blur(14px);
}

.gp-video-card:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.50)),
        url("gastgeberpilot_marketingbild.png") center center / cover no-repeat;
    filter: blur(12px) saturate(.96);
    transform: scale(1.04);
}

.gp-video-card:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 10%, rgba(181,147,82,0.23), transparent 32%),
        radial-gradient(circle at 90% 8%, rgba(139,30,45,0.16), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.68), rgba(244,239,231,0.82));
}

.gp-video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    width: 100%;
    background: #191919;
    box-shadow: 0 14px 36px rgba(31,21,16,0.18);
    border: 1px solid rgba(255,255,255,0.82);
}

/* Fallback für ältere mobile Browser: echtes Quadrat per Innenabstand. */
.gp-video-frame:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.gp-video-player {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #191919;
}

.gp-video-caption {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 6px 2px;
    color: var(--gp-muted);
    font-size: 16px;
}

.gp-video-caption strong {
    color: var(--gp-burgund);
    font-weight: 950;
}

@media (max-width: 860px) {
    .gp-video-section {
        padding-top: 0;
    }

    .gp-video-card {
        width: calc(100% - 28px);
        max-width: 520px;
        border-radius: 24px;
        padding: 8px;
    }

    .gp-video-frame {
        border-radius: 18px;
    }

    .gp-video-caption {
        padding: 10px 4px 2px;
        font-size: 13px;
        line-height: 1.25;
    }
}

@media (max-width: 520px) {
    .gp-video-card {
        width: calc(100% - 36px);
        max-width: 390px;
    }
}

/* =========================================================
 * Popup-Video: „Wenn der Alltag voll ist“
 * ---------------------------------------------------------
 * Minimal-invasiv ergänzt zur bestehenden Startseite.
 * - Die erste Entlastungs-Kachel ist nun ein Button wie im Dashboard-Menü.
 * - Klick öffnet ein modernes Popup mit Cartoon-/Sketchvideo.
 * - Videoquelle: /video/alltag_voll.mp4
 * - Autoplay wird per JavaScript gestartet; muted ist wichtig für mobile Browser.
 * ========================================================= */
.gp-card-button {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255,255,255,0.76);
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.gp-card-button:hover,
.gp-card-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 52px rgba(49, 25, 18, 0.15);
    border-color: rgba(139,30,45,0.36);
    outline: none;
}

.gp-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(139,30,45,0.10);
    color: var(--gp-burgund);
    font-size: 14px;
    font-weight: 950;
}

body.gp-popup-open {
    overflow: hidden;
}

.gp-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 18px;
    align-items: center;
    justify-content: center;
}

.gp-popup.is-open {
    display: grid;
}

.gp-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 18, 15, 0.62);
    backdrop-filter: blur(10px);
}

.gp-popup-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: clamp(16px, 2.4vw, 26px);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.93), rgba(246,241,232,0.96)),
        url("gastgeberpilot_marketingbild.png") center center / cover no-repeat;
    border: 1px solid rgba(255,255,255,0.88);
    box-shadow: 0 28px 90px rgba(0,0,0,0.32);
}

.gp-popup-close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(139,30,45,0.18);
    background: rgba(255,255,255,0.94);
    color: var(--gp-burgund);
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.gp-popup-close:hover,
.gp-popup-close:focus-visible {
    outline: none;
    background: var(--gp-burgund);
    color: #fff;
}

.gp-popup-head {
    clear: both;
    text-align: center;
    max-width: 620px;
    margin: 0 auto 18px;
}

.gp-popup-head h2 {
    margin-bottom: 10px;
}

.gp-popup-head p {
    margin: 0;
    color: #3d3d3d;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.45;
}

.gp-popup-video-frame {
    position: relative;
    overflow: hidden;
    width: min(540px, 100%);
    margin: 0 auto;
    border-radius: 26px;
    background: #191919;
    box-shadow: 0 18px 46px rgba(31,21,16,0.25);
    border: 1px solid rgba(255,255,255,0.90);
}

/* Quadrat bleibt bewusst erhalten, passend zum Sketchvideo und Social-Media-Format. */
.gp-popup-video-frame:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.gp-popup-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #191919;
}

@media (max-width: 520px) {
    .gp-popup {
        padding: 10px;
    }

    .gp-popup-dialog {
        border-radius: 26px;
        max-height: calc(100vh - 20px);
        padding: 14px;
    }

    .gp-popup-close {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .gp-popup-video-frame {
        border-radius: 20px;
    }
}
