/* ==========================================================================
   Sebastian Baus – Digital Business Card (Final Version)
   Handgeschriebenes CSS – kein Framework
   Autor: Claude Code / Mountainroad Online GmbH
   Aktualisiert: 2026-03-01
   Design: Dark Cyberpunk/Tech-Ästhetik mit Natur-Hintergrund
   ========================================================================== */

/* --- Lokale Fonts einbinden --- */
@import url('../fonts/fonts.css');

/* ==========================================================================
   CSS Custom Properties (Design-Tokens)
   ========================================================================== */
:root {
    /* Farben – Zinc-Palette (Dark Mode) */
    --color-bg:         #09090b;    /* zinc-950 */
    --color-surface:    #18181b;    /* zinc-900 */
    --color-border:     rgba(255, 255, 255, 0.1);
    --color-border-dim: rgba(255, 255, 255, 0.05);
    --color-text:       #ffffff;
    --color-text-90:    rgba(255, 255, 255, 0.9);
    --color-text-80:    rgba(255, 255, 255, 0.8);
    --color-text-muted: #d4d4d8;  /* zinc-300 (von zinc-400 angehoben) */
    --color-text-faint: #a1a1aa;  /* zinc-400 (von zinc-500 angehoben) */
    --color-text-dim:   #71717a;  /* zinc-500 (von zinc-600 angehoben) */
    --color-text-ghost: rgba(255, 255, 255, 0.25);
    --color-text-micro: rgba(255, 255, 255, 0.1);

    /* Akzentfarbe */
    --color-accent:     #f97316;  /* orange-500 */
    --color-accent-dim: #ea580c;  /* orange-600 */

    /* Schriften – Final: Space Grotesk + JetBrains Mono */
    --font-sans:  'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    --font-mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

    /* Abstände */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2rem;
    --space-xl:  2.5rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    --space-5xl: 6rem;
    --space-6xl: 8rem;

    /* Radien */
    --radius-lg:  1rem;
    --radius-xl:  1.5rem;
    --radius-2xl: 2rem;
    --radius-3xl: 2.5rem;

    /* Container */
    --max-width: 80rem;
    --padding-x: 1.5rem;
}

@media (min-width: 768px) {
    :root {
        --padding-x: 3rem;
    }
}

/* ==========================================================================
   Reset & Basis
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Selektion – weiß halbtransparent (Vorlage: selection:bg-white/20) */
::selection {
    background: rgba(255, 255, 255, 0.2);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--padding-x);
    padding-right: var(--padding-x);
}

/* ==========================================================================
   Glass-Morphism Karten
   ========================================================================== */

/* Dunkles Glass (Hero-Overlay, etc.) – bg-black/60 */
.glass {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--color-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Neutrales Glass (Karten, Zitat-Box) – bg-zinc-900/20 */
.glass-neutral {
    background: rgba(24, 24, 27, 0.2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--color-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Text-Glow
   ========================================================================== */
.text-glow {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Hintergrund-Layer (fixiert, volle Seite)
   Schichtenfolge: Bild → Dunkel-Overlay → Cyber-Grid → Gradient
   ========================================================================== */
.page-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Hintergrundbild – opacity 70%, leicht vergrößert (scale 105%) */
.page-background__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transform: scale(1.05);
}

/* Dunkler Overlay – bg-zinc-950/30 */
.page-background__overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 11, 0.3);
}

/* Cyber-Grid-Muster – feine weiße Linien im 40px-Raster */
.page-background__cyber-grid {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Gradient von oben (leicht) nach unten (stark) */
.page-background__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(9, 9, 11, 0.2) 0%,
        transparent 50%,
        rgba(9, 9, 11, 0.9) 100%
    );
}

/* Inhalt über dem Hintergrund */
.page-content {
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   Logo (oben links, alle Seiten)
   ========================================================================== */
.site-logo {
    padding-top: var(--space-sm);
}

.site-logo__link {
    display: inline-block;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-logo__link:hover {
    opacity: 1;
    transform: scale(1.08);
}

.site-logo__image {
    display: block;
    width: 64px;
    height: 64px;
}

/* ==========================================================================
   Fade-In Animationen
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in--left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in--right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.is-visible,
.fade-in--left.is-visible,
.fade-in--right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-delay-1 { transition-delay: 0.2s; }
.fade-delay-2 { transition-delay: 0.4s; }
.fade-delay-3 { transition-delay: 0.6s; }

/* ==========================================================================
   HERO-Sektion
   ========================================================================== */
.hero {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-6xl);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: 5fr 7fr;
        gap: var(--space-3xl);
    }
}

/* --- Hero-Bild (Hochformat 9:16) --- */
.hero__image-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

/* Technische UI-Labels an den Ecken des Bildes */
.hero__tech-label {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--color-text-faint);
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.hero__tech-label--top-left {
    top: -2.5rem;
    left: -2.5rem;
}

.hero__tech-label--bottom-right {
    bottom: -2.5rem;
    right: -2.5rem;
    text-align: right;
}

/* Auf kleinen Screens Labels näher ans Bild rücken */
@media (max-width: 1023px) {
    .hero__tech-label--top-left {
        top: -2rem;
        left: 0;
    }
    .hero__tech-label--bottom-right {
        bottom: -2rem;
        right: 0;
    }
}

/* Bildrahmen */
.hero__image-frame {
    position: relative;
    aspect-ratio: 9 / 16;
    max-height: 80vh;
    overflow: hidden;
    border-radius: var(--radius-3xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.hero__image-frame:hover .hero__image {
    transform: scale(1.1);
}

/* Scanline-Effekt – horizontale Linie, die über das Bild wandert */
.hero__scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    animation: scanline 4s linear infinite;
    z-index: 2;
}

@keyframes scanline {
    0%   { top: 0; }
    100% { top: 100%; }
}

/* Gradient-Overlay über dem Bild (unten stark dunkel) */
.hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.9), transparent);
    opacity: 0.8;
    pointer-events: none;
}

/* Bild-Caption (unten links im Bild) */
.hero__image-caption {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    z-index: 3;
}

/* Live-Feed Indikator (pulsierender Punkt + Label) */
.hero__live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.hero__pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}

.hero__live-label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-text-muted);
}

.hero__image-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--color-text-90);
    line-height: 1.3;
}

/* Dekorative technische Ecken */
.hero__image-wrapper::before,
.hero__image-wrapper::after {
    content: '';
    position: absolute;
    width: 8rem;
    height: 8rem;
    z-index: -1;
}

.hero__image-wrapper::before {
    top: -1rem;
    left: -1rem;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    border-radius: 3rem 0 0 0;
}

.hero__image-wrapper::after {
    bottom: -1rem;
    right: -1rem;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-radius: 0 0 3rem 0;
}

/* Vertikale Seitenlinien (dekorativ) */
.hero__side-line {
    position: absolute;
    z-index: -1;
    width: 1px;
    height: 4rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.hero__side-line--left  { left: -2rem; }
.hero__side-line--right { right: -2rem; }

/* --- Beschreibungs-Overlay (Hover/Klick bei API-Bildern) --- */
.hero__description-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-3xl);
    cursor: pointer;
}

.hero__image-frame:hover .hero__description-overlay,
.hero__image-frame.show-description .hero__description-overlay {
    opacity: 1;
}

.hero__description-text {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-90);
    text-align: center;
}

/* --- Hero-Text rechts --- */
.hero__text-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Badge "Digital Identity // v2.6.0" */
.hero__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.hero__heading {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(3.5rem, 8vw, 8rem);
    line-height: 0.85;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

/* "Baus" in gedämpftem Grau */
.hero__heading-accent {
    color: var(--color-text-muted);
}

.hero__divider {
    width: 8rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: var(--space-md) 0;
}

.hero__tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: var(--color-text-faint);
    max-width: 28rem;
}

/* Orange-Akzent (z.B. "Code & Cardio" in der Tagline) */
.hero__tagline-accent {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .hero__tagline {
        font-size: 0.875rem;
    }
}

/* Zitat-Box (glass-neutral) */
.hero__quote {
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    max-width: 36rem;
    position: relative;
    overflow: hidden;
}

/* [CORE_PHILOSOPHY] Label oben rechts */
.hero__quote-label {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--color-text-micro);
}

.hero__quote-text {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* Hervorgehobener Text im Zitat */
.hero__quote-text strong {
    color: var(--color-text);
    font-weight: 500;
}

/* ==========================================================================
   Galerie-Slider (Thumbnails unter dem Hero-Bild)
   ========================================================================== */
.gallery-slider {
    margin-top: var(--space-md);
    overflow: hidden;
}

.gallery-slider__track {
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-xs);
}

.gallery-slider__track::-webkit-scrollbar {
    display: none;
}

.gallery-slider__item {
    flex: 0 0 4.5rem;
    height: 5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    scroll-snap-align: start;
    opacity: 0.5;
    background: none;
    padding: 0;
}

.gallery-slider__item:hover,
.gallery-slider__item.is-active {
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

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

/* ==========================================================================
   PILLARS-Sektion (Drei Säulen)
   ========================================================================== */
.pillars {
    padding-bottom: var(--space-5xl);
}

.pillars__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

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

/* Pillar-Karte – glass-neutral mit border-white/5 */
.pillar-card {
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border-color: var(--color-border-dim);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    transition: background-color 0.3s ease;
}

.pillar-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Icon-Box – 4rem, bg-white/5 */
.pillar-card__icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, background-color 0.5s ease;
}

.pillar-card:hover .pillar-card__icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.pillar-card__icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Titel mit Nummerierung */
.pillar-card__title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pillar-card__number {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--color-text-ghost);
}

.pillar-card__title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.5rem;
}

.pillar-card__subtitle {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-faint);
    margin-bottom: var(--space-lg);
}

/* Listen-Items mit rechteckigem Akzent-Strich */
.pillar-card__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pillar-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .pillar-card__list li {
        font-size: 1rem;
    }
}

.pillar-card__list li:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Rechteckiger Akzent-Strich (statt runder Punkt) */
.pillar-card__list li::before {
    content: '';
    flex-shrink: 0;
    width: 1px;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 0.35em;
    transition: background 0.3s ease;
}

.pillar-card__list li:hover::before {
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   SOCIAL-CTA-Sektion
   ========================================================================== */
.social-cta {
    padding-bottom: var(--space-5xl);
    text-align: center;
}

/* Gradient-Trennlinie */
.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 5rem;
}

.social-cta__heading {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: var(--color-text-ghost);
    margin-bottom: 5rem;
}

.social-cta__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

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

/* Social-Karte – glass-neutral mit border-white/5 */
.social-card {
    padding: 3rem;
    border-radius: var(--radius-3xl);
    border-color: var(--color-border-dim);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-card--business  { gap: var(--space-lg); }
.social-card--passion   { gap: var(--space-xl); }

.social-card__label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-faint);
}

/* Grosser LinkedIn-Link */
.social-card__link-primary {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.social-card__link-primary:hover {
    color: var(--color-text-muted);
}

.social-card__link-primary svg {
    color: var(--color-text-80);
    transition: transform 0.3s ease;
}

.social-card__link-primary:hover svg {
    transform: scale(1.1) rotate(6deg);
}

/* Fun-Links */
.social-card__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.social-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.social-card__link:hover {
    color: var(--color-text-muted);
}

.social-card__link svg {
    color: var(--color-text-80);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.social-card__link:hover svg {
    opacity: 1;
}

.social-card__link:hover svg {
    transform: scale(1.1);
}

.social-card__link-name {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.social-card__description {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-text-faint);
    max-width: 20rem;
    margin: 0 auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-3xl) 0;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .site-footer__inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.site-footer__links {
    display: flex;
    gap: var(--space-md);
}

.site-footer__link {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-faint);
    transition: color 0.3s ease;
}

.site-footer__link:hover {
    color: var(--color-text);
}

.site-footer__right {
    text-align: center;
}

@media (min-width: 768px) {
    .site-footer__right {
        text-align: right;
    }
}

.site-footer__copyright {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-faint);
}

.site-footer__powered {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    margin-top: 0.5rem;
}

/* ==========================================================================
   Strava-Badge (im Hero-Bild-Bereich)
   ========================================================================== */
.hero__strava-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.375rem 0.875rem;
    background: rgba(252, 76, 2, 0.15);
    border: 1px solid rgba(252, 76, 2, 0.3);
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fc4c02;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
    z-index: 5;
}

.hero__strava-badge:hover {
    background: rgba(252, 76, 2, 0.25);
    border-color: rgba(252, 76, 2, 0.5);
}

.hero__strava-badge svg {
    width: 14px;
    height: 14px;
    fill: #fc4c02;
}

/* ==========================================================================
   Galerie-Slider – Erweiterungen
   ========================================================================== */

/* "Alle Bilder" Link am Ende des Sliders */
.gallery-slider__all-link {
    flex: 0 0 4.5rem;
    height: 5rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: var(--color-text-faint);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease;
    scroll-snap-align: start;
    background: none;
    cursor: pointer;
}

.gallery-slider__all-link:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-text-muted);
}

.gallery-slider__all-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Zoom-Icon auf Thumbnails (erscheint bei Hover) */
.gallery-slider__item {
    position: relative;
}

.gallery-slider__zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.gallery-slider__item:hover .gallery-slider__zoom-icon {
    opacity: 0.8;
}

/* ==========================================================================
   GLightbox – Design-Anpassungen (Dark-Theme passend zur Website)
   ========================================================================== */

/* Hintergrund dunkler */
.goverlay {
    background: rgba(9, 9, 11, 0.95) !important;
}

/* Beschreibung im Lightbox-Slide */
.gdesc-inner {
    background: rgba(9, 9, 11, 0.9) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.gslide-title {
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    color: var(--color-text) !important;
}

.gslide-desc {
    font-family: var(--font-sans) !important;
    font-weight: 300 !important;
    color: var(--color-text-muted) !important;
}

/* Lightbox-Buttons anpassen */
.gbtn {
    filter: invert(0) !important;
}

/* ==========================================================================
   GALERIE-SEITE (/galerie.html)
   ========================================================================== */

/* Galerie-Header (vereinfacht, kleiner als Hero) */
.gallery-header {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
    text-align: center;
}

.gallery-header__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.gallery-header__title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.gallery-header__subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-faint);
}

.gallery-header__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-faint);
    text-decoration: none;
    transition: color 0.3s ease;
}

.gallery-header__back:hover {
    color: var(--color-text);
}

.gallery-header__back svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Monats-Gruppierung */
.gallery-month {
    margin-bottom: var(--space-3xl);
}

.gallery-month__heading {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-ghost);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--color-border-dim);
}

/* Galerie-Grid: Responsive Masonry-artiges Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

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

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

/* Einzelnes Galerie-Item */
.gallery-item {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border-dim);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--color-border);
    transform: scale(1.02);
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Info-Overlay auf Galerie-Item (bei Hover) */
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.85) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-sm);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-text-90);
    line-height: 1.3;
}

.gallery-item__date {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    color: var(--color-text-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.gallery-item__strava {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: #fc4c02;
    text-decoration: none;
}

.gallery-item__strava svg {
    width: 12px;
    height: 12px;
    fill: #fc4c02;
}

/* "Mehr laden"-Button */
.gallery-load-more {
    display: flex;
    justify-content: center;
    margin: var(--space-3xl) 0;
}

.gallery-load-more__btn {
    padding: 0.75rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.gallery-load-more__btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

.gallery-load-more__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Galerie leer – Hinweis */
.gallery-empty {
    text-align: center;
    padding: var(--space-5xl) 0;
    color: var(--color-text-faint);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ==========================================================================
   Lightbox – Metadaten-Box (Strava, Koordinaten im Beschreibungsfeld)
   ========================================================================== */
.lightbox-meta {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.lightbox-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-faint);
}

.lightbox-meta__item a {
    color: #fc4c02;
    text-decoration: none;
}

.lightbox-meta__item a:hover {
    text-decoration: underline;
}

.lightbox-meta__item svg {
    width: 12px;
    height: 12px;
}


/* ==========================================================================
   Content-Seiten (Impressum, Datenschutz)
   Wiederverwendbare Typografie für Rechtstexte und Fließtext-Seiten.
   ========================================================================== */

/* Header: identisch zur Galerie-Seite (gleiche Badge/Title/Back-Elemente) */

/* Artikel-Container */
.content-page {
    max-width: 52rem;
    margin: 0 auto;
    padding-bottom: var(--space-5xl);
}

/* Überschriften */
.content-page h2 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-text);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.content-page h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-90);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
}

/* Absätze */
.content-page p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

/* Listen */
.content-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
}

.content-page li {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 0.375rem;
}

.content-page li strong {
    color: var(--color-text-80);
}

/* Links im Fließtext */
.content-page a {
    color: var(--color-text-80);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.content-page a:hover {
    color: var(--color-text);
}

/* Stand-Hinweis */
.content-page__meta {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    margin-top: var(--space-3xl);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border-dim);
}
