:root {
    /* Light Theme Variables */
    --bg-primary-light: #FFFFFF;
    --bg-secondary-light: #F1F1F1;
    --text-primary-light: #111111;
    --text-secondary-light: #333333;
    --accent-color: #FFE566; /* Bleibt für Hover-Effekte */
    --accent-hover: #ffd700;
    --button-border: #222222;
    --card-bg-light: #FFFFFF;
    --mid-gray-light: #aaaaaa;
    --dark-gray-light: #555555;
    --highlight-shadow: 0px 4px 12px rgba(255, 229, 102, 0.25);
    --border-light: #ddd;
    --shadow-light: rgba(0, 0, 0, 0.1);
    
    /* Dark Theme Variables */
    --bg-primary-dark: #121212;
    --bg-secondary-dark: #1E1E1E;
    --text-primary-dark: #FFFFFF;
    --text-secondary-dark: #CCCCCC;
    --button-border-dark: #999999;
    --card-bg-dark: #2A2A2A;
    --mid-gray-dark: #777777;
    --dark-gray-dark: #999999;
    --border-dark: #444;
    --shadow-dark: rgba(0, 0, 0, 0.5);
    
    /* Default to Light Theme */
    --bg-primary: var(--bg-primary-light);
    --bg-secondary: var(--bg-secondary-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --card-bg: var(--card-bg-light);
    --mid-gray: var(--mid-gray-light);
    --dark-gray: var(--dark-gray-light);
    --border: var(--border-light);
    --shadow: var(--shadow-light);
    --transition-speed: 0.3s;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: var(--bg-primary-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --card-bg: var(--card-bg-dark);
    --mid-gray: var(--mid-gray-dark);
    --dark-gray: var(--dark-gray-dark);
    --border: var(--border-dark);
    --shadow: var(--shadow-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
	word-wrap: break-word;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header */
header {
    background-color: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 15px;
}

.logo {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.5s ease;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--text-primary);
}

.cta-small {
    padding: 0.5rem 1.25rem;
    background-color: transparent;
    border: 2px solid var(--button-border);
    border-radius: 4px;
    color: var(--text-primary) !important;
    transition: all var(--transition-speed) ease;
}

.cta-small:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.cta-small::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-btn span {
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-speed) ease;
}

/* Theme Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.theme-switch {
    display: inline-block;
    height: 28px;
    position: relative;
    width: 56px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: var(--bg-secondary);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.slider i {
    font-size: 14px;
    color: var(--accent-color);
}

.slider .fa-sun {
    margin-right: auto;
}

.slider .fa-moon {
    margin-left: auto;
}

.slider:before {
    background-color: var(--bg-primary);
    bottom: 4px;
    content: "";
    height: 20px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 20px;
    z-index: 1;
}

input:checked + .slider {
    background-color: var(--bg-secondary);
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.slider.round {
    border-radius: 34px;
    border: 1px solid var(--border);
}

.slider.round:before {
    border-radius: 50%;
}

/* Hero Section */
#hero {
    padding: 10rem 0 0rem;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    transition: color 0.5s ease;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--button-border);
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 5px var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--highlight-shadow);
}

.cta-button:active {
    transform: translateY(1px);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--button-border);
    color: var(--text-primary);
}

.cta-button.secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-primary-light);
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    z-index: 1;
}

.filtered-image {
    filter: grayscale(100%);
    transition: filter var(--transition-speed) ease;
    max-width: 100%;
    height: auto;
}

.filtered-image:hover {
    filter: grayscale(85%) sepia(20%) hue-rotate(10deg);
}

/* Risk Cards Section */
#risk {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.5s ease;
}

.risk-cards {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card {
    flex-basis: calc(33.33% - 1.5rem);
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color 0.5s ease;
}

.card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: 0 8px 24px var(--shadow);
}

.card.highlight {
    background-color: var(--bg-primary);
    border: 2px solid var(--button-border);
}

.card.highlight:hover {
    background-color: var(--accent-color);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    transition: color 0.5s ease;
}

.card.highlight .icon {
    color: var(--text-primary-light);
}

/* Features Section */
#features {
    padding: 5rem 0;
    background-color: var(--bg-primary);
    transition: background-color 0.5s ease;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color 0.5s ease;
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow);
    background-color: var(--card-bg);
}

.feature:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
}

.feature-icon {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    transition: color var(--transition-speed) ease;
}

.feature:hover .feature-icon {
    color: var(--accent-hover);
}

.expand-features {
    text-align: center;
    margin-top: 2rem;
}

.feature-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
}

.feature-toggle:hover {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.feature-toggle i {
    transition: transform var(--transition-speed) ease;
}

.feature-toggle.active i {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}

/* Solution Tabs */
#solution {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.5s ease;
}

.tabs {
    margin-top: 3rem;
}

.tab-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    padding: 1rem 2rem;
    background-color: var(--card-bg);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed) ease, background-color 0.5s ease;
    box-shadow: 0 2px 5px var(--shadow);
    border: 1px solid var(--button-border);
}

.tab:hover {
    background-color: var(--accent-color);
}

.tab.active {
    background-color: var(--card-bg);
    border: 2px solid var(--button-border);
    font-weight: 600;
}

.tab.active:hover {
    background-color: var(--accent-color);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.solution-text {
    flex: 1;
}

.solution-image {
    flex: 1;
    text-align: center;
}

.solution-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 24px var(--shadow);
}

.filtered-image {
    filter: grayscale(100%);
    transition: filter var(--transition-speed) ease;
}
.filtered-image:hover {
    filter: grayscale(85%) sepia(20%) hue-rotate(10deg);
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

/* Process Section */
#process {
    padding: 5rem 0;
    background-color: var(--bg-primary);
    position: relative;
    transition: background-color 0.5s ease;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 2px;
    background-color: var(--mid-gray);
    z-index: 1;
    transition: background-color 0.5s ease;
}

.step {
    flex-basis: calc(25% - 2rem);
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--bg-secondary);
    border: 2px solid var(--button-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 3;
    box-shadow: 0 4px 12px var(--shadow);
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

.step:hover .step-number {
    background-color: var(--accent-color);
    color: var(--text-primary-light);
}

/* Pricing Section */
#pricing {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.5s ease;
}

.pricing-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    flex-basis: 350px;
    padding: 3rem 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color 0.5s ease;
    position: relative;
    box-shadow: 0 4px 12px var(--shadow);
}

.pricing-card.highlight {
    box-shadow: 0 8px 24px var(--shadow);
    border: 2px solid var(--button-border);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 36px var(--shadow);
}

.pricing-card.highlight:hover {
    transform: translateY(-10px) scale(1.05);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 2rem;
    background-color: var(--button-border);
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--bg-primary);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}

.price-detail {
    color: var(--dark-gray);
    margin-bottom: 2rem;
    transition: color 0.5s ease;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-secondary);
    font-weight: 700;
    transition: color 0.5s ease;
}

.pricing-card.highlight ul li::before {
    color: var(--accent-hover);
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background-color: var(--bg-primary);
    transition: background-color 0.5s ease;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color 0.5s ease, color 0.5s ease;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 229, 102, 0.2);
}

.privacy-policy {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.privacy-policy input {
    width: auto;
    margin-top: 0.25rem;
}

.privacy-policy label {
    font-weight: 400;
    font-size: 0.875rem;
}

.privacy-policy a {
    color: var(--text-secondary);
    text-decoration: underline;
    transition: color 0.5s ease;
}

/* Footer */
footer {
    background-color: var(--text-primary-light);
    color: var(--bg-primary-light);
    padding: 3rem 0 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 3rem;
}

.footer-logo {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--bg-primary-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary-light);
    transition: all var(--transition-speed) ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--text-primary-light);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--bg-primary-light);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

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

.copyright {
    padding: 1.5rem 0;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 0.875rem;
    color: var(--mid-gray-light);
}

/* Klickanimation für interaktive Elemente */
.click-animation {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background-color: var(--accent-color);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
    animation: clickRipple 0.6s ease-out;
}

@keyframes clickRipple {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Progress Tracker */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background-color: var(--button-border);
    width: 0%;
    transition: width 0.2s ease;
}

.progress-bar.active {
    background-color: var(--accent-color);
}

/* Interaktionspunkte-Anzeige */
.interaction-points {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--bg-primary);
    border: 2px solid var(--button-border);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    box-shadow: 0 4px 12px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
}

.interaction-points.active {
    opacity: 1;
}

.points-animation {
    animation: pointsPulse 0.5s ease;
}

@keyframes pointsPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-visual {
        width: 40%;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .card {
        flex-basis: calc(50% - 1.5rem);
    }
    .hero-visual {
        display: none;
    }
    .hero-content {
        max-width: 100%;
    }
    .solution-content {
        flex-direction: column;
    }
    .solution-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 1rem 15px;
    }
    .mobile-menu-btn {
        display: flex;
    }
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        box-shadow: 0 4px 12px var(--shadow);
        padding: 1.5rem;
        clip-path: circle(0% at top right);
        transition: clip-path var(--transition-speed) ease, background-color 0.5s ease;
    }
    nav.active {
        clip-path: circle(150% at top right);
    }
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    nav ul li {
        margin: 0;
    }
    .theme-switch-wrapper {
        margin-right: 1.5rem;
        margin-left: 0;
    }
    #hero {
        padding: 9rem 0 4rem;
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    form {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .step {
        flex-basis: 100%;
        margin-bottom: 3rem;
    }
    .process-steps {
        flex-direction: column;
    }
    .process-steps::before {
        display: none;
    }
    .tab-header {
        flex-direction: column;
        align-items: center;
    }
    .tab {
        width: 100%;
        text-align: center;
    }
    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .footer-links {
        margin-top: 1.5rem;
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .card {
        flex-basis: 100%;
    }
    .pricing-options {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        width: 100%;
    }
    .pricing-card.highlight {
        transform: scale(1);
    }
    .pricing-card.highlight:hover {
        transform: translateY(-10px);
    }
}

/* Langsamere, stimmigere Button-Animationen */
.cta-button, .cta-small, .tab, .card, .feature {
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-button:hover, .cta-small:hover {
    transform: translateY(-3px);
    transition-duration: 1.2s;
}

.cta-button:active, .cta-small:active {
    transform: translateY(1px);
    transition-duration: 0.3s;
}

/* Schwarz-Weiß-Effekt beim Markieren von Text */
::selection {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

[data-theme="dark"] ::selection {
    background-color: var(--bg-primary-light);
    color: var(--text-primary-dark);
}

/* Klick ins Leere Animation */
.empty-click-animation {
    position: fixed;
    pointer-events: none;
    width: 30px;
    height: 30px;
    border: 2px solid var(--button-border);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.7;
    z-index: 9999;
    animation: emptyClickRipple 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes emptyClickRipple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.7;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Punkte-System & Belohnungs-Komponenten */
.points-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--card-bg);
    border: 2px solid var(--button-border);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px var(--shadow);
    z-index: 1000;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.points-icon {
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.5s ease;
}

.points-add {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    animation: pointsFly 1.5s ease-out forwards;
}

@keyframes pointsFly {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translate(-60px, -60px);
        opacity: 0;
    }
}

.reward-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--bg-primary);
    border: 3px solid var(--accent-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px var(--shadow);
    z-index: 9999;
    text-align: center;
    max-width: 500px;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reward-popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.coupon-code {
    font-family: 'Roboto Mono', monospace;
    background-color: var(--bg-secondary);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    border: 1px dashed var(--accent-color);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.vulnerability-element {
    position: relative;
}

.vulnerability-element::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: transparent;
    border-radius: 50%;
    bottom: 2px;
    right: 2px;
    transition: background-color 0.3s ease;
}

.vulnerability-element.found::after {
    background-color: var(--accent-color);
}

/* Mobile Menü Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Aktiver Zustand für das Hamburger-Menü */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-primary);
        padding: 100px 2rem 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }
    
    nav.active {
        opacity: 1;
        pointer-events: all;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    nav ul li a {
        font-size: 1.5rem;
    }
    
    .cta-small {
        padding: 0.8rem 2rem;
        margin-top: 1rem;
    }
}

/* Theme-Switch als Sticky-Element an der Seite */
/* Theme-Switch als Sticky-Element im Stil des Punktezählers */
.theme-switch-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    background-color: var(--card-bg);
    border: 2px solid var(--button-border);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-switch-container .theme-switch {
    margin: 0;
    display: flex;
    align-items: center;
}


.theme-switch-container .theme-switch {
    margin: 0;
}

/* Mobile-Anpassung für den Theme-Switch */
@media (max-width: 768px) {
    .theme-switch-container {
        bottom: 20px;
        right: 20px;
    }
}

/* Horizontales Scrollen auf Mobilgeräten verhindern */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Sicherstellen, dass alle Elemente die Container-Breite nicht überschreiten */
img, video, iframe, .risk-cards, .feature-grid, .solution-image, .process-steps {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    /* Container-Anpassungen für Mobile */
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    /* Feature-Grid für Mobile optimieren */
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* Risk Cards für Mobile anpassen */
    .risk-cards {
        flex-wrap: wrap;
    }
    
    .card {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }
}
/* Info Tooltip */
.info-tooltip {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted var(--accent-color);
    display: inline-block;
}

.info-tooltip .tooltip-text {
    visibility: hidden;
    position: absolute;
    width: 250px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    font-size: 0.85rem;
    box-shadow: 0 4px 8px var(--shadow);
    border: 1px solid var(--border);
    z-index: 100;
    pointer-events: none;
}

.info-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--card-bg) transparent transparent transparent;
}

.info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Dunkler Theme-Anpassung */
[data-theme="dark"] .info-tooltip .tooltip-text::after {
    border-color: var(--card-bg-dark) transparent transparent transparent;
}
/* Impressum Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.popup.active {
    opacity: 1;
    pointer-events: all;
}

.popup-content {
    background-color: var(--bg-primary);
    border: 3px solid var(--accent-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px var(--shadow);
    width: 800px;
    max-width: 90%;
    max-height: 90vh;
    height: auto;
    overflow: hidden;
    overflow-y: auto;
    text-align: left;
    position: relative;
}


.popup.active .popup-content {
    transform: scale(1);
}

.popup h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.popup h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.popup p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.popup a {
    color: var(--text-secondary);
    text-decoration: underline;
    transition: color var(--transition-speed) ease;
}

.popup a:hover {
    color: var(--accent-color);
}

.popup .cta-button {
    margin-top: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Scrollbar-Styling für das Popup */
.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.popup-content::-webkit-scrollbar-thumb {
    background-color: var(--dark-gray);
    border-radius: 4px;
}

.popup-content iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    min-height: 998px;
    filter: grayscale(100%);
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: var(--bg-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.close-popup:hover {
    background-color: var(--accent-hover);
    transform: scale(1.1);
}

/* Für mobile Ansicht */
@media (max-width: 768px) {
    .popup-content {
        padding: 1.5rem;
        max-width: 90%;
        max-height: 85vh;
    }
    .popup-content iframe {
        min-height: 800px;
    }
}
/* FAQ Styles */
#faq {
    padding: 5rem 0;
    background-color: var(--bg-primary);
    transition: background-color 0.5s ease;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.faq-category {
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
	color: var(--text-primary);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.faq-category:hover, .faq-category.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
	color: var(--text-secondary-light);
}

.faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    background-color: var(--card-bg);
}

.faq-item:hover {
    box-shadow: 0 4px 12px var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    margin-top: 0;
}

.faq-answer ul, .faq-answer ol {
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-category {
        width: 100%;
        text-align: center;
    }
}

/* Formular-Styling */
.form-message {
    margin-top: 15px;
    padding: 10px;
}

.success-message {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #4CAF50;
}

.error-message {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #F44336;
}

input.error, textarea.error, select.error {
    border-color: #F44336;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -150%;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    z-index: 10000;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 -2px 10px var(--shadow);
    transition: bottom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.cookie-header h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.cookie-header p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-category {
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    transition: all var(--transition-speed) ease;
}

.cookie-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.category-header h4 {
    margin: 0 0 0 1rem;
    font-size: 1.1rem;
}

.cookie-category p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

.cookie-btn:hover {
    background-color: var(--border);
}

.cookie-btn.secondary {
    background-color: transparent;
    border: 1px solid var(--border);
}

.cookie-footer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

.cookie-footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.cookie-footer a:hover {
    text-decoration: underline;
}

/* Switch Styling */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--accent-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--accent-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Cookie Settings Button */
.cookie-settings-button {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 10px var(--shadow);
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
    transform: scale(0);
}

.cookie-settings-button.show {
    transform: scale(1);
}

.cookie-settings-button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions button {
        width: 100%;
    }
}

.cookie-banner.show {
    bottom: 0;
    max-height: 50vh;
    overflow: scroll;
}
