/* ==========================================================================
   Ich bin Jochen – Stylesheet
   Farbwelt aus dem Logo: Sonnengelb, Orange, Ozeanblau, Türkis, Cocktail-Pink
   ========================================================================== */

:root {
    --sun: #ffc72c;
    --orange: #ff8a00;
    --ocean: #0a84ff;
    --ocean-deep: #0b3d91;
    --turquoise: #1fd1e6;
    --pink: #ff3d7f;
    --lime: #7ed957;
    --red: #ff4d4f;

    --bg: #070d22;
    --bg-2: #0c1636;
    --surface: #111c40;
    --surface-2: #17244f;
    --border: rgba(255, 255, 255, .10);
    --text: #f4f7ff;
    --muted: #a5b1d6;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
    --glow-sun: 0 0 60px rgba(255, 199, 44, .45);

    --grad-sun: linear-gradient(135deg, #ffe066 0%, #ffc72c 35%, #ff8a00 100%);
    --grad-ocean: linear-gradient(135deg, #1fd1e6 0%, #0a84ff 55%, #0b3d91 100%);
    --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(10, 132, 255, .35), transparent 60%),
                 radial-gradient(900px 500px at 0% 20%, rgba(255, 138, 0, .20), transparent 60%);

    --radius: 22px;
    --radius-sm: 14px;
    --header-h: 72px;
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    --font-display: "Arial Rounded MT Bold", "Nunito", "Segoe UI Black", "Segoe UI", system-ui, sans-serif;
    color-scheme: dark;
}

:root[data-theme="light"] {
    --bg: #fff8ec;
    --bg-2: #fff1d6;
    --surface: #ffffff;
    --surface-2: #fff6e6;
    --border: rgba(11, 61, 145, .12);
    --text: #10224d;
    --muted: #5a6891;
    --shadow: 0 20px 45px -25px rgba(11, 61, 145, .35);
    --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(31, 209, 230, .35), transparent 60%),
                 radial-gradient(900px 500px at 0% 20%, rgba(255, 199, 44, .35), transparent 60%);
    color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquoise); text-decoration: none; }
a:hover { text-decoration: underline; }
:root[data-theme="light"] a { color: var(--ocean); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; }
h3, .h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
code { background: var(--surface-2); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
::selection { background: var(--sun); color: #10224d; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.center-row { justify-content: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.pt-0 { padding-top: 0 !important; }
.lead { font-size: 1.15rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--sun); color: #10224d; padding: .5rem 1rem; border-radius: 10px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }

.kicker {
    display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--sun); margin-bottom: .6rem;
}
:root[data-theme="light"] .kicker { color: var(--orange); }
.pill {
    display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: .9rem; margin-bottom: 1.2rem;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 61, 127, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 61, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 127, 0); } }

/* ---------- Buttons ---------- */
.btn {
    --b: var(--surface-2);
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .75rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.1; cursor: pointer;
    color: var(--text); background: var(--b); text-decoration: none !important;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: var(--grad-sun); color: #10224d !important; box-shadow: 0 10px 25px -10px rgba(255, 138, 0, .8); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(255, 138, 0, 1); filter: saturate(1.15); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text) !important; }
.btn-ghost:hover, .btn-ghost.is-active { border-color: var(--turquoise); background: rgba(31, 209, 230, .08); }
.btn-light { background: #fff; color: #10224d !important; }
.btn-danger { background: var(--red); color: #fff !important; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.08rem; }
.btn-sm { padding: .5rem .95rem; font-size: .9rem; }
.btn-xs { padding: .35rem .7rem; font-size: .8rem; border-width: 1px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.text-link { font-weight: 700; }
.inline-form { display: inline; margin: 0; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: rgba(7, 13, 34, .9); } }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--text) !important; text-decoration: none !important; font-weight: 900; flex-shrink: 0; }
.logo-img {
    height: 58px; width: auto; margin: 4px 0 -14px; /* ragt leicht über den Header – sieht aus wie ein Sticker */
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
    transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.08); }
.logo-icon {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: var(--grad-sun); color: #10224d; font-size: 1.2rem;
}
.logo-text { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; }

.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
    content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none;
}
.logo:hover .glitch::before, .hero-title .glitch::before { color: var(--turquoise); animation: glitch 4s infinite steps(1); }
.logo:hover .glitch::after, .hero-title .glitch::after { color: var(--pink); animation: glitch 4s infinite steps(1); animation-delay: -.15s; }
/* Glitch blitzt nur kurz auf, sonst bleibt die Schrift sauber */
@keyframes glitch {
    0%, 85%, 100% { opacity: 0; clip-path: inset(0 0 0 0); transform: translate(0, 0); }
    87% { opacity: .9; clip-path: inset(10% 0 60% 0); transform: translate(-5px, 1px); }
    91% { opacity: .9; clip-path: inset(55% 0 12% 0); transform: translate(5px, -1px); }
    95% { opacity: .9; clip-path: inset(30% 0 40% 0); transform: translate(-3px, 0); }
}

.main-nav { display: flex; align-items: center; gap: 1.2rem; }
.nav-list { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
    display: block; padding: .5rem .85rem; border-radius: 999px; color: var(--text); font-weight: 700; text-decoration: none; position: relative;
}
.nav-list a:hover { background: var(--surface); }
.nav-list a.is-active { background: var(--surface-2); color: var(--sun); }
:root[data-theme="light"] .nav-list a.is-active { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
    cursor: pointer; font-size: 1.1rem; display: grid; place-items: center; transition: transform .4s;
}
.theme-toggle:hover { transform: rotate(25deg); }
.icon-sun { display: none; }
:root[data-theme="light"] .icon-sun { display: inline; }
:root[data-theme="light"] .icon-moon { display: none; }
.user-chip {
    display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .8rem .25rem .25rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border); color: var(--text) !important; font-weight: 700; text-decoration: none !important;
}
.user-chip.is-active { border-color: var(--sun); }
.avatar {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--grad-ocean); font-size: 1.35rem; line-height: 1; vertical-align: middle;
}
.avatar-sm { width: 32px; height: 32px; font-size: 1rem; }
.avatar-xl { width: 110px; height: 110px; font-size: 3.4rem; box-shadow: var(--glow-sun); border: 4px solid var(--sun); }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 3px; border-radius: 3px; background: var(--text); transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Flash ---------- */
.flash-stack { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 60; display: grid; gap: .6rem; width: min(420px, calc(100% - 32px)); }
.flash {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
    padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow); font-weight: 600; animation: slideIn .4s cubic-bezier(.3, 1.4, .5, 1);
    border-left: 5px solid var(--turquoise);
}
.flash-success { border-left-color: var(--lime); }
.flash-error { border-left-color: var(--red); }
.flash-info { border-left-color: var(--sun); }
.flash.is-hiding { opacity: 0; transform: translateX(30px); transition: .3s; }
.flash-close { background: none; border: 0; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); background: var(--grad-hero); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: blob 18s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 420px; background: var(--ocean); top: -120px; right: -80px; }
.blob-2 { width: 320px; height: 320px; background: var(--orange); bottom: -80px; left: -60px; animation-delay: -6s; }
.blob-3 { width: 260px; height: 260px; background: var(--pink); top: 35%; left: 45%; opacity: .25; animation-delay: -12s; }
:root[data-theme="light"] .blob { opacity: .28; }
@keyframes blob { to { transform: translate(40px, 30px) scale(1.15); } }
.float-emoji { position: absolute; left: var(--x); bottom: -60px; font-size: 2rem; animation: floatUp 14s linear infinite; animation-delay: var(--d); opacity: .8; }
@keyframes floatUp { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .8; } 90% { opacity: .8; } 100% { transform: translateY(-110vh) rotate(40deg); opacity: 0; } }

/* Hero erscheint sofort per CSS – unabhängig von JavaScript */
.hero-copy { animation: heroIn .8s cubic-bezier(.2, .8, .3, 1) both; }
.hero-logo, .hero-inner > .hero-phone { animation: heroIn .9s .15s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.js .hero-inner > .reveal { opacity: 1; transform: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-title { font-size: clamp(2.8rem, 7.5vw, 5.6rem); line-height: 1; margin-bottom: 1.2rem; }
.hero-title .glitch {
    background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-text-stroke: 0; filter: drop-shadow(0 4px 0 rgba(11, 61, 145, .55));
}
.hero-title .glitch::before, .hero-title .glitch::after { -webkit-text-fill-color: currentColor; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 36ch; margin-bottom: 1.8rem; }
.hero-proof { display: flex; align-items: center; gap: .8rem; margin-top: 1.8rem; color: var(--muted); flex-wrap: wrap; }
.hero-proof strong { color: var(--text); }
.avatar-stack { display: flex; }
.avatar-stack span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 3px solid var(--bg); margin-left: -10px; font-size: 1.1rem; }
.avatar-stack span:first-child { margin-left: 0; }

/* Logo im Hero */
.hero-logo { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-logo .sun {
    position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 224, 102, .95) 0%, rgba(255, 199, 44, .55) 35%, rgba(255, 138, 0, 0) 70%);
    animation: sunPulse 5s ease-in-out infinite;
}
.hero-ring {
    position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
    border: 3px dashed rgba(31, 209, 230, .45); animation: spin 40s linear infinite;
}
.hero-logo-img { position: relative; width: min(560px, 100%); filter: drop-shadow(0 25px 35px rgba(0, 0, 0, .45)); }
.float-logo { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-16px) rotate(1.5deg); } }
@keyframes sunPulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.sticker {
    position: absolute; z-index: 3; padding: .45rem .9rem; border-radius: 12px; font-weight: 900; font-family: var(--font-display);
    background: #fff; color: #10224d; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .5); animation: wobble 4s ease-in-out infinite;
}
.sticker-1 { top: 8%; left: 2%; transform: rotate(-10deg); background: var(--sun); }
.sticker-2 { bottom: 14%; right: 0; transform: rotate(8deg); background: var(--turquoise); animation-delay: -2s; }
.sticker-3 { bottom: 2%; left: 10%; transform: rotate(-4deg); background: var(--pink); color: #fff; animation-delay: -1s; }
@keyframes wobble { 0%, 100% { rotate: 0deg; } 50% { rotate: 6deg; } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--bg); }

/* Handy-Mockup */
.hero-phone { position: relative; display: grid; place-items: center; }
.phone {
    position: relative; width: 290px; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
    background: linear-gradient(145deg, #2a3560, #0b1024); box-shadow: var(--shadow), 0 0 0 2px rgba(255, 255, 255, .08) inset;
    transform: rotate(4deg); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1);
}
.phone:hover { transform: rotate(0) scale(1.03); }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 3; }
.phone-screen {
    position: relative; height: 100%; border-radius: 34px; overflow: hidden; color: #fff; text-align: left;
    background: linear-gradient(180deg, #1fd1e6 0%, #0a84ff 45%, #0b3d91 100%);
}
.phone-top { position: absolute; top: 52px; left: 0; right: 0; display: flex; justify-content: center; gap: 1rem; font-size: .8rem; opacity: .9; z-index: 2; }
.phone-top strong { border-bottom: 2px solid #fff; }
.phone-star { position: absolute; inset: 0; display: grid; place-items: center; font-size: 6.5rem; padding: 70px 50px 110px 14px; }
.phone-logo { width: 100%; animation: floaty 5s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }
.phone-side { position: absolute; right: 10px; bottom: 110px; display: grid; gap: .9rem; text-align: center; z-index: 2; }
.ps-item { display: grid; justify-items: center; font-size: 1.5rem; }
.ps-item small { font-size: .65rem; font-weight: 700; }
.ps-avatar { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-sun); display: grid; place-items: center; border: 2px solid #fff; font-size: 1.3rem; }
.ps-avatar i { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--pink); font-style: normal; font-size: .8rem; font-weight: 900; display: grid; place-items: center; }
.heart-btn span { animation: beat 1.2s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } }
.phone-caption { position: absolute; left: 14px; right: 64px; bottom: 18px; font-size: .78rem; z-index: 2; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.phone-caption p { margin: .2rem 0 .4rem; }
.phone-sound { display: flex; align-items: center; gap: .4rem; }
.spin { display: inline-block; animation: spin 3s linear infinite; }
.marquee-mini { overflow: hidden; white-space: nowrap; flex: 1; }
.marquee-mini span { display: inline-block; animation: ticker 8s linear infinite; }
.hearts { position: absolute; right: 22px; bottom: 170px; width: 30px; height: 200px; pointer-events: none; }
.hearts span { position: absolute; bottom: 0; left: 0; font-size: 1.1rem; opacity: 0; animation: heartUp 4s ease-in infinite; }
.hearts span:nth-child(2) { animation-delay: .8s; left: 8px; }
.hearts span:nth-child(3) { animation-delay: 1.6s; left: -6px; }
.hearts span:nth-child(4) { animation-delay: 2.4s; left: 4px; }
.hearts span:nth-child(5) { animation-delay: 3.2s; left: -2px; }
@keyframes heartUp { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-20px, -190px) scale(1.2); opacity: 0; } }

/* ---------- Laufband ---------- */
.ticker { background: var(--grad-sun); color: #10224d; overflow: hidden; padding: .9rem 0; transform: rotate(-1.2deg); margin: -.6rem -10px 0; box-shadow: 0 10px 30px -12px rgba(255, 138, 0, .7); position: relative; z-index: 2; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; letter-spacing: .04em; white-space: nowrap; }
.ticker-track span { padding-right: .5rem; }
@keyframes ticker { to { transform: translateX(-33.333%); } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { max-width: 55ch; margin-inline: auto; }
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.5rem; background: var(--grad-hero); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.2rem, 2.5vw, 1.8rem); box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.stack { display: grid; gap: 1.2rem; }
.empty { text-align: center; font-size: 3rem; padding: 3rem 1rem; color: var(--muted); }
.empty p { font-size: 1.05rem; margin-top: .5rem; }

/* Statistiken */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stats-sm { grid-template-columns: repeat(3, 1fr); }
.stat {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1rem; text-align: center;
    display: grid; gap: .2rem; justify-items: center; position: relative; overflow: hidden; transition: transform .3s;
}
.stat:hover { transform: translateY(-5px) rotate(-1deg); }
.stat::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad-sun); }
.stat:nth-child(2n)::after { background: var(--grad-ocean); }
.stat-emoji { font-size: 2rem; }
.stat strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; line-height: 1.1; }
.stat > span:last-child { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* TikTok-Bereich */
.tiktok-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; font-weight: 700; }
.check-list li { background: var(--surface); border: 1px solid var(--border); padding: .7rem 1rem; border-radius: var(--radius-sm); }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.video-grid.single { grid-template-columns: minmax(0, 340px); }
.video-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.video-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(10, 132, 255, .6); }
.video-cover { position: relative; aspect-ratio: 9 / 11; display: grid; place-items: center; overflow: hidden; }
.video-cover.is-playing { aspect-ratio: 9 / 16; background: #000; }
.video-cover iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.grad-pink { background: linear-gradient(160deg, #ff7eb3, #ff3d7f 50%, #7b2ff7); }
.grad-cyan { background: linear-gradient(160deg, #6ff7ff, #1fd1e6 40%, #0a84ff); }
.grad-sunset { background: linear-gradient(160deg, #ffe066, #ff8a00 55%, #ff3d7f); }
.grad-lime { background: linear-gradient(160deg, #d4ff7a, #7ed957 50%, #1fa57a); }
.grad-fire { background: linear-gradient(160deg, #ffc72c, #ff5e1a 55%, #c3002f); }
.grad-night { background: linear-gradient(160deg, #3a4bb3, #0b3d91 50%, #070d22); }
.video-emoji { font-size: 5.5rem; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.video-card:hover .video-emoji { transform: scale(1.15) rotate(-8deg); }
.video-views, .video-badge { position: absolute; top: 12px; padding: .3rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 800; background: rgba(0, 0, 0, .45); color: #fff; backdrop-filter: blur(6px); }
.video-views { left: 12px; }
.video-badge { right: 12px; background: var(--sun); color: #10224d; }
.play-btn {
    position: absolute; bottom: 14px; right: 14px; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
    background: #fff; color: #10224d !important; font-size: 1.3rem; display: grid; place-items: center; text-decoration: none !important;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .6); transition: transform .2s;
}
.play-btn:hover { transform: scale(1.12); }
.embed-note { position: absolute; bottom: 20px; left: 14px; font-size: .7rem; color: #fff; opacity: .85; max-width: 55%; line-height: 1.3; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.video-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.video-body h3 { margin-bottom: .4rem; }
.video-body p { font-size: .95rem; }
.video-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.like-btn {
    display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: 999px; cursor: pointer;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text) !important; font: inherit; font-weight: 800; text-decoration: none !important;
    transition: transform .2s, border-color .2s;
}
.like-btn:hover:not([disabled]) { transform: scale(1.06); border-color: var(--pink); }
.like-btn.is-liked { border-color: var(--pink); background: rgba(255, 61, 127, .12); }
.like-btn[disabled] { cursor: default; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.chip { padding: .45rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text) !important; font-weight: 700; font-size: .92rem; text-decoration: none !important; }
.chip:hover { border-color: var(--turquoise); }
.chip.is-active { background: var(--grad-sun); color: #10224d !important; border-color: transparent; }

/* Vorschaubilder von TikTok */
.video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover .video-thumb { transform: scale(1.06); }
.video-cover.has-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 30%, transparent 60%, rgba(0, 0, 0, .55) 100%); pointer-events: none; }
.video-cover.has-thumb > :not(img) { z-index: 1; }
.video-cover.is-playing::after { display: none; }
.video-emoji-mini { position: absolute; left: 12px; bottom: 12px; font-size: 1.8rem; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.video-cover.has-thumb .embed-note { left: 56px; }
.video-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

/* ---------- Jochen-O-Mat ---------- */
.quote-machine {
    position: relative; text-align: center; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 3rem);
    border-radius: 32px; background: var(--grad-ocean); color: #fff; overflow: hidden; box-shadow: var(--shadow);
}
.quote-machine::before { content: "🌴"; position: absolute; font-size: 9rem; left: -20px; bottom: -40px; opacity: .18; transform: rotate(15deg); }
.quote-machine::after { content: "☀️"; position: absolute; font-size: 7rem; right: -10px; top: -30px; opacity: .25; }
.qm-label { display: inline-block; background: rgba(255, 255, 255, .15); padding: .4rem 1rem; border-radius: 999px; font-weight: 800; margin-bottom: 1.2rem; }
.qm-quote { font-family: var(--font-display); font-size: clamp(1.4rem, 3.4vw, 2.3rem); font-weight: 900; line-height: 1.25; margin: 0 auto 1.6rem; max-width: 26ch; min-height: 2.5em; }
.qm-quote.is-changing { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.quote-machine .muted { color: rgba(255, 255, 255, .8); margin-top: 1rem; }
@keyframes pop { 0% { transform: scale(.7) rotate(-3deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Gästebuch ---------- */
.gb-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gb-mini p { margin: .8rem 0 0; }
.gb-mini-head, .gb-head { display: flex; align-items: center; gap: .8rem; }
.gb-mini-head > div, .gb-meta { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.gb-meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.gb-mood { font-size: 1.8rem; margin-left: auto; animation: wobble 3s ease-in-out infinite; }
.gb-layout { display: grid; grid-template-columns: 380px 1fr; gap: 2rem; align-items: start; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); }
.gb-list { display: grid; gap: 1.1rem; }
.gb-entry { position: relative; }
.gb-entry:nth-child(3n+1) { border-top: 4px solid var(--sun); }
.gb-entry:nth-child(3n+2) { border-top: 4px solid var(--turquoise); }
.gb-entry:nth-child(3n) { border-top: 4px solid var(--pink); }
.gb-text { margin: 1rem 0; overflow-wrap: anywhere; }
.gb-reply { background: var(--surface-2); border-left: 4px solid var(--sun); padding: .9rem 1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 1rem; }
.gb-reply p { margin: .3rem 0 0; }
.gb-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.posting-as { display: flex; align-items: center; gap: .5rem; background: var(--surface-2); padding: .6rem .8rem; border-radius: var(--radius-sm); }
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--surface-2); border: 1px solid var(--border); white-space: nowrap; }
.badge-pink { background: rgba(255, 61, 127, .15); color: var(--pink); border-color: rgba(255, 61, 127, .35); }
.badge-red { background: rgba(255, 77, 79, .15); color: var(--red); border-color: rgba(255, 77, 79, .35); }
.badge-green { background: rgba(126, 217, 87, .15); color: #4fb82a; border-color: rgba(126, 217, 87, .35); }
.badge-yellow { background: rgba(255, 199, 44, .18); color: #d99a00; border-color: rgba(255, 199, 44, .4); }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; }
.page-link { min-width: 42px; height: 42px; padding: 0 .6rem; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text) !important; font-weight: 800; text-decoration: none !important; }
.page-link.is-active { background: var(--grad-sun); color: #10224d !important; border-color: transparent; }
.page-gap { align-self: center; color: var(--muted); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-section { font-size: 1.05rem; margin: .8rem 0 0; color: var(--sun); }
input, textarea, select {
    width: 100%; font: inherit; font-weight: 500; color: var(--text); background: var(--bg-2); border: 2px solid var(--border);
    border-radius: var(--radius-sm); padding: .75rem .95rem; transition: border-color .2s, box-shadow .2s; min-width: 0;
}
textarea { resize: vertical; min-height: 100px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 4px rgba(31, 209, 230, .18); }
input[disabled] { opacity: .6; }
input[type="checkbox"], input[type="radio"] { width: auto; }
input[type="file"] { padding: .6rem; }
.input-emoji { font-size: 1.5rem; text-align: center; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .6rem !important; font-weight: 500 !important; cursor: pointer; }
.check input { margin-top: .3rem; accent-color: var(--orange); width: 18px; height: 18px; flex-shrink: 0; }
.char-counter { font-size: .78rem; color: var(--muted); text-align: right; font-weight: 600; margin-top: -.2rem; }
.char-counter.is-near { color: var(--orange); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 3rem; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 1.1rem; }
.strength { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-top: -.4rem; }
.strength span { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s, background .3s; }

fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.mood-picker, .avatar-picker { display: flex; flex-wrap: wrap; gap: .45rem; }
.mood-picker legend, .avatar-picker legend { width: 100%; }
.mood-option, .avatar-option { position: relative; display: block !important; cursor: pointer; }
.mood-option input, .avatar-option input { position: absolute; opacity: 0; pointer-events: none; }
.mood-option span, .avatar-option span {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.45rem;
    background: var(--bg-2); border: 2px solid var(--border); transition: transform .2s, border-color .2s, background .2s;
}
.mood-option:hover span, .avatar-option:hover span { transform: translateY(-3px) rotate(-6deg); }
.mood-option input:checked + span, .avatar-option input:checked + span { border-color: var(--sun); background: rgba(255, 199, 44, .15); transform: scale(1.1); }
.mood-option input:focus-visible + span, .avatar-option input:focus-visible + span { outline: 3px solid var(--turquoise); }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 1rem; border: 1px solid; }
.alert-error { background: rgba(255, 77, 79, .12); border-color: rgba(255, 77, 79, .4); }
.alert-success { background: rgba(126, 217, 87, .12); border-color: rgba(126, 217, 87, .4); }
.alert-info { background: rgba(31, 209, 230, .1); border-color: rgba(31, 209, 230, .35); }
.code-box { font-family: Consolas, monospace; font-size: .85rem; }

.switch { display: flex !important; align-items: center; gap: .8rem !important; cursor: pointer; font-weight: 600 !important; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { width: 52px; height: 30px; border-radius: 999px; background: var(--surface-2); border: 2px solid var(--border); position: relative; flex-shrink: 0; transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.switch input:checked + .switch-ui { background: var(--grad-sun); border-color: transparent; }
.switch input:checked + .switch-ui::after { transform: translateX(22px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--turquoise); outline-offset: 2px; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; padding: 3rem 16px; background: var(--grad-hero); }
.auth-card { width: min(520px, 100%); }
.install-card { width: min(640px, 100%); }
.auth-head { text-align: center; margin-bottom: 1.5rem; }
.auth-emoji { font-size: 3.4rem; margin-bottom: .4rem; animation: floaty 5s ease-in-out infinite; }
.auth-logo { width: 190px; margin: -1rem auto .6rem; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35)); }
.auth-switch { text-align: center; margin: 1.2rem 0 0; }
.big-404 { font-family: var(--font-display); font-size: 5rem; font-weight: 900; }

/* ---------- Profil ---------- */
.profile-hero { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.profile-hero h1 { margin-bottom: .2rem; }
.list-plain { list-style: none; margin: 0; padding: 0; display: grid; }
.list-plain li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--border); flex-wrap: wrap; }
.list-plain li:last-child { border-bottom: 0; }
.list-plain li > :first-child { min-width: 0; overflow-wrap: anywhere; }
.danger-zone summary { cursor: pointer; font-weight: 800; color: var(--red); }

/* ---------- Über mich ---------- */
.about-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about-portrait { position: relative; display: grid; place-items: center; }
.portrait-logo { position: relative; width: 100%; max-width: 480px; }
.portrait-logo::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 199, 44, .8), rgba(255, 138, 0, 0) 70%); z-index: -1; }
.portrait-logo img { width: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }
.portrait-ring { width: min(340px, 80vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 9rem; background: var(--grad-sun); box-shadow: var(--glow-sun); border: 8px solid var(--surface); }
.about-hero .lead p { margin: 0; }

/* Formatierter Text (Markdown) – z. B. „Meine Geschichte“ */
.about-story { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem); text-align: left; }
.about-story::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--sun), var(--orange), var(--pink), var(--turquoise), var(--ocean)); }
.md { font-size: 1.08rem; line-height: 1.75; overflow-wrap: anywhere; }
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md p { margin: 0 0 1.1em; }
.md strong { color: var(--text); font-weight: 800; }
.md em { color: var(--muted); }
.md a { font-weight: 700; }
.md .md-h { margin: 2.2rem 0 .9rem; }
.md h2.md-h { font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: var(--sun); }
:root[data-theme="light"] .md h2.md-h { color: var(--orange); }
.md h3.md-h { font-size: clamp(1.2rem, 2.4vw, 1.45rem); display: flex; align-items: center; gap: .5rem; padding-bottom: .5rem; border-bottom: 2px dashed var(--border); }
.md-hr { border: 0; height: 2px; margin: 2rem 0; background: var(--border); }
.md-list { margin: 0 0 1.2em; padding-left: 1.3rem; }
.md-list li { margin-bottom: .4rem; }
.md-list li::marker { color: var(--sun); }
.md-emoji-list { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .7rem; }
.md-emoji-list li {
    display: flex; align-items: flex-start; gap: .8rem; padding: .85rem 1rem; border-radius: var(--radius-sm);
    background: var(--surface-2); border: 1px solid var(--border); line-height: 1.5; transition: transform .2s, border-color .2s;
}
.md-emoji-list li:hover { transform: translateY(-3px); border-color: var(--sun); }
.md-emo { font-size: 1.7rem; line-height: 1; flex-shrink: 0; }
.md-highlight {
    padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); font-size: 1.15rem; text-align: center;
    background: var(--grad-sun); color: #10224d !important; box-shadow: 0 14px 30px -16px rgba(255, 138, 0, .9);
    transform: rotate(-1deg);
}
.md-highlight strong { color: #10224d; }
.md-sign { font-family: var(--font-display); font-size: 1.35rem; text-align: right; margin-top: 1.6rem !important; }
.md-sign strong { color: var(--sun); }
:root[data-theme="light"] .md-sign strong { color: var(--orange); }
.md-quote {
    position: relative; margin: 1.6rem 0 0; padding: 1.2rem 1.4rem 1.2rem 3.2rem; border-radius: var(--radius-sm);
    background: var(--bg-2); border-left: 5px solid var(--turquoise); font-size: 1.12rem;
}
.md-quote::before { content: "“"; position: absolute; left: .8rem; top: -.2rem; font-family: Georgia, serif; font-size: 3.6rem; line-height: 1; color: var(--turquoise); }
.md-quote p { margin: 0; }
.md-quote em { color: var(--text); font-style: italic; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.fact { text-align: center; transition: transform .3s; }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.6rem; margin: .4rem 0; }
.fact p { margin: 0; font-size: .95rem; }
.fact-icon { font-size: 2.6rem; display: inline-block; }
.fact:hover .fact-icon { animation: pop .5s; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 2.4rem; position: relative; display: grid; gap: 1.2rem; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: linear-gradient(var(--sun), var(--orange), var(--turquoise), var(--ocean)); }
.timeline li { position: relative; }
.tl-dot { position: absolute; left: -2.4rem; top: 1.1rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-sun); color: #10224d; font-weight: 900; border: 4px solid var(--bg); }
.timeline h3 { margin-bottom: .3rem; }
.timeline p { margin: 0; }
.faq { display: grid; gap: .8rem; }
.faq-item summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--sun); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: .8rem 0 0; color: var(--muted); }

/* ---------- Kontakt / Prosa ---------- */
.contact-grid { grid-template-columns: 1.4fr 1fr; }
.fun-card { display: flex; gap: 1rem; align-items: center; }
.fun-card p { margin: 0; }
.prose h2 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }

/* ---------- CTA ---------- */
.cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding: clamp(1.8rem, 4vw, 3rem); border-radius: 32px; background: var(--grad-sun); color: #10224d; box-shadow: 0 30px 60px -30px rgba(255, 138, 0, .9);
    position: relative; overflow: hidden;
}
.cta-box::after { content: "✈️"; position: absolute; font-size: 6rem; right: 20%; top: -30px; opacity: .2; transform: rotate(-20deg); }
.cta-box h2 { margin-bottom: .3rem; }
.cta-box p { margin: 0; max-width: 55ch; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 3rem; background: var(--bg-2); border-top: 1px solid var(--border); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--text) !important; text-decoration: none !important; font-weight: 900; margin-bottom: .8rem; }
.footer-logo-img { width: 170px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); transition: transform .3s; }
.footer-logo:hover .footer-logo-img { transform: rotate(-4deg) scale(1.05); }
.footer-title { font-size: 1rem; margin-bottom: .8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--sun); }
.socials { display: flex; gap: .5rem; }
.social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text) !important; text-decoration: none !important; font-weight: 900; transition: transform .2s, background .2s; }
.social:hover { transform: translateY(-3px); background: var(--grad-sun); color: #10224d !important; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.to-top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-sun); color: #10224d !important; font-weight: 900; text-decoration: none !important; }

/* ---------- Admin ---------- */
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding: 2rem 0 1rem; align-items: start; }
.admin-side { position: sticky; top: calc(var(--header-h) + 20px); }
.admin-nav { display: grid; gap: .3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .6rem; }
.admin-nav a { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 14px; color: var(--text); font-weight: 700; text-decoration: none; }
.admin-nav a:hover { background: var(--surface-2); }
.admin-nav a.is-active { background: var(--grad-sun); color: #10224d; }
.an-badge { margin-left: auto; min-width: 24px; height: 24px; padding: 0 .4rem; border-radius: 999px; background: var(--pink); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.admin-main { min-width: 0; }
.admin-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.admin-stat { display: grid; gap: .1rem; color: var(--text) !important; text-decoration: none !important; transition: transform .2s; }
.admin-stat:hover { transform: translateY(-4px); }
.admin-stat strong { font-family: var(--font-display); font-size: 2rem; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 200px; padding-top: 1.5rem; }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.bar { width: 100%; min-height: 4px; border-radius: 8px 8px 3px 3px; background: var(--grad-sun); transition: height .6s; }
.bar-val { font-size: .75rem; font-weight: 800; }
.bar-label { font-size: .65rem; color: var(--muted); white-space: nowrap; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.toolbar .chip-row { margin: 0; }
.toolbar input[type="search"] { width: auto; flex: 1; min-width: 180px; max-width: 360px; }
.table-wrap { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.ta-right { text-align: right !important; }
.actions { white-space: nowrap; }
.actions > * { margin-left: .25rem; }
.inline-details { display: inline-block; position: relative; }
.inline-details summary { list-style: none; }
.inline-details summary::-webkit-details-marker { display: none; }
.mini-form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; display: flex; gap: .4rem; background: var(--surface); padding: .6rem; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.mini-form input { width: 180px; padding: .45rem .7rem; }
.admin-entry.is-pending { border-color: var(--sun); box-shadow: 0 0 0 2px rgba(255, 199, 44, .25); }
.admin-entry-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.admin-entry p { overflow-wrap: anywhere; }
.mini-thumb { object-fit: cover; display: inline-block; }
.import-card { margin-bottom: 1.4rem; border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-sun) border-box; }
.import-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.import-head h2 { margin-bottom: .2rem; }
.import-head p { margin: 0; }
.import-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--grad-sun); }
.import-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.import-form input { flex: 1; min-width: 220px; }
.mini-cover { display: inline-grid; place-items: center; width: 40px; height: 48px; border-radius: 10px; vertical-align: middle; margin-right: .4rem; font-size: 1.3rem; }
.message-row { display: flex; align-items: center; gap: 1rem; color: var(--text) !important; text-decoration: none !important; padding: 1rem 1.2rem; transition: transform .2s; }
.message-row:hover { transform: translateX(4px); }
.message-dot { width: 10px; height: 10px; border-radius: 50%; background: transparent; flex-shrink: 0; }
.message-row.is-unread .message-dot { background: var(--turquoise); box-shadow: 0 0 10px var(--turquoise); }
.message-row.is-unread strong { color: var(--sun); }
.message-main { display: grid; flex: 1; min-width: 0; }
.message-main span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.message-body { background: var(--bg-2); border-radius: var(--radius-sm); padding: 1.2rem; overflow-wrap: anywhere; }
.settings-form { display: grid; gap: 1.2rem; }
.settings-group { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
.settings-form .settings-group { margin-bottom: 0; }
.sticky-save { position: sticky; bottom: 16px; display: flex; justify-content: flex-end; }
.logo-admin { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: center; }
.logo-preview { aspect-ratio: 1; border-radius: var(--radius); display: grid; place-items: center; padding: 1rem; text-align: center;
    background: repeating-conic-gradient(var(--surface-2) 0% 25%, var(--bg-2) 0% 50%) 50% / 24px 24px; }
.logo-preview img { max-height: 100%; object-fit: contain; }

/* ---------- Scroll-Reveal & Konfetti ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.confetti { position: fixed; top: -40px; z-index: 999; pointer-events: none; font-size: 1.6rem; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .nav-list a { padding: .5rem .6rem; }
    .user-chip-name { display: none; }
    .user-chip { padding-right: .25rem; }
}

@media (max-width: 980px) {
    /* Tablet */
    .hero-inner, .tiktok-split, .about-hero { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-sub { margin-inline: auto; }
    .hero-copy .btn-row, .hero-proof, .tiktok-split .btn-row { justify-content: center; }
    .hero-logo { min-height: 0; max-width: 520px; margin: 0 auto; width: 100%; }
    .tiktok-split .hero-phone { order: 2; }
    .check-list { text-align: left; max-width: 440px; margin-inline: auto; margin-bottom: 1.6rem; }
    .about-hero .btn-row { justify-content: center; }
    .portrait-logo { max-width: 380px; margin: 0 auto; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .gb-preview { grid-template-columns: 1fr 1fr; }
    .gb-layout { grid-template-columns: 1fr; }
    .sticky-card { position: static; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .admin-wrap { grid-template-columns: 1fr; gap: 1rem; }
    .admin-side { position: static; }
    .admin-nav { display: flex; overflow-x: auto; scrollbar-width: none; }
    .admin-nav::-webkit-scrollbar { display: none; }
    .admin-nav a { flex-shrink: 0; }

    /* Mobile Navigation */
    .burger { display: flex; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.2rem 16px 1.6rem;
        background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
        transform: translateY(-110%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .3, 1), visibility .35s;
    }
    .main-nav.is-open { transform: none; visibility: visible; }
    .nav-list { flex-direction: column; gap: .3rem; }
    .nav-list a { padding: .85rem 1rem; font-size: 1.1rem; background: var(--surface); border-radius: var(--radius-sm); }
    .nav-actions { flex-wrap: wrap; }
    .user-chip-name { display: inline; }
    .user-chip { padding-right: .8rem; }
    body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
    /* Handy */
    :root { --header-h: 64px; }
    body { font-size: 1rem; }
    .logo-img { height: 48px; margin-bottom: -10px; }
    .logo-text { font-size: 1.05rem; }
    .hero-title { font-size: clamp(2.5rem, 13vw, 3.4rem); }
    .hero .btn-lg { width: 100%; }
    .sticker { font-size: .8rem; padding: .35rem .7rem; }
    .phone { width: 250px; }
    .ticker-track { font-size: 1rem; }
    .stats { gap: .8rem; }
    .stat { padding: 1.1rem .6rem; }
    .stats-sm { grid-template-columns: repeat(3, 1fr); }
    .stats-sm .stat strong { font-size: 1.4rem; }
    .stats-sm .stat > span:last-child { font-size: .8rem; }
    .grid-2, .grid-3, .gb-preview, .contact-grid, .form-grid { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr 1fr; gap: .8rem; }
    .fact strong { font-size: 1.25rem; }
    .video-grid { grid-template-columns: 1fr; }
    .cta-box { text-align: center; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-bottom { justify-content: center; text-align: center; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .logo-admin { grid-template-columns: 1fr; }
    .logo-preview { max-width: 240px; }
    .profile-hero { flex-direction: column; text-align: center; }
    .auth-logo { width: 150px; }
    .mood-option span, .avatar-option span { width: 42px; height: 42px; font-size: 1.3rem; }

    /* Tabellen werden zu Karten */
    .table thead { display: none; }
    .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table tr { padding: .8rem 1rem; border-bottom: 1px solid var(--border); }
    .table td { border: 0; padding: .3rem 0; display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
    .table td::before { content: attr(data-label); font-weight: 700; color: var(--muted); text-align: left; font-size: .8rem; text-transform: uppercase; }
    .table td[colspan] { justify-content: center; }
    .table td[colspan]::before { display: none; }
    .table td.actions { flex-wrap: wrap; justify-content: flex-end; white-space: normal; gap: .3rem; }
    .table td.actions::before { width: 100%; }
    .mini-form { position: static; margin-top: .4rem; }
    .toolbar input[type="search"] { max-width: none; }
    .flash-stack { right: 16px; left: 16px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .float-emoji, .hearts { display: none; }
}
