/*
Theme Name: NETT WERK
Theme URI: https://nettwerk.energy
Description: Dark-Blue Theme für NETT WERK Energieberatung
Version: 1.0.0
Author: NETT WERK
Text Domain: nettwerk
Requires at least: 6.0
Requires PHP: 8.0
*/

/* === CSS Variables === */
:root {
    --nw-bg-dark: #060e1a;
    --nw-bg-card: #0b1a30;
    --nw-bg-card-hover: #112240;
    --nw-text-primary: #f0f4f8;
    --nw-text-secondary: #cdd6e4;
    --nw-accent: #7ec8f0;
    --nw-accent-hover: #a0dbf8;
    --nw-border: #132d4a;
    --nw-success: #4ade80;
    --nw-card-texture: linear-gradient(135deg, #0d1f38 0%, #0b1a30 50%, #0c1c33 100%);
}

/* === Base === */
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--nw-bg-dark);
    color: var(--nw-text-primary);
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

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

/* === WP Admin Bar Fix === */
body.admin-bar .navbar-nw {
    top: 32px;
}

/* === Navbar === */
.navbar-nw {
    background: var(--nw-bg-dark);
    border-bottom: 1px solid var(--nw-border);
    padding: 1rem 0;
}
.navbar-nw .navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--nw-text-primary);
    text-transform: uppercase;
}
.navbar-nw .navbar-brand:hover {
    color: var(--nw-text-primary);
}
.navbar-nw .nav-link {
    color: var(--nw-text-secondary);
}
.navbar-nw .nav-link:hover {
    color: var(--nw-accent);
}
.navbar-nw .btn-back {
    color: var(--nw-text-secondary);
    font-size: 0.95rem;
}
.navbar-nw .btn-back:hover {
    color: var(--nw-accent);
}

/* === Cards === */
.card-nw {
    background: var(--nw-card-texture);
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
.card-nw::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    border-radius: 12px;
}
.card-nw:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.card-nw .card-body {
    position: relative;
    z-index: 1;
}

/* === Info Cards === */
.info-card {
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    padding: 1.5rem;
}
.info-card h5 {
    color: var(--nw-accent);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.info-card p {
    color: var(--nw-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* === Buttons === */
.btn-nw-primary {
    background: var(--nw-accent);
    color: var(--nw-bg-dark);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-nw-primary:hover {
    background: var(--nw-accent-hover);
    color: var(--nw-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(126, 200, 240, 0.3);
}
.btn-nw-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-nw-secondary {
    background: transparent;
    color: var(--nw-accent);
    border: 2px solid var(--nw-accent);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-nw-secondary:hover {
    color: var(--nw-accent);
    background: rgba(126, 200, 240, 0.1);
}

/* === Forms (WP + Custom) === */
.form-control-nw,
.form-select-nw,
.nw-booking-form input[type="text"],
.nw-booking-form input[type="email"],
.nw-booking-form input[type="tel"],
.nw-booking-form select,
.nw-booking-form textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 8px;
    color: var(--nw-text-primary);
    padding: 0.85rem 1rem;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.form-control-nw:focus,
.form-select-nw:focus,
.nw-booking-form input:focus,
.nw-booking-form select:focus,
.nw-booking-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    background: var(--nw-bg-card);
    color: var(--nw-text-primary);
    border-color: var(--nw-accent);
    box-shadow: 0 0 0 0.2rem rgba(126, 200, 240, 0.15);
    outline: none;
}
.form-control-nw::placeholder,
.nw-booking-form input::placeholder,
.wpcf7 input::placeholder {
    color: var(--nw-text-secondary);
    opacity: 0.6;
}
.form-label-nw {
    color: var(--nw-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

/* === Calendar Widget === */
.calendar-widget {
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    padding: 1.25rem;
    max-width: 500px;
    margin: 0 auto;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}
.cal-nav {
    background: none;
    border: 1px solid var(--nw-border);
    color: var(--nw-text-primary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}
.cal-nav:hover {
    background: var(--nw-bg-card-hover);
    border-color: var(--nw-accent);
}
.calendar-grid,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}
.cal-day-label {
    font-size: 0.75rem;
    color: var(--nw-text-secondary);
    padding: 0.5rem 0;
    font-weight: 600;
}
.cal-day {
    padding: 0.625rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.cal-day:hover:not(.cal-day-empty):not(.cal-day-past) {
    background: var(--nw-bg-card-hover);
    border-color: var(--nw-accent);
}
.cal-day-empty { cursor: default; }
.cal-day-past {
    color: var(--nw-text-secondary);
    opacity: 0.3;
    cursor: not-allowed;
}
.cal-day-available {
    background: rgba(126, 200, 240, 0.1);
    border-color: rgba(126, 200, 240, 0.3);
}
.cal-day-selected {
    background: var(--nw-accent) !important;
    color: #fff !important;
    border-color: var(--nw-accent) !important;
}
.calendar-timeslots {
    margin-top: 1.25rem;
    border-top: 1px solid var(--nw-border);
    padding-top: 1.25rem;
}
.timeslot-label {
    font-size: 0.9rem;
    color: var(--nw-text-secondary);
    margin-bottom: 0.75rem;
}
.timeslot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.timeslot {
    padding: 0.5rem 1rem;
    border: 1px solid var(--nw-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    background: var(--nw-bg-card);
    color: var(--nw-text-primary);
}
.timeslot:hover {
    border-color: var(--nw-accent);
    background: rgba(126, 200, 240, 0.1);
}
.timeslot.selected {
    background: var(--nw-accent);
    color: #fff;
    border-color: var(--nw-accent);
}
.selected-slot-info {
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(126, 200, 240, 0.1);
    border: 1px solid rgba(126, 200, 240, 0.3);
    border-radius: 8px;
    text-align: center;
    color: var(--nw-accent);
}

/* === Booking Steps === */
.booking-steps {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    color: var(--nw-text-secondary);
    opacity: 0.5;
    transition: all 0.3s;
}
.step-indicator.active {
    opacity: 1;
    color: var(--nw-accent);
}
.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--nw-bg-card);
    border: 2px solid var(--nw-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}
.step-indicator.active .step-number {
    border-color: var(--nw-accent);
    background: rgba(126, 200, 240, 0.15);
}
.step-divider {
    width: 40px;
    height: 2px;
    background: var(--nw-border);
    align-self: center;
}

/* === Availability Hint === */
.availability-hint {
    padding: 0.75rem 1.25rem;
    background: rgba(126, 200, 240, 0.08);
    border: 1px solid rgba(126, 200, 240, 0.2);
    border-radius: 8px;
    color: var(--nw-text-secondary);
    font-size: 0.9rem;
}
.availability-hint strong {
    color: var(--nw-accent);
}

/* === Summary === */
.summary-section {
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    padding: 1.5rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--nw-border);
}
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--nw-text-secondary); }
.summary-value { color: var(--nw-text-primary); font-weight: 500; }

/* === Accordion (Startseite) === */
.accordion-nw .accordion-item {
    background: var(--nw-card-texture);
    border: 1px solid var(--nw-border);
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}
.accordion-nw .accordion-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}
.accordion-nw .accordion-button {
    background: transparent;
    color: var(--nw-text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
    position: relative;
    z-index: 1;
}
.accordion-nw .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--nw-accent);
}
.accordion-nw .accordion-button::after {
    filter: invert(0.6);
}
.accordion-nw .accordion-body {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem 1.5rem;
}
.accordion-nw .accordion-body p {
    color: var(--nw-text-secondary);
    line-height: 1.7;
}

/* === WP Content Area === */
.entry-content {
    color: var(--nw-text-secondary);
    line-height: 1.8;
}
.entry-content h2,
.entry-content h3 {
    color: var(--nw-text-primary);
}
.entry-content p {
    margin-bottom: 1rem;
}
.entry-content > ul {
    list-style: none;
    padding: 0;
}
.entry-content > ul > li {
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    color: var(--nw-text-secondary);
}
.entry-content > ul > li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--nw-accent);
}

/* === Helpers === */
.text-accent { color: var(--nw-accent) !important; }
.text-muted-nw { color: var(--nw-text-secondary) !important; }

/* === Tables (Preistabellen etc.) === */
.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
}
.entry-content thead th,
.entry-content table tr:first-child td {
    background: rgba(126, 200, 240, 0.15);
    color: var(--nw-accent);
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
}
.entry-content th,
.entry-content td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--nw-border);
    color: var(--nw-text-secondary);
    font-size: 0.9rem;
}
.entry-content tr:last-child th,
.entry-content tr:last-child td {
    border-bottom: none;
}
.entry-content tbody tr:hover {
    background: rgba(126, 200, 240, 0.05);
}

/* === Profile Card === */
.profile-image-placeholder {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 16px;
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}
.profile-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* === Highlight / Info Box === */
.highlight-box,
.entry-content .highlight-box {
    background: rgba(126, 200, 240, 0.08);
    border: 1px solid rgba(126, 200, 240, 0.25);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--nw-text-secondary);
    line-height: 1.7;
}
.highlight-box strong {
    color: var(--nw-accent);
}

/* === Stat Cards (30%, +30% etc.) === */
.stat-card {
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
}
.stat-card .stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--nw-accent);
    display: block;
    margin-bottom: 0.5rem;
}
.stat-card .stat-label {
    color: var(--nw-text-secondary);
    font-size: 0.85rem;
}

/* === Process / Timeline Steps === */
.process-steps {
    position: relative;
    padding-left: 3rem;
}
.process-step {
    position: relative;
    padding: 1rem 0 1rem 1.5rem;
    border-left: 2px solid var(--nw-border);
    margin-left: 0.75rem;
}
.process-step:last-child {
    border-left-color: transparent;
}
.process-step .step-num {
    position: absolute;
    left: -1.25rem;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--nw-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: 'Space Grotesk', sans-serif;
}
.process-step h5 {
    color: var(--nw-accent);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.process-step p {
    color: var(--nw-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* === Horizontal Process Steps (Baubegleitung) === */
.steps-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    text-align: center;
}
.steps-horizontal .step-h {
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    padding: 1.25rem 1rem;
}
.steps-horizontal .step-h .step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--nw-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}
.steps-horizontal .step-h h5 {
    color: var(--nw-accent);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.steps-horizontal .step-h p {
    color: var(--nw-text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* === Checkmark Lists === */
.check-list {
    list-style: none;
    padding: 0;
}
.check-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: var(--nw-text-secondary);
}
.check-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--nw-success);
    font-weight: 700;
}

/* === Register / Badge Labels === */
.register-badge {
    display: inline-block;
    background: rgba(126, 200, 240, 0.2);
    color: var(--nw-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

/* === Tab / Pill Buttons === */
.tab-pills {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.tab-pill {
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    color: var(--nw-text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.tab-pill:hover,
.tab-pill.active {
    border-color: var(--nw-accent);
    color: var(--nw-accent);
    background: rgba(126, 200, 240, 0.1);
}

/* === Pricing Tier Rows === */
.pricing-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}
.pricing-tier:hover {
    border-color: rgba(126, 200, 240, 0.3);
}
.pricing-tier .tier-badge {
    display: inline-block;
    background: rgba(126, 200, 240, 0.2);
    color: var(--nw-accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-right: 1rem;
}
.pricing-tier .tier-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--nw-text-primary);
    font-size: 1rem;
}
.pricing-tier .tier-price {
    color: var(--nw-accent);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: auto;
}

/* === Contact Cards === */
.contact-card {
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.2s;
}
.contact-card:hover {
    border-color: rgba(126, 200, 240, 0.3);
    transform: translateY(-2px);
}
.contact-card .contact-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}
.contact-card h5 {
    color: var(--nw-text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.contact-card p {
    color: var(--nw-text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* === Workshop / CTA Box === */
.cta-box {
    background: var(--nw-card-texture);
    border: 1px solid rgba(126, 200, 240, 0.3);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }

/* === Advantage Grid (small icon cards) === */
.advantage-card {
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}
.advantage-card .adv-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}
.advantage-card p {
    color: var(--nw-text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.4;
}
.advantage-card strong {
    color: var(--nw-text-primary);
    font-size: 0.85rem;
}

/* === Accordion Register Badges === */
.accordion-nw .accordion-item .register-badge {
    display: inline-block;
    margin-bottom: 0.25rem;
}
.accordion-nw .accordion-button {
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* === Förder Accordion (Service List) === */
.service-list-item {
    display: flex;
    align-items: center;
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--nw-text-primary);
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}
.service-list-item:hover {
    border-color: rgba(126, 200, 240, 0.3);
}
.service-list-item .item-icon {
    font-size: 1.25rem;
    margin-right: 1rem;
    min-width: 2rem;
    text-align: center;
}
.service-list-item .item-arrow {
    margin-left: auto;
    color: var(--nw-accent);
}

/* === Quote / Tagline === */
.page-quote {
    font-style: italic;
    color: var(--nw-accent);
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

/* === Section Spacing within content === */
.entry-content .card-nw,
.entry-content .info-card,
.entry-content .highlight-box,
.entry-content .stat-card,
.entry-content .contact-card,
.entry-content .pricing-tier,
.entry-content .cta-box {
    margin-bottom: 1rem;
}

/* === Footer === */
.footer-nw {
    border-top: 1px solid var(--nw-border);
    padding: 2.5rem 0;
    text-align: center;
}
.footer-nw p {
    color: var(--nw-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* === Spinner === */
.spinner-nw {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === Register Stack (Startseite) === */
.register-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.register-card {
    background: var(--nw-card-texture);
    border: 1px solid var(--nw-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.register-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}
.register-card:last-child {
    margin-bottom: 0;
}
.register-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.register-card.active {
    margin-bottom: 0;
    z-index: 10;
}

.register-tab {
    position: absolute;
    top: 0;
    left: 20px;
    background: var(--nw-bg-card);
    padding: 8px 20px;
    border-radius: 0 0 8px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nw-accent);
    border: 1px solid var(--nw-border);
    border-top: none;
    z-index: 5;
}

.register-header {
    padding: 50px 30px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    position: relative;
    z-index: 1;
}
.register-header:hover {
    background: rgba(255,255,255,0.02);
}

.register-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--nw-text-primary);
    margin: 0;
}

.register-icon {
    font-size: 1.2rem;
    color: var(--nw-text-secondary);
    transition: transform 0.3s ease;
}
.register-card.active .register-icon {
    transform: rotate(180deg);
}

.register-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
    z-index: 1;
}
.register-card.active .register-content {
    max-height: 400px;
}

.register-body {
    padding: 0 30px 30px;
}

.register-description {
    color: var(--nw-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* === Mobile === */
@media (max-width: 768px) {
    .navbar-nw .navbar-brand {
        font-size: 1.3rem;
        letter-spacing: 4px;
    }
    .step-divider { display: none; }
    .step-indicator span:not(.step-number) { display: none; }
    .profile-image-placeholder {
        width: 80px;
        height: 80px;
        min-width: 80px;
        font-size: 2rem;
    }
    .steps-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-tier {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
    .register-title {
        font-size: 1.1rem;
    }
    .register-header {
        padding: 45px 20px 15px;
    }
    .register-body {
        padding: 0 20px 25px;
    }
    .register-tab {
        font-size: 0.65rem;
        padding: 6px 14px;
    }
}
