/* ==========================================================================
   COMPONENTS & UI ELEMENTS - GAA WEBSITE
   ========================================================================== */

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: none;
    transition: background-color var(--transition-fast), 
                border-color var(--transition-fast), 
                color var(--transition-fast);
}

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

.btn-primary:hover {
    background-color: #ffb33b;
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-on-dark);
    color: var(--text-on-dark);
}

.btn-outline:hover {
    background-color: var(--text-on-dark);
    color: var(--color-primary);
}

.btn-light-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-light-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-contrast-2);
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
#header {
    position: fixed;
    top: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: var(--container-width);
    height: 72px;
    z-index: 1000;
    background-color: transparent;
    border: none;
    box-shadow: none;
    pointer-events: none;
}

#header.scrolled {
    top: 2.2rem;
    transform: translateX(-50%);
}

#header .container {
    max-width: 100%;
    padding: 0;
}

.nav-wrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
}

.brand {
    pointer-events: auto;
    height: 72px;
    width: 72px;
    background-color: var(--color-primary);
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(26, 8, 54, 0.2);
    transition: transform var(--transition-fast);
}

.brand:hover {
    transform: scale(1.05);
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 901px) {
    .navbar {
        pointer-events: auto;
        height: 72px;
        background-color: var(--color-primary);
        border: 2px solid var(--color-accent);
        border-radius: 50px;
        padding: 0 2rem;
        display: flex;
        align-items: center;
        gap: 2.5rem;
        box-shadow: 0 8px 25px rgba(26, 8, 54, 0.2);
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    position: relative;
    padding: 0.5rem 0;
    color: var(--color-contrast-2) !important;
    opacity: 0.85;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--color-accent) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}

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

#header .btn-cta {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    border: none;
    transition: background-color var(--transition-fast),
                color var(--transition-fast);
}

#header .btn-cta:hover {
    background-color: #ffb33b;
    color: var(--color-primary);
}

.nav-toggle {
    pointer-events: auto;
    display: none;
    background-color: var(--color-primary);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    box-shadow: 0 8px 25px rgba(26, 8, 54, 0.2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-contrast-2);
    position: absolute;
    left: 22px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle span:nth-child(1) { top: 25px; }
.nav-toggle span:nth-child(2) { top: 33px; }
.nav-toggle span:nth-child(3) { top: 41px; }

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }
    
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.75rem;
        position: absolute;
        top: 84px;
        left: 50%;
        transform: translate(-50%, -15px) scale(0.95);
        width: calc(100vw - 3rem);
        max-width: 320px;
        background-color: var(--color-primary);
        border: 2px solid var(--color-accent);
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(26, 8, 54, 0.35);
        padding: 2.5rem 2rem;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth);
    }
    
    .navbar.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0) scale(1);
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--header-height) + 2rem);
    background: radial-gradient(circle at 50% 30%, rgba(246, 186, 255, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(247, 155, 6, 0.04) 0%, transparent 40%),
                var(--color-bg-dark);
    overflow: hidden;
}

.wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    min-height: 80px;
    max-height: 150px;
    z-index: 5;
    pointer-events: none;
}

.waves {
    position: relative;
    width: 100%;
    height: 100%;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 9s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 13s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 17s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 24s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}

.hero-text {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    margin-bottom: 2rem;
    line-height: 1.05;
    background: linear-gradient(135deg, #FFFFFF 60%, var(--color-contrast-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subline {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

#networkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
   CONTEXT SECTION
   -------------------------------------------------------------------------- */
.context-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.context-title,
.pillars-headline,
.section-headline {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
    margin-bottom: 1.5rem !important;
    color: var(--color-primary) !important;
    font-family: var(--font-heading);
}

.callout-box {
    background-color: var(--color-contrast-1) !important;
    border: 3px solid var(--color-primary);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 8px 8px 0px var(--color-primary);
    margin-top: 2rem;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.callout-box.vision-callout {
    transform: translateY(40px) rotate(-1deg);
    opacity: 0;
}

.callout-box.vision-callout.active {
    transform: translateY(0) rotate(-1deg);
    opacity: 1;
}

.callout-box.vision-callout:hover {
    transform: translateY(-5px) rotate(0deg) scale(1.01);
    box-shadow: 12px 12px 0px var(--color-primary);
    cursor: pointer;
}

.callout-box.paper-callout {
    transform: translateY(40px) rotate(1deg);
    opacity: 0;
}

.callout-box.paper-callout.active {
    transform: translateY(0) rotate(1deg);
    opacity: 1;
}

.callout-box.paper-callout:hover {
    transform: translateY(-5px) rotate(0deg) scale(1.01);
    box-shadow: 12px 12px 0px var(--color-primary);
    cursor: pointer;
}

.callout-text {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 500;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   THE 3 PILLARS SECTION (CARD GRID)
   -------------------------------------------------------------------------- */
.pillars-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

/* Pillars headline styled via unified class above */

.pillar-card {
    background-color: var(--color-contrast-1) !important;
    color: var(--text-on-light);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 3px solid var(--color-primary);
    box-shadow: 8px 8px 0px var(--color-primary);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    display: none;
}

.pillar-card.pillar-1 {
    transform: translateY(40px) rotate(-1.5deg);
    opacity: 0;
}

.pillar-card.pillar-1.active {
    transform: translateY(0) rotate(-1.5deg);
    opacity: 1;
}

.pillar-card.pillar-2 {
    transform: translateY(40px) rotate(1.5deg);
    opacity: 0;
}

.pillar-card.pillar-2.active {
    transform: translateY(0) rotate(1.5deg);
    opacity: 1;
}

.pillar-card.pillar-3 {
    transform: translateY(40px) rotate(-1deg);
    opacity: 0;
}

.pillar-card.pillar-3.active {
    transform: translateY(0) rotate(-1deg);
    opacity: 1;
}

.pillar-card.pillar-1:hover,
.pillar-card.pillar-2:hover,
.pillar-card.pillar-3:hover {
    transform: translateY(-6px) rotate(0deg) scale(1.02);
    box-shadow: 12px 12px 0px var(--color-primary);
    cursor: pointer;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-contrast-1);
    border-radius: 50%;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pillar-card-title {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.pillar-card-body {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   STRATEGY & TIMELINE SECTION
   -------------------------------------------------------------------------- */
.timeline-wrapper {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    position: relative;
}

/* Vertical center line */
.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--color-primary);
    opacity: 0.2;
}

.timeline-progress {
    position: absolute;
    left: 40px;
    top: 0;
    width: 4px;
    height: 33%; /* Progress up to Phase 1 (Aktuell) */
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    transition: height var(--transition-smooth);
}

/* Timeline Item cards */
.timeline-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: var(--color-contrast-2);
    border: 4px solid var(--color-primary);
    color: var(--text-on-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(76, 29, 159, 0.15);
    transition: transform var(--transition-fast), 
                background-color var(--transition-fast), 
                border-color var(--transition-fast), 
                color var(--transition-fast),
                box-shadow var(--transition-fast);
}

.timeline-node .node-num {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 2px;
}

/* Active timeline nodes states */
.timeline-item.active .timeline-node {
    background-color: var(--color-primary);
    border-color: var(--color-accent);
    color: var(--text-on-dark);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(247, 155, 6, 0.3);
}

.timeline-card {
    background-color: var(--color-contrast-1);
    color: var(--text-on-light);
    padding: 2.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow-premium);
    flex-grow: 1;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.timeline-item.active .timeline-card {
    transform: scale(1.02);
    box-shadow: var(--shadow-intense);
    border-left: 5px solid var(--color-accent);
}

.timeline-phase {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-item.active .timeline-phase {
    color: var(--color-accent);
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .timeline-line, .timeline-progress {
        left: 20px;
    }
    .timeline-item {
        gap: 1.25rem;
    }
    .timeline-node {
        width: 44px;
        height: 44px;
        font-size: 0; /* Hide text, just bullet */
    }
    .timeline-node .node-num {
        font-size: 1.1rem;
        line-height: 1.1;
    }
    .timeline-card {
        padding: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   POLITICAL GOALS SECTION & CARDS
   -------------------------------------------------------------------------- */
.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-primary);
    opacity: 0.85;
    margin-bottom: 3rem;
    font-weight: 500;
    text-align: left;
}

#saeulen .section-subtitle,
#projektpapier .section-subtitle {
    text-align: center;
}

.goal-card-wrapper {
    perspective: 1000px;
    padding: 10px 10px 20px 10px; /* spacing for shadow and rotation bounding box */
}

.goal-card {
    background-color: var(--color-contrast-1) !important; /* Slightly darker pink/purple background */
    border: 3px solid var(--color-primary);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    color: var(--text-on-light);
    box-shadow: 8px 8px 0px var(--color-primary); /* Thick border frame "Tasten/Keys" */
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll Animation classes (reveal class triggers these) */
.goal-card.minimal {
    transform: translateY(50px) rotate(-1.5deg);
    opacity: 0;
}

.goal-card.minimal.active {
    transform: translateY(0) rotate(-1.5deg);
    opacity: 1;
}

.goal-card.bestcase {
    transform: translateY(50px) rotate(1.5deg);
    opacity: 0;
}

.goal-card.bestcase.active {
    transform: translateY(0) rotate(1.5deg);
    opacity: 1;
}

/* Hover effect: straightens them and raises them slightly */
.goal-card.minimal:hover,
.goal-card.bestcase:hover {
    transform: translateY(-6px) rotate(0deg) scale(1.02);
    box-shadow: 12px 12px 0px var(--color-primary);
    cursor: pointer;
}

.goal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
    font-weight: 800;
}

.goal-card p {
    font-size: 1rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   RESSORTS SECTION
   -------------------------------------------------------------------------- */
.ressort-card {
    border: 1px solid rgba(26, 8, 54, 0.15);
    background-color: var(--color-contrast-2);
    color: var(--text-on-light);
    padding: 2.5rem 2rem;
    border-radius: 6px;
    height: 100%;
    transition: background-color var(--transition-fast), 
                border-color var(--transition-fast), 
                transform var(--transition-fast);
}

.ressort-card:hover {
    background-color: var(--color-contrast-1);
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.ressort-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.ressort-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.ressort-body {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   PARTICIPATION ZONE (FORM)
   -------------------------------------------------------------------------- */
#mitmachen {
    background: radial-gradient(circle at 10% 20%, rgba(246, 186, 255, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(247, 155, 6, 0.03) 0%, transparent 45%),
                var(--color-bg-light-2);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-card {
    background-color: var(--color-contrast-1) !important;
    color: var(--text-on-light);
    padding: 4rem 3rem;
    border-radius: 16px;
    border: 3px solid var(--color-primary);
    box-shadow: 8px 8px 0px var(--color-primary);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-card.reveal {
    transform: translateY(40px) rotate(-1.5deg);
    opacity: 0;
}

.form-card.reveal.active {
    transform: translateY(0) rotate(-1.5deg);
    opacity: 1;
}

.form-card.reveal:hover,
.form-card.reveal:has(.form-control:focus),
.form-card.reveal.active:hover,
.form-card.reveal.active:has(.form-control:focus) {
    transform: translateY(-6px) rotate(0deg) scale(1.02);
    box-shadow: 12px 12px 0px var(--color-primary);
}

.form-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
    text-align: center;
}

.form-subtitle {
    font-size: 0.95rem;
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0.8;
}

/* Form controls */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    color: var(--text-on-light);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: var(--color-contrast-2);
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-on-light);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(76, 29, 159, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Checkboxes selection grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-contrast-2);
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.checkbox-label:hover {
    background-color: #f1b3fa;
}

.checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary);
    border-radius: 3px;
    background-color: transparent;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.checkbox-input::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: transform var(--transition-fast);
    background-color: var(--color-contrast-2);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.checkbox-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-input:checked::before {
    transform: scale(1);
}

.checkbox-label:has(.checkbox-input:checked) {
    border-color: var(--color-primary);
    background-color: #f5b0ff;
}

/* Submit container and status */
.form-submit-container {
    margin-top: 3rem;
}

.btn-form-submit {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
}

/* Success Card Overlay */
.success-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn var(--transition-smooth) forwards;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--text-on-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 25px rgba(247, 155, 6, 0.4);
}

.success-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-on-light);
}

.success-message {
    font-size: 1.1rem;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
    .form-card {
        padding: 2.5rem 1.5rem;
    }
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
#footer {
    background-color: var(--color-bg-light-2);
    color: var(--text-on-light);
    padding: 2.5rem 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
}

.footer-spacer {
    margin-left: 3rem;
}

.footer-gap {
    margin-left: 1.5rem;
}

.footer-link {
    transition: color var(--transition-fast);
    color: var(--text-on-light);
}

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

@media (max-width: 768px) {
    .footer-text {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .footer-spacer, .footer-gap {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   DATABANNER (COOKIE CONSENT)
   -------------------------------------------------------------------------- */
#databanner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    z-index: 2000;
    background-color: var(--color-contrast-1);
    color: var(--text-on-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(26, 8, 54, 0.4);
    border: 3px solid var(--color-primary);
    display: none;
    animation: slideUp var(--transition-smooth) forwards;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.databanner-content {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.databanner-content a {
    text-decoration: underline;
    font-weight: 700;
    color: var(--color-primary);
}

.databanner-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-banner {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    #databanner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   BREADCRUMB SCROLL-DRAWN TRAIL
   -------------------------------------------------------------------------- */
.breadcrumb-trail-container {
    position: absolute;
    top: 100vh; /* Starts right after the Hero section */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    z-index: 1;
    pointer-events: none;
}

.breadcrumb-line-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 8, 54, 0.06);
}

.breadcrumb-line-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; /* Adjusted dynamically on scroll */
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    box-shadow: 0 0 10px rgba(76, 29, 159, 0.3);
    transition: height 0.1s ease-out;
}

@media (max-width: 768px) {
    .breadcrumb-trail-container {
        display: none; /* Hide trail on smaller displays for visual simplicity */
    }
}
