/* ============================================
   HIPPARIA — DESIGN V3
   Fonts: DM Serif Display (Headlines) + DM Sans (Body)
   Farben: Waldgrün + Beige + Kupfer-Akzent
   Komplett neu, kein Patching von v2
   ============================================ */

/* ============================================
   0. SELF-HOSTED FONTS (DSGVO-konform)
   ============================================ */

/* DM Serif Display */
@font-face {
    font-family: 'DM Serif Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/dm-serif-display-v17-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Serif Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/dm-serif-display-v17-latin_latin-ext-italic.woff2') format('woff2');
}

/* DM Sans */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/dm-sans-v17-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/dm-sans-v17-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/dm-sans-v17-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/dm-sans-v17-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/dm-sans-v17-latin_latin-ext-700.woff2') format('woff2');
}

/* ============================================
   1. RESET + CUSTOM PROPERTIES
   ============================================ */

:root {
    /* Primärfarben (Waldgrün) */
    --hp-green: #4a6355;
    --hp-green-dark: #3a4f44;
    --hp-green-light: #e8eeea;
    --hp-green-muted: #7a9585;

    /* Hintergrund & Neutral */
    --hp-beige: #f5f1e8;
    --hp-beige-dark: #e8e2d5;
    --hp-white: #ffffff;
    --hp-offwhite: #faf9f6;

    /* Text */
    --hp-text: #2c2c2c;
    --hp-text-secondary: #6b7280;
    --hp-text-light: #9ca3af;
    --hp-text-on-dark: #f5f1e8;

    /* Akzent (Kupfer) */
    --hp-copper: #b8763e;
    --hp-copper-light: #d4944f;
    --hp-copper-bg: #fdf6ee;
    --hp-copper-border: rgba(184, 118, 62, 0.25);

    /* Danger */
    --hp-danger: #dc4a4a;
    --hp-danger-bg: #fef2f2;
    --hp-danger-border: #fecaca;

    /* Success */
    --hp-success: #16a34a;
    --hp-success-bg: #dcfce7;

    /* Warning */
    --hp-warning-bg: #fff8e1;
    --hp-warning-border: #ffe082;
    --hp-warning-text: #6d5a00;

    /* Schatten */
    --hp-shadow-sm: 0 1px 3px rgba(44, 44, 44, 0.06);
    --hp-shadow-md: 0 4px 16px rgba(44, 44, 44, 0.08);
    --hp-shadow-lg: 0 8px 32px rgba(44, 44, 44, 0.1);
    --hp-shadow-xl: 0 16px 48px rgba(44, 44, 44, 0.12);

    /* Radien */
    --hp-radius: 12px;
    --hp-radius-sm: 8px;
    --hp-radius-lg: 20px;
    --hp-radius-pill: 100px;

    /* Borders */
    --hp-border: #ddd8cb;
    --hp-border-light: #e8e3d8;

    /* Spacing */
    --hp-space-xs: 0.5rem;
    --hp-space-sm: 1rem;
    --hp-space-md: 1.75rem;
    --hp-space-lg: 2.5rem;
    --hp-space-xl: 4rem;

    /* Transition */
    --hp-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --hp-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    /* === V2 Compat (für Seiten die noch alte Variablen nutzen) === */
    --primary: var(--hp-green);
    --primary-dark: var(--hp-green-dark);
    --primary-light: var(--hp-green-muted);
    --primary-50: var(--hp-green-light);
    --primary-100: #d0ddd5;
    --primary-200: #b8d1c2;
    --primary-600: #3d5347;
    --primary-700: #2f4038;
    --primary-800: #243029;
    --primary-900: #1a231e;
    --gold: var(--hp-copper);
    --gold-light: var(--hp-copper-light);
    --gold-bg: var(--hp-copper-bg);
    --gold-border: var(--hp-copper-border);
    --bg: var(--hp-beige);
    --bg-surface: var(--hp-white);
    --bg-elevated: var(--hp-white);
    --bg-muted: var(--hp-beige-dark);
    --bg-subtle: var(--hp-offwhite);
    --text-primary: var(--hp-text);
    --text-secondary: var(--hp-text-secondary);
    --text-light: var(--hp-text-light);
    --text-inverse: var(--hp-text-on-dark);
    --border: var(--hp-border);
    --border-light: var(--hp-border-light);
    --border-focus: var(--hp-green);
    --shadow-xs: var(--hp-shadow-sm);
    --shadow-sm: var(--hp-shadow-sm);
    --shadow-md: var(--hp-shadow-md);
    --shadow-lg: var(--hp-shadow-lg);
    --shadow-xl: var(--hp-shadow-xl);
    --radius-sm: var(--hp-radius-sm);
    --radius-md: var(--hp-radius);
    --radius-lg: 16px;
    --radius-xl: var(--hp-radius-lg);
    --radius-full: var(--hp-radius-pill);
    --transition: var(--hp-transition);
    --transition-fast: var(--hp-transition-fast);
    --space-xs: var(--hp-space-xs);
    --space-sm: var(--hp-space-sm);
    --space-md: var(--hp-space-md);
    --space-lg: var(--hp-space-lg);
    --space-xl: var(--hp-space-xl);
    --space-2xl: 6rem;
    --white: #ffffff;
    --secondary: var(--hp-beige-dark);
    --secondary-light: var(--hp-offwhite);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--hp-text);
    background: var(--hp-beige);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headline-Font global */
h1, h2, h3.hp-serif {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

/* ============================================
   2. NAVIGATION (Sticky, Glassmorphism)
   ============================================ */

.hp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(74, 99, 85, 0.08);
    padding: 0 24px;
}

.hp-nav__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 8px 0;
    min-height: 52px;
    gap: 0;
}

/* Logo */
.hp-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--hp-green);
    flex-shrink: 0;
}

.hp-nav__logo-icon {
    width: 36px;
    height: 36px;
    background: var(--hp-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    font-weight: 400;
}

.hp-nav__logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    letter-spacing: -0.3px;
}

.hp-nav__logo-accent {
    color: var(--hp-copper);
}

.hp-nav__logo--footer {
    color: white;
}

.hp-nav__logo--footer .hp-nav__logo-icon {
    background: rgba(255, 255, 255, 0.15);
}

/* Nav Links — scrollbare Einzelzeile */
.hp-nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 4px 0 6px;
    min-width: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hp-nav__links::-webkit-scrollbar {
    display: none;
}

.hp-nav__link {
    text-decoration: none;
    color: var(--hp-text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--hp-radius-pill);
    transition: var(--hp-transition-fast);
    white-space: nowrap;
    display: block;
}

.hp-nav__link:hover {
    color: var(--hp-green);
    background: var(--hp-green-light);
}

.hp-nav__link--active {
    color: var(--hp-green);
    background: var(--hp-green-light);
    font-weight: 600;
}

/* Nav Actions (Desktop Auth + Preise/Über uns) */
.hp-nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hp-nav__actions > .hp-nav__link {
    font-size: 13px;
    padding: 6px 10px;
}

/* Theme Toggle */
.hp-nav__theme-toggle {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--hp-green-light);
    border: 1px solid rgba(74, 99, 85, 0.15);
    border-radius: var(--hp-radius-pill);
    color: var(--hp-green);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--hp-transition-fast);
    font-family: inherit;
}

.hp-nav__theme-toggle:hover {
    background: var(--hp-green);
    color: white;
}

/* Hamburger Toggle (Mobile) */
.hp-nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--hp-green);
    flex-shrink: 0;
}

.hp-nav__toggle svg { display: block; }

/* Mobile Auth (nur im Hamburger-Menü) */
.hp-nav__mobile-auth {
    display: none;
}

.hp-nav__mobile-logout {
    width: 100%;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

/* ============================================
   3. BUTTONS (Pill-shaped)
   ============================================ */

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--hp-radius-pill);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--hp-transition);
    line-height: 1.4;
}

.hp-btn:hover {
    transform: translateY(-1px);
}

.hp-btn--primary {
    background: var(--hp-green);
    color: white;
    border-color: var(--hp-green);
}
.hp-btn--primary:hover {
    background: var(--hp-green-dark);
    border-color: var(--hp-green-dark);
    box-shadow: 0 4px 12px rgba(74, 99, 85, 0.3);
}

.hp-btn--outline {
    background: transparent;
    color: var(--hp-green);
    border-color: var(--hp-green);
}
.hp-btn--outline:hover {
    background: var(--hp-green);
    color: white;
}

.hp-btn--copper {
    background: var(--hp-copper);
    color: white;
    border-color: var(--hp-copper);
}
.hp-btn--copper:hover {
    background: var(--hp-copper-light);
    border-color: var(--hp-copper-light);
    box-shadow: var(--hp-shadow-md);
}

.hp-btn--ghost {
    background: transparent;
    color: var(--hp-text-secondary);
    border-color: var(--hp-border);
}
.hp-btn--ghost:hover {
    background: var(--hp-offwhite);
    color: var(--hp-text);
}

.hp-btn--white {
    background: white;
    color: var(--hp-green);
    border-color: white;
    font-weight: 700;
}
.hp-btn--white:hover {
    background: var(--hp-beige);
    border-color: var(--hp-beige);
    box-shadow: var(--hp-shadow-md);
}

.hp-btn--danger {
    background: var(--hp-danger);
    color: white;
    border-color: var(--hp-danger);
}
.hp-btn--danger:hover {
    background: #b83b3b;
    border-color: #b83b3b;
}

.hp-btn--sm {
    padding: 6px 14px;
    font-size: 13px;
}

.hp-btn--lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* Legacy Button Compat (btnx → pill) */
.btnx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    border-radius: var(--hp-radius-pill);
    border: 1.5px solid var(--hp-border);
    background: var(--hp-white);
    color: var(--hp-text);
    cursor: pointer;
    transition: var(--hp-transition);
    text-align: center;
}
.btnx:hover {
    background: var(--hp-green-light);
    border-color: var(--hp-green);
    color: var(--hp-green);
    text-decoration: none;
    transform: translateY(-1px);
}

.btnx-primary {
    background: var(--hp-green);
    color: white;
    border-color: var(--hp-green);
}
.btnx-primary:hover {
    background: var(--hp-green-dark);
    border-color: var(--hp-green-dark);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 99, 85, 0.3);
}

.btnx-outline {
    background: transparent;
    color: var(--hp-green);
    border-color: var(--hp-green);
}
.btnx-outline:hover {
    background: var(--hp-green);
    color: white;
}

.btnx.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.btnx-danger {
    background: var(--hp-danger);
    color: white;
    border-color: var(--hp-danger);
}
.btnx-danger:hover {
    background: #b83b3b;
    border-color: #b83b3b;
    color: white;
}

.btnx-danger-outline {
    background: transparent;
    color: var(--hp-danger);
    border-color: var(--hp-danger);
}
.btnx-danger-outline:hover {
    background: var(--hp-danger);
    color: white;
}

/* ============================================
   4. BADGES
   ============================================ */

.badge-soft {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--hp-radius-pill);
    background: var(--hp-green-light);
    color: var(--hp-green-dark);
}
.badge-soft--danger { background: var(--hp-danger-bg); color: var(--hp-danger); }
.badge-soft--warning { background: #fff3e0; color: #e65100; }
.badge-soft--admin { background: var(--hp-green-light); color: var(--hp-green-dark); font-weight: 700; }

.badge-premium {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, var(--hp-copper), var(--hp-copper-light));
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--hp-radius-pill);
    box-shadow: 0 2px 10px rgba(184, 118, 62, 0.3);
}

.hp-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: var(--hp-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}
.hp-badge--type { background: var(--hp-green-light); color: var(--hp-green-dark); }
.hp-badge--active { background: var(--hp-success-bg); color: #166534; }
.hp-badge--pending { background: #fff3e0; color: #b36b00; }
.hp-badge--rejected { background: var(--hp-danger-bg); color: #991b1b; }
.hp-badge--draft { background: var(--hp-beige-dark); color: var(--hp-text-secondary); }
.hp-badge--premium { background: var(--hp-copper-bg); color: var(--hp-copper); border: 1px solid var(--hp-copper-border); }
.hp-badge--date { background: var(--hp-green); color: white; }
.hp-badge--small { font-size: 0.65rem; padding: 0.15rem 0.5rem; }
.hp-badge--live { background: var(--hp-green); color: #fff; }
.hp-badge--download { background: var(--hp-copper); color: #fff; }
.hp-badge--price { background: transparent; border: 1px solid var(--hp-green); color: var(--hp-green); font-weight: 600; }

/* ============================================
   5. PAGE CONTAINERS
   ============================================ */

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--hp-space-xl) var(--hp-space-md);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--hp-space-lg);
    flex-wrap: wrap;
    gap: var(--hp-space-md);
}

.page-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--hp-text);
    margin: 0;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.05rem;
    color: var(--hp-text-secondary);
    margin-top: var(--hp-space-xs);
}

/* Breadcrumb */
.hp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: var(--hp-space-md);
}
.hp-breadcrumb__link {
    color: var(--hp-text-secondary);
    text-decoration: none;
    transition: var(--hp-transition-fast);
}
.hp-breadcrumb__link:hover { color: var(--hp-green); }
.hp-breadcrumb__sep { color: var(--hp-text-light); }
.hp-breadcrumb__current { color: var(--hp-green); font-weight: 600; }

/* hp-content (Provider-Platform) */
.hp-content {
    max-width: 1200px;
    margin: var(--hp-space-lg) auto;
    padding: 0 var(--hp-space-md);
}

.hp-content__header {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-md) var(--hp-space-lg);
    margin-bottom: var(--hp-space-md);
    border-bottom: 3px solid var(--hp-border-light);
    box-shadow: var(--hp-shadow-sm);
}

.hp-content__title {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--hp-text);
    margin-bottom: var(--hp-space-xs);
    letter-spacing: -0.02em;
}

.hp-content__subtitle {
    font-size: 1.05rem;
    color: var(--hp-text-secondary);
    margin-bottom: var(--hp-space-xs);
}

.hp-content__hint {
    font-size: 0.9rem;
    color: var(--hp-text-light);
    margin-top: calc(-1 * var(--hp-space-xs));
    margin-bottom: var(--hp-space-md);
}

.hp-content__footer {
    margin-top: var(--hp-space-lg);
    text-align: center;
}

/* Tabs */
.hp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--hp-border-light); margin-bottom: var(--hp-space-md); }
.hp-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--hp-text-secondary); text-decoration: none; border-bottom: 2px solid transparent; position: relative; bottom: -1px; transition: color 0.2s ease, border-color 0.2s ease; }
.hp-tab:hover { color: var(--hp-green); }
.hp-tab--active { color: var(--hp-green); border-bottom-color: var(--hp-green); }
.hp-tab__count { background: var(--hp-green-light); color: var(--hp-green); font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: var(--hp-radius-pill); }

/* ============================================
   6. HERO (Startseite V2 Compat + V3 Mockup)
   ============================================ */

/* V2 Hero (Compat — bis Index.cshtml redesigned wird) */
.hp-landing {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--hp-space-md);
}

.hp-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 24px 100px;
    background: linear-gradient(165deg, var(--hp-white) 0%, var(--hp-beige) 50%, var(--hp-green-light) 100%);
}

.hp-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 99, 85, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hp-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 118, 62, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hp-hero__inner,
.hp-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hp-hero__title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--hp-text);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hp-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--hp-text);
    max-width: 680px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hp-hero h1 em {
    color: var(--hp-green);
    font-style: italic;
}

.hp-hero__text,
.hp-hero-sub {
    font-size: 18px;
    color: var(--hp-text-secondary);
    max-width: 520px;
    margin-bottom: 44px;
    line-height: 1.7;
}

/* V2 Hero Search */
.hp-hero__search {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--hp-space-sm);
}

.hp-hero__search-fields {
    display: flex;
    gap: 0.75rem;
    background: var(--hp-white);
    border-radius: var(--hp-radius-pill);
    padding: 0.5rem;
    box-shadow: var(--hp-shadow-lg);
    border: 2px solid var(--hp-copper-border);
}

.hp-hero__select,
.hp-hero__input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--hp-text);
    background: transparent;
    border: none;
    border-radius: var(--hp-radius-pill);
    transition: var(--hp-transition-fast);
}

.hp-hero__select:focus,
.hp-hero__input:focus {
    outline: none;
    background: var(--hp-green-light);
}

.hp-hero__btn {
    padding: 0.85rem var(--hp-space-lg);
    font-size: 1rem;
    border-radius: var(--hp-radius-pill);
}

.hp-hero__auth-hint {
    margin-top: var(--hp-space-sm);
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
}

.hp-hero__auth-hint a {
    color: var(--hp-green);
    text-decoration: none;
    font-weight: 600;
}

.hp-hero__auth-hint a:hover { text-decoration: underline; }

.hp-hero__location-group {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.hp-hero__input--location { flex: 1; border-radius: 0; }
.hp-hero__divider { width: 1px; align-self: stretch; background: var(--hp-border); flex-shrink: 0; margin: 0.5rem 0; }
.hp-hero__select--radius { flex: 0 0 130px; border-radius: 0 var(--hp-radius-pill) var(--hp-radius-pill) 0; }

/* Hero Badge */
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--hp-copper-bg);
    color: var(--hp-copper);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--hp-radius-pill);
    margin-bottom: 28px;
    border: 1px solid var(--hp-copper-border);
}

/* ============================================
   7. LANDING SECTIONS
   ============================================ */

.hp-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hp-section__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--hp-text);
    margin-bottom: var(--hp-space-lg);
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 0.75rem;
}

.hp-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--hp-copper);
    border-radius: 2px;
}

.hp-section__actions {
    text-align: center;
    margin-top: var(--hp-space-lg);
}

.hp-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hp-copper);
    margin-bottom: 12px;
}

.hp-section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    color: var(--hp-text);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.hp-section-sub {
    font-size: 17px;
    color: var(--hp-text-secondary);
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* Problem section (V2 compat) */
.hp-problem { max-width: 640px; margin: 0 auto; }
.hp-problem__items { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: var(--hp-space-lg); }
.hp-problem__item { display: flex; align-items: flex-start; gap: 1rem; padding: var(--hp-space-sm) var(--hp-space-md); background: var(--hp-white); border: 1px solid var(--hp-border-light); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow-sm); }
.hp-problem__item p { margin: 0; font-size: 0.95rem; color: var(--hp-text); line-height: 1.55; }
.hp-problem__icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; min-width: 28px; border-radius: var(--hp-radius-pill); background: var(--hp-danger-bg); color: var(--hp-danger); font-size: 0.85rem; font-weight: 700; }
.hp-problem__resolve { text-align: center; font-size: 1.1rem; font-weight: 600; color: var(--hp-green); }

/* Steps (V2 compat) */
.hp-steps { display: flex; align-items: flex-start; gap: var(--hp-space-lg); max-width: 860px; margin: 0 auto; }
.hp-steps__item { flex: 1; text-align: center; }
.hp-steps__number { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--hp-radius-pill); background: var(--hp-green); color: white; font-family: 'DM Serif Display', serif; font-size: 1.25rem; font-weight: 400; margin-bottom: var(--hp-space-sm); box-shadow: var(--hp-shadow-md); }
.hp-steps__heading { font-size: 1.1rem; font-weight: 600; color: var(--hp-text); margin-bottom: var(--hp-space-xs); }
.hp-steps__text { font-size: 0.9rem; color: var(--hp-text-secondary); line-height: 1.6; margin: 0; }
.hp-steps__divider { width: 48px; height: 2px; background: var(--hp-border); margin-top: 28px; flex-shrink: 0; }

/* Provider CTA (V2 compat) */
.hp-provider-cta { background: var(--hp-white); border: 2px solid var(--hp-copper-border); border-radius: var(--hp-radius-lg); padding: var(--hp-space-xl) var(--hp-space-lg); text-align: center; max-width: 640px; margin: 0 auto; box-shadow: var(--hp-shadow-md); }
.hp-provider-cta__body { font-size: 1.05rem; color: var(--hp-text-secondary); line-height: 1.7; margin-bottom: var(--hp-space-lg); max-width: 500px; margin-left: auto; margin-right: auto; }
.hp-vision-teaser { text-align: center; padding: var(--hp-space-lg) 0 var(--hp-space-xl); }
.hp-vision-teaser__text { font-size: 0.9rem; color: var(--hp-text-light); font-style: italic; }

/* ============================================
   8. CARDS (Legacy + hp-card)
   ============================================ */

.cardx {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-sm);
    border: 1px solid var(--hp-border);
    transition: var(--hp-transition);
}
.cardx:hover { box-shadow: var(--hp-shadow-lg); border-color: var(--hp-copper-border); transform: translateY(-2px); }
.cardx-body { padding: var(--hp-space-md); }
.cardx-title { font-family: 'DM Serif Display', serif; font-size: 1.3rem; font-weight: 400; color: var(--hp-text); margin-bottom: var(--hp-space-sm); }
.cardx-meta { font-size: 0.875rem; color: var(--hp-text-secondary); margin-bottom: var(--hp-space-xs); }

/* hp-card */
.hp-card { background: var(--hp-white); border: 1px solid var(--hp-border); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow-sm); margin-bottom: var(--hp-space-md); overflow: hidden; transition: var(--hp-transition); }
.hp-card__body { padding: var(--hp-space-md); }
.hp-card__top { display: flex; gap: var(--hp-space-xs); flex-wrap: wrap; margin-bottom: var(--hp-space-sm); }
.hp-card__title { font-family: 'DM Serif Display', serif; font-size: 1.25rem; font-weight: 400; color: var(--hp-text); margin-bottom: 0.25rem; }
.hp-card__title--large { font-size: 1.6rem; }
.hp-card__location, .hp-card__location--large { font-size: 0.9rem; color: var(--hp-text-secondary); margin-bottom: var(--hp-space-xs); }
.hp-card__location--large { font-size: 1.05rem; }
.hp-card__mobile { font-size: 0.9rem; color: var(--hp-green); font-weight: 500; margin-bottom: var(--hp-space-xs); }
.hp-card__text { font-size: 0.9rem; color: var(--hp-text-secondary); line-height: 1.55; margin-bottom: var(--hp-space-sm); }
.hp-card__shorttext { font-size: 1rem; color: var(--hp-text); font-weight: 500; margin-bottom: var(--hp-space-sm); }
.hp-card__description { font-size: 0.95rem; color: var(--hp-text); line-height: 1.7; white-space: pre-line; margin-top: var(--hp-space-md); }
.hp-card__contact { margin-top: var(--hp-space-lg); padding-top: var(--hp-space-md); border-top: 1px solid var(--hp-border); }
.hp-card__contact-title { font-size: 1rem; font-weight: 600; margin-bottom: var(--hp-space-sm); color: var(--hp-text); }
.hp-card__contact p { margin: var(--hp-space-xs) 0; font-size: 0.95rem; }
.hp-card__contact a { color: var(--hp-green); text-decoration: none; }
.hp-card__contact a:hover { text-decoration: underline; }
.hp-card__meta { font-size: 0.85rem; color: var(--hp-text-secondary); margin-bottom: var(--hp-space-sm); }
.hp-card__actions { display: flex; gap: var(--hp-space-xs); flex-wrap: wrap; margin-top: var(--hp-space-sm); }
.hp-card__actions--detail { margin-top: var(--hp-space-md); padding-top: var(--hp-space-md); border-top: 1px solid var(--hp-border-light); }
.hp-card__empty-text { text-align: center; color: var(--hp-text-secondary); padding: var(--hp-space-lg) 0; }

.hp-card--filter { margin-bottom: var(--hp-space-md); overflow: visible; position: sticky; top: 68px; z-index: 50; }
.hp-card--form { max-width: 680px; overflow: visible; }
.hp-card--form .hp-card__body { padding: var(--hp-space-lg); }
.hp-card--empty { text-align: center; padding: var(--hp-space-lg); }

.hp-card--provider, .hp-card--webinar { transition: box-shadow 0.25s ease, transform 0.25s ease; }
.hp-card--provider:hover, .hp-card--webinar:hover { box-shadow: var(--hp-shadow-xl); border-color: var(--hp-copper-border); transform: translateY(-4px); }
a.hp-card--provider { display: flex; flex-direction: column; text-decoration: none; color: inherit; margin-bottom: 0; }
a.hp-card--provider .hp-card__body { flex: 1; display: flex; flex-direction: column; }
a.hp-card--provider .hp-card__text { flex: 1; }

.hp-card__image { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hp-beige-dark); }
.hp-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.hp-card--provider:hover .hp-card__image img { transform: scale(1.03); }
.hp-card__image-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--hp-text-light); font-size: 0.85rem; }
.hp-card__premium-badge { position: absolute; top: var(--hp-space-xs); right: var(--hp-space-xs); }
.hp-card__admin-actions { margin-top: auto; padding-top: var(--hp-space-sm); }

/* ============================================
   9. GRID + TILE SYSTEM
   ============================================ */

.grid { display: grid; gap: var(--hp-space-md); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.hp-provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hp-space-md); }

.hp-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--hp-space-md);
}

.hp-tile {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-sm);
    border: 1px solid var(--hp-border);
    transition: var(--hp-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hp-tile--link { cursor: pointer; }
.hp-tile--premium {
    border: 2.5px solid #d4a843;
    background: linear-gradient(to bottom, #fffdf5 0%, var(--hp-white) 15%);
    box-shadow: 0 2px 12px rgba(212, 168, 67, 0.15);
}
.hp-tile--premium:hover {
    box-shadow: 0 6px 24px rgba(212, 168, 67, 0.22);
    border-color: #d4a843;
    transform: translateY(-4px);
}
.hp-tile:hover { box-shadow: var(--hp-shadow-xl); border-color: var(--hp-copper-border); transform: translateY(-4px); }

.hp-tile__body { padding: var(--hp-space-md); display: flex; flex-direction: column; gap: var(--hp-space-xs); flex: 1; }
.hp-tile__header { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--hp-space-sm); }
.hp-tile__badges { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.hp-tile__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.hp-tile__tags:first-of-type { margin-top: auto; }
.hp-tile__tags .tag { font-size: 0.78rem; padding: 0.3rem 0.75rem; }
.hp-tile__title { font-family: 'DM Serif Display', serif; font-size: 1.3rem; font-weight: 400; color: var(--hp-text); margin-bottom: 2px; }
.hp-tile__text { font-size: 0.9rem; color: var(--hp-text-secondary); line-height: 1.55; }
.hp-tile__mobile { color: var(--hp-green); font-weight: 500; }
.hp-tile__actions { display: flex; gap: var(--hp-space-xs); flex-wrap: wrap; margin-top: auto; padding-top: var(--hp-space-sm); }

/* Tile Image Wrapper & Carousel */
.hp-tile-img-wrap { position: relative; overflow: hidden; }
.hp-tile-carousel { position: relative; height: 210px; background: var(--hp-beige-dark); overflow: hidden; }
.hp-tile-carousel__track { width: 100%; height: 100%; position: relative; }
.hp-tile-carousel__slide { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.6s ease, transform 0.5s ease; }
.hp-tile-carousel__slide--active { opacity: 1; }
.hp-tile:hover .hp-tile-carousel__slide--active { transform: scale(1.04); }
.hp-tile-carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: var(--hp-radius-pill); border: none; background: rgba(255, 255, 255, 0.9); color: var(--hp-text); font-size: 1.2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s ease; z-index: 2; box-shadow: var(--hp-shadow-md); }
.hp-tile-carousel:hover .hp-tile-carousel__btn { opacity: 1; }
.hp-tile-carousel__btn:hover { background: var(--hp-white); transform: translateY(-50%) scale(1.05); }
.hp-tile-carousel__btn--prev { left: 10px; }
.hp-tile-carousel__btn--next { right: 10px; }
.hp-tile-carousel__dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.hp-tile-carousel__dot { width: 8px; height: 8px; border-radius: var(--hp-radius-pill); background: rgba(255, 255, 255, 0.45); transition: background 0.2s ease; }
.hp-tile-carousel__dot--active { background: white; box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); }

/* Floating badges on image */
.hp-tile__badges-float { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.hp-tile__chip { padding: 4px 10px; border-radius: var(--hp-radius-pill); font-size: 11px; font-weight: 600; backdrop-filter: blur(8px); }
.hp-tile__chip--mobile { background: rgba(255,255,255,0.9); color: var(--hp-green-dark); }
.hp-tile__chip--premium { background: rgba(184,118,62,0.92); color: white; }

/* No-image fallback: green top border, no image area */
.hp-tile--no-img .hp-tile__body { border-top: 3px solid var(--hp-green); padding: 20px 18px 24px; }

/* Tile description clamp */
.hp-tile__desc { font-size: 14px; color: var(--hp-text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.hp-tile__price { font-size: 0.82rem; color: var(--hp-copper); font-weight: 500; margin-top: 2px; }
.hp-tile__exp-badge { display: inline-block; padding: 2px 8px; background: var(--hp-beige, #f5f1e8); border-radius: 999px; font-size: 0.75rem; color: var(--hp-text-secondary); margin-top: 4px; }

/* Tile Contact & Social */
.hp-tile__contact { display: flex; flex-direction: column; gap: 0.3rem; margin-top: var(--hp-space-sm); padding-top: var(--hp-space-sm); border-top: 1px solid var(--hp-border-light); }
.hp-tile__contact-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--hp-text-secondary); text-decoration: none; font-size: 0.8rem; transition: var(--hp-transition-fast); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-tile__contact-link span { overflow: hidden; text-overflow: ellipsis; }
.hp-tile__contact-link svg { flex-shrink: 0; }
.hp-tile__contact-link:hover { color: var(--hp-green); }
.hp-tile__social { display: flex; gap: 0.35rem; margin-top: var(--hp-space-xs); }
.hp-tile__location { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; color: var(--hp-text-secondary); }
.hp-tile__location svg { color: var(--hp-green-muted); flex-shrink: 0; }
.hp-tile__icon--image { background: none; overflow: hidden; }
.hp-tile__icon--image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--hp-radius-pill); }

/* ============================================
   10. TAGS
   ============================================ */

.tag-list { display: flex; flex-wrap: wrap; gap: var(--hp-space-xs); }
.tag { display: inline-block; padding: 0.45rem 1rem; background: var(--hp-green); color: white; border-radius: var(--hp-radius-pill); font-size: 0.88rem; font-weight: 500; transition: var(--hp-transition-fast); }
.tag:hover { background: var(--hp-green-dark); }
.tag-secondary { background: var(--hp-text-light); }

.hp-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: var(--hp-space-sm); }
.hp-tag { display: inline-block; padding: 0.25rem 0.7rem; background: var(--hp-beige); color: var(--hp-green); border-radius: var(--hp-radius-pill); font-size: 0.8rem; font-weight: 500; transition: var(--hp-transition-fast); }
.hp-tag--category { background: var(--hp-green); color: white; }
.hp-tag--more { background: var(--hp-beige-dark); color: var(--hp-text-secondary); font-size: 0.78rem; cursor: pointer; text-decoration: none; }

/* Tag Checkboxes */
.hp-tag-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hp-tag-checkbox { display: inline-flex; cursor: pointer; }
.hp-tag-checkbox input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.hp-tag-checkbox__label { display: inline-block; padding: 0.45rem 0.95rem; font-size: 0.85rem; border: 1px solid var(--hp-border); border-radius: var(--hp-radius-pill); color: var(--hp-text); background: var(--hp-white); transition: var(--hp-transition-fast); user-select: none; font-weight: 500; }
.hp-tag-checkbox__label:hover { border-color: var(--hp-green-muted); background: var(--hp-green-light); }
.hp-tag-checkbox input[type="checkbox"]:checked + .hp-tag-checkbox__label { background: var(--hp-green); color: white; border-color: var(--hp-green); box-shadow: var(--hp-shadow-sm); }

/* ============================================
   11. FORMS
   ============================================ */

.form-section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--hp-text);
    margin: var(--hp-space-lg) 0 var(--hp-space-md) 0;
    padding-bottom: var(--hp-space-xs);
    border-bottom: 2px solid var(--hp-copper-border);
}

.form-group { margin-bottom: var(--hp-space-md); }
.form-label { display: block; font-weight: 600; color: var(--hp-text); margin-bottom: 0.4rem; font-size: 0.9rem; }

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--hp-transition-fast);
    background: var(--hp-white);
    color: var(--hp-text);
}
.form-control:focus { outline: none; border-color: var(--hp-green); box-shadow: 0 0 0 4px rgba(74, 99, 85, 0.1); }
.form-control::placeholder { color: var(--hp-text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-text { display: block; font-size: 0.85rem; color: var(--hp-text-secondary); margin-top: var(--hp-space-xs); }
.form-check { display: flex; align-items: center; gap: var(--hp-space-xs); }
.form-check-input { width: 20px; height: 20px; cursor: pointer; accent-color: var(--hp-green); }
.form-check-label { font-size: 0.95rem; color: var(--hp-text); cursor: pointer; }
.form-actions { display: flex; gap: var(--hp-space-sm); margin-top: var(--hp-space-xl); padding-top: var(--hp-space-lg); border-top: 1px solid var(--hp-border); }
.text-danger { color: var(--hp-danger); font-size: 0.85rem; margin-top: var(--hp-space-xs); display: block; }

.alert { padding: var(--hp-space-md); border-radius: var(--hp-radius); margin-bottom: var(--hp-space-md); }
.alert-danger { background: var(--hp-danger-bg); color: #9b1c1c; border: 1px solid var(--hp-danger-border); }
.alert-warning { background: var(--hp-warning-bg); color: var(--hp-warning-text); border: 1px solid var(--hp-warning-border); }

/* hp-label / hp-input / hp-textarea / hp-select */
.hp-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--hp-text); margin-bottom: 0.35rem; }
.hp-label__required { color: var(--hp-danger); font-weight: 400; }
.hp-label__premium { font-size: 0.7rem; font-weight: 600; color: var(--hp-copper); background: var(--hp-copper-bg); padding: 1px 6px; border-radius: 3px; margin-left: 4px; vertical-align: middle; }

.hp-input, .hp-select, .hp-textarea {
    display: block; width: 100%; padding: 0.65rem 0.9rem; font-size: 0.9rem; font-family: inherit;
    color: var(--hp-text); background: var(--hp-white); border: 1px solid var(--hp-border); border-radius: var(--hp-radius); transition: var(--hp-transition-fast);
}
.hp-input:focus, .hp-select:focus, .hp-textarea:focus { outline: none; border-color: var(--hp-green); box-shadow: 0 0 0 4px rgba(74, 99, 85, 0.1); }
.hp-input--error { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12); }
.hp-field-error { color: #c0392b; font-size: 0.85rem; margin-top: var(--hp-space-xxs, 0.25rem); }
.hp-textarea { resize: vertical; min-height: 100px; }

.hp-form-group { margin-bottom: var(--hp-space-md); }
.hp-form-row { display: flex; gap: var(--hp-space-md); }
.hp-form-group--flex { flex: 1; min-width: 0; }
.hp-fieldset { border: 1px solid var(--hp-border-light); border-radius: var(--hp-radius); padding: var(--hp-space-md); margin-bottom: var(--hp-space-md); }
.hp-fieldset legend { font-weight: 600; padding: 0 var(--hp-space-xs); }
.hp-form-actions { display: flex; gap: var(--hp-space-sm); margin-top: var(--hp-space-lg); padding-top: var(--hp-space-md); border-top: 1px solid var(--hp-border-light); }
.hp-field-error { display: block; font-size: 0.8rem; color: var(--hp-danger); margin-top: 0.25rem; }
.hp-field-hint { display: block; font-size: 0.8rem; color: var(--hp-text-light); margin-top: 0.25rem; }

.hp-validation-summary { background: var(--hp-danger-bg); color: #991b1b; padding: var(--hp-space-sm); border-radius: var(--hp-radius); margin-bottom: var(--hp-space-md); font-size: 0.85rem; border: 1px solid var(--hp-danger-border); }
.hp-validation-summary:empty { display: none; }
.validation-summary-valid { display: none; }

.hp-fieldset { border: none; padding: 0; margin: 0 0 var(--hp-space-md) 0; }
.hp-fieldset__legend { font-family: 'DM Serif Display', serif; font-size: 1.05rem; font-weight: 400; color: var(--hp-text); padding: 0; margin-bottom: var(--hp-space-md); padding-bottom: var(--hp-space-xs); border-bottom: 2px solid var(--hp-copper-border); width: 100%; }

/* Category Grid */
.hp-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.hp-category-checkbox { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1rem; background: var(--hp-offwhite); border: 1px solid var(--hp-border); border-radius: var(--hp-radius); cursor: pointer; transition: var(--hp-transition-fast); }
.hp-category-checkbox:hover { border-color: var(--hp-green); background: var(--hp-green-light); }
.hp-category-checkbox input:checked + span { color: var(--hp-green); font-weight: 600; }

/* Info Box */
.hp-info-box { display: flex; align-items: flex-start; gap: var(--hp-space-sm); padding: var(--hp-space-md); background: var(--hp-copper-bg); border: 1px solid var(--hp-copper-border); border-left: 4px solid var(--hp-copper); border-radius: var(--hp-radius); margin-bottom: var(--hp-space-lg); font-size: 0.9rem; color: var(--hp-text); line-height: 1.55; max-width: 680px; }
.hp-info-box--debug { font-size: 0.85rem; font-family: monospace; max-width: none; }
.hp-info-box__icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; min-width: 24px; border-radius: var(--hp-radius-pill); background: var(--hp-green); color: white; font-size: 0.75rem; font-weight: 700; }

/* Premium Hint */
.hp-premium-hint { padding: var(--hp-space-md); background: var(--hp-copper-bg); border: 1px solid var(--hp-copper-border); border-left: 4px solid var(--hp-copper); border-radius: var(--hp-radius); margin-bottom: var(--hp-space-md); font-size: 0.9rem; color: var(--hp-text); line-height: 1.55; }

/* Filter Form */
.hp-filter-form__row { display: flex; gap: var(--hp-space-sm); flex-wrap: wrap; align-items: flex-end; }
.hp-filter-form__field { flex: 1; min-width: 140px; }
.hp-filter-form__field--radius { flex: 0 0 130px; min-width: 130px; }
.hp-filter-form__field--checkbox { flex: 0 0 auto; min-width: auto; display: flex; flex-direction: column; align-items: flex-start; }
.hp-filter-form__actions { display: flex; gap: var(--hp-space-xs); align-items: center; margin-top: var(--hp-space-xs); }
.hp-filter-form__hint { display: block; font-size: 0.75rem; color: var(--hp-text-light); margin-top: 0.2rem; }

/* Kategorie-/Tag-Filter unterhalb der Suchleiste */
.hp-filter-tags { display: flex; flex-direction: column; gap: var(--hp-space-sm); margin-bottom: var(--hp-space-sm); }

/* Aktive Filter-Chips oberhalb des Akkordeons */
.hp-active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--hp-space-sm); }

/* Mehr-Filter-Akkordeon */
.hp-filter-more { margin-bottom: var(--hp-space-sm); }
.hp-filter-more summary { cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--hp-green); list-style: none; display: inline-flex; align-items: center; gap: 4px; user-select: none; }
.hp-filter-more summary::-webkit-details-marker { display: none; }
.hp-filter-more summary::before { content: '▸'; transition: transform 0.2s ease; }
.hp-filter-more[open] summary::before { transform: rotate(90deg); }
.hp-filter-more__body { padding-top: var(--hp-space-sm); }
.hp-filter-tags__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hp-filter-tags__label { font-size: 0.8rem; font-weight: 600; color: var(--hp-text-secondary); margin-right: 4px; }
.hp-filter-tags .hp-tag { cursor: pointer; text-decoration: none; transition: var(--hp-transition-fast); }
.hp-filter-tags .hp-tag:hover { opacity: 0.8; }
.hp-filter-tags .hp-tag--active { background: var(--hp-green); color: #fff; }
.hp-filter-tags .hp-tag--category.hp-tag--active { background: var(--hp-copper); color: #fff; }

/* Pill-shaped filter inputs — kompakt */
.hp-card--filter .hp-input,
.hp-card--filter .hp-select {
    border-radius: var(--hp-radius-pill);
    padding: 8px 12px;
    height: 36px;
    font-size: 0.875rem;
}
.hp-card--filter .hp-label {
    font-size: 0.7rem;
    margin-bottom: 2px;
}

/* ============================================
   12. SEARCH & FILTER
   ============================================ */

.hp-search-section { background: var(--hp-white); border-radius: var(--hp-radius); padding: var(--hp-space-md); margin-bottom: var(--hp-space-lg); box-shadow: var(--hp-shadow-sm); border: 1px solid var(--hp-border); }
.hp-search-form { display: flex; flex-direction: column; gap: 1rem; }
.hp-search-row { display: flex; gap: 1rem; align-items: stretch; }
.hp-search-input-wrapper { display: flex; gap: 0.75rem; flex: 1; }
.hp-search-input { flex: 1; padding: 0.65rem 1rem; border: 1px solid var(--hp-border); border-radius: var(--hp-radius); font-size: 0.9rem; font-family: inherit; color: var(--hp-text); background: var(--hp-white); transition: var(--hp-transition-fast); }
.hp-search-input:focus { outline: none; border-color: var(--hp-green); box-shadow: 0 0 0 4px rgba(74, 99, 85, 0.1); }
.hp-search-input::placeholder { color: var(--hp-text-light); }

.hp-search-btn { padding: 0.6rem 1.5rem; background: var(--hp-green); color: white; border: 1px solid var(--hp-green); border-radius: var(--hp-radius-pill); font-size: 0.875rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: var(--hp-transition); white-space: nowrap; box-shadow: var(--hp-shadow-sm); }
.hp-search-btn:hover { background: var(--hp-green-dark); border-color: var(--hp-green-dark); box-shadow: var(--hp-shadow-md); }

.hp-filter-row { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; padding: var(--hp-space-sm); }
.hp-filter-checkbox { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; user-select: none; padding: 0.4rem 0.65rem; border-radius: var(--hp-radius-sm); transition: var(--hp-transition-fast); }
.hp-filter-checkbox:hover { background: var(--hp-green-light); }
.hp-filter-checkbox input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--hp-green); }
.hp-filter-checkbox span { font-size: 0.9rem; color: var(--hp-text); }
.hp-filter-reset { color: var(--hp-green); text-decoration: none; font-size: 0.85rem; font-weight: 600; margin-left: auto; transition: var(--hp-transition-fast); }
.hp-filter-reset:hover { color: var(--hp-green-dark); text-decoration: underline; }

.hp-filter-field { flex: 1; min-width: 120px; }
.hp-filter-field .hp-input { border-radius: var(--hp-radius-pill); padding: 0 1.1rem; height: 40px; }
.hp-filter-field--checkbox { flex: 0 0 auto; min-width: auto; display: flex; align-items: center; height: 40px; }
.hp-filter-field--action { flex: 0 0 auto; min-width: auto; display: flex; align-items: center; gap: 0.5rem; height: 40px; }
.hp-filter-field--action .hp-btn { min-width: 100px; height: 40px; }
.hp-checkbox-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; user-select: none; font-size: 0.9rem; color: var(--hp-text); white-space: nowrap; }
.hp-checkbox-label input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--hp-green); }

.hp-search-results-info { padding: 0.85rem 1.15rem; background: var(--hp-copper-bg); border-radius: var(--hp-radius); border-left: 4px solid var(--hp-copper); margin-bottom: var(--hp-space-md); }
.hp-search-results-info p { margin: 0; font-size: 0.9rem; color: var(--hp-text); }
.hp-search-results-info strong { color: var(--hp-green); font-weight: 700; }

.searchbar { display: flex; align-items: center; gap: var(--hp-space-sm); }
.searchbar .icon { font-size: 1.25rem; }
.searchbar input { flex: 1; padding: 0.85rem 1rem; border: 1px solid var(--hp-border); border-radius: var(--hp-radius); font-size: 0.95rem; background: var(--hp-white); font-family: inherit; transition: var(--hp-transition-fast); }
.searchbar input:focus { outline: none; border-color: var(--hp-green); box-shadow: 0 0 0 3px rgba(74, 99, 85, 0.1); }

/* ============================================
   13. PROVIDER DETAILS
   ============================================ */

.trainer-detail-header { background: var(--hp-white); border-radius: var(--hp-radius-lg); padding: var(--hp-space-lg); margin-bottom: var(--hp-space-lg); box-shadow: var(--hp-shadow-md); border: 1px solid var(--hp-border); border-top: 3px solid var(--hp-copper); display: flex; align-items: center; gap: var(--hp-space-lg); flex-wrap: wrap; }
.trainer-detail-avatar { width: 110px; height: 110px; border-radius: var(--hp-radius-pill); background: linear-gradient(135deg, var(--hp-green), var(--hp-green-muted)); color: white; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 600; flex-shrink: 0; box-shadow: var(--hp-shadow-md); }
.trainer-detail-avatar--image { background: none; overflow: hidden; }
.trainer-detail-avatar--image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--hp-radius-pill); }
.trainer-detail-info { flex: 1; min-width: 250px; }
.trainer-detail-name { font-family: 'DM Serif Display', serif; font-size: 2.2rem; font-weight: 400; color: var(--hp-text); margin-bottom: var(--hp-space-xs); display: flex; align-items: center; gap: var(--hp-space-sm); flex-wrap: wrap; }
.trainer-detail-location { font-size: 1.1rem; color: var(--hp-text-secondary); margin-bottom: var(--hp-space-xs); }
.trainer-detail-mobile { font-size: 0.95rem; color: var(--hp-text-secondary); }
.trainer-detail-actions { display: flex; gap: var(--hp-space-sm); flex-wrap: wrap; }
.trainer-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: var(--hp-space-lg); }
.trainer-detail-main { min-width: 0; }
.trainer-detail-sidebar { min-width: 0; }
.trainer-description { font-size: 1rem; line-height: 1.75; color: var(--hp-text); white-space: pre-wrap; }

/* Contact Card */
.contact-card .cardx-body { padding: var(--hp-space-md); }
.contact-item { display: flex; align-items: center; gap: var(--hp-space-sm); padding: var(--hp-space-sm); border-radius: var(--hp-radius); text-decoration: none; color: var(--hp-text); transition: var(--hp-transition-fast); margin-bottom: var(--hp-space-xs); }
.contact-item:hover { background: var(--hp-green-light); }
.contact-icon { font-size: 1.5rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--hp-green-light); border-radius: var(--hp-radius); flex-shrink: 0; }
.contact-label { font-size: 0.78rem; color: var(--hp-text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-value { font-size: 0.95rem; color: var(--hp-text); font-weight: 600; }

.meta-list { display: flex; flex-direction: column; gap: var(--hp-space-sm); }
.meta-item { display: flex; justify-content: space-between; align-items: center; padding: var(--hp-space-xs) 0; border-bottom: 1px solid var(--hp-border-light); }
.meta-item:last-child { border-bottom: none; }
.meta-label { font-size: 0.9rem; color: var(--hp-text-secondary); font-weight: 500; }
.meta-value { font-size: 0.9rem; color: var(--hp-text); font-weight: 600; }

.hp-trainer-details { margin: var(--hp-space-md) 0; }
.hp-trainer-details__section { margin-bottom: var(--hp-space-sm); }
.hp-trainer-details__heading { font-size: 0.95rem; font-weight: 600; margin-bottom: var(--hp-space-xs); }

/* Social Links */
.hp-social-links { display: flex; gap: var(--hp-space-sm); flex-wrap: wrap; margin: var(--hp-space-md) 0; }
.hp-social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--hp-radius-pill); background: var(--hp-offwhite); color: var(--hp-text-secondary); transition: var(--hp-transition-fast); text-decoration: none; }
.hp-social-link:hover { background: var(--hp-green); color: white; transform: translateY(-2px); box-shadow: var(--hp-shadow-sm); }
.hp-social-link--sm { width: 30px; height: 30px; }

/* ============================================
   14. IMAGE UPLOAD & GALLERY
   ============================================ */

.hp-image-upload { position: relative; border: 2px dashed var(--hp-border); border-radius: var(--hp-radius-lg); padding: var(--hp-space-xl) var(--hp-space-lg); text-align: center; transition: var(--hp-transition); cursor: pointer; background: var(--hp-offwhite); }
.hp-image-upload:hover { border-color: var(--hp-green-muted); background: var(--hp-green-light); }
.hp-image-upload__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.hp-image-upload__placeholder { display: flex; flex-direction: column; align-items: center; gap: var(--hp-space-xs); color: var(--hp-text-secondary); }
.hp-image-upload__icon { font-size: 2.5rem; margin-bottom: var(--hp-space-xs); }
.hp-image-upload__placeholder small { font-size: 0.8rem; color: var(--hp-text-light); }

.hp-image-preview { position: relative; display: inline-block; }
.hp-image-preview img { max-width: 200px; max-height: 200px; border-radius: var(--hp-radius); object-fit: cover; box-shadow: var(--hp-shadow-sm); }
.hp-image-preview__remove { position: absolute; top: -8px; right: -8px; width: 30px; height: 30px; border-radius: var(--hp-radius-pill); border: none; background: var(--hp-danger); color: white; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3; transition: var(--hp-transition-fast); box-shadow: var(--hp-shadow-sm); }
.hp-image-preview__remove:hover { background: #b83b3b; transform: scale(1.1); }

.hp-image-gallery-preview { display: flex; gap: var(--hp-space-sm); flex-wrap: wrap; margin-top: var(--hp-space-sm); }
.hp-image-thumb { position: relative; width: 120px; height: 120px; border-radius: var(--hp-radius); overflow: hidden; box-shadow: var(--hp-shadow-sm); }
.hp-image-thumb img { width: 100%; height: 100%; object-fit: cover; }

.hp-image-gallery-edit { display: flex; gap: var(--hp-space-sm); flex-wrap: wrap; margin-bottom: var(--hp-space-md); }
.hp-image-thumb--edit { width: 150px; height: auto; border-radius: var(--hp-radius); overflow: hidden; box-shadow: var(--hp-shadow-sm); }
.hp-image-thumb--edit img { width: 150px; height: 120px; object-fit: cover; border-radius: var(--hp-radius) var(--hp-radius) 0 0; }
.hp-image-thumb__actions { padding: var(--hp-space-xs); display: flex; flex-direction: column; gap: 4px; background: var(--hp-white); border-radius: 0 0 var(--hp-radius) var(--hp-radius); border: 1px solid var(--hp-border-light); border-top: none; }
.hp-image-thumb__badge { font-size: 0.75rem; font-weight: 600; color: var(--hp-green); padding: 2px 6px; background: var(--hp-green-light); border-radius: var(--hp-radius-sm); text-align: center; }
.hp-image-thumb__action { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; cursor: pointer; padding: 2px 4px; border-radius: 4px; transition: var(--hp-transition-fast); }
.hp-image-thumb__action:hover { background: var(--hp-offwhite); }
.hp-image-thumb__action input { width: 14px; height: 14px; cursor: pointer; }
.hp-image-thumb__action--delete span { color: var(--hp-danger); }

/* Details Gallery */
.hp-gallery-main { border-radius: var(--hp-radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--hp-beige-dark); margin-bottom: var(--hp-space-sm); box-shadow: var(--hp-shadow-sm); }
.hp-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.3s ease; }
img[src*="blob.core.windows.net"] { min-height: 60px; background: var(--hp-beige-dark); }

.hp-gallery-thumbs { display: flex; gap: var(--hp-space-xs); flex-wrap: wrap; }
.hp-gallery-thumb { width: 80px; height: 60px; border-radius: var(--hp-radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; padding: 0; background: none; opacity: 0.6; transition: var(--hp-transition-fast); flex-shrink: 0; }
.hp-gallery-thumb:hover { opacity: 1; border-color: var(--hp-green-muted); }
.hp-gallery-thumb--active { opacity: 1; border-color: var(--hp-green); box-shadow: 0 0 0 2px rgba(74, 99, 85, 0.2); }
.hp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Gallery Grid (Detail Page) */
.hp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--hp-space-sm);
}
.hp-gallery-grid__item {
    aspect-ratio: 4 / 3;
    border-radius: var(--hp-radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--hp-shadow-sm);
    transition: var(--hp-transition);
}
.hp-gallery-grid__item:hover {
    box-shadow: var(--hp-shadow-lg);
    transform: translateY(-2px);
}
.hp-gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.hp-gallery-grid__item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.hp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
}
.hp-lightbox--open {
    display: flex;
}
.hp-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: transform 0.2s ease;
}
.hp-lightbox__close:hover {
    transform: scale(1.2);
}
.hp-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--hp-radius);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
    cursor: default;
}
.hp-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    font-size: 3rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10000;
    line-height: 1;
}
.hp-lightbox__nav:hover { background: rgba(255, 255, 255, 0.3); }
.hp-lightbox__nav--prev { left: 20px; }
.hp-lightbox__nav--next { right: 20px; }
.hp-lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10000;
}

/* Mobile Sticky CTA */
.hp-mobile-cta {
    display: none;
}

/* Contact CTA group */
.hp-detail-contact__cta-group {
    display: flex;
    flex-direction: column;
    gap: var(--hp-space-xs);
    margin-top: var(--hp-space-md);
}

/* Location icon in detail page */
.hp-card__location svg {
    vertical-align: -2px;
    margin-right: 2px;
    color: var(--hp-green-muted);
}

/* ============================================
   14b. PROVIDER DETAIL PAGE
   ============================================ */

/* Hero image (full-width banner) */
.hp-detail-hero {
    width: 100%;
    aspect-ratio: 21 / 8;
    max-height: 400px;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    background: var(--hp-beige-dark);
    margin-bottom: calc(-48px);
    position: relative;
    cursor: pointer;
}
.hp-detail-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}
.hp-detail-hero__slide--active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}
.hp-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hp-detail-hero:hover .hp-detail-hero__slide--active {
    transform: scale(1.03);
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.hp-detail-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--hp-text);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: var(--hp-transition-fast);
}
.hp-detail-hero__nav:hover { background: white; transform: translateY(-50%) scale(1.1); }
.hp-detail-hero__nav--prev { left: 12px; }
.hp-detail-hero__nav--next { right: 12px; }
.hp-detail-hero__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 6px;
}
.hp-detail-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: background 0.2s;
}
.hp-detail-hero__dot--active {
    background: white;
}
.hp-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
.hp-detail-hero__expand {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: var(--hp-radius-pill);
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-text);
    backdrop-filter: blur(8px);
    box-shadow: var(--hp-shadow-md);
    transition: var(--hp-transition-fast);
}
.hp-detail-hero__expand:hover {
    background: white;
    transform: scale(1.05);
}
.hp-detail-hero--empty {
    aspect-ratio: auto;
    height: 0;
    margin-bottom: 0;
}

/* Identity card (overlaps hero) */
.hp-detail-identity {
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg);
    padding: var(--hp-space-lg);
    box-shadow: var(--hp-shadow-md);
    position: relative;
    z-index: 1;
}

/* 2-column layout */
.hp-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--hp-space-lg);
    margin-top: var(--hp-space-lg);
    align-items: start;
}

/* Main content column */
.hp-detail-main {
    display: flex;
    flex-direction: column;
    gap: var(--hp-space-md);
}

/* Section cards in detail */
.hp-detail-section {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-md) var(--hp-space-lg);
    box-shadow: var(--hp-shadow-sm);
}
.hp-detail-section__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: var(--hp-space-sm);
    color: var(--hp-text);
}

/* Sidebar */
.hp-detail-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: var(--hp-space-md);
}

/* Contact card in sidebar */
.hp-detail-contact {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-lg);
    box-shadow: var(--hp-shadow-sm);
}
.hp-detail-contact__title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--hp-space-md);
}
.hp-detail-contact__item {
    display: flex;
    align-items: center;
    gap: var(--hp-space-sm);
    padding: var(--hp-space-xs) 0;
    font-size: 0.9rem;
    color: var(--hp-text);
}
.hp-detail-contact__item svg {
    width: 18px;
    height: 18px;
    color: var(--hp-green);
    flex-shrink: 0;
}
.hp-detail-contact__item a {
    color: var(--hp-green);
    text-decoration: none;
}
.hp-detail-contact__item a:hover {
    text-decoration: underline;
}
.hp-detail-contact__btn {
    display: block;
    width: 100%;
    margin-top: var(--hp-space-md);
    text-align: center;
}

/* Phone Reveal (Free-Profile) */
.hp-phone-reveal__btn {
    background: none;
    border: none;
    color: var(--hp-primary);
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    text-decoration: underline;
    text-decoration-style: dotted;
}
.hp-phone-reveal__btn:hover {
    color: var(--hp-copper);
    text-decoration-style: solid;
}
.hp-phone-revealed {
    color: var(--hp-text);
    font-weight: 500;
}
.hp-phone-reveal-cta--revealed {
    pointer-events: none;
    opacity: 0.85;
}

/* WhatsApp Button */
.hp-btn--whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}
.hp-btn--whatsapp:hover {
    background: #1ebe57;
    border-color: #1ebe57;
    color: #fff;
}
.hp-btn--whatsapp svg {
    fill: #fff;
}

/* Checkbox-Label-Stil */
.hp-label--checkbox {
    display: flex;
    align-items: center;
    gap: var(--hp-space-xs);
    cursor: pointer;
}
.hp-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--hp-primary);
    cursor: pointer;
}

/* Quick facts in sidebar */
.hp-detail-facts {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-lg);
    box-shadow: var(--hp-shadow-sm);
}
.hp-detail-facts__row {
    display: flex;
    justify-content: space-between;
    padding: var(--hp-space-xs) 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--hp-border-light);
}
.hp-detail-facts__row:last-child { border-bottom: none; }
.hp-detail-facts__label { color: var(--hp-text-secondary); }
.hp-detail-facts__value { font-weight: 600; color: var(--hp-text); }

/* Tagline quote style */
.hp-detail-tagline {
    font-style: italic;
    color: var(--hp-text-secondary);
    border-left: 3px solid var(--hp-green);
    padding-left: var(--hp-space-sm);
    margin: var(--hp-space-sm) 0;
    font-size: 1.05rem;
}

/* Debug box small */
.hp-info-box--debug {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: var(--hp-beige-dark);
    border-radius: var(--hp-radius-sm);
    color: var(--hp-text-secondary);
    margin-bottom: var(--hp-space-sm);
    font-family: monospace;
    opacity: 0.6;
}

/* ============================================
   15. AUTH PAGES
   ============================================ */

.hp-auth-container { max-width: 480px; margin: 0 auto; }
.hp-auth-title { font-family: 'DM Serif Display', serif; font-size: 2rem; font-weight: 400; color: var(--hp-text); margin-bottom: var(--hp-space-xs); }
.hp-auth-subtitle { font-size: 1.05rem; color: var(--hp-text-secondary); margin-bottom: var(--hp-space-lg); }
.hp-auth-footer { text-align: center; margin-top: var(--hp-space-lg); padding-top: var(--hp-space-md); border-top: 1px solid var(--hp-border-light); font-size: 0.95rem; color: var(--hp-text-secondary); }
.hp-auth-footer a { color: var(--hp-green); font-weight: 600; text-decoration: none; }
.hp-auth-footer a:hover { text-decoration: underline; }
.hp-auth-info { background: var(--hp-offwhite); border-radius: var(--hp-radius); padding: var(--hp-space-md); margin-top: var(--hp-space-md); font-size: 0.93rem; color: var(--hp-text-secondary); }
.hp-auth-info p { font-weight: 600; margin-bottom: var(--hp-space-xs); }
.hp-auth-info ul { margin: 0; padding-left: 1.2em; }
.hp-auth-info li { margin-bottom: 0.3em; }
.hp-forgot-password { text-align: right; margin-top: var(--hp-space-xs); font-size: 0.9rem; }
.hp-forgot-password a { color: var(--hp-text-secondary); text-decoration: none; }
.hp-forgot-password a:hover { color: var(--hp-green); text-decoration: underline; }
.hp-resend-form { margin-top: var(--hp-space-md); }

/* E-Mail-Bestätigungscode-Eingabe */
.hp-verify-code-input {
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0.75rem;
    font-family: 'DM Sans', monospace;
    padding: 0.8rem 1rem;
    max-width: 280px;
    margin: 0 auto;
    display: block;
}

.hp-role-select { display: flex; flex-direction: column; gap: var(--hp-space-sm); margin-bottom: var(--hp-space-md); }
.hp-role-option { display: flex; align-items: center; gap: var(--hp-space-sm); padding: var(--hp-space-md); border: 2px solid var(--hp-border); border-radius: var(--hp-radius); cursor: pointer; transition: var(--hp-transition-fast); }
.hp-role-option:hover { border-color: var(--hp-green-muted); background: var(--hp-green-light); }
.hp-role-option input[type="radio"] { width: 20px; height: 20px; accent-color: var(--hp-green); cursor: pointer; }
.hp-role-option__content { display: flex; flex-direction: column; gap: 2px; }
.hp-role-option__content strong { font-size: 1rem; color: var(--hp-text); }
.hp-role-option__content span { font-size: 0.85rem; color: var(--hp-text-secondary); }

.hp-password-wrapper { position: relative; }
.hp-password-wrapper .form-control { padding-right: 3rem; }
.hp-password-toggle { position: absolute; right: 0; top: 0; height: 100%; width: 3rem; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; font-size: 1.1rem; opacity: 0.5; transition: var(--hp-transition-fast); }
.hp-password-toggle:hover { opacity: 1; }

.hp-pw-hints { display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; margin-top: var(--hp-space-xs); }
.hp-pw-hint { font-size: 0.8rem; color: var(--hp-text-light); transition: color 0.2s; }
.hp-pw-hint--ok { color: var(--hp-success); }
.hp-pw-hint--ok::before { content: "\2713 "; }
.hp-pw-hint--fail { color: var(--hp-danger); }
.hp-pw-hint--fail::before { content: "\2717 "; }

/* Auth Landing */
.hp-auth-landing { display: flex; gap: var(--hp-space-xl); max-width: 700px; margin: 0 auto; padding: var(--hp-space-lg); background: var(--hp-white); border: 1px solid var(--hp-border-light); border-radius: var(--hp-radius-lg); box-shadow: var(--hp-shadow-md); }
.hp-auth-landing__login { flex: 1; min-width: 0; }
.hp-auth-landing__register { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.hp-auth-landing__divider { width: 1px; background: var(--hp-border); align-self: stretch; }
.hp-auth-landing__title { font-family: 'DM Serif Display', serif; font-size: 1.15rem; font-weight: 400; color: var(--hp-text); margin-bottom: var(--hp-space-md); }
.hp-auth-landing__text { font-size: 0.9rem; color: var(--hp-text-secondary); line-height: 1.55; margin-bottom: var(--hp-space-md); }
.hp-auth-landing__forgot { text-align: center; margin-top: var(--hp-space-sm); font-size: 0.8rem; }
.hp-auth-landing__forgot a { color: var(--hp-text-secondary); text-decoration: none; }
.hp-auth-landing__forgot a:hover { color: var(--hp-green); }

/* ============================================
   16. DELETE CONFIRMATION
   ============================================ */

.delete-confirmation { max-width: 700px; margin: 0 auto; }
.delete-trainer-info { display: flex; align-items: center; gap: var(--hp-space-md); padding: var(--hp-space-md); background: var(--hp-offwhite); border-radius: var(--hp-radius); margin-bottom: var(--hp-space-lg); border: 1px solid var(--hp-border-light); }

/* ============================================
   17. NOTICES & ALERTS
   ============================================ */

.hp-notice { padding: var(--hp-space-md); border-radius: var(--hp-radius); font-size: 0.95rem; line-height: 1.55; }
.hp-notice--warning { background: var(--hp-warning-bg); border: 1px solid var(--hp-warning-border); color: var(--hp-warning-text); }
.hp-notice__link { display: inline-block; margin-top: var(--hp-space-xs); color: var(--hp-green); font-weight: 600; text-decoration: none; }
.hp-notice__link:hover { text-decoration: underline; }

.hp-alert { padding: var(--hp-space-sm) var(--hp-space-md); border-radius: var(--hp-radius); margin-bottom: var(--hp-space-md); font-size: 0.9rem; font-weight: 500; }
.hp-alert--success { background: var(--hp-success-bg); color: #2e7d32; border: 1px solid #a5d6a7; }
.hp-alert--error { background: var(--hp-danger-bg); color: var(--hp-danger); border: 1px solid var(--hp-danger-border); }

/* ============================================
   18. TABLES (User Management)
   ============================================ */

.hp-user-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: var(--hp-space-lg); }
.hp-user-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; background: var(--hp-white); border-radius: var(--hp-radius); overflow: hidden; box-shadow: var(--hp-shadow-sm); }
.hp-user-table th { background: var(--hp-green); color: white; padding: var(--hp-space-sm) var(--hp-space-md); text-align: left; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; }
.hp-user-table td { padding: var(--hp-space-sm) var(--hp-space-md); border-bottom: 1px solid var(--hp-border-light); vertical-align: middle; }
.hp-user-table tbody tr:nth-child(even) { background: var(--hp-offwhite); }
.hp-user-table tbody tr:hover { background: var(--hp-green-light); }
.hp-user-table__actions { display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: center; }
.hp-user-table__btn { display: inline-flex; align-items: center; padding: 0.25rem 0.6rem; font-size: 0.75rem; font-weight: 600; font-family: inherit; border: 1px solid var(--hp-green); border-radius: var(--hp-radius-pill); background: transparent; color: var(--hp-green); cursor: pointer; transition: var(--hp-transition); white-space: nowrap; }
.hp-user-table__btn:hover { background: var(--hp-green); color: white; }
.hp-user-table__btn:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.hp-user-table__btn--danger { border-color: var(--hp-danger); color: var(--hp-danger); }
.hp-user-table__btn--danger:hover { background: var(--hp-danger); color: white; }

/* ============================================
   19. KPI / STATS
   ============================================ */

.kpi-big { font-family: 'DM Serif Display', serif; font-size: 2.75rem; font-weight: 400; color: var(--hp-green); margin: var(--hp-space-xs) 0; }

.hp-kpi-row { display: flex; gap: var(--hp-space-sm); flex-wrap: wrap; margin-bottom: var(--hp-space-lg); background: linear-gradient(135deg, var(--hp-copper-bg), var(--hp-white)); padding: var(--hp-space-md); border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-copper-border); }
.hp-kpi { display: flex; flex-direction: column; align-items: center; padding: var(--hp-space-sm) var(--hp-space-md); background: var(--hp-white); border: 1px solid var(--hp-border-light); border-radius: var(--hp-radius); min-width: 100px; box-shadow: var(--hp-shadow-sm); }
.hp-kpi__value { font-family: 'DM Serif Display', serif; font-size: 1.65rem; font-weight: 400; color: var(--hp-green); line-height: 1; }
.hp-kpi__label { font-size: 0.75rem; color: var(--hp-text-secondary); margin-top: 0.3rem; font-weight: 500; }

/* ============================================
   20. PAGINATION
   ============================================ */

.hp-pagination { display: flex; align-items: center; justify-content: center; gap: var(--hp-space-xs); margin-top: var(--hp-space-lg); flex-wrap: wrap; }
.hp-pagination__link { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem; padding: 0 var(--hp-space-sm); border: 1px solid var(--hp-border); border-radius: var(--hp-radius-pill); background: var(--hp-white); color: var(--hp-text); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: var(--hp-transition-fast); cursor: pointer; }
.hp-pagination__link:hover:not(.hp-pagination__link--active):not(.hp-pagination__link--disabled) { background: var(--hp-green-light); border-color: var(--hp-green-muted); color: var(--hp-green); }
.hp-pagination__link--active { background: var(--hp-green); border-color: var(--hp-green); color: white; cursor: default; }
.hp-pagination__link--disabled { color: var(--hp-text-light); border-color: var(--hp-border-light); cursor: default; opacity: 0.5; }
.hp-pagination__ellipsis { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem; color: var(--hp-text-light); font-size: 0.875rem; }

/* ============================================
   21. AUTOCOMPLETE
   ============================================ */

.hp-autocomplete { position: relative; }
.hp-autocomplete__list { position: absolute; top: 100%; left: 0; z-index: 50; min-width: 220px; margin-top: 0.25rem; padding: 0.25rem 0; background: var(--hp-white); border: 1px solid var(--hp-border); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow-lg); list-style: none; max-height: 16rem; overflow-y: auto; white-space: nowrap; }
.hp-autocomplete__item { padding: 0.5rem 0.75rem; cursor: pointer; font-size: 0.875rem; color: var(--hp-text); transition: background 0.1s; }
.hp-autocomplete__item:hover, .hp-autocomplete__item--active { background: var(--hp-green-light); }
.hp-autocomplete__plz { font-weight: 600; }

/* ============================================
   22. BACK LINK & UTILITIES
   ============================================ */

.hp-back-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--hp-text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; margin-bottom: var(--hp-space-md); transition: var(--hp-transition-fast); }
.hp-back-link:hover { color: var(--hp-green); }

.hp-results-info { font-size: 0.9rem; color: var(--hp-text-secondary); margin-bottom: var(--hp-space-md); }

/* Results Bar */
.hp-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--hp-space-md);
    padding: var(--hp-space-sm) 0;
}
.hp-results-bar__text {
    font-size: 0.9rem;
    color: var(--hp-text-secondary);
    margin: 0;
}
.hp-results-bar__text strong {
    color: var(--hp-green);
    font-weight: 700;
}
.hp-link { color: var(--hp-green); text-decoration: none; font-weight: 600; }
.hp-link:hover { text-decoration: underline; }

.mb-1 { margin-bottom: var(--hp-space-xs); }
.mb-2 { margin-bottom: var(--hp-space-sm); }
.mb-3 { margin-bottom: var(--hp-space-md); }
.mt-3 { margin-top: var(--hp-space-md); }
.text-muted { color: var(--hp-text-secondary); }

/* ============================================
   23. FOOTER
   ============================================ */

.hp-footer {
    background: var(--hp-green-dark);
    color: var(--hp-text-on-dark);
    padding: 64px 24px 32px;
    margin-top: var(--hp-space-xl);
}

.hp-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.hp-footer__brand p {
    color: rgba(245, 241, 232, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
    max-width: 280px;
}

.hp-footer__logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: var(--hp-space-xs);
}

.hp-footer__tagline {
    font-size: 0.9rem;
    color: rgba(245, 241, 232, 0.6);
    margin: 12px 0 0 0;
    line-height: 1.7;
    max-width: 280px;
}

.hp-footer__heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: rgba(245, 241, 232, 0.5);
}

.hp-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-footer__link {
    color: rgba(245, 241, 232, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.hp-footer__link:hover {
    color: white;
}

.hp-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(245, 241, 232, 0.1);
    text-align: center;
}

.hp-footer__bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(245, 241, 232, 0.4);
}

/* ============================================
   24. ANIMATIONS
   ============================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hp-hero-inner > * {
    animation: fadeUp 0.7s ease-out both;
}
.hp-hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hp-hero-inner > *:nth-child(2) { animation-delay: 0.2s; }
.hp-hero-inner > *:nth-child(3) { animation-delay: 0.3s; }
.hp-hero-inner > *:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   25. STARTSEITE — V3 Mockup Komponenten
   ============================================ */

/* --- Search Box (Labeled Fields) --- */
.hp-search-box {
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg);
    box-shadow: var(--hp-shadow-lg);
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 640px;
    border: 1px solid rgba(74, 99, 85, 0.08);
}

.hp-search-field {
    flex: 1;
    min-width: 0;
}

.hp-search-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--hp-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 16px 0;
}

.hp-search-field select,
.hp-search-field input {
    width: 100%;
    border: none;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--hp-text);
    padding: 4px 16px 8px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.hp-search-field select:focus,
.hp-search-field input:focus {
    background: var(--hp-green-light);
    border-radius: var(--hp-radius);
}

.hp-search-field input::placeholder {
    color: var(--hp-text-light);
}

.hp-search-divider {
    width: 1px;
    height: 36px;
    background: var(--hp-beige-dark);
    flex-shrink: 0;
}

.hp-search-box__btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--hp-green);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.hp-search-box__btn:hover {
    background: var(--hp-green-dark);
    transform: scale(1.05);
}

/* --- Pain Cards (Redesigned Problems) --- */
.hp-pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hp-pain-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--hp-shadow-sm);
    border: 1px solid rgba(74, 99, 85, 0.06);
    transition: all 0.3s ease;
}

.hp-pain-card:hover {
    box-shadow: var(--hp-shadow-md);
    transform: translateY(-2px);
}

.hp-pain-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--hp-text);
}

.hp-pain-card p {
    font-size: 14px;
    color: var(--hp-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.hp-pain-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--hp-danger-bg);
    color: var(--hp-danger);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-solution-line {
    text-align: center;
    margin-top: 48px;
    padding: 20px;
    background: var(--hp-green-light);
    border-radius: var(--hp-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hp-solution-line span {
    font-size: 15px;
    font-weight: 600;
    color: var(--hp-green);
}

.hp-checkmark {
    width: 28px;
    height: 28px;
    background: var(--hp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Steps (V3 Redesigned) --- */
.hp-steps-bg {
    background: var(--hp-white);
    border-top: 1px solid rgba(74, 99, 85, 0.06);
    border-bottom: 1px solid rgba(74, 99, 85, 0.06);
}

.hp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.hp-step-card {
    text-align: center;
    padding: 20px;
}

.hp-step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--hp-text);
}

.hp-step-card p {
    font-size: 14px;
    color: var(--hp-text-secondary);
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

.hp-step-num {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--hp-green);
    color: white;
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* --- Categories Grid --- */
.hp-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hp-cat-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--hp-text);
    border: 1px solid rgba(74, 99, 85, 0.06);
    box-shadow: var(--hp-shadow-sm);
    transition: all 0.3s ease;
}

.hp-cat-card:hover {
    box-shadow: var(--hp-shadow-md);
    transform: translateY(-2px);
    border-color: var(--hp-green);
}

.hp-cat-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px 0;
}

.hp-cat-card p {
    font-size: 13px;
    color: var(--hp-text-secondary);
    margin: 0;
}

.hp-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--hp-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

/* --- CTA Banner (Full-width, Green) --- */
.hp-cta-banner {
    background: var(--hp-green);
    border-radius: var(--hp-radius-lg);
    padding: 64px 48px;
    margin: 0 24px 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.hp-cta-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.hp-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.hp-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hp-cta-banner h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.hp-cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.7;
    max-width: 440px;
    margin: 0;
}

/* --- Teaser (Coming Soon) --- */
.hp-teaser {
    text-align: center;
    padding: 60px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.hp-teaser-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--hp-copper-bg);
    border: 1px solid var(--hp-copper-border);
    border-radius: var(--hp-radius-pill);
    color: var(--hp-copper);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hp-teaser h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    color: var(--hp-text);
    margin-bottom: 8px;
}

.hp-teaser p {
    color: var(--hp-text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* --- Feature Showcase --- */
.hp-showcase {
    background: #3a4f43;
    padding: 80px 24px;
}

.hp-showcase__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

.hp-showcase__content {
    flex: 1;
    color: white;
}

.hp-section-label--light {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.hp-showcase__title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.hp-showcase__intro {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.hp-showcase__grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hp-showcase__card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--hp-radius);
    padding: 24px;
    transition: background 0.2s ease;
}

.hp-showcase__card:hover {
    background: rgba(255, 255, 255, 0.13);
}

.hp-showcase__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
}

.hp-showcase__card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    font-weight: 400;
    color: white;
    margin-bottom: 6px;
}

.hp-showcase__card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   26. EVENT CARDS (Date-first Layout)
   ============================================ */

.hp-event-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: var(--hp-shadow-sm);
    border: 1px solid rgba(74, 99, 85, 0.06);
    text-decoration: none;
    color: var(--hp-text);
    display: flex;
    flex-direction: row;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Event grid — full-width rows, not multi-column */
.hp-event-grid {
    display: flex;
    flex-direction: column;
    gap: var(--hp-space-md);
}

.hp-event-card:hover {
    box-shadow: var(--hp-shadow-md);
    transform: translateY(-2px);
}

/* Date Block (left sidebar) */
.hp-event-date {
    width: 80px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: var(--hp-green);
    color: white;
    text-align: center;
}

.hp-event-date--course { background: var(--hp-green-muted); }
.hp-event-date--webinar { background: var(--hp-copper); }
.hp-event-date--tournament { background: #8b2252; }
.hp-event-date--ondemand { background: var(--hp-text-secondary); }
.hp-event-date--none { background: var(--hp-beige-dark); color: var(--hp-text-secondary); }

.hp-event-date__month {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.hp-event-date__day {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    line-height: 1;
    margin: 2px 0;
}

.hp-event-date__year {
    font-size: 12px;
    opacity: 0.6;
}

/* Event-Bild (Thumbnail zwischen Date-Block und Body) */
.hp-event-card__image {
    width: 120px;
    min-height: 90px;
    flex-shrink: 0;
    overflow: hidden;
}

.hp-event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card body (right content area) */
.hp-event-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    min-width: 0;
}

.hp-event-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.hp-event-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Badges */
.hp-event-badge {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: var(--hp-radius-pill);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.hp-event-badge--tour { background: var(--hp-green-light); color: var(--hp-green); }
.hp-event-badge--course { background: #eef0ff; color: #4a5abf; }
.hp-event-badge--webinar { background: var(--hp-copper-bg); color: var(--hp-copper); }
.hp-event-badge--tournament { background: #fce8f0; color: #8b2252; }
.hp-event-badge--price { background: var(--hp-beige); color: var(--hp-text); font-weight: 700; }
.hp-event-badge--status { font-size: 10px; padding: 2px 8px; }

/* Location */
.hp-event-location {
    font-size: 13px;
    color: var(--hp-text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.hp-event-location svg {
    width: 13px;
    height: 13px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* Description */
.hp-event-desc {
    font-size: 13px;
    color: var(--hp-text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px 0;
}

/* Date range */
.hp-event-daterange {
    font-size: 12px;
    color: var(--hp-text-secondary);
    margin-bottom: 4px;
}

/* Provider info */
.hp-event-provider {
    font-size: 12px;
    color: var(--hp-text-secondary);
}

.hp-event-provider strong {
    color: var(--hp-text);
    font-weight: 600;
}

.hp-event-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* Event Image Gallery */
.hp-event-image-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: var(--hp-space-sm) 0;
}

.hp-event-image-gallery--detail {
    margin: var(--hp-space-md) 0;
}

.hp-event-image-thumb {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.hp-event-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-event-image-thumb .hp-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 2px 6px;
    font-size: 11px;
    min-width: auto;
    line-height: 1;
}

.hp-event-image-detail {
    max-width: 300px;
    max-height: 200px;
    border-radius: 12px;
    object-fit: cover;
}

/* Event Map */
.hp-event-map { width: 100%; height: 400px; border-radius: var(--hp-radius); border: 1px solid var(--hp-border); margin-bottom: var(--hp-space-lg); }
.hp-event-map__empty { text-align: center; padding: var(--hp-space-lg); color: var(--hp-text-secondary); background: var(--hp-beige); border-radius: var(--hp-radius); margin-bottom: var(--hp-space-lg); }

/* Custom Map Marker */
.hp-map-marker {
    background: none !important;
    border: none !important;
}
.hp-map-marker__pin {
    width: 32px;
    height: 32px;
    background: var(--hp-green, #4a6355);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border: 2px solid #fff;
}
.hp-map-marker__pin span {
    transform: rotate(45deg);
    color: #fff;
    font-family: 'DM Serif Display', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}
.hp-view-toggle { display: flex; gap: 0.5rem; margin-bottom: var(--hp-space-md); }
.hp-view-toggle__btn { padding: 0.5rem 1rem; border: 1px solid var(--hp-border); border-radius: var(--hp-radius-pill); background: var(--hp-white); color: var(--hp-text); font-size: 0.85rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: var(--hp-transition-fast); }
.hp-view-toggle__btn:hover { border-color: var(--hp-green); color: var(--hp-green); }
.hp-view-toggle__btn--active { background: var(--hp-green); color: white; border-color: var(--hp-green); }

/* Event Actions (edit etc.) */
.hp-event-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

/* ============================================
   27. RESPONSIVE — 1024px
   ============================================ */

@media (max-width: 1024px) {
    .hp-provider-grid { grid-template-columns: repeat(2, 1fr); }
    .trainer-detail-grid { grid-template-columns: 1fr; }
    .hp-footer__inner { grid-template-columns: 1fr 1fr; gap: var(--hp-space-lg); }
    .hp-footer__brand { grid-column: 1 / -1; }
    .hp-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-cta-inner { flex-direction: column; text-align: center; }
    .hp-cta-banner p { margin: 0 auto; }
    .hp-showcase__inner { flex-direction: column; gap: 40px; }
    .hp-showcase__content { text-align: center; }
}

/* ============================================
   26. RESPONSIVE — 768px
   ============================================ */

@media (max-width: 768px) {
    /* Filter: nicht sticky auf Mobile */
    .hp-card--filter { position: static; z-index: auto; margin-bottom: var(--hp-space-sm); }

    /* Filter-Tags: kompaktere Pills + visueller Unterschied */
    .hp-filter-tags { gap: 8px; margin-bottom: var(--hp-space-xs); }
    .hp-filter-tags__group { gap: 4px; }
    .hp-filter-tags__label { font-size: 0.7rem; width: 100%; margin-bottom: 2px; }
    .hp-filter-tags .hp-tag { padding: 0.15rem 0.55rem; font-size: 0.72rem; font-weight: 500; }
    .hp-filter-tags .hp-tag--category { font-size: 0.75rem; padding: 0.22rem 0.65rem; }
    .hp-active-filters { gap: 6px; margin-bottom: var(--hp-space-sm); }

    /* Nav: hide links + actions, show toggle */
    .hp-nav__links { display: none; }
    .hp-nav__actions { display: none; }
    .hp-nav__toggle { display: block; }

    /* (Off-Canvas-Menü ersetzt alte hp-nav--open Styles) */

    /* Page */
    .page { padding: var(--hp-space-lg) var(--hp-space-sm); }
    .page-title { font-size: 1.75rem; }

    /* Hero */
    .hp-hero { padding: 16px 20px 24px; }
    .hp-hero__title, .hp-hero h1 { font-size: 2.2rem; }
    .hp-hero__text, .hp-hero-sub { font-size: 16px; }

    .hp-hero__search-fields {
        flex-direction: column;
        border-radius: var(--hp-radius-lg);
        padding: var(--hp-space-sm);
        gap: 0.5rem;
        border: 1px solid var(--hp-border);
        box-shadow: var(--hp-shadow-md);
    }
    .hp-hero__select, .hp-hero__search-fields .hp-hero__input {
        border: 1px solid var(--hp-border);
        border-radius: var(--hp-radius);
        padding: 0.75rem 1rem;
        background: var(--hp-white);
    }
    .hp-hero__location-group { flex-direction: column; gap: 0.5rem; }
    .hp-hero__location-group .hp-autocomplete { width: 100%; }
    .hp-hero__input--location { border-radius: var(--hp-radius); flex: none; width: 100%; }
    .hp-hero__select--radius { border-radius: var(--hp-radius); flex: none; width: 100%; }
    .hp-hero__divider { display: none; }

    /* Sections */
    .hp-section { padding: 56px 24px; }
    .hp-steps { flex-direction: column; gap: var(--hp-space-lg); align-items: center; }
    .hp-steps__divider { width: 2px; height: 24px; margin: 0; }
    .hp-steps__item { max-width: 340px; }
    .hp-provider-cta { padding: var(--hp-space-lg); }

    /* Search Box */
    .hp-search-box {
        flex-direction: column;
        border-radius: var(--hp-radius);
        padding: var(--hp-space-md);
        gap: 0.75rem;
    }
    .hp-search-divider { display: none; }
    .hp-search-field { width: 100%; flex: none; }
    .hp-search-field label { padding: 0 4px; margin-bottom: 2px; font-size: 10px; }
    .hp-search-field .hp-autocomplete { width: 100%; }
    .hp-search-field select,
    .hp-search-field input {
        display: block;
        width: 100%;
        border: 1px solid var(--hp-border);
        border-radius: var(--hp-radius);
        padding: 12px 1rem;
        background: var(--hp-white);
        min-height: 44px;
        height: 44px;
        box-sizing: border-box;
        font-size: 15px;
        font-family: 'DM Sans', sans-serif;
        line-height: 1.2;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
    .hp-search-box__btn { width: 100%; height: 44px; border-radius: var(--hp-radius-pill); font-size: 15px; }

    /* Pain Cards */
    .hp-pain-grid { grid-template-columns: 1fr; }

    /* Showcase */
    .hp-showcase { padding: 56px 24px; }
    .hp-showcase__grid { grid-template-columns: 1fr; }

    /* Steps V3 */
    .hp-steps-grid { grid-template-columns: 1fr; gap: var(--hp-space-md); }
    .hp-step-card { max-width: 340px; margin: 0 auto; }

    /* Categories */
    .hp-categories-grid { grid-template-columns: 1fr; }

    /* CTA Banner */
    .hp-cta-banner { padding: var(--hp-space-lg) var(--hp-space-md); margin: 0 16px 40px; }
    .hp-cta-inner { flex-direction: column; text-align: center; }
    .hp-cta-banner p { margin: 0 auto; }

    /* Tabs */
    .hp-tabs { display: flex; flex-wrap: wrap; overflow-x: visible; }
    .hp-tab { white-space: nowrap; padding: 10px 16px; flex: 1 1 40%; text-align: center; justify-content: center; }

    /* Event Cards */
    .hp-event-date { width: 64px; padding: 12px 6px; }
    .hp-event-date__day { font-size: 26px; }
    .hp-event-body { padding: 12px 16px; }
    .hp-event-card__image { width: 100px; }
    .hp-event-desc { -webkit-line-clamp: 1; }

    /* Detail-Grid: Sidebar kollabiert auf Tablet */
    .hp-detail-grid { grid-template-columns: 1fr; }
    .hp-detail-sidebar { position: static; }

    /* View Toggle */
    .hp-view-toggle { justify-content: center; }

    /* Tiles */
    .hp-tile-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

    /* Search */
    .hp-search-section { padding: var(--hp-space-sm); }
    .hp-search-row { flex-direction: column; }
    .hp-search-input-wrapper { flex-direction: column; }
    .hp-search-btn { width: 100%; text-align: center; }
    .hp-filter-row { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .hp-filter-field { min-width: 100%; }
    .hp-filter-field--checkbox { min-width: auto; height: auto; }
    .hp-filter-field--action { width: 100%; flex-direction: row; gap: 0.5rem; height: auto; }
    .hp-filter-field--action .hp-btn { flex: 1; text-align: center; }
    .hp-card--filter .hp-card__body { padding: 12px; }
    .hp-filter-reset { margin-left: 0; }

    /* Content */
    .hp-content { padding: 0 var(--hp-space-sm); }
    .hp-content__title { font-size: 1.5rem; }
    .hp-content__header { margin-bottom: var(--hp-space-sm); }
    .hp-filter-form__row { flex-direction: column; gap: 8px; }
    .hp-filter-form__field { min-width: 100%; flex: 1 1 100%; }
    .hp-filter-form__field--radius { flex: 1 1 100%; min-width: 100%; }
    .hp-filter-form__actions { margin-top: 8px; }
    .hp-filter-more { margin-bottom: var(--hp-space-xs); }
    .hp-form-row { flex-direction: column; gap: 0; }
    .hp-form-row--location { flex-direction: row; gap: var(--hp-space-sm); }
    .hp-form-actions { flex-direction: column; }
    .hp-card--form .hp-card__body { padding: var(--hp-space-md); }
    .hp-card__actions { flex-direction: column; }
    .hp-card__actions .hp-btn { width: 100%; }
    .hp-provider-grid { grid-template-columns: 1fr; }

    /* Details */
    .trainer-detail-header { flex-direction: column; text-align: center; }
    .trainer-detail-name { justify-content: center; }

    /* Tables */
    .hp-user-table { font-size: 0.78rem; }
    .hp-user-table th, .hp-user-table td { padding: var(--hp-space-xs) var(--hp-space-sm); }
    .hp-user-table__actions { gap: 0.25rem; }
    .hp-user-table__btn { padding: 0.2rem 0.45rem; font-size: 0.7rem; }

    /* Footer */
    .hp-footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .hp-footer { padding: 48px 24px 24px; }
}

/* ============================================
   27. RESPONSIVE — 480px (Mobile)
   ============================================ */

@media (max-width: 480px) {
    .hp-hero h1, .hp-hero__title { font-size: 30px; }
    .hp-section-title { font-size: 26px; }

    .page { padding: 1rem 0.75rem; }
    .page-header { margin-bottom: 1rem; gap: 0.75rem; }
    .page-title { font-size: 1.5rem; }
    .page-subtitle { font-size: 0.9rem; }

    .cardx-body { padding: 1rem; }
    .grid.cols-3 { grid-template-columns: 1fr; gap: 0.75rem; }
    .kpi-big { font-size: 2rem; }

    .hp-tile-grid { grid-template-columns: 1fr; gap: 1rem; }
    .hp-tile-carousel__btn { opacity: 1; width: 40px; height: 40px; font-size: 1.4rem; }

    /* Event Cards: Bild kleiner auf kleinen Handys */
    .hp-event-card__image { width: 80px; min-height: 70px; }
    .hp-event-body { padding: 10px 12px; }
    .hp-event-title { font-size: 14px; }

    /* Details */
    .trainer-detail-header { gap: 1rem; padding: 1.25rem; }
    .trainer-detail-avatar { width: 80px; height: 80px; font-size: 2rem; }
    .trainer-detail-info { min-width: 0; }
    .trainer-detail-name { font-size: 1.4rem; justify-content: center; }
    .trainer-detail-location { font-size: 1rem; }
    .trainer-detail-actions { justify-content: center; }
    .trainer-detail-grid { grid-template-columns: 1fr; gap: 1rem; }
    .hp-gallery-thumb { width: 60px; height: 45px; }
    .hp-social-links { gap: var(--hp-space-xs); }
    .hp-social-link { width: 36px; height: 36px; }
    .hp-detail-hero { aspect-ratio: 16 / 9; max-height: 250px; margin-bottom: calc(-32px); }
    .hp-tile__contact-link span { max-width: 180px; }
    .hp-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

    /* Mobile Sticky CTA */
    .hp-mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 200;
        background: var(--hp-white);
        padding: var(--hp-space-sm) var(--hp-space-md);
        box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
        border-top: 1px solid var(--hp-border-light);
        gap: var(--hp-space-xs);
    }
    .hp-mobile-cta__btn {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
    .hp-premium-hint { font-size: 0.85rem; padding: var(--hp-space-sm); }
    .hp-card__contact { font-size: 0.9rem; }

    /* Forms */
    .form-section-title { font-size: 1rem; margin: 1.25rem 0 0.75rem 0; }
    .form-actions { flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; }
    .form-actions .btnx { width: 100%; text-align: center; }
    .hp-category-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .hp-category-checkbox { padding: 0.6rem 0.75rem; font-size: 0.85rem; }

    /* Images */
    .hp-image-upload { padding: 1.5rem 1rem; }
    .hp-image-upload__icon { font-size: 1.5rem; }
    .hp-image-gallery-edit { gap: 0.5rem; }
    .hp-image-thumb--edit { width: 100px; }
    .hp-image-thumb--edit img { width: 100px; height: 80px; }
    .hp-image-thumb { width: 90px; height: 90px; }

    /* Delete */
    .delete-confirmation { max-width: 100%; }
    .delete-trainer-info { flex-direction: column; text-align: center; gap: 0.75rem; }

    /* Auth */
    .hp-auth-container { max-width: 100%; }
    .hp-auth-title { font-size: 1.5rem; }
    .hp-role-option { padding: var(--hp-space-sm); }

    /* Footer */
    .hp-footer__inner { gap: var(--hp-space-md); }
    .hp-footer__bottom { padding: var(--hp-space-sm); }

    /* KPI */
    .hp-kpi-row { flex-direction: column; }
    .hp-kpi { flex-direction: row; gap: var(--hp-space-sm); justify-content: space-between; }

    /* Auth Landing */
    .hp-auth-landing { flex-direction: column; gap: var(--hp-space-md); padding: var(--hp-space-md); }
    .hp-auth-landing__divider { width: 100%; height: 1px; }
}

/* ============================================
   28. BRAND LINK (Compat)
   ============================================ */

a.brand { text-decoration: none; color: inherit; }

/* ============================================
   29. ABOUT PAGE
   ============================================ */

/* About Hero */
.about-hero {
    background: var(--hp-green-dark);
    color: var(--hp-white);
    padding: 5.5rem 1.5rem 3rem;
    text-align: center;
    position: relative;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.about-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.about-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 540px;
    margin: 0 auto;
}

/* About Container */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* About Story */
.about-story {
    padding: 3rem 0;
}

.about-story__intro {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.story-photo__placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--hp-radius);
    background: var(--hp-beige);
    border: 2px dashed var(--hp-green-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--hp-green-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

.story-photo__caption {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--hp-text-light);
    font-style: italic;
}

.about-story__text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hp-text);
    margin-bottom: 1rem;
}

.about-story__text p {
    color: var(--hp-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-story__text p:last-child {
    margin-bottom: 0;
}

.story-highlight {
    color: var(--hp-green);
    font-weight: 600;
}

/* About Quote */
.about-quote {
    background: var(--hp-white);
    border-left: 4px solid var(--hp-copper);
    border-radius: 0 var(--hp-radius-sm) var(--hp-radius-sm) 0;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    box-shadow: var(--hp-shadow-md);
}

.about-quote p {
    font-size: 1.1rem;
    color: var(--hp-text);
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}

.about-quote__attribution {
    font-size: 0.88rem;
    color: var(--hp-text-light);
    font-style: normal;
    margin-top: 0.75rem;
}

/* About Kid */
.about-kid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 2.5rem;
    box-shadow: var(--hp-shadow-md);
}

.about-kid h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hp-text);
    margin-bottom: 1rem;
}

.about-kid p {
    color: var(--hp-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.kid-photo__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--hp-radius);
    background: linear-gradient(135deg, var(--hp-copper-bg), #f0e6c8);
    border: 2px dashed var(--hp-green-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--hp-green-muted);
    font-size: 0.9rem;
    box-shadow: var(--hp-shadow-md);
}

/* About Vision */
.about-vision {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--hp-shadow-md);
}

.about-vision > h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hp-text);
    margin-bottom: 1.25rem;
}

.about-vision > p {
    color: var(--hp-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-vision__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.about-vision__card {
    padding: 1.25rem;
    background: var(--hp-offwhite);
    border-radius: var(--hp-radius-sm);
    border: 1px solid var(--hp-border-light);
}

.about-vision__icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-vision__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hp-text);
    margin-bottom: 0.35rem;
}

.about-vision__text {
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
    line-height: 1.5;
}

/* About Team */
.about-team {
    margin-bottom: 2.5rem;
}

.about-team h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hp-text);
    margin-bottom: 0.5rem;
    text-align: center;
}

.about-team__sub {
    color: var(--hp-text-secondary);
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.about-team__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.about-team__card {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--hp-shadow-sm);
    border: 1px solid var(--hp-border-light);
    transition: var(--hp-transition);
}

.about-team__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow-md);
}

.about-team__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.about-team__card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hp-text);
    margin-bottom: 0.35rem;
}

.about-team__card p {
    font-size: 0.88rem;
    color: var(--hp-text-secondary);
    line-height: 1.5;
}

/* About CTA */
.about-cta {
    text-align: center;
    padding: 2.5rem;
    background: var(--hp-green-dark);
    border-radius: var(--hp-radius);
    margin-bottom: 3rem;
}

.about-cta h2 {
    font-family: 'DM Serif Display', serif;
    color: var(--hp-white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.about-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta__btn {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    border-radius: var(--hp-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--hp-transition);
    cursor: pointer;
}

.about-cta__btn--primary {
    background: var(--hp-white);
    color: var(--hp-green-dark);
}

.about-cta__btn--primary:hover {
    background: var(--hp-beige);
    transform: translateY(-1px);
}

.about-cta__btn--outline {
    background: transparent;
    color: var(--hp-white);
    border: 2px solid rgba(255,255,255,0.4);
}

.about-cta__btn--outline:hover {
    border-color: var(--hp-white);
    transform: translateY(-1px);
}

/* ============================================
   30. PRICING PAGE
   ============================================ */

/* Pricing Hero */
.pricing-hero {
    background: linear-gradient(135deg, var(--hp-green) 0%, var(--hp-green-dark) 100%);
    color: var(--hp-text-on-dark);
    padding: 6rem 1.5rem 4rem;
    text-align: center;
}

.pricing-hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.pricing-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    color: var(--hp-text-on-dark);
    padding: 0.4rem 1rem;
    border-radius: var(--hp-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'DM Sans', sans-serif;
}

.pricing-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.pricing-hero h1 em {
    font-style: italic;
    color: var(--hp-copper-light);
}

.pricing-hero__sub {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(245, 241, 232, 0.85);
    max-width: 560px;
    margin: 0 auto;
}

/* Billing Toggle */
.pricing-plans {
    padding: var(--hp-space-xl) 1.5rem;
    background: var(--hp-offwhite);
}

.pricing-plans__inner {
    max-width: 880px;
    margin: 0 auto;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--hp-space-lg);
}

.billing-toggle__label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--hp-text-light);
    cursor: pointer;
    transition: var(--hp-transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
}

.billing-toggle__label--active {
    color: var(--hp-text);
    font-weight: 600;
}

.billing-toggle__badge {
    background: var(--hp-success-bg);
    color: var(--hp-success);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--hp-radius-pill);
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: var(--hp-border);
    border-radius: 13px;
    border: none;
    cursor: pointer;
    transition: var(--hp-transition-fast);
    padding: 0;
}

.toggle-switch--active {
    background: var(--hp-green);
}

.toggle-switch__knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--hp-white);
    border-radius: 50%;
    transition: var(--hp-transition-fast);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.toggle-switch--active .toggle-switch__knob {
    left: 25px;
}

/* Plan Cards */
.plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.plan-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg);
    border: 2px solid var(--hp-border-light);
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--hp-transition);
}

.plan-card:hover {
    box-shadow: var(--hp-shadow-md);
}

.plan-card--premium {
    border-color: var(--hp-copper);
    box-shadow: var(--hp-shadow-md);
}

.plan-card--premium:hover {
    box-shadow: var(--hp-shadow-lg);
}

.plan-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hp-copper);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: var(--hp-radius-pill);
    white-space: nowrap;
}

.plan-card__header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hp-border-light);
}

.plan-card__header h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--hp-text);
    margin-bottom: 0.75rem;
}

.plan-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.plan-card__amount {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--hp-text);
    line-height: 1;
}

.plan-card--premium .plan-card__amount {
    color: var(--hp-copper);
}

.plan-card__period {
    font-size: 0.9rem;
    color: var(--hp-text-secondary);
}

.plan-card__desc {
    color: var(--hp-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Feature List */
.plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-card__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.plan-card__feature--included {
    color: var(--hp-text);
}

.plan-card__feature--included svg {
    color: var(--hp-success);
    min-width: 16px;
}

.plan-card__feature--excluded {
    color: var(--hp-text-light);
}

.plan-card__feature--excluded svg {
    color: var(--hp-text-light);
    min-width: 16px;
}

.plan-card__btn {
    width: 100%;
    text-align: center;
    display: block;
}

/* Addons */
.pricing-addons {
    padding: var(--hp-space-xl) 1.5rem;
    background: var(--hp-white);
}

.pricing-addons__inner {
    max-width: 960px;
    margin: 0 auto;
}

.pricing-addons__header {
    text-align: center;
    margin-bottom: var(--hp-space-lg);
}

.pricing-addons__header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    color: var(--hp-text);
    margin-bottom: 0.75rem;
}

.pricing-addons__sub {
    color: var(--hp-text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.addons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--hp-space-md);
}

.addon-card {
    background: var(--hp-offwhite);
    border-radius: var(--hp-radius);
    border: 2px solid var(--hp-border-light);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--hp-transition);
}

.addon-card:hover {
    box-shadow: var(--hp-shadow-md);
    transform: translateY(-2px);
}

.addon-card--best {
    border-color: var(--hp-green);
    background: var(--hp-white);
}

.addon-card--unlimited {
    border-color: var(--hp-copper);
    background: var(--hp-copper-bg);
}

.addon-card__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hp-green);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: var(--hp-radius-pill);
    white-space: nowrap;
}

.addon-card__badge--gold {
    background: var(--hp-copper);
}

.addon-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: var(--hp-text);
    margin-bottom: 0.75rem;
}

.addon-card__price {
    margin-bottom: 0.75rem;
}

.addon-card__amount {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--hp-text);
    line-height: 1;
    display: block;
}

.addon-card--best .addon-card__amount {
    color: var(--hp-green);
}

.addon-card--unlimited .addon-card__amount {
    color: var(--hp-copper);
}

.addon-card__period {
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
    display: block;
    margin-top: 0.25rem;
}

.addon-card__sub-price {
    color: var(--hp-text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.addon-card__select-hint {
    color: var(--hp-text-secondary);
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
}

.addon-card__desc {
    color: var(--hp-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.addon-card__saving {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hp-green);
    background: var(--hp-success-bg);
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: var(--hp-radius-pill);
}

.hp-btn--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(20%);
}

.addon-card__coming-soon {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hp-text-light);
}

.addon-card__btn {
    width: 100%;
    margin-top: auto;
}

.addon-card__unavailable {
    display: block;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--hp-text-light);
    font-style: italic;
    text-align: center;
    padding: var(--hp-space-sm);
}

/* === Modal (Public Frontend) === */
.hp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.hp-modal--visible {
    display: flex;
}

.hp-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hp-modal__content {
    position: relative;
    background: var(--hp-white, #ffffff);
    border-radius: var(--hp-radius, 12px);
    padding: 2rem;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hp-modal__content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0 0 0.75rem 0;
    color: var(--hp-green, #4a6355);
}

.hp-modal__content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--hp-text-secondary, #6b7280);
    margin: 0 0 1rem 0;
}

.hp-modal__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

/* === Slot-Anzeige (ProviderEdit) === */
.hp-slot-usage {
    border: 1px solid var(--hp-border-light, #e5e7eb);
    border-radius: var(--hp-radius, 12px);
    padding: var(--hp-space-md, 1.25rem);
    margin-bottom: var(--hp-space-lg, 2rem);
    background: var(--hp-offwhite, #faf9f6);
}

.hp-slot-usage__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 var(--hp-space-sm, 0.75rem) 0;
    color: var(--hp-green, #4a6355);
}

.hp-slot-usage__bar {
    height: 8px;
    background: var(--hp-border-light, #e5e7eb);
    border-radius: var(--hp-radius-pill, 100px);
    overflow: hidden;
    margin-bottom: var(--hp-space-xs, 0.5rem);
}

.hp-slot-usage__fill {
    height: 100%;
    background: var(--hp-green, #4a6355);
    border-radius: var(--hp-radius-pill, 100px);
    transition: width 0.3s ease;
}

.hp-slot-usage__text {
    font-size: 0.85rem;
    color: var(--hp-text-secondary, #6b7280);
    margin-bottom: var(--hp-space-sm, 0.75rem);
}

.hp-slot-usage__unlimited {
    color: var(--hp-copper, #b8763e);
    font-weight: 600;
    margin-bottom: var(--hp-space-sm, 0.75rem);
}

.hp-slot-usage__breakdown {
    font-size: 0.8rem;
    color: var(--hp-text-light, #9ca3af);
    margin-bottom: var(--hp-space-sm, 0.75rem);
    line-height: 1.6;
}

/* Slot-Übersicht auf MyListings */
.hp-slot-overview {
    border: 1px solid var(--hp-border-light);
    border-radius: var(--hp-radius-lg);
    padding: var(--hp-space-lg);
    margin-bottom: var(--hp-space-lg);
    background: var(--hp-offwhite);
}
.hp-slot-overview__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--hp-green);
    margin: 0 0 var(--hp-space-sm);
}
.hp-slot-overview__bar {
    height: 10px;
    background: var(--hp-border-light);
    border-radius: var(--hp-radius-pill);
    overflow: hidden;
    margin-bottom: var(--hp-space-xs);
}
.hp-slot-overview__fill {
    height: 100%;
    background: var(--hp-green);
    border-radius: var(--hp-radius-pill);
    transition: width 0.3s ease;
}
.hp-slot-overview__fill--full {
    background: var(--hp-copper);
}
.hp-slot-overview__text {
    font-size: 0.9rem;
    color: var(--hp-text-secondary);
    margin-bottom: var(--hp-space-sm);
}
.hp-slot-overview__text strong {
    color: var(--hp-text);
}
.hp-slot-overview__breakdown {
    font-size: 0.85rem;
    color: var(--hp-text-light);
    margin-bottom: var(--hp-space-md);
}
.hp-slot-overview__actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--hp-space-xs);
    margin-bottom: var(--hp-space-sm);
}
.hp-slot-overview__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    background: var(--hp-white);
    color: var(--hp-green);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: var(--hp-transition-fast);
    text-align: center;
}
.hp-slot-overview__action-btn:hover {
    border-color: var(--hp-green);
    background: var(--hp-green-light);
}
.hp-slot-overview__action-btn--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}
.hp-slot-overview__cta {
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
    padding-top: var(--hp-space-xs);
    border-top: 1px solid var(--hp-border-light);
}
.hp-slot-overview__cta a {
    color: var(--hp-copper);
    font-weight: 600;
    text-decoration: none;
}
.hp-slot-overview__cta a:hover {
    text-decoration: underline;
}
.hp-slot-overview__cta--urgent {
    background: var(--hp-copper-bg);
    padding: var(--hp-space-sm);
    border-radius: var(--hp-radius);
    border-top: none;
    margin-top: var(--hp-space-xs);
}

@media (max-width: 600px) {
    .hp-slot-overview__actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-addons__hint {
    text-align: center;
    color: var(--hp-text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Promos */
.pricing-promos {
    padding: var(--hp-space-xl) 1.5rem;
    background: var(--hp-beige);
}

.pricing-promos__inner {
    max-width: 880px;
    margin: 0 auto;
}

.promos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.promo-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 2rem;
    border: 1px solid var(--hp-border-light);
    transition: var(--hp-transition);
}

.promo-card:hover {
    box-shadow: var(--hp-shadow-md);
    transform: translateY(-2px);
}

.promo-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.promo-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: var(--hp-text);
    margin-bottom: 0.5rem;
}

.promo-card p {
    color: var(--hp-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.promo-card strong {
    color: var(--hp-text);
}

/* Pricing Footer */
.pricing-footer {
    text-align: center;
    padding: var(--hp-space-md) 1.5rem;
    background: var(--hp-offwhite);
}

.pricing-footer p {
    color: var(--hp-text-light);
    font-size: 0.85rem;
}

/* ============================================
   29/30. RESPONSIVE — About + Pricing
   ============================================ */

@media (max-width: 768px) {
    /* About */
    .about-hero { padding: 4rem 1.25rem 2rem; }
    .about-hero h1 { font-size: 1.6rem; }
    .about-story__intro { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-story__photo { max-width: 240px; margin: 0 auto; }
    .about-kid { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; }
    .about-kid > :last-child { order: -1; }
    .about-vision { padding: 1.75rem; }
    .about-vision__grid { grid-template-columns: 1fr; }
    .about-team__cards { grid-template-columns: 1fr; }

    /* Pricing */
    .pricing-hero { padding: 5rem 1.25rem 3rem; }
    .plans { grid-template-columns: 1fr; }
    .plan-card { padding: 2rem 1.5rem; }
    .addons { grid-template-columns: 1fr; }
    .promos { grid-template-columns: 1fr; }
}

/* ========================================================================
   MEIN STALL — Dashboard
   ======================================================================== */

.hp-stable {
    max-width: 900px;
}

.hp-stable__header {
    margin-bottom: var(--hp-space-xl);
}

.hp-stable__header h1 {
    font-family: var(--hp-font-heading);
    color: var(--hp-text);
    margin-bottom: var(--hp-space-xs);
}

.hp-stable__subtitle {
    color: var(--hp-text-muted);
    font-size: 1.05rem;
}

.hp-stable__section {
    background: var(--hp-surface);
    border-radius: var(--hp-radius-lg);
    padding: var(--hp-space-lg);
    margin-bottom: var(--hp-space-lg);
    border: 1px solid var(--hp-border);
}

.hp-stable__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hp-space-sm);
    margin-bottom: var(--hp-space-md);
}

.hp-stable__section-header h2 {
    font-family: var(--hp-font-heading);
    font-size: 1.25rem;
    color: var(--hp-text);
    margin: 0;
}

.hp-stable__empty {
    text-align: center;
    padding: var(--hp-space-lg) var(--hp-space-md);
    color: var(--hp-text-muted);
}

.hp-stable__empty p {
    margin-bottom: var(--hp-space-md);
}

.hp-stable__empty-text {
    color: var(--hp-text-muted);
    font-size: 0.9rem;
}

/* Horse Card */
.hp-horse-card {
    display: flex;
    gap: var(--hp-space-lg);
    align-items: flex-start;
}

.hp-horse-card--detail {
    background: var(--hp-surface);
    border-radius: var(--hp-radius-lg);
    padding: var(--hp-space-lg);
    margin-bottom: var(--hp-space-lg);
    border: 1px solid var(--hp-border);
}

.hp-horse-card__img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--hp-bg-alt, #e8e0d4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-horse-card__img--large {
    width: 140px;
    height: 140px;
}

.hp-horse-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-horse-card__initials {
    font-family: var(--hp-font-heading);
    font-size: 2rem;
    color: var(--hp-primary);
    font-weight: 600;
}

.hp-horse-card__initials--large {
    font-size: 2.5rem;
}

.hp-horse-card__info {
    flex: 1;
    min-width: 0;
}

.hp-horse-card__name {
    font-family: var(--hp-font-heading);
    font-size: 1.3rem;
    color: var(--hp-text);
    margin: 0 0 var(--hp-space-xs);
}

.hp-horse-card__breed {
    color: var(--hp-text-muted);
    margin: 0 0 var(--hp-space-sm);
    font-size: 0.95rem;
}

.hp-horse-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hp-space-sm);
    color: var(--hp-text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--hp-space-sm);
}

.hp-horse-card__meta span {
    background: var(--hp-bg-alt, #f0ebe2);
    padding: 0.2em 0.6em;
    border-radius: var(--hp-radius);
}

.hp-horse-card__notes {
    color: var(--hp-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--hp-space-sm);
    line-height: 1.5;
}

.hp-horse-card__actions {
    display: flex;
    gap: var(--hp-space-sm);
    margin-top: var(--hp-space-sm);
}

/* Team Section */
.hp-team-section {
    display: flex;
    flex-direction: column;
    gap: var(--hp-space-sm);
}

.hp-team-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hp-space-sm);
    padding: var(--hp-space-sm) var(--hp-space-md);
    background: var(--hp-bg-alt, #faf7f2);
    border-radius: var(--hp-radius);
    border: 1px solid var(--hp-border-light, var(--hp-border));
}

.hp-team-member__info {
    display: flex;
    align-items: center;
    gap: var(--hp-space-sm);
    flex-wrap: wrap;
}

.hp-team-member__name {
    font-weight: 600;
    color: var(--hp-primary);
    text-decoration: none;
}

.hp-team-member__name:hover {
    text-decoration: underline;
}

.hp-team-member__role {
    font-size: 0.8rem;
    color: var(--hp-accent, #b8763e);
    background: rgba(184, 118, 62, 0.1);
    padding: 0.15em 0.5em;
    border-radius: var(--hp-radius);
    font-weight: 500;
}

.hp-team-member__horse {
    font-size: 0.8rem;
    color: var(--hp-text-muted);
}

/* Journal */
.hp-journal {
    display: flex;
    flex-direction: column;
    gap: var(--hp-space-sm);
}

.hp-journal__entry {
    display: flex;
    gap: var(--hp-space-md);
    padding: var(--hp-space-md);
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    border: 1px solid var(--hp-border-light);
    box-shadow: var(--hp-shadow-sm);
}

.hp-journal__entry:last-child {
    border-bottom: none;
}

.hp-journal__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    background: var(--hp-primary);
    color: white;
    border-radius: var(--hp-radius);
    flex-shrink: 0;
}

.hp-journal__date-day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.hp-journal__date-month {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hp-journal__content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.hp-journal__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hp-text);
    margin: 0 0 var(--hp-space-xs);
}

.hp-journal__category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--hp-accent, #b8763e);
    background: rgba(184, 118, 62, 0.1);
    padding: 0.15em 0.5em;
    border-radius: var(--hp-radius);
    font-weight: 500;
    margin-bottom: var(--hp-space-xs);
}

.hp-journal__text {
    color: var(--hp-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.hp-journal__actions {
    display: flex;
    gap: var(--hp-space-sm);
    margin-top: var(--hp-space-xs);
    justify-content: flex-start;
}

/* Favorite Button */
.hp-favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--hp-text-muted);
    opacity: 0.5;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hp-favorite-btn:hover {
    opacity: 1;
    color: #e74c3c;
}

.hp-favorite-btn--active {
    opacity: 1;
    color: #e74c3c;
}

.hp-favorite-btn--active svg {
    fill: #e74c3c;
}

.hp-favorite-btn svg {
    fill: transparent;
    transition: fill 0.2s ease;
}

.hp-favorite-btn:hover svg {
    fill: rgba(231, 76, 60, 0.2);
}

.hp-favorite-btn--active:hover svg {
    fill: #e74c3c;
}

/* Favorite on Tiles */
.hp-favorite-btn--tile {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    backdrop-filter: blur(4px);
}

.hp-favorite-btn--tile:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* Detail Page Title Row */
.hp-detail-identity__title-row {
    display: flex;
    align-items: center;
    gap: var(--hp-space-sm);
}

.hp-detail-identity__title-row .hp-favorite-btn {
    flex-shrink: 0;
}

/* Tile image wrap needs relative for absolute positioned favorite btn */
.hp-tile-img-wrap {
    position: relative;
}

/* Assign section */
.hp-stable__assign summary {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 600px) {
    .hp-horse-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hp-horse-card__actions {
        justify-content: center;
    }

    .hp-horse-card__meta {
        justify-content: center;
    }

    .hp-team-member {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-team-member__info {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-stable__section {
        padding: var(--hp-space-md);
    }

    .hp-journal__entry {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--hp-space-sm);
        padding: var(--hp-space-sm);
    }

    .hp-journal__date {
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-start;
        gap: 6px;
        width: auto;
        min-width: 0;
        height: auto;
        padding: 4px 10px;
    }

    .hp-journal__date-day {
        font-size: 0.9rem;
    }

    .hp-journal__date-month {
        font-size: 0.7rem;
    }

    .hp-journal__content {
        width: 100%;
    }

    .hp-journal__actions {
        flex-wrap: wrap;
    }
}

/* ──── VIDEO EMBED ──── */

.hp-video-header {
    display: flex;
    align-items: center;
    gap: var(--hp-space-sm);
    margin-bottom: var(--hp-space-sm);
}

.hp-video-header .hp-detail-section__title {
    margin-bottom: 0;
}

.hp-video-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
}

.hp-video-badge--youtube {
    background: #ff0000;
}

.hp-video-badge--vimeo {
    background: #1ab7ea;
}

.hp-video-badge--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.hp-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: var(--hp-radius-lg, 12px);
    overflow: hidden;
    background: #000;
}

.hp-video-embed--portrait {
    padding-bottom: 177.78%; /* 9:16 */
    max-width: 400px;
}

.hp-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Play-Badge auf Tile */
.hp-tile-video-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
    backdrop-filter: blur(4px);
}

.hp-tile-video-badge svg {
    margin-left: 2px; /* optischer Ausgleich für Play-Dreieck */
}

/* Video-Hint in Tiles ohne Bild */
.hp-tile__video-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--hp-copper);
    font-weight: 500;
    margin-bottom: 4px;
}
.hp-tile__video-hint svg { flex-shrink: 0; color: var(--hp-copper); }

/* ============================================
   Profil-Vollständigkeit (Edit-Seite)
   ============================================ */
.hp-completeness {
    padding: var(--hp-space-md);
    background: var(--hp-beige);
    border: 1px solid var(--border);
    border-radius: var(--hp-radius);
    margin-bottom: var(--hp-space-lg);
}

.hp-completeness__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--hp-space-xs);
}

.hp-completeness__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hp-text);
}

.hp-completeness__percent {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hp-green);
}

.hp-completeness__bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.hp-completeness__fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    background: var(--hp-green);
}

.hp-completeness__fill--low {
    background: var(--hp-danger);
}

.hp-completeness__fill--mid {
    background: var(--hp-copper);
}

.hp-completeness__tips {
    margin: var(--hp-space-sm) 0 0 0;
    padding: 0 0 0 var(--hp-space-md);
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
    line-height: 1.6;
}

.hp-completeness__tips li {
    margin-bottom: 2px;
}

/* ============================================
   KI-PROFIL-IMPORT
   ============================================ */

.hp-ai-import {
    background: linear-gradient(135deg, var(--hp-copper-bg) 0%, var(--hp-offwhite) 100%);
    border: 2px dashed var(--hp-copper-border);
    border-radius: var(--hp-radius-md);
    padding: var(--hp-space-md);
    margin-bottom: var(--hp-space-lg);
}

.hp-ai-import__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hp-ai-import__title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--hp-text);
}

.hp-ai-import__remaining {
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
}

.hp-ai-import__desc {
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
    margin-top: 4px;
}

.hp-ai-import__form {
    display: flex;
    gap: var(--hp-space-sm);
    margin-top: var(--hp-space-sm);
}

.hp-ai-import__form input {
    flex: 1;
}

.hp-ai-import__status {
    margin-top: var(--hp-space-sm);
    font-size: 0.85rem;
    padding: var(--hp-space-xs) var(--hp-space-sm);
    border-radius: var(--hp-radius-sm);
}

.hp-ai-import__status--success {
    background: var(--hp-success-bg);
    color: var(--hp-success);
}

.hp-ai-import__status--error {
    background: var(--hp-danger-bg);
    color: var(--hp-danger);
}

/* Lade-Spinner für Buttons (generisch wiederverwendbar) */
@keyframes hp-spin { to { transform: rotate(360deg); } }
.hp-btn--loading { position: relative; pointer-events: none; }
.hp-btn--loading::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: hp-spin 0.6s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .hp-ai-import__form {
        flex-direction: column;
    }
    .hp-btn--loading::before {
        width: 18px;
        height: 18px;
        border-width: 3px;
        margin-right: 8px;
    }
}

/* ============================================
   E-Mail-Bestätigungs-Banner (Layout-global)
   ============================================ */

.hp-email-confirm-banner {
    background: var(--hp-copper-bg, rgba(184, 118, 62, 0.12));
    color: var(--hp-text);
    padding: 10px var(--hp-space-md);
    border-bottom: 1px solid var(--hp-copper-border, rgba(184, 118, 62, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--hp-space-sm);
    font-size: 0.875rem;
    flex-wrap: wrap;
    text-align: center;
}

.hp-email-confirm-banner__link {
    color: var(--hp-copper);
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}

.hp-email-confirm-banner__link:hover {
    color: var(--hp-green);
}

@media (max-width: 600px) {
    .hp-email-confirm-banner {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ============================================
   EMPFEHLUNGEN
   ============================================ */

.hp-recommendation {
    padding: var(--hp-space-md);
    background: var(--hp-offwhite);
    border-radius: var(--hp-radius-md);
    margin-bottom: var(--hp-space-sm);
    border-left: 3px solid var(--hp-copper);
}

.hp-recommendation__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--hp-space-xs);
}

.hp-recommendation__author {
    font-weight: 600;
    color: var(--hp-text);
}

.hp-recommendation__date {
    font-size: 0.8rem;
    color: var(--hp-text-secondary);
}

.hp-recommendation__text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.hp-recommendation-form {
    margin-top: var(--hp-space-md);
    padding: var(--hp-space-md);
    background: var(--hp-offwhite);
    border-radius: var(--hp-radius-md);
    border: 1px dashed var(--hp-copper);
}

.hp-recommendations__hint {
    font-size: 0.9rem;
    color: var(--hp-text-secondary);
    margin-top: var(--hp-space-sm);
}

.hp-tile__reco {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--hp-copper);
    margin-top: var(--hp-space-xs);
}

.hp-tile__reco svg {
    flex-shrink: 0;
}

/* ============================================
   OFF-CANVAS MOBILE MENU
   ============================================ */

.hp-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hp-mobile-overlay--visible {
    opacity: 1;
    visibility: visible;
}

.hp-mobile-menu {
    position: fixed;
    top: 0;
    right: -80%;
    width: 75%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--hp-white);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.hp-mobile-menu--open {
    right: 0;
}

.hp-mobile-menu__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--hp-text-secondary);
    border-radius: var(--hp-radius-sm);
    transition: var(--hp-transition-fast);
}

.hp-mobile-menu__close:hover {
    color: var(--hp-text);
    background: var(--hp-beige);
}

.hp-mobile-menu__section {
    padding: 12px 0;
    border-bottom: 1px solid var(--hp-border-light);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hp-mobile-menu__section:first-of-type {
    padding-top: 48px;
}


.hp-mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--hp-text);
    text-decoration: none;
    border-radius: var(--hp-radius-sm);
    transition: var(--hp-transition-fast);
}

.hp-mobile-menu__link:hover {
    background: var(--hp-beige);
    color: var(--hp-green);
}

.hp-mobile-menu__link--active {
    color: var(--hp-green);
    background: var(--hp-green-light);
    font-weight: 600;
}

.hp-mobile-menu__highlight {
    color: var(--hp-green);
    font-weight: 600;
}

.hp-mobile-menu__highlight svg {
    flex-shrink: 0;
}

.hp-mobile-menu__auth {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--hp-border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-mobile-menu__auth-btn {
    width: 100%;
    text-align: center;
}

.hp-mobile-menu__logout-btn {
    width: 100%;
    text-align: center;
}

/* Desktop: Off-Canvas-Menü und Overlay ausblenden */
@media (min-width: 769px) {
    .hp-mobile-overlay,
    .hp-mobile-menu {
        display: none !important;
    }
}

/* ==========================================
   Meine Anzeigen (MyListings)
   ========================================== */

.hp-empty-state {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    max-width: 420px;
    margin: var(--space-xl) auto;
}

.hp-empty-state__icon {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.hp-empty-state h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.hp-empty-state p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.hp-listings-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hp-listing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    transition: box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.hp-listing-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hp-listing-card--premium {
    border-color: var(--hp-copper);
    border-width: 2px;
}

.hp-listing-card__thumb {
    flex: 0 0 120px;
    width: 120px;
    min-height: 120px;
    overflow: hidden;
    background: var(--beige, #f5f1e8);
}
.hp-listing-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-listing-card__content {
    flex: 1;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hp-listing-card__short-text {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-listing-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hp-listing-card__name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin: 0;
}

.hp-listing-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.hp-listing-card__premium-until {
    font-size: 0.8rem;
    color: var(--text-light);
}

.hp-listing-card__actions {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.hp-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hp-status-badge--draft {
    background: var(--bg-muted, #f0ede6);
    color: var(--text-light);
}

.hp-status-badge--pending {
    background: #fef3cd;
    color: #856404;
}

.hp-status-badge--published {
    background: #d4edda;
    color: #155724;
}

.hp-status-badge--rejected {
    background: #f8d7da;
    color: #721c24;
}


.hp-badge--outline {
    border: 1px solid var(--border);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--text-light);
}

@media (max-width: 599px) {
    .hp-listing-card {
        flex-direction: column;
    }
    .hp-listing-card__thumb {
        flex: none;
        width: 100%;
        height: 160px;
        min-height: unset;
    }
    .hp-listing-card__actions {
        flex-direction: row;
    }
    .hp-listing-card__actions .hp-btn {
        flex: 1;
        text-align: center;
    }
}

/* === SUBSCRIPTION BOX === */
.hp-subscription-box {
    background: white;
    border: 2px solid var(--hp-copper, #b8763e);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.hp-subscription-box__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-subscription-box__header h3 {
    margin: 0;
    font-family: var(--hp-font-headline, 'DM Serif Display', serif);
}

.hp-subscription-box__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin-bottom: 20px;
}

.hp-subscription-box__row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hp-subscription-box__label {
    font-size: 0.85rem;
    color: var(--hp-text-muted, #6b7280);
    font-weight: 500;
}

.hp-subscription-box__notice {
    grid-column: 1 / -1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.hp-subscription-box__notice--warning {
    background: #fef3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.hp-subscription-box__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--hp-border, #e5e0d5);
}

.hp-subscription-box__reassign {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hp-subscription-box__reassign select {
    min-width: 200px;
}

.hp-badge--success {
    background: var(--hp-success-bg, #dcfce7);
    color: #166534;
    border: 1px solid #a5d6a7;
}

.hp-badge--warning {
    background: #fef3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.hp-badge--muted {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.hp-text--muted {
    color: var(--hp-text-muted, #6b7280);
    font-style: italic;
}

@media (max-width: 768px) {
    .hp-subscription-box {
        padding: 16px;
    }

    .hp-subscription-box__details {
        grid-template-columns: 1fr;
    }

    .hp-subscription-box__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-subscription-box__reassign {
        flex-direction: column;
    }

    .hp-subscription-box__reassign select {
        min-width: unset;
        width: 100%;
    }
}

/* ============================================
   EVENT DETAILS (Detail-Seiten)
   ============================================ */

.hp-event-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: var(--hp-space-md) 0;
    padding: var(--hp-space-sm) 0;
    border-top: 1px solid var(--hp-beige-dark);
}

.hp-event-details__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--hp-text);
}

.hp-event-details__item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.6;
}

.hp-event-details__item a {
    color: var(--hp-green);
}

/* Tour-Stationen (Detail-Seite) */

.hp-tour-stops {
    margin: var(--hp-space-md) 0;
    padding: var(--hp-space-sm) 0;
    border-top: 1px solid var(--hp-beige-dark);
}

.hp-tour-stops__title {
    font-family: var(--hp-font-heading);
    font-size: 16px;
    margin: 0 0 8px 0;
    color: var(--hp-text);
}

.hp-tour-stops__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--hp-text);
    border-bottom: 1px solid var(--hp-beige);
}

.hp-tour-stops__item:last-child {
    border-bottom: none;
}

.hp-tour-stops__order {
    font-weight: 600;
    white-space: nowrap;
    color: var(--hp-green);
    min-width: 32px;
}

.hp-tour-stops__location {
    color: var(--hp-text-secondary);
}

.hp-tour-map-section {
    margin: var(--hp-space-md) 0;
}

/* Tour-Station Formular-Buttons (Hoch/Runter/Entfernen) */
.hp-tour-stop-actions {
    display: flex;
    gap: 4px;
    flex: 0 0 auto;
    padding-top: var(--hp-space-xs);
    align-items: flex-start;
}

.hp-tour-stop-actions .hp-btn {
    min-width: 36px;
    padding: 6px 8px;
}

/* ============================================
   PREMIUM UPSELL / LOCKED FIELDS
   ============================================ */

/* Gesperrtes Premium-Feld (Wrapper um hp-form-group) */
.hp-premium-locked {
    border: 1px solid var(--hp-copper-border);
    background: var(--hp-copper-bg);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-sm) var(--hp-space-md);
    margin-bottom: var(--hp-space-sm);
    cursor: pointer;
}

.hp-premium-locked .hp-input,
.hp-premium-locked .hp-textarea,
.hp-premium-locked .hp-select {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    background: var(--hp-beige);
}

/* Lock-Icon neben Label */
.hp-premium-locked__label-icon {
    color: var(--hp-copper);
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-left: 4px;
    display: inline-block;
}

/* Inline-Hint unter gesperrtem Feld */
.hp-premium-locked__hint {
    display: none;
    font-size: 0.8rem;
    color: var(--hp-copper);
    margin-top: var(--hp-space-xs);
    padding: var(--hp-space-xs) var(--hp-space-sm);
    background: rgba(184, 118, 62, 0.08);
    border-radius: var(--hp-radius-sm, 4px);
    line-height: 1.5;
}
.hp-premium-locked__hint a { color: var(--hp-copper); font-weight: 600; text-decoration: underline; }
.hp-premium-locked__hint a:hover { color: var(--hp-copper-light); }
.hp-premium-locked__hint--visible { display: block; }

/* Premium Upsell Banner (MeineAnzeigen) */
.hp-premium-upsell-banner {
    border-left: 4px solid var(--hp-copper);
    background: var(--hp-copper-bg);
    padding: var(--hp-space-md);
    border-radius: var(--hp-radius);
    margin-top: var(--hp-space-sm);
    font-size: 0.9rem;
    color: var(--hp-text);
    line-height: 1.55;
}
.hp-premium-upsell-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hp-space-sm);
    background: var(--hp-copper-bg);
    padding: var(--hp-space-sm) var(--hp-space-md);
    border-radius: var(--hp-radius);
    margin-top: var(--hp-space-sm);
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
}

/* Premium Upsell Inline-Tipp (ProviderDetails) */
.hp-premium-upsell-inline {
    background: #f9f7f3;
    border: 1px solid var(--hp-copper-border);
    border-left: 3px solid var(--hp-copper);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-md);
    margin-top: var(--hp-space-lg);
    font-size: 0.9rem;
    color: var(--hp-text);
    line-height: 1.55;
}
.hp-premium-upsell-inline a { color: var(--hp-copper); font-weight: 600; }

@media (max-width: 768px) {
    .hp-premium-locked { padding: var(--hp-space-xs) var(--hp-space-sm); }
    .hp-premium-upsell-banner { font-size: 0.85rem; padding: var(--hp-space-sm); }
    .hp-premium-upsell-inline { font-size: 0.85rem; padding: var(--hp-space-sm); }
}

/* ============================================
   PREMIUM CHECKOUT FLOW
   (Kundentyp-Auswahl, Bestätigungsseite, Consent)
   ============================================ */

.hp-premium-flow {
    max-width: 680px;
    margin: var(--hp-space-xl) auto;
    padding: 0 var(--hp-space-md);
}
.hp-premium-flow__inner {
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg);
    padding: var(--hp-space-xl);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.hp-premium-flow__title {
    font-family: var(--hp-font-serif);
    font-size: 1.75rem;
    color: var(--hp-green);
    margin: 0 0 var(--hp-space-sm) 0;
    text-align: center;
}
.hp-premium-flow__subtitle {
    font-family: var(--hp-font-serif);
    font-size: 1.25rem;
    color: var(--hp-green);
    margin: var(--hp-space-lg) 0 var(--hp-space-xs) 0;
}
.hp-premium-flow__desc {
    color: var(--hp-text-secondary);
    text-align: center;
    margin-bottom: var(--hp-space-lg);
    line-height: 1.6;
}
.hp-premium-flow__hint {
    color: var(--hp-text-secondary);
    font-size: 0.875rem;
    text-align: center;
    margin-top: var(--hp-space-md);
}
.hp-premium-flow__hint a { color: var(--hp-copper); }
.hp-premium-flow__actions {
    text-align: center;
    margin-top: var(--hp-space-lg);
}
.hp-premium-flow__legal-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--hp-text-light);
    margin-top: var(--hp-space-md);
}

/* Plan-Auswahl-Cards (Premium Planauswahl) */
.hp-plan-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--hp-space-md);
    margin-bottom: var(--hp-space-sm);
}
.hp-plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--hp-space-lg) var(--hp-space-md);
    border: 2px solid var(--hp-beige-dark);
    border-radius: var(--hp-radius-lg);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: var(--hp-white);
}
.hp-plan-card:hover {
    border-color: var(--hp-copper-border);
    background: var(--hp-beige-light);
}
.hp-plan-card--selected {
    border-color: var(--hp-copper);
    background: var(--hp-copper-bg);
    box-shadow: 0 0 0 1px var(--hp-copper);
}
.hp-plan-card__radio { position: absolute; opacity: 0; pointer-events: none; }
.hp-plan-card__header { display: flex; align-items: center; gap: var(--hp-space-xs); margin-bottom: var(--hp-space-sm); }
.hp-plan-card__title { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--hp-text); }
.hp-plan-card__badge { font-size: 0.7rem; font-weight: 600; color: var(--hp-copper); background: var(--hp-copper-bg); padding: 2px 8px; border-radius: 3px; }
.hp-plan-card--selected .hp-plan-card__badge { background: var(--hp-white); }
.hp-plan-card__price { margin-bottom: var(--hp-space-xs); }
.hp-plan-card__amount { font-size: 1.6rem; font-weight: 700; color: var(--hp-text); }
.hp-plan-card__interval { font-size: 0.9rem; color: var(--hp-text-light); }
.hp-plan-card__desc { font-size: 0.85rem; color: var(--hp-text-secondary); }
.hp-premium-flow__footer { text-align: center; margin-top: var(--hp-space-md); }
@media (max-width: 600px) {
    .hp-plan-cards { grid-template-columns: 1fr; }
}

/* Kundentyp-Cards (auch auf Account/Settings) */
.hp-customer-type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--hp-space-md);
    margin-bottom: var(--hp-space-sm);
}
.hp-customer-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--hp-space-lg) var(--hp-space-md);
    border: 2px solid var(--hp-beige-dark);
    border-radius: var(--hp-radius-lg);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: var(--hp-white);
}
.hp-customer-type-card:hover {
    border-color: var(--hp-green-muted);
    background: var(--hp-green-light);
}
.hp-customer-type-card--selected {
    border-color: var(--hp-green);
    background: var(--hp-green-light);
    box-shadow: 0 0 0 3px rgba(74, 99, 85, 0.15);
}
.hp-customer-type-card__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.hp-customer-type-card__icon {
    color: var(--hp-green);
    margin-bottom: var(--hp-space-sm);
}
.hp-customer-type-card--selected .hp-customer-type-card__icon { color: var(--hp-green-dark); }
.hp-customer-type-card__title {
    font-size: 1.05rem;
    color: var(--hp-text);
    margin-bottom: var(--hp-space-xs);
}
.hp-customer-type-card__desc {
    font-size: 0.875rem;
    color: var(--hp-text-secondary);
    line-height: 1.5;
}

/* Bestellübersicht */
.hp-order-summary {
    background: var(--hp-beige);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-md);
    margin-bottom: var(--hp-space-lg);
}
.hp-order-summary__title {
    font-family: var(--hp-font-serif);
    font-size: 1.1rem;
    color: var(--hp-green);
    margin: 0 0 var(--hp-space-sm) 0;
}
.hp-order-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}
.hp-order-summary__note {
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
    margin-top: var(--hp-space-xs);
}

/* Hinweis-Box (Consent) */
.hp-consent-notice {
    background: var(--hp-warning-bg);
    border: 1px solid var(--hp-warning-border);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-md);
    margin-bottom: var(--hp-space-lg);
    color: var(--hp-warning-text);
    font-size: 0.925rem;
    line-height: 1.6;
}
.hp-consent-notice__link {
    color: var(--hp-copper);
    margin-left: var(--hp-space-xs);
}

/* Widerrufsbelehrung */
.hp-withdrawal-policy {
    border: 1px solid var(--hp-beige-dark);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-lg);
    margin-bottom: var(--hp-space-lg);
    max-height: none;
    overflow: visible;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--hp-text);
}
.hp-withdrawal-policy h3 {
    font-family: var(--hp-font-serif);
    font-size: 1.15rem;
    color: var(--hp-green);
    margin: 0 0 var(--hp-space-md) 0;
}
.hp-withdrawal-policy h4 {
    font-size: 1rem;
    color: var(--hp-text);
    margin: var(--hp-space-md) 0 var(--hp-space-xs) 0;
}
.hp-withdrawal-policy p {
    margin: 0 0 var(--hp-space-sm) 0;
}

/* Consent-Checkboxen */
.hp-consent-checkbox {
    background: var(--hp-offwhite);
    border: 1px solid var(--hp-beige-dark);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-md);
    margin-bottom: var(--hp-space-md);
}
.hp-consent-checkbox--highlight {
    border-color: var(--hp-copper-border);
    background: var(--hp-copper-bg);
}
.hp-consent-checkbox__label {
    display: flex;
    gap: var(--hp-space-sm);
    align-items: flex-start;
    cursor: pointer;
}
.hp-consent-checkbox__input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--hp-green);
}
.hp-consent-checkbox__text {
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--hp-text);
}

@media (max-width: 768px) {
    .hp-premium-flow__inner { padding: var(--hp-space-md); }
    .hp-premium-flow__title { font-size: 1.35rem; }
    .hp-customer-type-cards { grid-template-columns: 1fr; }
    .hp-withdrawal-policy { padding: var(--hp-space-md); font-size: 0.85rem; }
    .hp-consent-checkbox { padding: var(--hp-space-sm); }
}

/* ============================================
   WIDERRUFSFORMULAR (öffentlich, § 356a BGB)
   ============================================ */

.hp-widerruf-form {
    max-width: 640px;
    margin: var(--hp-space-xl) auto;
    padding: 0 var(--hp-space-md);
}
.hp-widerruf-form__inner {
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg);
    padding: var(--hp-space-xl);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.hp-widerruf-form__title {
    font-family: var(--hp-font-serif);
    font-size: 1.75rem;
    color: var(--hp-green);
    margin: 0 0 var(--hp-space-sm) 0;
    text-align: center;
}
.hp-widerruf-form__desc {
    color: var(--hp-text-secondary);
    text-align: center;
    margin-bottom: var(--hp-space-lg);
    line-height: 1.6;
}
.hp-widerruf-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hp-space-sm);
    justify-content: center;
    margin-top: var(--hp-space-lg);
}

/* Hinweis-Boxen */
.hp-widerruf-info-box {
    background: var(--hp-warning-bg);
    border: 1px solid var(--hp-warning-border);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-md);
    margin-bottom: var(--hp-space-lg);
    color: var(--hp-warning-text);
    font-size: 0.925rem;
    line-height: 1.6;
}
.hp-widerruf-info-box--important {
    background: var(--hp-copper-bg);
    border-color: var(--hp-copper-border);
    color: var(--hp-text);
}

/* Vertragsauswahl (Widerruf, eingeloggte User) */
.hp-widerruf-contracts {
    display: flex;
    flex-direction: column;
    gap: var(--hp-space-sm);
    margin-top: var(--hp-space-xs);
}
.hp-widerruf-contract-option {
    display: flex;
    align-items: flex-start;
    gap: var(--hp-space-sm);
    padding: var(--hp-space-md);
    border: 2px solid var(--hp-border-light, #e8e3d8);
    border-radius: var(--hp-radius);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.hp-widerruf-contract-option:hover {
    border-color: var(--hp-green);
    background: rgba(74,99,85,0.03);
}
.hp-widerruf-contract-option input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--hp-green);
}
.hp-widerruf-contract-option:has(input:checked) {
    border-color: var(--hp-green);
    background: rgba(74,99,85,0.06);
}
.hp-widerruf-contract-option__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hp-widerruf-contract-option__meta {
    font-size: 0.85rem;
    color: var(--hp-text-secondary, #6b7280);
}

/* Bestätigungs-Übersicht (Stufe 2) */
.hp-widerruf-summary {
    background: var(--hp-beige);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-md);
    margin-bottom: var(--hp-space-lg);
}
.hp-widerruf-summary__row {
    display: flex;
    padding: var(--hp-space-xs) 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hp-widerruf-summary__row:last-child { border-bottom: none; }
.hp-widerruf-summary__label {
    flex: 0 0 140px;
    color: var(--hp-text-secondary);
    font-size: 0.9rem;
}
.hp-widerruf-summary__value {
    flex: 1;
    font-size: 0.95rem;
    word-break: break-word;
}

/* Erfolgsseite (Stufe 3) */
.hp-widerruf-success {
    text-align: center;
    margin-bottom: var(--hp-space-lg);
}
.hp-widerruf-success__icon {
    color: var(--hp-success);
    margin-bottom: var(--hp-space-sm);
}
.hp-widerruf-success__title {
    font-family: var(--hp-font-serif);
    font-size: 1.75rem;
    color: var(--hp-green);
    margin: 0;
}
.hp-widerruf-success__ref {
    background: var(--hp-green-light);
    border-radius: var(--hp-radius);
    padding: var(--hp-space-md);
    text-align: center;
    margin-bottom: var(--hp-space-lg);
}
.hp-widerruf-success__ref-label {
    display: block;
    color: var(--hp-text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--hp-space-xs);
}
.hp-widerruf-success__ref-number {
    font-size: 1.25rem;
    color: var(--hp-green-dark);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .hp-widerruf-form__inner { padding: var(--hp-space-md); }
    .hp-widerruf-form__title { font-size: 1.35rem; }
    .hp-widerruf-summary__row { flex-direction: column; }
    .hp-widerruf-summary__label { flex: none; font-size: 0.8rem; margin-bottom: 2px; }
}

/* ============================================================
   MEIN KONTO
   ============================================================ */

.hp-konto {
    padding: var(--hp-space-xl) var(--hp-space-md);
    max-width: 1000px;
    margin: 0 auto;
}

.hp-konto__inner {
    background: var(--hp-bg-card, #fff);
    border-radius: var(--hp-radius-lg, 16px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: var(--hp-space-lg);
}

.hp-konto__title {
    font-family: var(--hp-font-display, 'DM Serif Display', serif);
    font-size: 1.75rem;
    color: var(--hp-green-dark, #4a6355);
    margin: 0 0 var(--hp-space-lg) 0;
}

.hp-konto__layout {
    display: flex;
    gap: var(--hp-space-xl);
}

/* --- Navigation --- */
.hp-konto__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
    flex-shrink: 0;
    border-right: 1px solid var(--hp-border, #e5e2d9);
    padding-right: var(--hp-space-lg);
}

.hp-konto__nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--hp-radius-sm, 8px);
    color: var(--hp-text-secondary, #6b6b6b);
    text-decoration: none;
    font-size: 0.92rem;
    transition: background 0.15s, color 0.15s;
}

.hp-konto__nav-link:hover {
    background: var(--hp-bg-hover, rgba(74, 99, 85, 0.06));
    color: var(--hp-green-dark, #4a6355);
}

.hp-konto__nav-link--active {
    background: var(--hp-bg-hover, rgba(74, 99, 85, 0.08));
    color: var(--hp-green-dark, #4a6355);
    font-weight: 600;
}

.hp-konto__nav-link svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.hp-konto__nav-link--active svg {
    opacity: 1;
}

/* --- Content --- */
.hp-konto__content {
    flex: 1;
    min-width: 0;
}

.hp-konto__section-title {
    font-family: var(--hp-font-display, 'DM Serif Display', serif);
    font-size: 1.3rem;
    color: var(--hp-green-dark, #4a6355);
    margin: 0 0 var(--hp-space-md) 0;
}

/* --- Formulare --- */
.hp-konto__form {
    display: flex;
    flex-direction: column;
    gap: var(--hp-space-md);
}

.hp-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hp-form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--hp-text-primary, #333);
}

.hp-form-input,
.hp-form-select {
    padding: 10px 14px;
    border: 1px solid var(--hp-border, #d4d0c7);
    border-radius: var(--hp-radius-sm, 8px);
    font-size: 0.95rem;
    font-family: var(--hp-font-body, 'DM Sans', sans-serif);
    background: #fff;
    transition: border-color 0.15s;
}

.hp-form-input:focus,
.hp-form-select:focus {
    outline: none;
    border-color: var(--hp-green-dark, #4a6355);
    box-shadow: 0 0 0 3px rgba(74, 99, 85, 0.1);
}

.hp-form-error {
    font-size: 0.82rem;
    color: var(--hp-error, #c0392b);
}

.hp-konto__actions {
    padding-top: var(--hp-space-sm);
}

.hp-konto__hint {
    font-size: 0.82rem;
    color: var(--hp-text-secondary, #888);
}

/* --- Avatar / Profilbild --- */
.hp-konto__avatar-section {
    display: flex;
    align-items: center;
    gap: var(--hp-space-md);
    margin-bottom: var(--hp-space-lg);
    padding-bottom: var(--hp-space-lg);
    border-bottom: 1px solid var(--hp-border, #e5e2d9);
}

.hp-konto__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--hp-border, #e5e2d9);
}

.hp-konto__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-konto__avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hp-bg-muted, #f5f1e8);
    color: var(--hp-text-secondary, #888);
}

.hp-konto__avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-konto__avatar-form {
    display: inline;
}

/* --- Info-Box --- */
.hp-konto__info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--hp-bg-muted, #f5f1e8);
    border-radius: var(--hp-radius-sm, 8px);
    margin-bottom: var(--hp-space-md);
}

.hp-konto__info-label {
    font-size: 0.82rem;
    color: var(--hp-text-secondary, #888);
}

.hp-konto__info-text {
    font-size: 0.88rem;
    color: var(--hp-text-secondary, #666);
    line-height: 1.6;
    margin-top: var(--hp-space-md);
}

.hp-konto__info-text ul {
    margin: 8px 0;
    padding-left: 20px;
}

/* --- Cards --- */
.hp-konto__card {
    border: 1px solid var(--hp-border, #e5e2d9);
    border-radius: var(--hp-radius-sm, 10px);
    padding: var(--hp-space-md);
    margin-bottom: var(--hp-space-md);
}

.hp-konto__card--danger {
    border-color: var(--hp-error, #e74c3c);
    border-width: 1px;
}

.hp-konto__card-title {
    font-family: var(--hp-font-display, 'DM Serif Display', serif);
    font-size: 1.05rem;
    color: var(--hp-green-dark, #4a6355);
    margin: 0 0 8px 0;
}

.hp-konto__card--danger .hp-konto__card-title {
    color: var(--hp-error, #c0392b);
}

/* --- Toggle (Benachrichtigungen) --- */
.hp-konto__toggle-row {
    padding: var(--hp-space-md) 0;
    border-bottom: 1px solid var(--hp-border, #e5e2d9);
}

.hp-konto__toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hp-space-md);
    cursor: pointer;
}

.hp-konto__toggle-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.hp-toggle__input {
    opacity: 0;
    width: 0;
    height: 0;
}

.hp-toggle__slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ccc;
    border-radius: 26px;
    transition: background 0.2s;
}

.hp-toggle__slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.hp-toggle__input:checked + .hp-toggle__slider {
    background: var(--hp-green-dark, #4a6355);
}

.hp-toggle__input:checked + .hp-toggle__slider::before {
    transform: translateX(22px);
}

/* --- Consent & Legal --- */
.hp-konto__consent-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-konto__consent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.92rem;
}

.hp-konto__legal-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hp-konto__legal-link {
    color: var(--hp-green-dark, #4a6355);
    text-decoration: none;
    font-size: 0.92rem;
}

.hp-konto__legal-link:hover {
    text-decoration: underline;
}

/* --- Delete List --- */
.hp-konto__delete-list {
    margin: 8px 0;
    padding-left: 20px;
    font-size: 0.92rem;
    color: var(--hp-text-secondary, #666);
}

.hp-konto__delete-list li {
    margin-bottom: 4px;
}

/* --- Empty State --- */
.hp-konto__empty-state {
    text-align: center;
    padding: var(--hp-space-xl) 0;
    color: var(--hp-text-secondary, #888);
}

.hp-konto__empty-state p {
    margin-bottom: var(--hp-space-md);
}

/* --- Status Icons (Email-Bestätigung etc.) --- */
.hp-konto__status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.hp-konto__status-icon--success {
    background: rgba(74, 99, 85, 0.1);
    color: var(--hp-green-dark, #4a6355);
}

.hp-konto__status-icon--error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--hp-error, #e74c3c);
}

/* --- Danger Button --- */
.hp-btn--danger {
    background: var(--hp-error, #c0392b);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--hp-radius-sm, 8px);
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.15s;
}

.hp-btn--danger:hover {
    background: #a93226;
}

.hp-btn--danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Alert Info --- */
.hp-alert--info {
    background: rgba(74, 99, 85, 0.08);
    border: 1px solid rgba(74, 99, 85, 0.2);
    border-radius: var(--hp-radius-sm, 8px);
    padding: 14px 18px;
    font-size: 0.92rem;
    margin-bottom: var(--hp-space-md);
    color: var(--hp-green-dark, #4a6355);
}

.hp-alert--warning {
    background: rgba(184, 118, 62, 0.08);
    border: 1px solid rgba(184, 118, 62, 0.25);
    border-radius: var(--hp-radius-sm, 8px);
    padding: 14px 18px;
    font-size: 0.92rem;
    margin-bottom: var(--hp-space-md);
    color: #8a5a2a;
}

.hp-alert--error {
    background: rgba(231, 76, 60, 0.06);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: var(--hp-radius-sm, 8px);
    padding: 14px 18px;
    font-size: 0.92rem;
    margin-bottom: var(--hp-space-md);
    color: var(--hp-error, #c0392b);
}

.hp-alert--error:empty,
.hp-alert--warning:empty,
.hp-alert--info:empty {
    display: none;
}

/* === KONTO RESPONSIVE === */
@media (max-width: 768px) {
    .hp-konto { padding: var(--hp-space-md) var(--hp-space-sm); }
    .hp-konto__inner { padding: var(--hp-space-md); }
    .hp-konto__title { font-size: 1.4rem; }

    .hp-konto__layout {
        flex-direction: column;
        gap: var(--hp-space-md);
    }

    .hp-konto__nav {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--hp-border, #e5e2d9);
        padding-right: 0;
        padding-bottom: var(--hp-space-sm);
        min-width: 0;
        gap: 2px;
        -webkit-overflow-scrolling: touch;
    }

    .hp-konto__nav-link {
        white-space: nowrap;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .hp-konto__nav-link svg { display: none; }

    .hp-konto__avatar-section {
        flex-direction: column;
        text-align: center;
    }

    .hp-konto__avatar-actions {
        align-items: center;
    }

    .hp-konto__info-box {
        flex-direction: column;
        gap: 4px;
    }

    .hp-konto__toggle-label {
        gap: var(--hp-space-sm);
    }

    .hp-subscription-box__details {
        grid-template-columns: 1fr;
    }
}
