/* =============================================================================
   Tierhilfe Wolfsburg e.V. – Charity-Auktion
   Main Design System – Version 1.1.0
   ============================================================================= */

/* =============================================================================
   CSS Custom Properties (Design Tokens)
   ============================================================================= */

:root {
    /* Colors – Tierhilfe Wolfsburg Palette */
    --color-accent: #9cc026;                    /* Lime Green – decorative only */
    --color-accent-dark: #5a7010;               /* Moss Green – text/links (7.2:1 contrast) */
    --color-accent-hover: #88a820;
    --color-accent-light: rgba(156, 192, 38, 0.12);
    --color-accent-medium: rgba(156, 192, 38, 0.25);
    --color-text: #2d2d2d;
    --color-text-muted: #6c757d;
    --color-bg: #faf8f5;
    --color-bg-white: #ffffff;
    --color-topbar: #1a1a18;
    --color-footer: #1e1e1c;
    --color-border: #e8e5e0;
    --color-danger: #c0392b;
    --color-success: #27ae60;
    --color-warning: #f39c12;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --line-height-base: 1.75;

    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.5rem;
    --space-8: 3rem;
    --space-9: 4rem;
    --space-10: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-focus: 0 0 0 3px rgba(156, 192, 38, 0.35);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;

    /* Layout */
    --container-max: 1200px;
    --navbar-height: 80px;
    --topbar-height: 38px;
}

/* =============================================================================
   Reset & Base
   ============================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================================================
   Typography
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-accent-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

strong, b {
    font-weight: 700;
}

small {
    font-size: var(--fs-sm);
}

::selection {
    background-color: var(--color-accent-medium);
    color: var(--color-text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    padding-left: var(--space-5);
    margin-bottom: var(--space-4);
}

/* =============================================================================
   Layout Utilities
   ============================================================================= */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-5);
}

.section {
    padding-block: var(--space-10);
}

.section--sm {
    padding-block: var(--space-8);
}

.section--lg {
    padding-block: calc(var(--space-10) * 1.5);
}

/* =============================================================================
   Topbar
   ============================================================================= */

.topbar {
    background-color: var(--color-topbar);
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--fs-xs);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1060;
}

/* Topbar-Links: WCAG AA Kontrast auf dunklem Hintergrund (#1a1a18) */
.topbar a {
    color: rgba(255, 255, 255, 0.75);
}

.topbar a:hover {
    color: #ffffff;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar__left,
.topbar__right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.topbar__phone {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
}

.topbar__phone:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.topbar__phone i {
    color: var(--color-accent);
    font-size: var(--fs-xs);
}

.topbar__link {
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: color var(--transition-fast);
}

.topbar__link:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.topbar__separator {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* =============================================================================
   Navbar
   ============================================================================= */

.navbar {
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
    height: var(--navbar-height);
    position: sticky;
    top: 0;
    z-index: 1040;
    border-bottom: 1px solid var(--color-border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-brand__logo {
    height: 58px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.navbar-brand .brand-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.navbar-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-brand__name {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--color-text);
}

.navbar-brand__tagline {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    font-weight: 400;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    padding: var(--space-2) var(--space-3);
    color: var(--color-text);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: var(--space-3);
    right: var(--space-3);
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--color-accent-dark);
    text-decoration: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--color-accent-dark);
    font-weight: 600;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* =============================================================================
   Buttons
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.625rem var(--space-5);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.5;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast),
                border-color var(--transition-fast), box-shadow var(--transition-fast),
                transform var(--transition-fast);
    white-space: nowrap;
    user-select: none;
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
}

.btn:active {
    transform: translateY(1px);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-text);
    border-color: var(--color-accent);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-text);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-accent-dark {
    background-color: var(--color-accent-dark);
    color: #ffffff;
    border-color: var(--color-accent-dark);
}

.btn-accent-dark:hover {
    background-color: #4d6010;
    border-color: #4d6010;
    color: #ffffff;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-outline-accent {
    background-color: transparent;
    color: var(--color-accent-dark);
    border-color: var(--color-accent);
}

.btn-outline-accent:hover {
    background-color: var(--color-accent-light);
    color: var(--color-accent-dark);
    text-decoration: none;
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: #ffffff;
    text-decoration: none;
}

.btn-lg {
    padding: 0.875rem var(--space-7);
    font-size: var(--fs-base);
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.375rem var(--space-4);
    font-size: var(--fs-xs);
    border-radius: var(--radius-sm);
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
}

/* =============================================================================
   Hero Section
   ============================================================================= */

.auction-hero {
    background: linear-gradient(135deg, #4a7c10 0%, #6d9b2a 30%, #9cc026 60%, #b8d44f 100%);
    padding-block: var(--space-10) calc(var(--space-10) * 1.25);
    position: relative;
    overflow: hidden;
}

.auction-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(156, 192, 38, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.auction-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}

.auction-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
}

.auction-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: var(--space-5);
    max-width: 22ch;
    margin-inline: auto;
}

.auction-hero__title em {
    font-style: italic;
    color: var(--color-accent-dark);
}

.auction-hero__description {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: var(--space-7);
    line-height: 1.8;
    margin-inline: auto;
}

.auction-hero__countdown {
    margin-bottom: var(--space-7);
}

.auction-hero__countdown-label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-3);
}

.auction-hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-7);
    flex-wrap: wrap;
    margin-bottom: var(--space-7);
    padding: var(--space-5) var(--space-6);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    width: fit-content;
}

.auction-hero__stat {
    text-align: center;
}

.auction-hero__stat-value {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-accent-dark);
    line-height: 1;
}

.auction-hero__stat-label {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

.auction-hero__stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-border);
}

.auction-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    width: 100%;
}

/* HTML uses .hero-actions – mirror the same rules */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    width: 100%;
}

/* Hero-Buttons: Weiß auf grünem Hintergrund für Kontrast */
.auction-hero .btn-accent,
.auction-hero .hero-actions .btn-accent {
    background-color: #ffffff;
    color: var(--color-accent-dark);
    border-color: #ffffff;
    font-weight: 700;
}

.auction-hero .btn-accent:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--color-accent-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.auction-hero .btn-outline-accent,
.auction-hero .hero-actions .btn-outline-accent {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.auction-hero .btn-outline-accent:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: #ffffff;
}

/* =============================================================================
   How It Works
   ============================================================================= */

.how-it-works {
    background-color: var(--color-bg-white);
    padding-block: var(--space-10);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-9);
}

.section-header__eyebrow {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-3);
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-4);
}

.section-header__subtitle {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.8;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.step-card {
    text-align: center;
    padding: var(--space-7) var(--space-5);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    position: relative;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-card__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin-bottom: var(--space-5);
    box-shadow: 0 4px 16px rgba(156, 192, 38, 0.35);
}

.step-card__icon {
    font-size: 1.75rem;
    color: var(--color-text);
}

.step-card__number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background-color: var(--color-accent-dark);
    color: #ffffff;
    font-size: var(--fs-xs);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg-white);
}

.step-card__title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    margin-bottom: var(--space-3);
}

.step-card__description {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: 0;
}

/* =============================================================================
   Trust / Donation Section
   ============================================================================= */

.trust-section {
    background-color: var(--color-accent-light);
    padding-block: var(--space-10);
    border-top: 1px solid var(--color-accent-medium);
    border-bottom: 1px solid var(--color-accent-medium);
}

.trust-section .section-header__title {
    color: var(--color-accent-dark);
}

.donation-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-7) var(--space-8);
    max-width: 600px;
    margin-inline: auto;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-accent-medium);
    text-align: center;
}

.donation-card__title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    color: var(--color-accent-dark);
    margin-bottom: var(--space-5);
}

.donation-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--fs-sm);
}

.donation-card__row:last-of-type {
    border-bottom: none;
}

.donation-card__label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.donation-card__value {
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-body);
}

.donation-card__note {
    margin-top: var(--space-5);
    padding: var(--space-4);
    background-color: var(--color-accent-light);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    color: var(--color-accent-dark);
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-7);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
}

.trust-badge__icon {
    width: 56px;
    height: 56px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-text);
}

.trust-badge__label {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =============================================================================
   CTA Section
   ============================================================================= */

.cta-section {
    background: linear-gradient(135deg, var(--color-accent-dark) 0%, #3d4d0a 50%, #2a3508 100%);
    padding-block: var(--space-10);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-section__content {
    position: relative;
    z-index: 1;
}

.cta-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #ffffff;
    margin-bottom: var(--space-4);
}

.cta-section__subtitle {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: var(--space-7);
    line-height: 1.8;
}

.cta-section__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-white {
    background-color: #ffffff;
    color: var(--color-accent-dark);
    border-color: #ffffff;
    font-weight: 700;
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
    color: var(--color-accent-dark);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
}

/* =============================================================================
   Footer
   ============================================================================= */

.site-footer {
    background-color: var(--color-footer);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--space-10);
}

/* Footer-Headings + Links: WCAG AA Kontrast auf dunklem Hintergrund */
.site-footer h3,
.site-footer .footer-heading {
    color: #ffffff;
}

.site-footer .footer-social-link {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer .footer-social-link:hover {
    color: var(--color-accent);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
    color: var(--color-accent);
}

.site-footer .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    padding-right: var(--space-5);
}

.footer-brand__logo {
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-4);
    filter: brightness(0) invert(1) opacity(0.9);
}

.footer-brand__name {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    color: #ffffff;
    margin-bottom: var(--space-2);
}

.footer-brand__tagline {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-5);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social__link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-social__link:hover {
    background-color: var(--color-accent);
    color: var(--color-text);
    text-decoration: none;
}

.footer-col__title {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-5);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: var(--space-3);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-sm);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.footer-nav a i {
    font-size: 0.6rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--fs-sm);
}

.footer-contact__icon {
    color: var(--color-accent);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact__text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.footer-contact__text a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact__text a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-block: var(--space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom__copy {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom__links {
    display: flex;
    gap: var(--space-5);
}

.footer-bottom__links a {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.footer-bottom__links a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* =============================================================================
   Breadcrumb
   ============================================================================= */

.breadcrumb-bar {
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    padding-block: var(--space-3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

.breadcrumb__item a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb__item a:hover {
    color: var(--color-accent-dark);
    text-decoration: none;
}

.breadcrumb__item--active {
    color: var(--color-text);
    font-weight: 500;
}

.breadcrumb__separator {
    color: var(--color-border);
}

/* =============================================================================
   Page Header
   ============================================================================= */

.page-header {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-bg) 100%);
    padding-block: var(--space-8) var(--space-9);
    border-bottom: 1px solid var(--color-border);
}

.page-header__title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-3);
}

.page-header__subtitle {
    color: var(--color-text-muted);
    font-size: var(--fs-md);
    max-width: 600px;
}

/* =============================================================================
   Alert / Notice Boxes
   ============================================================================= */

.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    border-left: 4px solid;
    font-size: var(--fs-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.alert i {
    margin-top: 2px;
    flex-shrink: 0;
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.1);
    border-color: var(--color-success);
    color: #1a7a41;
}

.alert-danger {
    background-color: rgba(192, 57, 43, 0.1);
    border-color: var(--color-danger);
    color: #922b21;
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    border-color: var(--color-warning);
    color: #9a6007;
}

.alert-info {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}

/* =============================================================================
   Form Elements
   ============================================================================= */

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.form-label .required {
    color: var(--color-danger);
    margin-left: var(--space-1);
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.625rem var(--space-4);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    background-color: var(--color-bg-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-focus);
}

.form-control::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.form-control.is-invalid {
    border-color: var(--color-danger);
}

.form-control.is-valid {
    border-color: var(--color-success);
}

.form-hint {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}

.form-error {
    font-size: var(--fs-xs);
    color: var(--color-danger);
    margin-top: var(--space-2);
}

/* =============================================================================
   Badge
   ============================================================================= */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 0.2em 0.65em;
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    line-height: 1.5;
    white-space: nowrap;
}

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

.badge-success {
    background-color: rgba(39, 174, 96, 0.12);
    color: #1a7a41;
}

.badge-danger {
    background-color: rgba(192, 57, 43, 0.12);
    color: #922b21;
}

.badge-warning {
    background-color: rgba(243, 156, 18, 0.12);
    color: #9a6007;
}

.badge-muted {
    background-color: rgba(108, 117, 125, 0.12);
    color: var(--color-text-muted);
}

/* =============================================================================
   Utilities
   ============================================================================= */

.text-accent { color: var(--color-accent-dark); }
.text-muted { color: var(--color-text-muted); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.font-heading { font-family: var(--font-heading); }

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

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.w-full { width: 100%; }

.price-updated {
    animation: price-flash 0.5s ease;
}

@keyframes price-flash {
    0% { color: var(--color-success); }
    100% { color: inherit; }
}

/* =============================================================================
   Spinner / Loading
   ============================================================================= */

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-top-color: var(--color-accent-dark);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================================================
   Scroll to Top
   ============================================================================= */

.scroll-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 44px;
    height: 44px;
    background-color: var(--color-accent-dark);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: opacity var(--transition-base), transform var(--transition-base);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

/* =============================================================================
   Typografie-Fixes – Typo-Audit 2026-03-12
   ============================================================================= */

/* ── 1. Silbentrennung & Wortumbrüche (Deutsch, KRITISCH) ── */
html[lang="de"] p,
html[lang="de"] li,
html[lang="de"] dd,
html[lang="de"] .how-step__text,
html[lang="de"] .step-card__description,
html[lang="de"] .item-description__content,
html[lang="de"] .auction-hero__description,
html[lang="de"] .cta-section__subtitle,
html[lang="de"] .section-header__subtitle,
html[lang="de"] .page-header__subtitle,
html[lang="de"] .footer-brand__tagline,
html[lang="de"] .footer-contact__text,
html[lang="de"] .alert {
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    hyphenate-limit-chars: 8 4 4;
}

/* ── 2. text-wrap: balance auf Headlines (KRITISCH) ── */
h1, h2, h3, h4, h5, h6,
.auction-card__title,
.auction-hero__title,
.item-info__title,
.section-header__title,
.cta-section__title,
.page-header__title,
.step-card__title,
.how-step__title {
    text-wrap: balance;
    overflow-wrap: break-word;
}

/* ── 3. text-wrap: pretty auf Fließtext (KRITISCH) ── */
p,
li,
.auction-hero__description,
.step-card__description,
.how-step__text,
.cta-section__subtitle,
.section-header__subtitle,
.item-description__content,
.footer-brand__tagline {
    text-wrap: pretty;
}

/* ── 4. max-width für Lesebreite – Alert/Info-Box (KRITISCH) ── */
.how-info-box {
    max-width: 68ch;
    margin-inline: auto;
}

/* ── 5. .prose – Lesebreite und Silbentrennung (KRITISCH) ── */
.prose {
    max-width: 68ch;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    text-wrap: pretty;
    hyphenate-limit-chars: 8 4 4;
    line-height: 1.75;
}

/* ── 6. Lesebreiten-Korrekturen: px → ch (WICHTIG) ── */
.section-header__subtitle {
    max-width: 68ch;
}

.cta-section__subtitle {
    max-width: 68ch;
    text-wrap: pretty;
}

.page-header__subtitle {
    max-width: 68ch;
}

/* ── 7. Differenzierte line-height für Headlines (NICE-TO-HAVE) ── */
h1 { line-height: 1.15; }
h2 { line-height: 1.2; }
h3 { line-height: 1.25; }
h4 { line-height: 1.3; }

/* ── 8. letter-spacing bei Uppercase-Labels (WICHTIG) ── */
.auction-card__price-label {
    letter-spacing: 0.08em;
}

/* ── 9. item-info__title: Explicit text-wrap (KRITISCH, redundant sicherstellen) ── */
.item-info__title {
    text-wrap: balance;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}

/* ── 10. hyphenate-limit-lines: max 2 Trennzeilen in Folge (NICE-TO-HAVE) ── */
html[lang="de"] p,
html[lang="de"] li {
    hyphenate-limit-lines: 2;
}

/* ── 11. Typo-Audit R2 Fixes ── */

/* LA-01: Zentrierten Fließtext in Step-Cards linksbündig machen */
.step-card__description,
.how-step__text {
    text-align: left;
    max-width: 45ch;
    margin-inline: auto;
}

/* LA-02: Mindestabstand nach Überschriften (0.5em) */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
}

/* LA-03: Zeilenlänge begrenzen für Hero-Subtexte */
.hero-item-count,
.countdown-ends-label,
.lead {
    max-width: 68ch;
    margin-inline: auto;
}

/* ── 11. Hero countdown label und item-count auf hellem BG lesbar ── */
.countdown-ends-label,
.hero-item-count {
    color: rgba(255, 255, 255, 0.85);
}
