/* ==========================================================================
   Mossautal Touristik e.V. – Komponenten
   Design: Editorial, image-centric, minimalist (inspired by australia.com)
   Stand: 2026-04-14
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Buttons – pill-shaped, confident
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    font-family: var(--f-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    transform: none;
}

.btn:active {
    transform: none;
}

.btn:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 2px;
}

/* Primary: Orange CTA */
.btn-primary {
    background: var(--c-accent);
    color: var(--c-text-light);
    border-color: var(--c-accent);
}

.btn-primary:hover {
    background: var(--c-accent-dark);
    border-color: var(--c-accent-dark);
    color: var(--c-text-light);
}

/* Secondary: transparent with border */
.btn-secondary {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border);
}

.btn-secondary:hover {
    background: var(--c-bg-warm);
    border-color: var(--c-text);
    color: var(--c-text);
}

/* Outline: thin border */
.btn-outline {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border);
}

.btn-outline:hover {
    background: var(--c-text);
    border-color: var(--c-text);
    color: var(--c-text-light);
}

/* Outline light (for hero / dark backgrounds) */
.btn-outline-light {
    background: transparent;
    color: var(--c-text-light);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--c-text-light);
    color: var(--c-text-light);
}

/* White button (for image overlays) */
.btn-white {
    background: var(--c-text-light);
    color: var(--c-text);
    border-color: var(--c-text-light);
}

.btn-white:hover {
    background: var(--c-bg-warm);
    border-color: var(--c-bg-warm);
    color: var(--c-text);
}

/* Ghost: text-only with arrow */
.btn-ghost {
    background: transparent;
    color: var(--c-text);
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    font-weight: 500;
}

.btn-ghost:hover {
    color: var(--c-accent);
}

.btn-ghost::after {
    content: "\2192";
    transition: transform 0.3s ease;
}

.btn-ghost:hover::after {
    transform: translateX(4px);
}

/* Size variants */
.btn-sm {
    padding: 8px 20px;
    font-size: var(--fs-xs);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* Icon in button */
.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   2. Cards – minimal, image-forward (australia.com style)
   -------------------------------------------------------------------------- */
.card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: none;
}

.card:hover {
    transform: none;
    box-shadow: none;
}

.card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img img {
    transform: scale(1.03);
}

.card-body {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-family: var(--f-headline);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--c-text);
    line-height: 1.3;
}

.card-title a {
    color: inherit;
}

.card-title a:hover {
    color: var(--c-primary);
}

.card-text {
    font-size: 0.9rem;
    color: var(--c-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    flex: 1;
}

/* Card meta – bottom info */
.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-xs);
    color: var(--c-muted);
    margin-top: auto;
}

.card-meta svg {
    width: 14px;
    height: 14px;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--c-accent);
}

.card-rating svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.card-price {
    font-weight: 600;
    color: var(--c-text);
}

/* Full-card link overlay */
.card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.card-link:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: -2px;
    border-radius: var(--radius-lg);
}

/* Card badge – white pill on image */
.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    color: var(--c-text);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(4px);
}


/* --------------------------------------------------------------------------
   3. Category Cards – large, immersive, portrait
   -------------------------------------------------------------------------- */
.card-kategorie {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.card-kategorie:hover {
    transform: none;
    box-shadow: none;
}

.card-kategorie img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-kategorie:hover img {
    transform: scale(1.04);
}

.card-kategorie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.08) 45%,
        rgba(0, 0, 0, 0.0) 100%
    );
    transition: background 0.4s ease;
}

.card-kategorie:hover .card-kategorie-overlay {
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.0) 100%
    );
}

.card-kategorie-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    width: 100%;
}

.card-kategorie-content svg {
    width: 28px;
    height: 28px;
    color: var(--c-text-light);
    margin-bottom: 8px;
    opacity: 0.85;
}

.card-kategorie-title {
    font-family: var(--f-headline);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--c-text-light);
    margin-bottom: 4px;
    line-height: 1.2;
}

.card-kategorie-count {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.7);
}


/* --------------------------------------------------------------------------
   4. Filter Bar – sticky, clean
   -------------------------------------------------------------------------- */
.filter-bar {
    background: var(--c-card-bg);
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: var(--space-md) 0;
    margin-bottom: var(--space-xl);
    box-shadow: none;
}

.filter-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: flex-end;
}

/* Filter group */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    flex: 1;
    min-width: 160px;
}

.filter-group label {
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Styled Select – minimal border, rounded */
.filter-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 10px 40px 10px 14px;
    font-size: var(--fs-small);
    color: var(--c-text);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.08);
}

/* Search input */
.filter-search {
    position: relative;
    flex: 2;
    min-width: 200px;
}

.filter-search input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    background: var(--c-bg);
    font-size: var(--fs-small);
    color: var(--c-text);
    transition: border-color 0.3s ease;
}

.filter-search input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.08);
}

.filter-search input::placeholder {
    color: var(--c-muted);
}

.filter-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--c-muted);
    pointer-events: none;
}

/* Toggle pills */
.filter-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    width: 100%;
    padding-top: var(--space-sm);
}

.filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.filter-toggle input[type="checkbox"] {
    display: none;
}

.filter-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--c-muted);
    background: transparent;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.filter-toggle-label:hover {
    border-color: var(--c-text);
    color: var(--c-text);
}

/* Active toggle: dark fill, white text */
.filter-toggle input[type="checkbox"]:checked + .filter-toggle-label {
    background: var(--c-text);
    border-color: var(--c-text);
    color: var(--c-text-light);
}

.filter-toggle-label svg {
    width: 14px;
    height: 14px;
}

/* Price filter */
.filter-price {
    display: flex;
    gap: 0;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.filter-price input[type="radio"] {
    display: none;
}

.filter-price-label {
    padding: 8px 14px;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--c-muted);
    cursor: pointer;
    border-right: 1px solid var(--c-border);
    transition: all 0.3s ease;
}

.filter-price-label:last-of-type {
    border-right: none;
}

.filter-price-label:hover {
    background: var(--c-bg-warm);
    color: var(--c-text);
}

.filter-price input[type="radio"]:checked + .filter-price-label {
    background: var(--c-text);
    color: var(--c-text-light);
}

/* Filter reset – text link style */
.filter-reset {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 10px 0;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--c-muted);
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.filter-reset:hover {
    color: var(--c-text);
}

.filter-reset svg {
    width: 14px;
    height: 14px;
}

/* Active filter tags (removable) */
.filter-active {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-md);
}

.filter-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: var(--fs-xs);
    background: var(--c-bg-warm);
    color: var(--c-text);
    border-radius: var(--radius-pill);
    font-weight: 500;
}

.filter-active-tag button {
    display: flex;
    width: 14px;
    height: 14px;
    color: var(--c-muted);
    opacity: 0.6;
}

.filter-active-tag button:hover {
    opacity: 1;
    color: var(--c-text);
}

/* Results count */
.filter-results-count {
    font-size: var(--fs-small);
    color: var(--c-muted);
    padding: var(--space-md) 0;
}

.filter-results-count strong {
    color: var(--c-text);
    font-weight: 600;
}

@media (max-width: 767px) {
    .filter-bar {
        padding: var(--space-md) 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-group {
        min-width: 100%;
    }

    .filter-search {
        min-width: 100%;
    }
}


/* --------------------------------------------------------------------------
   5. Tags
   -------------------------------------------------------------------------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--c-muted);
    background: transparent;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tag:hover,
.tag-active {
    background: var(--c-text);
    border-color: var(--c-text);
    color: var(--c-text-light);
}

.tag svg {
    width: 12px;
    height: 12px;
}

.tag-accent {
    color: var(--c-accent);
    border-color: rgba(232, 147, 12, 0.3);
}

.tag-accent:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: var(--c-text-light);
}

.tag-muted {
    color: var(--c-muted);
    border-color: var(--c-border);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}


/* --------------------------------------------------------------------------
   6. Gallery (.galerie)
   -------------------------------------------------------------------------- */
.galerie {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

@media (min-width: 480px) {
    .galerie {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .galerie {
        grid-template-columns: repeat(3, 1fr);
    }
}

.galerie-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.galerie-item:hover img {
    transform: scale(1.03);
}

.galerie-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.galerie-item:hover::after {
    background: rgba(0, 0, 0, 0.05);
}

/* Zoom icon on hover */
.galerie-item-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 2;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.galerie-item:hover .galerie-item-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.galerie-item-icon svg {
    width: 18px;
    height: 18px;
    color: var(--c-text);
}

/* Featured gallery layout */
.galerie-featured {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .galerie-featured {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .galerie-featured .galerie-item:first-child {
        grid-row: 1 / -1;
        aspect-ratio: auto;
    }
}


/* --------------------------------------------------------------------------
   7. Lightbox
   -------------------------------------------------------------------------- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-light);
    cursor: pointer;
    z-index: 10001;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-light);
    cursor: pointer;
    z-index: 10001;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 28px;
    height: 28px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-small);
    z-index: 10001;
}


/* --------------------------------------------------------------------------
   8. Accordion / FAQ – clean, borderless between items
   -------------------------------------------------------------------------- */
.accordion {
    border: none;
    border-radius: 0;
    overflow: visible;
}

.accordion-item {
    border-bottom: 1px solid var(--c-border);
}

.accordion-item:last-child {
    border-bottom: 1px solid var(--c-border);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-family: var(--f-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-text);
    text-align: left;
    background: transparent;
    cursor: pointer;
    transition: color 0.3s ease;
}

.accordion-trigger:hover {
    color: var(--c-text);
    background: transparent;
}

.accordion-trigger[aria-expanded="true"] {
    color: var(--c-text);
}

.accordion-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-left: var(--space-md);
    transition: transform 0.3s ease;
    color: var(--c-muted);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
    color: var(--c-text);
}

.accordion-content {
    display: none;
    padding: 0 0 24px;
    font-size: var(--fs-small);
    color: var(--c-muted);
    line-height: 1.7;
}

.accordion-content.is-open {
    display: block;
}

.accordion-content p {
    margin-bottom: var(--space-md);
}

.accordion-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* --------------------------------------------------------------------------
   9. Badge
   -------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.badge-primary {
    background: var(--c-primary);
    color: var(--c-text-light);
}

.badge-accent {
    background: var(--c-accent);
    color: var(--c-text-light);
}

.badge-secondary {
    background: var(--c-bg-warm);
    color: var(--c-text);
}

.badge-muted {
    background: var(--c-bg-warm);
    color: var(--c-muted);
}

/* Badge on card images */
.card-img .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}


/* --------------------------------------------------------------------------
   10. Alerts (form feedback)
   -------------------------------------------------------------------------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--fs-small);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.alert svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.alert-success {
    background: rgba(26, 92, 42, 0.06);
    color: var(--c-primary);
    border: 1px solid rgba(26, 92, 42, 0.12);
}

.alert-success svg {
    color: var(--c-primary);
}

.alert-error {
    background: rgba(200, 40, 40, 0.05);
    color: #8b2020;
    border: 1px solid rgba(200, 40, 40, 0.12);
}

.alert-error svg {
    color: #c82828;
}

.alert-info {
    background: var(--c-bg-warm);
    color: var(--c-muted);
    border: 1px solid var(--c-border);
}

.alert-warning {
    background: rgba(232, 147, 12, 0.06);
    color: #7a5200;
    border: 1px solid rgba(232, 147, 12, 0.15);
}


/* --------------------------------------------------------------------------
   11. Forms – clean, modern
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--c-muted);
    margin-bottom: 6px;
}

.form-label .required {
    color: var(--c-accent);
    margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: var(--fs-body);
    color: var(--c-text);
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--c-muted);
    opacity: 0.6;
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

/* Error state */
.form-input.is-error,
.form-textarea.is-error,
.form-select.is-error {
    border-color: #c82828;
}

.form-error {
    display: block;
    font-size: var(--fs-xs);
    color: #c82828;
    margin-top: var(--space-xs);
}

/* Checkbox / Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--c-primary);
    cursor: pointer;
}

.form-check-label {
    font-size: var(--fs-small);
    color: var(--c-text);
    line-height: 1.5;
}

.form-check-label a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Honeypot */
.form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Privacy note */
.form-privacy {
    font-size: var(--fs-xs);
    color: var(--c-muted);
    margin-top: var(--space-md);
    line-height: 1.6;
}

/* 2-column form layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-row .form-group {
    margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   12. Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    font-size: var(--fs-xs);
    color: var(--c-muted);
}

.breadcrumb a {
    color: var(--c-muted);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--c-text);
}

.breadcrumb-separator {
    color: var(--c-border);
    font-size: 0.7rem;
}

.breadcrumb-current {
    color: var(--c-text);
    font-weight: 500;
}

/* Light breadcrumb (on hero) */
.breadcrumb-light {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-light a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-light a:hover {
    color: var(--c-text-light);
}

.breadcrumb-light .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-light .breadcrumb-current {
    color: var(--c-text-light);
}


/* --------------------------------------------------------------------------
   13. Sections
   -------------------------------------------------------------------------- */
.section {
    padding: 40px 0;
}

.section-sm {
    padding: 24px 0;
}

.section-lg {
    padding: 64px 0;
}

@media (max-width: 767px) {
    .section {
        padding: 48px 0;
    }

    .section-lg {
        padding: 64px 0;
    }
}

/* Background variants */
.section-light {
    background: var(--c-bg-warm);
}

/* section-green kept for backwards compat but restyled as warm neutral */
.section-green {
    background: var(--c-bg-warm);
    color: var(--c-text);
}

.section-green h2,
.section-green h3,
.section-green h4 {
    color: var(--c-text);
}

.section-green p {
    color: var(--c-muted);
}

.section-green .overline {
    color: var(--c-muted);
}

.section-green .section-title::after {
    background: var(--c-accent);
}

.section-green a {
    color: var(--c-primary);
}

.section-green a:hover {
    color: var(--c-accent);
}

/* CTA section – white, centered */
.section-cta {
    background: var(--c-bg);
    text-align: center;
    padding: 48px 0;
}

.section-cta .container {
    max-width: 640px;
}

/* Section header (title + subtitle centered) */
.section-header {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto var(--space-2xl);
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header .lead {
    margin-left: auto;
    margin-right: auto;
}


/* --------------------------------------------------------------------------
   14. Business Detail Page
   -------------------------------------------------------------------------- */

/* Header image – full-width, max 60vh */
.detail-header {
    position: relative;
    height: 60vh;
    min-height: 300px;
    max-height: 560px;
    overflow: hidden;
    border-radius: 0;
}

.detail-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.45) 0%, transparent 50%);
}

.detail-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl) 0;
    z-index: 2;
}

.detail-header-content .container {
    padding-left: 24px;
    padding-right: 24px;
}

.detail-title {
    font-family: var(--f-headline);
    font-size: var(--fs-h1);
    color: var(--c-text-light);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.detail-kategorie {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.8);
}

/* Content area */
.detail-content {
    padding: var(--space-2xl) 0;
}

.detail-main {
    /* left column in layout-sidebar */
}

.detail-main h2 {
    font-size: var(--fs-h3);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.detail-main h2:first-child {
    margin-top: 0;
}

.detail-text {
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--c-text);
}

.detail-text p {
    margin-bottom: var(--space-lg);
}

/* Sidebar – sticky, clean card */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .detail-sidebar {
        position: sticky;
        top: calc(var(--nav-height) + 24px);
        align-self: start;
    }
}

.detail-sidebar-card {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.detail-sidebar-card h3 {
    font-size: var(--fs-h5);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1.5px solid var(--c-border);
}

/* Contact info in sidebar */
.detail-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: var(--fs-small);
}

.detail-contact-item:last-child {
    margin-bottom: 0;
}

.detail-contact-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--c-muted);
    margin-top: 2px;
}

.detail-contact-item a {
    word-break: break-all;
}

/* Features grid in sidebar */
.detail-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.detail-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-small);
    color: var(--c-muted);
}

.detail-feature svg {
    width: 16px;
    height: 16px;
    color: var(--c-primary);
    flex-shrink: 0;
}

.detail-feature.is-available {
    color: var(--c-text);
}

.detail-feature.is-unavailable {
    opacity: 0.35;
    text-decoration: line-through;
}

/* Opening hours table */
.detail-hours {
    width: 100%;
    font-size: var(--fs-small);
}

.detail-hours tr {
    border-bottom: 1px solid var(--c-border);
}

.detail-hours tr:last-child {
    border-bottom: none;
}

.detail-hours td {
    padding: 8px 0;
}

.detail-hours td:first-child {
    font-weight: 500;
    color: var(--c-text);
}

.detail-hours td:last-child {
    text-align: right;
    color: var(--c-muted);
}

.detail-hours .is-today {
    color: var(--c-primary);
    font-weight: 600;
}

/* Map placeholder */
.detail-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--c-bg-warm);
    border: 1px solid var(--c-border);
}

.detail-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact form on detail page */
.detail-form {
    background: var(--c-bg-warm);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
}

.detail-form h2 {
    font-size: var(--fs-h4);
    margin-bottom: var(--space-lg);
}


/* --------------------------------------------------------------------------
   15. Event Cards
   -------------------------------------------------------------------------- */
.event-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.event-item {
    display: flex;
    gap: var(--space-lg);
    background: var(--c-card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    transition: border-color 0.3s ease;
}

.event-item:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--c-muted);
}

/* Date block */
.event-date {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: var(--c-text);
    color: var(--c-text-light);
    min-width: 90px;
    text-align: center;
}

.event-date-day {
    font-family: var(--f-headline);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-month {
    font-size: var(--fs-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: var(--space-xs);
    opacity: 0.7;
}

.event-date-year {
    font-size: var(--fs-xs);
    opacity: 0.5;
}

/* Recurring events */
.event-date-recurring {
    background: var(--c-accent);
}

.event-body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.event-title {
    font-family: var(--f-headline);
    font-size: var(--fs-h4);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--c-text);
}

.event-title a {
    color: inherit;
}

.event-title a:hover {
    color: var(--c-primary);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: var(--fs-xs);
    color: var(--c-muted);
    margin-bottom: var(--space-sm);
}

.event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.event-meta-item svg {
    width: 14px;
    height: 14px;
}

.event-excerpt {
    font-size: var(--fs-small);
    color: var(--c-muted);
    line-height: 1.6;
}

/* Event image (optional, right side) */
.event-img {
    flex-shrink: 0;
    width: 180px;
    display: none;
}

@media (min-width: 768px) {
    .event-img {
        display: block;
    }
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 480px) {
    .event-item {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        gap: var(--space-sm);
        min-width: 0;
        padding: var(--space-md) var(--space-lg);
    }

    .event-date-day {
        font-size: 1.5rem;
    }

    .event-date-month {
        margin-top: 0;
    }
}


/* --------------------------------------------------------------------------
   16. Icon-Text – feature icons
   -------------------------------------------------------------------------- */
.icon-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-small);
    color: var(--c-text);
}

.icon-text svg {
    width: 18px;
    height: 18px;
    color: var(--c-muted);
    flex-shrink: 0;
}

.icon-text-muted {
    color: var(--c-muted);
}

.icon-text-muted svg {
    color: var(--c-muted);
}

/* List of icon-text pairs */
.icon-text-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-xl);
}

/* Vertical variant */
.icon-text-vertical {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
}

.icon-text-vertical svg {
    width: 28px;
    height: 28px;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 14px;
    background: var(--c-bg-warm);
    border-radius: var(--radius-md);
    font-size: var(--fs-small);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--c-primary);
    flex-shrink: 0;
}

.feature-item.unavailable {
    opacity: 0.35;
}

.feature-item.unavailable svg {
    color: var(--c-muted);
}


/* --------------------------------------------------------------------------
   17. Miscellaneous helpers
   -------------------------------------------------------------------------- */

/* Divider */
.divider {
    height: 1px;
    background: var(--c-border);
    margin: var(--space-xl) 0;
    border: none;
}

/* Testimonial / Quote */
.testimonial {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.testimonial-text {
    font-family: var(--f-headline);
    font-size: var(--fs-h3);
    font-weight: 400;
    font-style: italic;
    color: var(--c-text);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.testimonial-text::before {
    content: "\201E";
    color: var(--c-accent);
    opacity: 0.4;
    font-size: 3rem;
    line-height: 0;
    vertical-align: -0.5em;
    margin-right: 0.1em;
}

.testimonial-author {
    font-size: var(--fs-small);
    color: var(--c-muted);
}

.testimonial-author strong {
    color: var(--c-text);
    font-weight: 600;
}

/* Stats */
.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--f-headline);
    font-size: var(--fs-h1);
    font-weight: 700;
    color: var(--c-text);
    line-height: 1;
}

.section-green .stat-number {
    color: var(--c-text);
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--c-muted);
    margin-top: var(--space-xs);
}

.section-green .stat-label {
    color: var(--c-muted);
}

/* Empty state */
.no-results {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    color: var(--c-muted);
}

.no-results svg {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-lg);
    color: var(--c-border);
}

.no-results h3 {
    color: var(--c-text);
    margin-bottom: var(--space-sm);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-xl) 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--c-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--c-bg-warm);
    color: var(--c-text);
}

.pagination .is-current {
    background: var(--c-text);
    color: var(--c-text-light);
}

.pagination .pagination-dots {
    width: auto;
    padding: 0 var(--space-xs);
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-text);
    color: var(--c-text-light);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 900;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--c-accent);
    color: var(--c-text-light);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}


/* --------------------------------------------------------------------------
   18. Responsive supplements
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .filter-bar {
        padding: var(--space-sm) 0;
    }

    .detail-features {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card:hover,
    .card-kategorie:hover,
    .event-item:hover {
        transform: none;
    }

    .card:hover .card-img img,
    .card-kategorie:hover img,
    .galerie-item:hover img {
        transform: none;
    }

    .galerie-item-icon {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    .lightbox-overlay {
        transition: none;
    }
}


/* --------------------------------------------------------------------------
   19. Print styles (components)
   -------------------------------------------------------------------------- */
@media print {
    .filter-bar,
    .back-to-top,
    .btn,
    .lightbox-overlay {
        display: none !important;
    }

    .card {
        break-inside: avoid;
    }

    .detail-sidebar {
        position: static;
    }
}


/* ========================================
   17. EDITORIAL HOMEPAGE (australia.com style)
   ======================================== */

/* --- Hero Editorial (Video + Bild-Fallback) --- */
.hero--full {
    position: relative;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Fallback-Bild: nur sichtbar wenn Video nicht geladen */
.hero-img--fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero--full .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay--editorial {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.05) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-content--bottom-left {
    padding-bottom: 80px;
    max-width: 640px;
}

.hero-content--bottom-left .overline {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

.hero-heading {
    font-family: var(--f-headline);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin: 0 0 32px;
    max-width: 480px;
}

.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}
.hero-scroll:hover { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
    .hero-scroll i {
        animation: hero-bounce 2s infinite;
    }
}

@keyframes hero-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- Intro Stats --- */
.container--narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--f-headline);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--c-accent);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* --- Kategorie Cards (Portrait, horizontal scroll) --- */
.kategorie-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.kategorie-row::-webkit-scrollbar {
    height: 4px;
}
.kategorie-row::-webkit-scrollbar-thumb {
    background: var(--c-border);
    border-radius: 2px;
}

.kategorie-row .card-kategorie {
    flex: 0 0 220px;
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: block;
    text-decoration: none;
}

.card-kategorie__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-kategorie:hover .card-kategorie__img {
    transform: scale(1.05);
}

.card-kategorie__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    transition: background 0.3s;
}

.card-kategorie:hover .card-kategorie__overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
}

.card-kategorie__icon {
    width: 28px;
    height: 28px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.card-kategorie__title {
    color: #fff;
    font-family: var(--f-headline);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.card-kategorie__count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 4px 0 0;
    font-weight: 400;
}

@media (min-width: 768px) {
    .kategorie-row .card-kategorie {
        flex: 0 0 240px;
    }
}

@media (min-width: 1024px) {
    .kategorie-row {
        overflow: visible;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .kategorie-row .card-kategorie {
        flex: 1 1 0;
        min-width: 0;
    }
}

/* --- Feature Blocks (alternating image/text) --- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 64px;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.feature-block__text .overline {
    margin-bottom: 8px;
}

.feature-block__text h3 {
    font-family: var(--f-headline);
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    font-weight: 600;
    margin: 0 0 16px;
}

.feature-block__text p {
    color: var(--c-muted);
    line-height: 1.7;
    margin: 0 0 20px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.2s;
}
.feature-link:hover {
    gap: 10px;
}
.feature-link .icon-sm {
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .feature-block {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
    .feature-block--reverse .feature-block__media {
        order: 2;
    }
    .feature-block--reverse .feature-block__text {
        order: 1;
    }
}

/* --- Section variants for homepage --- */
.section--intro { padding: 48px 0 32px; }
.section--entdecken { padding: 32px 0 48px; }
.section--highlights {
    background: #f8f7f5;
    padding: 48px 0;
}
.section--events { padding: 48px 0; }
.section--cta {
    padding: 48px 0;
    text-align: center;
}

.section--cta h2 {
    margin-bottom: 16px;
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 24px 0 32px;
    flex-wrap: wrap;
}

.cta-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-muted);
    text-decoration: none;
    font-size: 1rem;
}
.cta-contact a:hover {
    color: var(--c-text);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-pill {
    border-radius: 100px;
}

/* --- Page Header (subpages) --- */
.section--page-header {
    padding: 32px 0 24px;
}
.section--page-header h1 {
    margin-top: 12px;
}

/* --- Hero Content Image (Unterseiten) --- */
.hero-content-img {
    position: relative;
    height: 360px;
    overflow: hidden;
    margin-top: 88px; /* Hoehe der Navbar (fixe Position) */
}

.hero-content-img__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content-img__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.hero-content-img__overlay h1 {
    color: #fff;
    font-family: var(--f-headline);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 8px 0 12px;
}

.hero-content-img__overlay .breadcrumb a,
.hero-content-img__overlay .breadcrumb span {
    color: rgba(255,255,255,0.7);
}
.hero-content-img__overlay .breadcrumb a:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .hero-content-img {
        height: 420px;
    }
}

/* Wenn Navbar kompakt ist */
.nav-solid ~ main .hero-content-img {
    margin-top: 72px;
}


/* ========================================
   18. TAB NAVIGATION (australia.com style)
   ======================================== */

.tabs-bar {
    position: sticky;
    top: 64px;
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
}

.tabs-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
}

.tabs-scroll::-webkit-scrollbar {
    display: none;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    white-space: nowrap;
    text-decoration: none;
    color: var(--c-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.tab-item i {
    width: 18px;
    height: 18px;
}

.tab-item:hover {
    color: var(--c-text);
}

.tab-item--active {
    color: var(--c-text);
    border-bottom-color: var(--c-accent);
}

@media (min-width: 768px) {
    .tab-item {
        padding: 18px 24px;
    }
}


/* ========================================
   19. KONTAKTSEITE & FORMULARE
   ======================================== */

/* --- Kontakt-Layout --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 380px 1fr;
        gap: 64px;
    }
}

/* --- Kontakt-Sidebar (Karte mit Icons) --- */
.contact-card {
    background: #f8f7f5;
    border-radius: 16px;
    padding: 32px;
}

.contact-card h2 {
    font-family: var(--f-headline);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-accent);
}

.contact-item__icon i {
    width: 20px;
    height: 20px;
}

.contact-item__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--c-text);
}

.contact-item__text strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-item__text a {
    color: var(--c-primary);
    text-decoration: none;
}
.contact-item__text a:hover {
    color: var(--c-accent);
}

/* --- Formular-Styles --- */
.contact-form-area h2 {
    font-family: var(--f-headline);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-text);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--c-accent);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--f-body);
    font-size: 0.95rem;
    color: var(--c-text);
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(232, 147, 12, 0.12);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b6b6b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Zweispaltige Formularzeile */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-hint {
    font-size: 0.8rem;
    color: var(--c-muted);
    line-height: 1.5;
}

.form-hint a {
    color: var(--c-primary);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
