/* Local Inter Fonts */
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
    
    /* Strict Type Scale */
    --fs-h1: clamp(2.2rem, 5vw, 3.5rem);
    --fs-h2: clamp(1.75rem, 3vw, 2.25rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
    --fs-body-large: clamp(1.1rem, 1.5vw, 1.15rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-micro: 0.75rem;

    /* Leading (Line Height) & Tracking (Letter Spacing) */
    --lh-heading: 1.15;
    --lh-body: 1.6;
    --ls-heading: -0.02em;
}


/* CSS Reset & Scroll-Fix */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: #000000;
    font-family: var(--font-primary);
    color: #ffffff;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Premium Typography Base */
h1, h2, h3, .hero-section h1, .offline-heading, .error-code {
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
}

body, p, li, .guide-text, .subtitle {
    line-height: var(--lh-body);
    font-size: var(--fs-body);
}



::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.sites-embed-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #000000;
}

.hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem 2rem 1rem;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, #5a189a 0%, #000000 70%);
    animation: pulseBackground 10s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

.rings-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(204, 166, 219, 0.15);
    border-radius: 50%;
    width: 0;
    height: 0;
    opacity: 0;
    animation: ripple 12s linear infinite;
}

.ring:nth-child(1) {
    animation-delay: 0s;
}

.ring:nth-child(2) {
    animation-delay: 4s;
}

.ring:nth-child(3) {
    animation-delay: 8s;
}

.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

h1 {
    font-size: var(--fs-h1);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #cca6db 60%, #4da6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: floatUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* === GLOBAL TYPE SCALE === */
h2 {
    font-size: var(--fs-h2);
    font-weight: 600;
    letter-spacing: -0.5px;
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
}

h4 {
    font-size: var(--fs-body);
    font-weight: 600;
}

.subtitle {
    font-size: var(--fs-body-large);
    font-weight: 300;
    color: #cca6db;
    margin: 0 0 1.5rem 0;
    opacity: 0;
    transform: translateY(30px);
    animation: floatUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.indicator-dash {
    width: 0px;
    height: 3px;
    background-color: #4da6ff;
    border-radius: 2px;
    margin: 0 auto;
    opacity: 0;
    animation: expandWidth 1.5s forwards 1.2s, pulseNeon 3s infinite alternate 2.7s;
}

.next-step-btn {
    background-color: rgba(90, 24, 154, 0.15);
    color: #ffffff;
    text-decoration: none;
    font-size: var(--fs-small);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid rgba(204, 166, 219, 0.4);
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: floatUp 1.5s forwards 1.5s;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.next-step-btn:hover {
    background-color: rgba(90, 24, 154, 0.4);
    border-color: #4da6ff;
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.4);
    transform: translateY(-3px) scale(1.03);
}

/* SCROLL ANIMATION FIX: display: flex statt none */
.scroll-indicator-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeInIndicator 1.5s forwards 2.5s;
}

.scroll-indicator-inline span {
    font-size: var(--fs-micro);
    color: #cca6db;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    opacity: 0.8;
}

.scroll-indicator-inline .scroll-line {
    width: 2px;
    height: 20px;
    background: rgba(204, 166, 219, 0.2);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.scroll-indicator-inline .scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #4da6ff;
    animation: scrollLineDrop 2s infinite;
}

.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(77, 166, 255, 0.8) 30%, rgba(77, 166, 255, 0.8) 70%, transparent 100%);
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.4);
}

.text-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 2rem 5rem 2rem;
    background-color: #000000;
}

.guide-text {
    font-size: var(--fs-body-large);

    font-weight: 300;
    line-height: 1.6;
    color: #ffffff;
    max-width: 800px;
    text-align: center;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.guide-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-logo {
    margin-top: 4rem;
    width: 100%;
    max-width: 350px;
    opacity: 0;
    transform: translateY(20px);
    animation: floatUp 2s forwards 2s;
}

@keyframes pulseBackground {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
        border-width: 2px;
    }

    100% {
        width: 1000px;
        height: 1000px;
        opacity: 0;
        border-width: 0px;
    }
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes expandWidth {
    0% {
        width: 0px;
        opacity: 0;
    }

    100% {
        width: 40px;
        opacity: 1;
    }
}

@keyframes pulseNeon {
    0% {
        box-shadow: 0 0 5px rgba(77, 166, 255, 0.4);
        background-color: #4da6ff;
    }

    100% {
        box-shadow: 0 0 15px rgba(77, 166, 255, 1);
        background-color: #80c1ff;
    }
}

@keyframes fadeInIndicator {
    to {
        opacity: 1;
    }
}

@keyframes scrollLineDrop {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }

    80% {
        transform: translateY(200%);
        opacity: 0;
    }

    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .animated-bg,
    .ring,
    .scroll-indicator-inline .scroll-line::before {
        animation: none;
    }

    h1,
    .subtitle,
    .guide-text,
    .footer-logo,
    .next-step-btn,
    .indicator-dash,
    .scroll-indicator-inline {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Barrierefreiheit: Focus-Styles für Tastatur-Navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #4da6ff;
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 4rem 1rem 1rem 1rem;
    }

    .text-section {
        padding: 3rem 1.5rem 4rem 1.5rem;
    }

    .footer-logo {
        margin-top: 3.5rem;
        max-width: 300px;
    }
}

/* HANDY MODUS */
@media (max-width: 600px) {
    .hero-section {
        padding: 3rem 1rem 1rem 1rem;
    }

    .subtitle {
        font-size: var(--fs-small);
        margin-bottom: 0.8rem;
    }

    .next-step-btn {
        font-size: var(--fs-small);
        padding: 10px 20px;
        margin-top: 1.5rem;
    }

    /* Enforce min touch target sizing for buttons (48x48) */
    .next-step-btn,
    .copy-btn,
    .form-submit-btn,
    .action-btn,
    .tool-btn {
        min-height: 48px;
        min-width: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .text-section {
        padding: 2rem 1rem 3rem 1rem;
    }

    .footer-logo {
        display: none;
    }
}

/* Navigation Styles */
.smart-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-logo-text {
    color: #ffffff;
    font-size: var(--fs-body-large);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    color: #e0e0e0;
    text-decoration: none;
    font-size: var(--fs-small);
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, #cca6db, #4da6ff);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(77, 166, 255, 0.6);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(204, 166, 219, 0.6);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Language Switch */
.nav-link.lang-switch {
    border: 1px solid rgba(204, 166, 219, 0.3);
    border-radius: 20px;
    padding: 4px 12px 4px 12px;
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.nav-link.lang-switch::after {
    display: none;
}
.nav-link.lang-switch:hover {
    border-color: #4da6ff;
    background: rgba(77, 166, 255, 0.1);
    box-shadow: 0 0 12px rgba(77, 166, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #0b0b0b;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu .nav-link {
    font-size: var(--fs-body-large);
}

/* Adjust hero section padding to account for fixed nav */
.hero-section {
    padding-top: calc(4rem + 70px) !important;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* --- New UI Components (Phase 2) --- */

/* 1. Page Fade-in Transition */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* 2. Sticky Back-to-Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: rgba(90, 24, 154, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#back-to-top:hover {
    background-color: rgba(90, 24, 154, 1);
    transform: translateY(-3px);
}



/* 4. Footer */
.smart-footer {
    width: 100%;
    background-color: #0b0b0b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    margin-top: 0;
    display: flex;
    justify-content: center;
}

/* Global Disclaimer Wrapper */
.page-disclaimer-wrapper {
    background-color: #0b0b0b;
    width: 100%;
    padding: 2rem 2rem 0 2rem;
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.footer-disclaimer {
    max-width: 800px;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.4;
    margin: 0;
}


.footer-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #a8b2d1;
    text-decoration: none;
    font-size: var(--fs-small);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: var(--fs-small);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    width: 100%;
}

/* Footer Disclaimer (replaces inline style) */
.footer-disclaimer {
    font-size: var(--fs-small);
    margin-top: 10px;
    opacity: 0.8;
}

/* Nav Logo SVG (replaces inline style) */
.nav-logo-svg {
    display: block;
    margin-top: 2px;
}

/* Section Headings (replaces inline margin styles in SmartFacts) */
h2.section-heading {
    margin-top: 3rem;
    margin-bottom: 1rem;
    scroll-margin-top: 120px;
}

/* Feature list on index.html */
.feature-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 10px;
}

/* Spacing utilities for guide-text */
.guide-text--mb-20 {
    margin-bottom: 20px;
}

.guide-text--mb-15 {
    margin-bottom: 15px;
}

/* Smart Tools Accordions */
details.smart-tool-accordion {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

details.smart-tool-accordion[open] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 170, 255, 0.6);
}

details.smart-tool-accordion summary {
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    /* exclude default arrow */
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: #fff;
    transition: background 0.2s ease;
}

details.smart-tool-accordion summary::-webkit-details-marker {
    display: none;
}

details.smart-tool-accordion summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

details.smart-tool-accordion summary .tool-icon {
    font-size: var(--fs-h3);
}

details.smart-tool-accordion summary .accordion-title {
    margin: 0;
    flex: 1;
}

details.smart-tool-accordion summary .accordion-subtitle {
    display: block;
    font-size: var(--fs-small);
    color: #aaa;
    font-weight: 400;
    margin-top: 0.2rem;
}

details.smart-tool-accordion summary .accordion-arrow {
    transition: transform 0.3s ease;
    color: #00aaff;
    font-size: var(--fs-body-large);
}

details.smart-tool-accordion[open] summary .accordion-arrow {
    transform: rotate(180deg);
}

details.smart-tool-accordion .accordion-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
    padding-top: 1.5rem;
}

/* Light Mode Overrides for Accordion */
body.light-mode details.smart-tool-accordion {
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

body.light-mode details.smart-tool-accordion[open] {
    border-color: #00aaff;
}

body.light-mode details.smart-tool-accordion summary {
    color: #1a1a1a;
}

body.light-mode details.smart-tool-accordion summary:hover {
    background: #f9fafb;
}

body.light-mode details.smart-tool-accordion summary .accordion-subtitle {
    color: #6b7280;
}

body.light-mode details.smart-tool-accordion .accordion-content {
    border-top-color: #e5e7eb;
}

/* Light Mode Overrides for Smart Tools Content (Checklist & Rechner) */
body.light-mode .checklist-item {
    background: #ffffff;
    border-color: #d1d5db;
}

body.light-mode .checklist-item:hover {
    background: #f9fafb;
    border-color: #00aaff;
}

body.light-mode .custom-checkbox {
    border-color: #9ca3af;
}

body.light-mode .checklist-content h4 {
    color: #111827;
    /* Darker header for readability */
}

body.light-mode .checklist-content p {
    color: #4b5563;
    /* Darker paragraph for readability */
}

body.light-mode .calculator-container {
    background: #ffffff !important;
    border-color: #d1d5db !important;
}

body.light-mode .calculator-container label,
body.light-mode .calculator-container span {
    color: #374151 !important;
    /* Dark slate text for inputs labels */
}

body.light-mode #calc-brutto,
body.light-mode #calc-hours {
    background: #f3f4f6 !important;
    border-color: #cbd5e1 !important;
    color: #111827 !important;
}

body.light-mode #calc-result {
    border-top-color: #e5e7eb !important;
}

body.light-mode #calc-result p {
    color: #4b5563 !important;
}

body.light-mode #calc-output-euro {
    color: #0284c7 !important;
    /* Deep sky blue for contrast */
}

/* --- Fairness-Rechner Component Styles --- */
.calc-intro-text {
    color: #aaa;
    margin-top: 0;
    font-size: var(--fs-small);
    line-height: 1.5;
}

.calc-inner {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.calc-label {
    flex: 1;
    font-size: var(--fs-small);
    min-width: 200px;
    color: #ccc;
}

.calc-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calc-input {
    width: 100px;
    padding: 0.5rem;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-size: var(--fs-body);
    font-family: inherit;
}

.calc-unit {
    color: #999;
}

.calc-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    font-size: var(--fs-body-large);
    padding: 12px;
}

.calc-result-panel {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.calc-result-panel--visible {
    display: block;
}

.calc-result-label {
    font-size: var(--fs-small);
    color: #aaa;
    margin-bottom: 0.5rem;
}

.calc-result-value {
    font-size: var(--fs-h2);
    color: #00aaff;
    font-weight: bold;
    margin: 10px 0;
}

.calc-result-note {
    font-size: var(--fs-small);
    color: #888;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.calc-disclaimer {
    color: #888;
    font-size: var(--fs-small);
    margin-top: 1.5rem;
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Light Mode Overrides for Fairness-Rechner */
body.light-mode .calc-intro-text {
    color: #4b5563;
}

body.light-mode .calc-inner {
    background: #ffffff;
    border-color: #d1d5db;
}

body.light-mode .calc-label {
    color: #374151;
}

body.light-mode .calc-unit {
    color: #6b7280;
}

body.light-mode .calc-input {
    background: #f3f4f6;
    border-color: #cbd5e1;
    color: #111827;
}

body.light-mode .calc-result-panel {
    border-top-color: #e5e7eb;
}

body.light-mode .calc-result-label {
    color: #4b5563;
}

body.light-mode .calc-result-value {
    color: #0284c7;
}

body.light-mode .calc-result-note {
    color: #6b7280;
}

body.light-mode .calc-disclaimer {
    color: #6b7280;
    border-top-color: #e5e7eb;
}


/* --- PAGE SPECIFIC CSS from SmartFacts.html --- */

/* Anchor Navigation (Sticky below Hero) */
.page-anchor-nav {
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 12px 10px;
    z-index: 900;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.anchor-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #e0e0e0;
    font-size: var(--fs-small);
    font-weight: 500;
    gap: 6px;
    transition: color 0.3s ease;
}

.anchor-link:hover {
    color: #cca6db;
}

.anchor-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(204, 166, 219, 0.1);
    border: 1px solid #cca6db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body-large);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.anchor-link:hover .anchor-icon-circle {
    transform: translateY(-3px);
    background-color: rgba(204, 166, 219, 0.2);
}

body.light-mode .page-anchor-nav {
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .anchor-link {
    color: #4b5563;
}

body.light-mode .anchor-link:hover {
    color: #0284c7;
}

body.light-mode .anchor-icon-circle {
    background-color: rgba(2, 132, 199, 0.1);
    border-color: #0284c7;
    color: #4b5563;
}

body.light-mode .anchor-link:hover .anchor-icon-circle {
    background-color: rgba(2, 132, 199, 0.2);
    transform: translateY(-3px);
}

/* Headline Icons (56x56) */
.headline-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    scroll-margin-top: 90px;
}

.tips-grid+.headline-icon-wrapper,
.visual-container+.headline-icon-wrapper {
    margin-top: 3rem;
}

.headline-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(204, 166, 219, 0.1);
    border: 2px solid #cca6db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-h3);
    box-shadow: 0 4px 15px rgba(204, 166, 219, 0.15);
}

.section-heading.section-heading--mt {
    margin-top: 1rem;
    /* Reduced because of icon above */
}

/* Bottom Next Step Button */
.bottom-next-step-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 48px;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .page-anchor-nav {
    flex-wrap: wrap;
        gap: 1.5rem;
        padding: 10px 5px;
    }

    .anchor-icon-circle {
        width: 32px;
        height: 32px;
        font-size: var(--fs-small);
    }

    .anchor-link {
        font-size: var(--fs-micro);
    }
}

/* Page Navigation Chips (v2) */
.page-nav-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 2rem 0;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: var(--fs-small);
    transition: all 0.3s ease;
}

.chip:hover {
    background: rgba(0, 170, 255, 0.15);
    border-color: rgba(0, 170, 255, 0.4);
    transform: translateY(-2px);
}

body.light-mode .chip {
    background: #f3f4f6;
    border-color: #cbd5e1;
    color: #1f2937;
}

body.light-mode .chip:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

/* DIAGRAMM & ZEITSTRAHL (Combined V1 and V2) */
.visual-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin-bottom: 2rem;
    /* Reduced from 3rem */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visual-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.calc-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: rgba(77, 166, 255, 0.05);
    border: none;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    /* Reduced from 2rem */
    width: 100%;
}

.calc-title {
    width: 100%;
    text-align: center;
    color: #4da6ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: var(--fs-body-large);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-step {
    background: transparent;
    padding: 5px 10px;
    border-radius: 0;
    font-size: var(--fs-small);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: #e0e0e0;
}

.calc-operator {
    font-weight: bold;
    color: #ffffff;
    font-size: var(--fs-body-large);
}

.calc-result {
    background: transparent;
    border: none;
    border-bottom: 2px solid #cca6db;
    color: #cca6db;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    font-size: var(--fs-body-large);
}

/* The Chart from V1 */
.chart-container-opt1 {
    position: relative;
    padding: 1rem 0;
    /* Reduced from 2rem */
    margin-top: 0.5rem;
    /* Reduced from 1rem */
    width: 100%;
    margin-bottom: 1.5rem;
    /* Reduced from 2rem */
}

.chart-axis-opt1 {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    position: relative;
    margin-left: 100px;
    margin-right: 20px;
}

.axis-marker-opt1 {
    text-align: center;
    position: relative;
}

.axis-marker-opt1::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    width: 2px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
}

.axis-label-opt1 {
    color: #ffffff;
    font-size: var(--fs-small);
}

.axis-title-opt1 {
    color: #fff;
    font-weight: 500;
    font-size: var(--fs-small);
}

.chart-row-opt1 {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.row-label-opt1 {
    width: 100px;
    color: #fff;
    font-size: var(--fs-small);
}

.row-bar-area-opt1 {
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.bar-base-opt1 {
    width: 10%;
    background: #333;
    height: 35px;
    border-radius: 4px 0 0 4px;
}

.bar-growth-opt1 {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: #fff;
    font-size: var(--fs-small);
    font-weight: 500;
    border-radius: 0 4px 4px 0;
    width: 0%;
    overflow: hidden;
    white-space: nowrap;
}

.bar-a-opt1 {
    background: linear-gradient(90deg, #005bb5, #4da6ff);
}

.visual-container.visible .bar-a-opt1 {
    animation: growBarA 2.5s forwards ease-out 0.5s;
}

.bar-b-opt1 {
    background: linear-gradient(90deg, #b55b00, #ffaa4d);
}

.visual-container.visible .bar-b-opt1 {
    animation: growBarB 2.5s forwards ease-out 0.5s;
}

@keyframes growBarA {
    to {
        width: 90%;
    }
}

@keyframes growBarB {
    to {
        width: 40%;
    }
}

.timeline {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 0rem;
    /* Reduced from 1rem */
    padding: 0 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(204, 166, 219, 0.3);
    z-index: 0;
}

.timeline-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s ease;
    width: 22%;
}

.timeline-node:hover {
    transform: translateY(-5px);
}

.node-dot {
    width: 32px;
    height: 32px;
    background: #000;
    border: 2px solid #4da6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--fs-small);
    color: #4da6ff;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.timeline-node:hover .node-dot {
    background: #4da6ff;
    color: #000;
    box-shadow: 0 0 15px rgba(77, 166, 255, 0.6);
}

.node-label {
    font-size: var(--fs-small);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    overflow-wrap: break-word;
}

/* KACHELN */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    width: 100%;
    margin-top: 0.5rem;
    /* Add small margin if elements are too close, but normally visual-container's margin-bottom takes care of it */
}

.tip-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(204, 166, 219, 0.15);
    border-left: 3px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.3s ease, border-left-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    overflow-wrap: break-word;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
}

.tip-card.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.tip-card:target {
    border-color: #4da6ff;
    background: rgba(77, 166, 255, 0.08);
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.15);
}

.tip-card:hover {
    border-left-color: #4da6ff;
    border-color: rgba(77, 166, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.tip-card h3 {
    color: #4da6ff;
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-card h3 span {
    background: #4da6ff;
    color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--fs-small);
    font-weight: bold;
}

.tip-card p {
    color: #e0e0e0;
    font-size: var(--fs-body);
    line-height: 1.5;
    margin: 0;
    font-weight: 300;
}

.tip-card strong {
    color: #ffffff;
    font-weight: 500;
}

.footer-logo {
    margin-top: 5rem;
    width: 100%;
    max-width: 350px;
    opacity: 0;
    transform: translateY(20px);
}

.footer-logo.visible {
    animation: floatUp 2s forwards 0.5s;
}


/* Barrierefreiheit: Animationen respektieren */
@media (prefers-reduced-motion: reduce) {

    .animated-bg,
    .ring {
        animation: none;
    }

    h1,
    .subtitle,
    .guide-text,
    .footer-logo,
    .next-step-btn,
    .indicator-dash,
    .tip-card,
    .visual-container {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    .bar-growth-opt1 {
        animation: none !important;
        transition: none !important;
    }

    .bar-a-opt1 {
        width: 90% !important;
    }

    .bar-b-opt1 {
        width: 40% !important;
    }
}

/* Barrierefreiheit: Focus-Styles für Tastatur-Navigation */


@media (max-width: 1024px) {
    .tips-grid {
        gap: 1.2rem;
    }
}

/* HANDY MODUS - Verkleinerte Schriften & angepasster Zeitstrahl */
@media (max-width: 600px) {
    .visual-container {
        margin-bottom: 1.5rem;
        /* Additional slight reduction for mobile */
    }

    .calc-box {
        padding: 1rem;
        gap: 8px;
        margin-bottom: 0rem;
    }

    .calc-title {
        font-size: var(--fs-small);
    }

    .calc-step {
        font-size: var(--fs-micro);
        padding: 6px 10px;
        width: 45%;
    }

    .calc-operator {
        font-size: var(--fs-body);
        width: 100%;
        text-align: center;
    }

    .calc-result {
        font-size: var(--fs-small);
        padding: 8px 10px;
        width: 100%;
        margin-top: 5px;
    }

    .chart-container-opt1 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .chart-axis-opt1 {
        margin-left: 0;
        margin-right: 0;
    }

    .row-label-opt1 {
        width: 60px;
        font-size: var(--fs-micro);
    }

    .row-bar-area-opt1 {
        margin-right: 5px;
    }

    .bar-growth-opt1 {
        padding-right: 5px;
        font-size: var(--fs-micro);
    }

    .timeline {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .timeline::before {
        display: none;
    }

    .timeline-node {
        width: 45%;
    }

    .node-dot {
        width: 24px;
        height: 24px;
        font-size: var(--fs-micro);
        border-width: 1.5px;
        margin-bottom: 5px;
    }

    .node-label {
        font-size: var(--fs-micro);
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tip-card {
        padding: 1.2rem;
    }

    .tip-card h3 {
        margin-bottom: 0.6rem;
    }

    .tip-card p {
        font-size: var(--fs-small);
        line-height: 1.4;
    }

    .footer-logo {
        display: none;
    }
}


/* --- PAGE SPECIFIC CSS from SmartPrompts.html --- */


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 10px;
}

.tip-card h3 {
    color: #4da6ff;
    margin: 0;
    font-weight: 500;
}

.tip-card>p {
    color: #e0e0e0;
    font-size: var(--fs-body);
    line-height: 1.4;
    margin: 0 0 1rem 0;
    font-weight: 300;
    flex: 0 0 auto;
}

.copy-btn {
    background: #000000;
    color: #ffffff;
    border: 1px solid rgba(204, 166, 219, 0.4);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: var(--fs-micro);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    outline: none;
}

.copy-btn:hover {
    background: rgba(204, 166, 219, 0.1);
    border-color: #c948ff;
    color: #ffffff;
}

.copy-btn.success {
    background: rgba(77, 166, 255, 0.1);
    border-color: #4da6ff;
    color: #4da6ff;
}

.prompt-box-wrapper {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.2rem;
    position: relative;
    padding-bottom: 4rem;
    /* Raum für den Button lassen */
    flex: 1 1 auto;
    margin-top: auto;
}

body.light-mode .prompt-box-wrapper {
    background: #ffffff;
    border-color: #e5e7eb;
}

.prompt-box {
    color: #a8b2d1;
    font-family: var(--font-mono);
    font-size: var(--fs-small);
    line-height: 1.5;
    overflow-wrap: break-word;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #5a189a #000000;
}

.prompt-box::-webkit-scrollbar {
    width: 6px;
    display: block;
}

.prompt-box::-webkit-scrollbar-track {
    background: #000;
    border-radius: 8px;
}

.prompt-box::-webkit-scrollbar-thumb {
    background-color: #5a189a;
    border-radius: 8px;
}

.footer-logo {
    margin-top: 5rem;
    width: 100%;
    max-width: 350px;
    opacity: 0;
    transform: translateY(20px);
    animation: floatUp 2s forwards 2s;
}


@media (prefers-reduced-motion: reduce) {

    .animated-bg,
    .ring,
    .scroll-indicator-inline .scroll-line::before {
        animation: none;
    }

    h1,
    .subtitle,
    .guide-text,
    .tip-card,
    .footer-logo,
    .next-step-btn,
    .indicator-dash,
    .scroll-indicator-inline {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Barrierefreiheit: Animationen respektieren */
@media (prefers-reduced-motion: reduce) {

    .animated-bg,
    .ring {
        animation: none;
    }

    h1,
    .subtitle,
    .guide-text,
    .footer-logo,
    .next-step-btn,
    .indicator-dash,
    .tip-card {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Barrierefreiheit: Focus-Styles für Tastatur-Navigation */


@media (max-width: 1024px) {
    .tips-grid {
        gap: 1.2rem;
    }

    .footer-logo {
        margin-top: 3.5rem;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .tip-card {
        padding: 1rem;
    }

    .tip-card h3 {
        margin-bottom: 0.4rem;
    }

    .tip-card>p {
        font-size: var(--fs-small);
        margin-bottom: 0.8rem;
    }

    .prompt-box {
        font-size: var(--fs-small);
        padding: 0.8rem;
        max-height: 200px;
    }

    .copy-btn {
        padding: 4px 8px;
        font-size: var(--fs-small);
    }

    .footer-logo {
        display: none;
    }
}


/* --- PAGE SPECIFIC CSS from SmartTools.html --- */
.intro-text {
    font-size: var(--fs-body-large);

    font-weight: 300;
    line-height: 1.6;
    color: #ffffff;
    max-width: 800px;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: floatUp 2s forwards 1.5s;
}

.disclaimer-text {
    color: #888;
    font-size: var(--fs-small);
    line-height: 1.5;
    font-style: italic;
    max-width: 800px;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: floatUp 2s forwards 1.6s;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    width: 100%;
}

.tool-link-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(77, 166, 255, 0.05);
    border: 1px solid rgba(77, 166, 255, 0.25);
    border-left: 3px solid transparent;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    transition: border-color 0.3s ease, border-left-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    overflow-wrap: break-word;
    justify-content: space-between;
}

.tool-link-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-right: 1.5rem;
}

.external-link-icon {
    flex-shrink: 0;
    color: #4da6ff;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tool-link-card:hover .external-link-icon {
    opacity: 1;
    transform: translate(3px, -3px);
}

.tool-link-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.tool-link-card:hover {
    background: rgba(77, 166, 255, 0.1);
    border-left-color: #4da6ff;
    border-color: #4da6ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(77, 166, 255, 0.15);
}

.tool-link-card h4 {
    color: #4da6ff;
    margin: 0 0 0.8rem 0;
    font-weight: 600;
}

.tool-link-card p {
    color: #ffffff;
    font-size: var(--fs-body);
    margin: 0;
    line-height: 1.45;
    font-weight: 300;
}

.footer-logo {
    margin-top: 5rem;
    width: 100%;
    max-width: 350px;
    opacity: 0;
    transform: translateY(20px);
    animation: floatUp 2s forwards 2s;
}


@media (prefers-reduced-motion: reduce) {

    .animated-bg,
    .ring,
    .scroll-indicator-inline .scroll-line::before {
        animation: none;
    }

    h1,
    .subtitle,
    .intro-text,
    .disclaimer-text,
    .tool-link-card,
    .footer-logo,
    .next-step-btn,
    .indicator-dash,
    .scroll-indicator-inline {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Barrierefreiheit: Focus-Styles für Tastatur-Navigation */


@media (max-width: 1024px) {
    .tools-grid {
        gap: 1.2rem;
    }

    .footer-logo {
        margin-top: 3.5rem;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .disclaimer-text {
        font-size: var(--fs-small);
        margin-bottom: 2rem;
        line-height: 1.4;
    }

    .tool-link-card {
        padding: 1.2rem;
    }

    .tool-link-card p {
        font-size: var(--fs-small);
    }

    .footer-logo {
        display: none;
    }
}


/* --- PAGE SPECIFIC CSS from Impressum.html --- */
.legal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
    overflow: hidden;
}

/* Impressum-specific overrides */
.legal-grid .tip-card {
    padding: 2.5rem;
    overflow: hidden;
}


.tip-card h3 {
    color: #4da6ff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.tip-card h4 {
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tip-card p,
.tip-card li {
    color: #e0e0e0;
    font-size: var(--fs-body);
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-weight: 300;
}


.tip-card ul {
    padding-left: 20px;
    color: #e0e0e0;
    font-weight: 300;
}

.tip-card a {
    color: #4da6ff;
    text-decoration: none;
    overflow-wrap: break-word;
}

.tip-card a:hover {
    text-decoration: underline;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    color: #cca6db;
    font-size: var(--fs-small);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(204, 166, 219, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: var(--fs-small);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4da6ff;
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.2);
}

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

.form-submit-btn {
    background: rgba(90, 24, 154, 0.25);
    color: #ffffff;
    font-size: var(--fs-small);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid rgba(204, 166, 219, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    align-self: flex-start;
}

.form-submit-btn:hover {
    background: rgba(90, 24, 154, 0.5);
    border-color: #4da6ff;
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.3);
    transform: translateY(-2px);
}

.footer-logo {
    margin-top: 5rem;
    width: 100%;
    max-width: 350px;
    opacity: 0;
    transform: translateY(20px);
    animation: floatUp 2s forwards 2s;
}


@media (prefers-reduced-motion: reduce) {

    .animated-bg,
    .ring,
    .scroll-indicator-inline .scroll-line::before {
        animation: none;
    }

    h1,
    .subtitle,
    .tip-card,
    .footer-logo,
    .next-step-btn,
    .indicator-dash,
    .scroll-indicator-inline {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Barrierefreiheit: Focus-Styles für Tastatur-Navigation */


/* HANDY MODUS - Verkleinerte Schriften */
@media (max-width: 600px) {
    .scroll-indicator-inline {
        margin-top: 1.5rem;
    }

    .tip-card {
        padding: 1.2rem;
    }

    .tip-card h3 {
        margin-bottom: 1rem;
    }

    .tip-card h4 {
        margin-top: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .tip-card p,
    .tip-card li {
        font-size: var(--fs-small);
        line-height: 1.5;
    }

    .footer-logo {
        display: none;
    }
}


/* --- PAGE SPECIFIC CSS from index.html --- */
/* Prevent layout shift */

/* --- INFO BOXES (SmartFacts) --- */
.info-box-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .info-box-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.info-box-danger {
    background: rgba(166, 77, 255, 0.05);
    border: 1px solid rgba(204, 166, 219, 0.15);
    border-left: 3px solid #a64dff;
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.info-box-danger:hover {
    background: rgba(166, 77, 255, 0.08);
    border-color: rgba(166, 77, 255, 0.4);
}

.info-box-success {
    background: rgba(77, 166, 255, 0.05);
    border: 1px solid rgba(204, 166, 219, 0.15);
    border-left: 3px solid #4da6ff;
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.info-box-success:hover {
    background: rgba(77, 166, 255, 0.08);
    border-color: rgba(77, 166, 255, 0.4);
}

/* ===== Inline-Style Replacements (Round 2) ===== */

/* SmartFacts: Section heading spacing */
.section-heading--mt {
    margin-top: 2rem;
}

/* SmartFacts: Visual container spacing */
.visual-container--mb {
    margin-bottom: 2rem;
}

/* SmartFacts: Hero button row */
.hero-btn-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    max-width: 800px;
}

/* SmartFacts: Info-box heading (danger/success variants) */
.info-box-heading {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box-heading--danger {
    color: #a64dff;
}

.info-box-heading--success {
    color: #4da6ff;
}

/* SmartFacts: Info-box icon */
.info-box-icon {
    font-size: var(--fs-body-large);
}

/* SmartFacts: Info-box paragraph */
.info-box-text {
    font-size: var(--fs-small);
    margin-bottom: 0;
}

/* SmartFacts: Zugewinn chart highlighted calc-step */
.calc-step--highlight {
    border-bottom-color: #4da6ff;
    color: #4da6ff;
    font-weight: 600;
}

/* SmartPrompts: Legal warning banner */
.legal-warning-banner {
    background: rgba(255, 77, 77, 0.1);
    border-left: 4px solid #ff4d4d;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 24px;
}

/* SmartPrompts: Copy buttons inside prompt box */
.copy-btn-inside {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.legal-warning-banner p {
    margin: 0;
    font-size: var(--fs-small);
    line-height: 1.5;
}

/* SmartPrompts: Prompt card with accent border */
.tip-card--accent {
    border: 1px solid rgba(0, 170, 255, 0.3);
}

/* SmartTools: Checklist container inside accordion */
.checklist-container--bare {
    background: transparent;
    border: none;
    padding: 0;
}

/* SmartTools: Checklist hint text below progress bar */
.checklist-hint {
    margin-top: 10px;
    font-size: var(--fs-small);
    color: #999;
}

/* SmartTools: Checklist legal disclaimer */
.checklist-legal-note {
    color: #888;
    font-size: var(--fs-small);
    margin-top: 1.5rem;
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* SmartTools: Accordion h3 with no margin */
.accordion-h3 {
    margin: 0;
}

/* Impressum: Honeypot field (hidden from users) */
.form-honeypot {
    display: none;
}

/* Impressum: Datenschutz checkbox row */
.form-group--checkbox-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

/* Impressum: Datenschutz checkbox input */
.form-checkbox-input {
    margin-top: 5px;
    cursor: pointer;
    width: auto;
    height: auto;
}

/* Impressum: Datenschutz label */
.form-checkbox-label {
    font-size: var(--fs-small);
    font-weight: 300;
    line-height: 1.4;
    opacity: 0.9;
}

/* Impressum: Inline-link in datenschutz label */
.form-checkbox-link {
    color: #00aaff;
    text-decoration: underline;
}

/* 404 + offline: Error/offline section */
.error-section {
    min-height: 60vh;
    padding-top: 4rem;
}

.offline-section {
    min-height: 80vh;
    padding-top: 8rem;
}

/* 404: Large error code heading */
.error-code {
    font-size: var(--fs-h2);
    margin-bottom: 0;
}

/* offline: Large offline icon */
.offline-icon {
    margin-bottom: 2rem;
}

/* offline: offline h1 */
.offline-heading {
    font-size: var(--fs-h2);
    margin-bottom: 1rem;
}

/* btn with animation overridden (used in 404 + offline) */
.btn--no-anim {
    opacity: 1;
    transform: none;
    animation: none;
}

/* ui.js: Copy-button success state (replaces JS style manipulation) */
.copy-btn--success {
    background: #00aaff !important;
}