/* ===== DESIGN SLOT 3 – Schemm Finance Consulting ===== */

:root {
    --primary: #3c1642;
    --primary-light: #5c2662;
    --primary-dark: #2a0e30;
    --secondary: #d4af37;
    --secondary-light: #e0c45c;
    --accent-bg: #f8f0ff;
    --white: #ffffff;
    --light: #faf6fc;
    --dark: #1e0a24;
    --text: #2d2233;
    --text-light: #6b5f72;
    --border: #e0d4e6;
    --shadow: 0 4px 20px rgba(60,22,66,0.1);
    --shadow-hover: 0 12px 40px rgba(60,22,66,0.18);
    --radius: 16px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    --z-dropdown: 10;
    --z-sticky: 20;
    --z-overlay: 30;
    --z-modal: 40;
    --z-toast: 50;

    --color-error: #e74c3c;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar a {
    color: var(--secondary-light);
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(60,22,66,0.12);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-weight: 800;
    font-size: 1rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background: var(--primary-light);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 100px 0 140px;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: var(--secondary-light);
}

.hero-badge-icon {
    color: var(--secondary);
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
}

.btn-primary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-dark:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== GLASSMORPHISM CARD ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-hover);
}

/* ===== SERVICES + ABOUT COMBINED ===== */
.services-about {
    background: var(--light);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.service-card {
    padding: 32px 24px;
    text-align: center;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary);
    font-size: 1.4rem;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-card a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card a:hover {
    color: var(--primary);
}

.about-snippet {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 32px;
    border-top: 1px solid var(--border);
}

.about-snippet h3 {
    margin-bottom: 12px;
}

.about-snippet p {
    color: var(--text-light);
}

/* ===== NUMBERS BANNER ===== */
.numbers-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px 0;
    color: var(--white);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.number-item {
    padding: 16px;
}

.number-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1;
}

.number-label {
    font-size: 1rem;
    opacity: 0.85;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 3.5rem;
    color: var(--secondary);
    opacity: 0.6;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    margin-top: 32px;
    margin-bottom: 24px;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark);
}

.testimonial-company {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-left: 3px solid var(--secondary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    color: var(--secondary);
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== LEISTUNGEN PAGE – SIDEBAR LAYOUT ===== */
.leistungen-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 60px 0;
    align-items: start;
}

.leistungen-sidebar {
    position: sticky;
    top: 100px;
    padding: 24px;
}

.leistungen-sidebar nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    transition: var(--transition);
}

.leistungen-sidebar nav a:hover,
.leistungen-sidebar nav a.active {
    background: rgba(60,22,66,0.08);
    color: var(--secondary);
}

.leistungen-content section {
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.leistungen-content section:last-child {
    border-bottom: none;
}

.leistungen-content h2 {
    margin-bottom: 16px;
    color: var(--primary);
}

.leistungen-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.leistungen-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.leistungen-content li {
    margin-bottom: 8px;
    color: var(--text);
}

.disclosure-box {
    background: var(--accent-bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding: 60px 0;
    align-items: start;
}

.contact-form-card {
    padding: 40px;
}

.contact-info-card {
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-check label {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-info-card h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 2px;
}

.contact-info-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== GESCHÄFTSFÜHRUNG PAGE ===== */
.gf-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    padding: 60px 0;
    align-items: start;
}

.gf-profile {
    position: sticky;
    top: 100px;
    text-align: center;
    padding: 40px 32px;
}

.gf-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary);
    font-size: 2rem;
    font-weight: 800;
}

.gf-profile h2 {
    margin-bottom: 8px;
}

.gf-profile p {
    color: var(--text-light);
    margin-bottom: 4px;
}

.gf-content h2 {
    color: var(--primary);
    margin-bottom: 16px;
    margin-top: 32px;
}

.gf-content h2:first-child {
    margin-top: 0;
}

.gf-timeline {
    border-left: 3px solid var(--secondary);
    padding-left: 24px;
    margin-top: 24px;
}

.gf-timeline-item {
    margin-bottom: 24px;
    position: relative;
}

.gf-timeline-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.gf-timeline-year {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    margin-bottom: 32px;
    color: var(--primary);
}

.legal-page h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--primary);
}

.legal-page h3 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
    color: var(--text);
    line-height: 1.8;
}

.legal-page ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--secondary);
}

.legal-page a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    padding: 64px 0 32px;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    padding: 4px 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: var(--primary);
    padding: 48px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 8px;
}

.page-hero p {
    opacity: 0.85;
    font-size: 1.05rem;
}

.breadcrumb {
    margin-bottom: 16px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.breadcrumb a {
    color: var(--secondary-light);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px 24px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.cookie-banner.show {
    display: block;
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
}

.cookie-banner a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: var(--secondary);
    color: var(--dark);
}

.cookie-btn-accept:hover {
    background: var(--secondary-light);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
    border-color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .leistungen-layout {
        grid-template-columns: 1fr;
    }

    .leistungen-sidebar {
        position: static;
        overflow-x: auto;
        padding: 16px;
    }

    .leistungen-sidebar nav {
        display: flex;
        gap: 4px;
        white-space: nowrap;
    }

    .leistungen-sidebar nav a {
        flex-shrink: 0;
    }

    .gf-layout {
        grid-template-columns: 1fr;
    }

    .gf-profile {
        position: static;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow);
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 0 100px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .top-bar .container {
        justify-content: center;
    }

    .top-bar-right {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 48px 0;
    }
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 100000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== MAX-WIDTH FOR BODY TEXT ===== */
.legal-page p,
.leistungen-content p,
.gf-content p,
.section-subtitle {
    max-width: 70ch;
}

/* ===== FORM VALIDATION ===== */
.form-error {
    border-color: var(--color-error) !important;
}

.form-error-text {
    color: var(--color-error) !important;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: var(--text-xl);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
