:root {
    --blue: #1e90ff;
    --blue-dark: #1a7de0;
    --blue-light: #e8f4ff;
    --black: #222;
    --gray: #666;
    --gray-light: #f5f5f5;
    --gray-border: #ddd;
    --white: #fff;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --max-width: 960px;
    --header-height: 86px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: Calibri, Verdana, 'Segoe UI', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header & Navigation */

.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--blue);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.site-header .logo img {
    height: 42px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 2px solid var(--gray-border);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
}

.nav-links a:hover {
    color: var(--blue);
    text-decoration: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switcher {
    display: flex;
    gap: 0.25rem;
}

.lang-switcher a {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
}

.lang-switcher a:hover {
    background: var(--blue-light);
    color: var(--blue);
    text-decoration: none;
}

.lang-switcher a.active {
    background: var(--blue);
    color: var(--white);
}

/* Main */

main {
    flex: 1;
    width: 100%;
}

.section {
    padding: 3rem 1.5rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-alt {
    background: var(--gray-light);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.section-intro {
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 640px;
}

/* Hero */

.hero {
    background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
    text-align: center;
    padding: 4rem 1.5rem 3.5rem;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--black);
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.hero-links .btn {
    min-width: 9rem;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray-light);
    color: var(--black);
    border: 1px solid var(--gray-border);
}

.btn-secondary:hover {
    background: var(--gray-border);
}

.btn-shop {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.55rem 1.2rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* Cards & Grids */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border: 1px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
    border-color: var(--blue-light);
    transform: translateY(-2px);
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--blue-dark);
}

.card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.category-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.category-card h3 {
    font-size: 1rem;
    color: var(--black);
}

/* Trust */

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.trust-item {
    background: var(--white);
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.trust-item span {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--gray);
}

/* Contact */

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 560px;
}

.contact-list {
    list-style: none;
    margin: 1.5rem 0;
}

.contact-list li {
    margin-bottom: 0.75rem;
}

.contact-list strong {
    display: inline-block;
    min-width: 5.5rem;
}

/* About teaser */

.about-text {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 680px;
    line-height: 1.75;
}

/* Placeholder page */

.page-simple {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.page-simple h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.page-simple p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Footer */

.site-footer {
    border-top: 2px solid var(--gray-border);
    padding: 1.5rem;
    margin-top: auto;
    background: var(--white);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Responsive */

@media (max-width: 900px) {
    :root {
        --header-height: 72px;
    }

    html {
        font-size: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1199;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        border-bottom: 3px solid var(--blue);
        padding: 1rem 1.5rem 1.5rem;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .site-nav.is-open .nav-menu {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 0.5rem;
    }

    .btn-shop {
        text-align: center;
    }

    .site-header {
        position: fixed;
    }

    .site-nav {
        margin-left: auto;
    }
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* FAQ */

.faq-hero {
    background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
}

.faq-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: sticky;
    top: calc(var(--header-height) + 0.5rem);
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--gray-border);
    padding: 0.75rem 0;
    margin-bottom: 2rem;
}

.faq-category-nav a {
    display: inline-block;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius);
    background: var(--blue-light);
    color: var(--blue-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.faq-category-nav a:hover {
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
}

.faq-category {
    scroll-margin-top: calc(var(--header-height) + 5.5rem);
    margin-bottom: 3rem;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 0.8rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: var(--white);
    color: var(--black);
    font: inherit;
    font-weight: 700;
    text-align: left;
    padding: 1rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-question:hover,
.faq-question:focus-visible {
    background: var(--blue-light);
    outline: none;
}

.faq-question[aria-expanded="true"] {
    background: var(--blue);
    color: var(--white);
}

.faq-question[aria-expanded="true"]:hover,
.faq-question[aria-expanded="true"]:focus-visible {
    background: var(--blue-dark);
    color: var(--white);
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    flex: 0 0 auto;
}

.faq-question[aria-expanded="true"] .faq-icon {
    background: var(--blue-dark);
}

.faq-answer {
    padding: 0 1.2rem 1.1rem;
    color: var(--black);
}

.faq-answer p {
    border-top: 1px solid var(--gray-border);
    padding-top: 1rem;
}

/* AGB */

.agb-language-link {
    margin-top: 0.5rem;
}

.agb-content {
    line-height: 1.7;
}

.agb-content h2 {
    color: var(--blue-dark);
    font-size: 1.2rem;
    margin: 1.75rem 0 0.75rem;
}

.agb-content h2:first-child {
    margin-top: 0;
}

.agb-content h3 {
    margin-top: 2rem;
    color: var(--black);
}

.agb-content article {
    margin-bottom: 1.5rem;
}

.agb-content p {
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.agb-content ul {
    list-style: none;
    padding-left: 0.5rem;
}

.agb-content li {
    margin-bottom: 0.65rem;
    color: var(--gray);
    line-height: 1.65;
}

.faq-form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 720px;
}

.faq-form {
    display: grid;
    gap: 1rem;
}

.form-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 0.75rem 0.9rem;
    font: inherit;
    color: var(--black);
    background: var(--white);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(30, 144, 255, 0.18);
}

.form-message {
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.form-message ul {
    margin: 0.5rem 0 0 1.1rem;
}

.repair-form-card,
.repair-confirmation-card {
    max-width: 760px;
}

.repair-language-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.sprachbutton {
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
}

.sprachbutton:hover,
.sprachbutton.aktiv {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.repair-form {
    display: grid;
    gap: 0.9rem;
}

.repair-form br {
    display: none;
}

.repair-form label {
    display: block;
    font-weight: 700;
    margin-bottom: -0.5rem;
}

.repair-form input,
.repair-form textarea {
    width: 100%;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 0.75rem 0.9rem;
    font: inherit;
    color: var(--black);
    background: var(--white);
}

.repair-form input[type="file"] {
    padding: 0.45rem 0.75rem;
    background: var(--gray-light);
    cursor: pointer;
}

.repair-form textarea {
    resize: vertical;
}

.repair-form input:focus,
.repair-form textarea:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(30, 144, 255, 0.18);
}

.repair-confirmation-table {
    overflow-x: auto;
}

.repair-confirmation-table table {
    width: 100%;
    border-collapse: collapse;
}

.repair-confirmation-table td {
    border-bottom: 1px solid var(--gray-border);
    padding: 0.55rem 0.4rem;
    vertical-align: top;
}

.repair-confirmation-table td:first-child {
    font-weight: 700;
    width: 35%;
}

.is-hidden {
    display: none;
}

/* Utility */

.section-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.card-stack {
    display: grid;
    gap: 1.5rem;
}

/* Nav: aktiver Menüpunkt */

.nav-links a[aria-current="page"] {
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
    padding-bottom: 2px;
}

@media (max-width: 900px) {
    .nav-links a[aria-current="page"] {
        border-bottom: none;
        padding-bottom: 0;
        padding-left: 0.5rem;
        border-left: 3px solid var(--blue);
    }
}
