/* ═══════════════════════════════════════════════════════════
   TECHFLIPSI — Komplett-Redesign: Dark Void + Orange Ember
   Liebhaberei, nicht Gewerbe. Werkstatt-Vibe.
   ═══════════════════════════════════════════════════════════ */

:root {
    --void: #050507;
    --surface: #0c0c10;
    --surface-2: #111116;
    --surface-3: #18181f;
    --border: rgba(255,102,0,0.08);
    --border-hover: rgba(255,102,0,0.25);
    --fg: #e8e8ed;
    --fg-muted: #7a7a8a;
    --fg-dim: #55555f;
    --accent: #ff6600;
    --accent-soft: #ff8533;
    --accent-glow: rgba(255,102,0,0.15);
    --accent-glow-strong: rgba(255,102,0,0.4);
    --accent-gradient: linear-gradient(135deg, #ff6600, #ff8533);
    --success: #22c55e;
    --success-glow: rgba(34,197,94,0.15);
    --error: #ef4444;
    --error-glow: rgba(239,68,68,0.15);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--void);
    color: var(--fg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-soft); }

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

/* ═══ AMBIENT BACKGROUND ═══ */
.ambient {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(255,102,0,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255,102,0,0.03) 0%, transparent 50%);
}

/* ═══ NAV ═══ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 24px; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
    background: rgba(5,5,7,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    text-decoration: none; color: var(--fg);
}
.nav-logo .flip { color: var(--accent); }

.nav-links {
    display: none; list-style: none; gap: 28px;
}
.nav-links a {
    font-family: var(--font-display);
    font-size: 13px; font-weight: 500;
    color: var(--fg-muted); text-decoration: none;
    letter-spacing: 0.5px; text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 1px; background: var(--accent);
    transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 8px; z-index: 1002;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: var(--fg); transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); background: var(--accent); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); background: var(--accent); }

.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(300px, 85vw); z-index: 1001;
    background: var(--surface);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    display: flex; flex-direction: column;
    padding: 80px 32px 32px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
    font-family: var(--font-display);
    display: block; padding: 18px 0;
    font-size: 15px; font-weight: 500;
    color: var(--fg-muted); text-decoration: none;
    letter-spacing: 0.5px; text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s, padding-left 0.3s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); padding-left: 8px; }

.mobile-backdrop {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-backdrop.visible { opacity: 1; pointer-events: all; }

@media (min-width: 769px) {
    .hamburger { display: none; }
    .nav-links { display: flex; }
    .mobile-menu, .mobile-backdrop { display: none !important; }
}

/* ═══ HERO ═══ */
.hero {
    min-height: 100dvh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 0 24px;
    position: relative; text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
    filter: brightness(0.50) saturate(1.3);
    animation: heroVideoFade 9s linear infinite;
}
@keyframes heroVideoFade {
    0%   { opacity: 0; }
    4%   { opacity: 1; }
    73%  { opacity: 1; }
    82%  { opacity: 0; }
    100% { opacity: 0; }
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,102,0,0.10) 0%, transparent 70%),
        linear-gradient(180deg, rgba(5,5,7,0.55) 0%, rgba(5,5,7,0.35) 40%, rgba(5,5,7,0.70) 100%);
    z-index: 1;
}
.hero-grain {
    position: absolute; inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    padding: 120px 0 80px;
}
.hero-tag {
    position: relative; z-index: 3;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px 6px 10px;
    background: var(--accent-glow);
    border: 1px solid rgba(255,102,0,0.15);
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 12px; font-weight: 600;
    color: var(--accent-soft);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-tag .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    position: relative; z-index: 3;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700; letter-spacing: 8px;
    text-transform: uppercase; line-height: 0.95;
    margin-bottom: 32px;
}
.hero-title .flip {
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    position: relative; z-index: 3;
    font-family: var(--font-body);
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 300; color: var(--fg-muted);
    min-height: 1.8em;
    margin-bottom: 12px;
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.hero-location {
    position: relative; z-index: 3;
    font-size: 14px; font-weight: 400;
    color: var(--fg-dim);
    letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-badges {
    position: relative; z-index: 3;
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 500;
    color: var(--fg);
    letter-spacing: 0.3px;
}
.badge:hover {
    border-color: var(--border-hover);
    color: var(--fg);
    transform: translateY(-2px);
}
.badge .badge-icon { font-size: 16px; }

.hero-cta {
    position: relative; z-index: 3;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px;
    background: var(--accent-gradient);
    color: #000; font-family: var(--font-display);
    font-size: 14px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    border-radius: var(--radius-sm); text-decoration: none;
    box-shadow: 0 0 20px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px var(--accent-glow-strong), 0 8px 24px rgba(0,0,0,0.4);
}

.hero-scroll {
    position: absolute; bottom: 32px; left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    animation: bounce 2s ease infinite;
}
.hero-scroll svg { width: 24px; height: 24px; color: var(--fg-dim); }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══ PAGE HERO (Subpages) ═══ */
.page-hero {
    min-height: 40vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
}
.page-hero .section-label { margin-bottom: 12px; }
.page-hero .section-title { margin-bottom: 12px; }
.page-hero .section-desc { margin-bottom: 0; }

/* ═══ SECTION COMMON ═══ */
.section {
    padding: 100px 24px;
    max-width: 1100px; margin: 0 auto;
}
.section-alt { background: var(--surface); }
.section-divider {
    width: 40px; height: 2px;
    background: var(--accent);
    margin: 0 auto 24px;
}
.section-label {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700; color: var(--fg);
    text-align: center;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 16px; color: var(--fg-muted);
    max-width: 600px; margin: 0 auto 56px;
    text-align: center; line-height: 1.7;
}

/* ═══ BENTO GRID ═══ */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.4s;
    position: relative; overflow: hidden;
}
.bento-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top left, var(--accent-glow) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.4s;
}
.bento-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.bento-card:hover::before { opacity: 1; }

.bento-card.wide { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }

.bento-icon {
    font-size: 32px; margin-bottom: 16px;
    display: block; position: relative; z-index: 1;
}
.bento-card h3 {
    font-family: var(--font-display);
    font-size: 17px; font-weight: 600;
    color: var(--fg); margin-bottom: 10px;
    position: relative; z-index: 1;
}
.bento-card p {
    font-size: 14px; color: var(--fg-muted);
    line-height: 1.65;
    position: relative; z-index: 1;
}
.bento-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-glow);
    border: 1px solid rgba(255,102,0,0.15);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 11px; font-weight: 600;
    color: var(--accent-soft);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 16px;
    position: relative; z-index: 1;
}

/* ═══ STATS BAR ═══ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 48px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: 1100px; margin: 0 auto;
}
.stat { text-align: center; padding: 16px; }
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 13px; color: var(--fg-dim);
    letter-spacing: 1px; text-transform: uppercase;
    margin-top: 4px;
}

/* ═══ MATERIAL / DEVICE CARDS ═══ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.4s;
    position: relative; overflow: hidden;
}
.card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top left, var(--accent-glow) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.4s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
}
.card-header .card-emoji { font-size: 32px; }
.card-header .card-title-group { flex: 1; }
.card-header h3 {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700;
    color: var(--fg); margin-bottom: 2px;
}
.card-header .card-subtitle {
    font-size: 12px; color: var(--fg-dim);
    letter-spacing: 1px; text-transform: uppercase;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    position: relative; z-index: 1;
}
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
    padding: 8px 0;
    font-size: 13px;
    vertical-align: top;
}
.spec-table td:first-child {
    color: var(--fg-muted);
    width: 45%;
    padding-right: 12px;
}
.spec-table td:last-child {
    color: var(--fg);
    font-weight: 500;
}

.card-section-title {
    font-family: var(--font-display);
    font-size: 13px; font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 16px 0 8px;
    position: relative; z-index: 1;
}
.card p, .card li {
    font-size: 14px; color: var(--fg-muted);
    line-height: 1.65;
    position: relative; z-index: 1;
}
.card ul {
    list-style: none; padding: 0;
    position: relative; z-index: 1;
}
.card ul li {
    padding: 3px 0;
    position: relative; z-index: 1;
}
.card ul li::before {
    content: '→'; color: var(--accent);
    margin-right: 8px; font-weight: 600;
}

/* ═══ COLLAPSIBLE CARDS ═══ */
.collapse-trigger {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.3s, background 0.3s;
    user-select: none;
}
.collapse-trigger:hover {
    border-color: var(--border-hover);
    background: var(--surface-2);
}
.collapse-trigger .trigger-left {
    display: flex; align-items: center; gap: 12px;
}
.collapse-trigger .trigger-emoji { font-size: 24px; }
.collapse-trigger .trigger-title {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 600;
    color: var(--fg);
}
.collapse-trigger .trigger-subtitle {
    font-size: 12px; color: var(--fg-dim);
    letter-spacing: 0.5px;
}
.collapse-trigger .trigger-arrow {
    font-size: 18px; color: var(--fg-dim);
    transition: transform 0.3s;
}
.collapse-trigger.open .trigger-arrow { transform: rotate(180deg); }
.collapse-trigger.open { border-color: var(--border-hover); }

.collapse-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    margin-top: -1px;
}
.collapse-body.open { max-height: 2000px; }
.collapse-body-inner { padding: 20px; }

/* ═══ MATERIAL STRIP ═══ */
.materials-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.material-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.material-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}
.material-symbol { font-size: 36px; margin-bottom: 12px; display: block; }
.material-name {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}
.material-full {
    font-size: 12px; color: var(--fg-dim);
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 12px;
}
.material-desc {
    font-size: 13px; color: var(--fg-muted);
    line-height: 1.5;
}

/* ═══ STORY CARDS (Über mich) ═══ */
.story-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 20px;
    transition: transform 0.3s, border-color 0.3s;
}
.story-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
}
.story-card .story-emoji { font-size: 28px; margin-bottom: 12px; display: block; }
.story-card h3 {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 600;
    color: var(--fg); margin-bottom: 12px;
}
.story-card p {
    font-size: 15px; color: var(--fg-muted);
    line-height: 1.75;
}

/* ═══ PROFILE CARD (Über mich) ═══ */
.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 48px;
    max-width: 480px;
    margin-left: auto; margin-right: auto;
}
.profile-avatar {
    font-size: 64px;
    margin-bottom: 16px; display: block;
}
.profile-name {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 700;
    color: var(--fg); margin-bottom: 4px;
}
.profile-detail {
    font-size: 14px; color: var(--fg-muted);
    margin-bottom: 4px;
}
.profile-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center;
    margin-top: 16px;
}
.profile-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px; color: var(--fg-muted);
}

/* ═══ CTA SECTION ═══ */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    position: relative;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700; color: var(--fg);
    margin-bottom: 16px;
}
.cta-sub {
    font-size: 16px; color: var(--fg-muted);
    max-width: 500px; margin: 0 auto 40px;
    line-height: 1.7;
}
.cta-button {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 48px;
    background: var(--accent-gradient);
    color: #000;
    font-family: var(--font-display);
    font-size: 15px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    border-radius: var(--radius-sm);
    text-decoration: none; border: none; cursor: pointer;
    box-shadow: 0 0 24px var(--accent-glow-strong);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: cta-pulse 3s ease-in-out infinite;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--accent-glow-strong), 0 8px 32px rgba(0,0,0,0.4);
    color: #000;
}
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255,102,0,0.3); }
    50% { box-shadow: 0 0 36px rgba(255,102,0,0.6); }
}

/* ═══ FORMS ═══ */
.form-group {
    margin-bottom: 20px;
    position: relative;
}
.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 500;
    color: var(--fg-muted);
    letter-spacing: 0.5px; text-transform: uppercase;
    margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder, .form-textarea::placeholder {
    color: var(--fg-dim);
}
.form-textarea {
    resize: vertical; min-height: 120px;
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23ff6600'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-select option {
    background: #0a0a0c;
    color: var(--fg);
    padding: 10px 16px;
}
.form-select option:hover,
.form-select option:checked {
    background: rgba(255,102,0,0.15);
    color: var(--accent);
}
.form-error {
    font-size: 13px; color: var(--error);
    margin-top: 4px;
}

/* ═══ DROP ZONE ═══ */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    background: var(--surface);
}
.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent);
    background: var(--surface-2);
}
.drop-zone .drop-icon { font-size: 32px; margin-bottom: 12px; }
.drop-zone .drop-text {
    font-size: 15px; color: var(--fg-muted);
}
.drop-zone .drop-hint {
    font-size: 12px; color: var(--fg-dim);
    margin-top: 8px;
}
.drop-zone input[type="file"] { display: none; }

.file-list {
    margin-top: 12px;
    display: flex; flex-direction: column; gap: 8px;
}
.file-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 13px; color: var(--fg);
}
.file-item .file-remove {
    background: none; border: none;
    color: var(--fg-dim); cursor: pointer;
    font-size: 16px; padding: 0 4px;
    transition: color 0.3s;
}
.file-item .file-remove:hover { color: var(--error); }

/* ═══ CHECKBOX ═══ */
.form-checkbox {
    display: flex; align-items: flex-start; gap: 12px;
    margin: 20px 0;
}
.form-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px; height: 20px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    transition: border-color 0.3s, background 0.3s;
    position: relative;
}
.form-checkbox input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}
.form-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #000; font-size: 12px; font-weight: 700;
}
.form-checkbox label {
    font-size: 14px; color: var(--fg-muted);
    line-height: 1.5;
    cursor: pointer;
}
.form-checkbox label a { color: var(--accent); }

/* ═══ RESULT CARD (Rechner) ═══ */
.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-top: 32px;
}
.result-card h3 {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 600;
    color: var(--fg); margin-bottom: 20px;
}
.result-row {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.result-row:last-child { border-bottom: none; }
.result-label { font-size: 14px; color: var(--fg-muted); }
.result-value { font-size: 14px; color: var(--fg); font-weight: 500; }
.result-row.highlight {
    background: var(--accent-glow);
    margin: 12px -32px -32px;
    padding: 16px 32px;
    border-radius: 0 0 var(--radius) var(--radius);
    border-bottom: none;
}
.result-row.highlight .result-label,
.result-row.highlight .result-value {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

/* ═══ SUCCESS CARD ═══ */
.success-card {
    background: var(--surface);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: center;
}
.success-card .success-icon { font-size: 48px; margin-bottom: 16px; }
.success-card h3 {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 700;
    color: var(--success); margin-bottom: 12px;
}
.success-card p {
    font-size: 15px; color: var(--fg-muted);
    line-height: 1.65;
}
.success-card .ticket-number {
    font-family: var(--font-display);
    font-size: 14px; color: var(--accent);
    font-weight: 600;
    margin-top: 8px;
}

/* ═══ ERROR BANNER ═══ */
.error-banner {
    background: var(--error-glow);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: var(--radius-xs);
    padding: 14px 18px;
    font-size: 14px; color: var(--error);
    margin-bottom: 20px;
}

/* ═══ LEGAL PAGE ═══ */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
}
.legal-content h2 {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 600;
    color: var(--fg);
    margin: 32px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content ul, .legal-content ol {
    font-size: 15px; color: var(--fg-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
    padding-left: 24px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--fg); }
.legal-content a { color: var(--accent); }

.legal-hint {
    background: var(--accent-glow);
    border: 1px solid rgba(255,102,0,0.2);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 24px 0;
}
.legal-hint p {
    color: var(--accent-soft) !important;
    font-size: 14px;
}
.legal-hint strong { color: var(--accent) !important; }

/* ═══ FOOTER ═══ */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--fg-dim); margin-bottom: 8px;
}
.footer-logo .flip { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--fg-dim); }
.footer-links {
    display: flex; gap: 24px;
    justify-content: center; margin-top: 16px;
}
.footer-links a {
    font-size: 13px; color: var(--fg-dim);
    text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }

/* ═══ SCROLL REVEAL ═══ */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ LOADING SPINNER ═══ */
.spinner {
    display: inline-block;
    width: 20px; height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-card.wide { grid-column: span 2; }
    .bento-card.tall { grid-row: span 1; }
}
@media (max-width: 768px) {
    .bento { grid-template-columns: 1fr; }
    .bento-card.wide { grid-column: span 1; }
    .materials-strip { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: 100dvh; }
    .hero-bg { filter: brightness(0.35) saturate(1.3); }
    .hero-content { padding: 100px 20px 60px; }
    .page-hero { padding: 100px 20px 40px; }
    .hero-title { letter-spacing: 4px; }
    .section { padding: 64px 20px; }
    .card-grid { grid-template-columns: 1fr; }
    .result-row.highlight { margin: 12px -20px -20px; padding: 16px 20px; }
    .bento-card { padding: 24px 20px; }
    .card { padding: 24px 20px; }
    .profile-card { padding: 24px; }
    .story-card { padding: 24px; }
    .hero-badges { gap: 8px; }
    .badge { padding: 8px 14px; font-size: 12px; }
    .hero-cta { padding: 14px 28px; font-size: 13px; }
    .hero-tag { font-size: 11px; padding: 5px 12px 5px 8px; }
}
@media (max-width: 480px) {
    .materials-strip { grid-template-columns: 1fr; }
    .hero-badges { flex-direction: column; align-items: center; }
    .hero { min-height: 100dvh; }
    .hero-bg { filter: brightness(0.30) saturate(1.2); }
    .hero-content { padding: 90px 16px 48px; }
    .hero-title { font-size: clamp(2.2rem, 12vw, 3rem); letter-spacing: 2px; }
    .hero-tagline { font-size: 15px; color: var(--fg); }
    .hero-location { font-size: 12px; letter-spacing: 2px; margin-bottom: 28px; color: var(--fg-muted); }
    .section { padding: 48px 16px; }
    .page-hero { padding: 90px 16px 32px; }
    .bento-card { padding: 20px 16px; }
    .card { padding: 20px 16px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 32px 16px; }
    .stat-value { font-size: 1.5rem; }
    .badge { padding: 6px 12px; font-size: 11px; }
    .hero-cta { padding: 12px 24px; font-size: 12px; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-tag, .hero-title, .hero-tagline, .hero-location,
    .hero-badges, .hero-cta { animation: none; }
    .cta-button { animation: none; }
    .hero-scroll { animation: none; }
    * { transition-duration: 0s !important; animation-duration: 0s !important; }
}