/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dunklere Variationen */
    --green-0: #12460a;
    --green-10: #994a09;
    --green-20: #79a772;
    --green-30: #6a9263;
    --green-40: #8ea08b;
    --green-50: #4c6947;
    --green-60: #1d3a19;
    --green-70: #2d3f2b;
    --green-80: #1e2a1c;
    --green-90: #0f150e;
    --green-100: #000000;
    
    /* Hellere Variationen */
    --green-light-0: #092c04;
    --green-light-10: #a1d699;
    --green-light-20: #acdaa5;
    --green-light-30: #b6dfb0;
    --green-light-40: #c1e3bb;
    --green-light-50: #cbe8c7;
    --green-light-60: #d5edd2;
    --green-light-70: #e0f1dd;
    --green-light-80: #eaf6e8;
    --green-light-90: #f5faf4;
    --green-light-100: #ffffff;
    
    /* Verwendung der Farben */
    --primary-color: var(--green-50);
    --primary-hover: var(--green-60);
    --secondary-color: var(--green-40);
    --accent-color: var(--green-30);
    --background: var(--green-light-90);
    --card-background: var(--green-light-100);
    --text-primary: var(--green-80);
    --text-secondary: var(--green-40);
    --border-color: var(--green-light-80);
    --shadow: 0 1px 3px 0 rgba(30, 42, 28, 0.1), 0 1px 2px 0 rgba(30, 42, 28, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(30, 42, 28, 0.1), 0 4px 6px -2px rgba(30, 42, 28, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(30, 42, 28, 0.1), 0 10px 10px -5px rgba(30, 42, 28, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.main-header {
    background: white;
    color: var(--text-primary);
    padding: 3rem 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--green-light-80);
}

.header-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.main-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.main-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Navigation */
.main-nav {
    background: var(--card-background);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
    box-shadow: var(--shadow);
}

.main-nav .container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.main-nav a:hover {
    background: var(--primary-color);
    color: white;
}

/* Sections */
section {
    margin: 4rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

/* Intro Section */
.intro-section {
    text-align: center;
    padding: 3rem 2rem;
    background: #818990;
    border-radius: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    border: 5px solid #50b240;
    border-bottom: 3px solid #818990;
}

.intro-section h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.intro-section p {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green-30);
    background: var(--green-light-80);
}

/* Service Card mit Hintergrundbild */
.service-card-with-bg {
    padding: 0;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.service-card-with-bg .service-card-image {
    width: 100%;
    height: 200px;
    background-image: url('/bilder/transporter-oeltankentsorgung.webp');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    display: block;
}

.service-card-with-bg .service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    z-index: 2;
    pointer-events: none;
}

.service-card-with-bg .service-card-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    margin-top: -50px;
    border-radius: 0 0 1rem 1rem;
}

.service-card-with-bg:hover .service-card-overlay {
    background: rgba(255, 255, 255, 0.15);
}

/* Service Card mit Hintergrundbild 2 (Haus) */
.service-card-with-bg-2 {
    padding: 0;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.service-card-with-bg-2 .service-card-image {
    width: 100%;
    height: 200px;
    background-image: url('/bilder/haus.webp');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    display: block;
}

.service-card-with-bg-2 .service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    z-index: 2;
    pointer-events: none;
}

.service-card-with-bg-2 .service-card-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    margin-top: -50px;
    border-radius: 0 0 1rem 1rem;
}

.service-card-with-bg-2:hover .service-card-overlay {
    background: rgba(255, 255, 255, 0.15);
}

/* Service Card mit Hintergrundbild 3 (Öltank) */
.service-card-with-bg-3 {
    padding: 0;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.service-card-with-bg-3 .service-card-image {
    width: 100%;
    height: 200px;
    background-image: url('/bilder/oeltank.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    display: block;
}

.service-card-with-bg-3 .service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    z-index: 2;
    pointer-events: none;
}

.service-card-with-bg-3 .service-card-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    margin-top: -50px;
    border-radius: 0 0 1rem 1rem;
}

.service-card-with-bg-3:hover .service-card-overlay {
    background: rgba(255, 255, 255, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.service-icon svg {
    width: 64px;
    height: 64px;
}

/* TÜV Section */
.tuev-section {
    margin: 3rem 0;
}

.tuev-box {
    background: #003366;
    border-radius: 0.5rem;
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-right: 4px solid #50b240;
    position: relative;
    overflow: hidden;
}

.tuev-content {
    color: #ffffff;
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    padding: 2.5rem;
}

.tuev-banner {
    background: #0066CC;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 1.5rem 2rem;
    margin: 0;
    margin-bottom: 1.5rem;
}

.tuev-logo-text {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
}

.tuev-logo-text .tuev-part {
    font-size: 1.1em;
}

.tuev-company {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.tuev-legal {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.tuev-divider {
    height: 1px;
    background: #ffffff;
    margin: 1.5rem 0;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.tuev-certification {
    font-size: 2rem;
    font-weight: 700;
    margin: 1.5rem 0;
    line-height: 1.3;
    color: #ffffff;
    text-transform: none;
}

.tuev-certification-line {
    display: block;
}

.tuev-website {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card-certified {
    padding: 0;
    overflow: hidden;
}

.tuev-box-inline {
    background: #003366;
    border-radius: 1rem;
    padding: 0;
    text-align: center;
    margin: 0;
    border-right: 4px solid #50b240;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.tuev-box-inline .tuev-content {
    padding: 2rem 1.5rem;
}

.tuev-box-inline .tuev-banner {
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.tuev-box-inline .tuev-logo-text {
    font-size: 2rem;
}

.tuev-box-inline .tuev-company {
    font-size: 1.1rem;
}

.tuev-box-inline .tuev-legal {
    font-size: 0.9rem;
}

.tuev-box-inline .tuev-certification {
    font-size: 1.5rem;
}

.tuev-box-inline .tuev-website {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.tuev-box-inline .tuev-divider {
    margin: 1rem 0;
}

/* Process Section */
.process-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: var(--card-background);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        var(--green-30) 0,
        var(--green-30) 10px,
        transparent 10px,
        transparent 20px
    );
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #50b240;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(80, 178, 64, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    flex-shrink: 0;
    color: var(--primary-color);
}

.step-icon svg {
    width: 40px;
    height: 40px;
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .process-steps {
        padding-left: 1.5rem;
    }
    
    .process-steps::before {
        left: 2rem;
    }
    
    .step-number {
        left: -1.5rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        margin-right: 1.5rem;
    }
    
    .step-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 1rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    text-align: center;
}

/* Cities Section */
.cities-section {
    background: var(--card-background);
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.search-box {
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-box input {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    transition: border-color 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--green-light-60);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.city-card.view-more {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
    grid-column: 1 / -1;
    text-align: center;
}

.city-card.view-more:hover {
    background: var(--primary-hover);
    color: white;
}

.city-card {
    background: var(--background);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-primary);
    display: block;
}

.city-card:hover {
    background: var(--green-40);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.city-card.hidden {
    display: none;
}

/* Contact Section */
.contact-section {
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--card-background);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Leere Labels ausblenden */
.form-group label:empty {
    display: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(80, 178, 64, 0.12);
    transition: border-color 0.2s, box-shadow 0.15s;
}

.form-group textarea {
    resize: vertical;
}

/* Form Hint für Hilfetexte */
.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Verbesserte Barrierefreiheit für Fehlermeldungen */
.form-error-message {
    background: #fee;
    border: 2px solid #fcc;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #c33;
    display: none;
}

.form-error-message[role="alert"] {
    display: block;
}

.form-error-message p {
    margin: 0;
    font-size: 1.1rem;
}

.form-error-message strong {
    font-weight: 600;
}

/* Invalid State für Formularfelder */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group select:invalid:not(:focus),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc2626;
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group select:valid:not(:focus),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--green-80) 0%, var(--green-90) 50%, var(--green-100) 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.main-footer p {
    opacity: 0.9;
}

.main-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.main-footer a:hover {
    opacity: 1;
    color: white;
}

/* Impressum Section */
.impressum-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--card-background);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.impressum-section h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.impressum-content h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.impressum-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.impressum-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.impressum-content a:hover {
    color: var(--primary-hover);
}

.impressum-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.impressum-content li {
    margin-bottom: 0.5rem;
}

/* Checkbox Label für Datenschutz */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    flex: 1;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--primary-hover);
}

/* Screen Reader Only Klasse für Barrierefreiheit */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Success Section */
.success-section {
    text-align: center;
    padding: 4rem 2rem;
    margin: 3rem 0;
    background: var(--card-background);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: #50b240;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.success-icon svg {
    width: 60px;
    height: 60px;
}

.success-section h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.success-message {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-message p {
    margin: 0;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Form Error Message - bereits oben bei Form-Styles definiert, Duplikat entfernt */

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .main-header h1 {
        font-size: 2rem;
    }

    .main-header .subtitle {
        font-size: 1rem;
    }

    .header-logo {
        max-width: 300px;
    }

    .main-nav {
        padding: 0.75rem 0;
    }
    
    .main-nav .container {
        display: flex;
        gap: 1rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
        padding: 0 1rem;
    }
    
    .main-nav .container::-webkit-scrollbar {
        height: 4px;
    }
    
    .main-nav .container::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .main-nav .container::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .main-nav a {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Zusätzliche Styles für Stadt-Unterseiten */
.city-intro {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.city-intro h2 {
    text-align: left;
    margin-bottom: 1rem;
    color: var(--primary-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.city-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.city-services {
    margin: 3rem 0;
}

.city-info {
    margin: 3rem 0;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-box {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.info-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-box p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.other-cities {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    margin: 3rem 0;
}

.other-cities h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.other-cities > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.quick-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.city-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--card-background);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 0.5rem;
    border: 2px solid var(--primary-color);
    font-weight: 500;
    transition: all 0.2s;
}

.city-link:hover {
    background: var(--green-40);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.city-link.view-all {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.city-link.view-all:hover {
    background: var(--primary-hover);
}

.error-section {
    background: var(--card-background);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 3rem 0;
}

.error-section h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.error-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.error-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.error-section a:hover {
    text-decoration: underline;
}

/* Preisfelder */
.pricing-section {
    margin: 4rem 0;
    padding: 3rem 0;
    display: block !important;
    visibility: visible !important;
}

.pricing-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--card-background);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green-40);
    background: var(--green-light-80);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.pricing-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--background);
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.pricing-item:hover {
    background: var(--green-light-70);
}

.pricing-item-special {
    background: linear-gradient(135deg, var(--green-light-50), var(--green-light-60));
    font-weight: 600;
}

.pricing-volume {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-price {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-item-special .pricing-price {
    color: var(--text-primary);
    font-size: 1rem;
}

.pricing-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    margin-top: 1rem;
}

.pricing-footer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Formular Anpassungen für Stadtseite */
.contact-section .form-group input[readonly] {
    background: var(--background);
    cursor: not-allowed;
    color: var(--text-secondary);
}

/* Neues erweitertes Formular */
.form-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row-2 {
    grid-template-columns: repeat(2, 1fr);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.radio-label:hover {
    background: var(--green-light-70);
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.radio-label span {
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: var(--green-light-70);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.checkbox-label span {
    cursor: pointer;
}

.file-info {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.file-hint {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

.form-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.required-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Contact CTA */
.contact-cta {
    text-align: center;
    padding: 2rem 0;
}

.contact-cta .btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

/* Responsive für Stadtseiten */
@media (max-width: 768px) {
    .city-intro {
        padding: 1.5rem;
    }
    
    .city-intro h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .city-services h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .city-info h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .quick-cities {
        flex-direction: column;
    }

    .city-link {
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-section {
        padding: 2rem 0;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .contact-section {
        padding: 2rem 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .radio-label {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 1.5rem;
    }
    
    .modal-body {
        font-size: 1rem;
    }
    
    .process-section {
        margin: 2rem 0;
        padding: 2rem 1rem;
    }
    
    .process-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .process-steps {
        padding-left: 0;
        max-width: 100%;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2.5rem;
        padding: 0;
    }
    
    .step-number {
        position: relative;
        left: auto;
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .step-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .step-content {
        padding-top: 0;
        width: 100%;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .step-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .step-content a {
        word-break: break-word;
    }
    
    .intro-section {
        padding: 2rem 1rem;
    }
    
    .intro-section h2 {
        font-size: 2rem;
    }
    
    .intro-section p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tuev-box-inline .tuev-content {
        padding: 1rem;
    }
    
    .tuev-box-inline .tuev-banner {
        padding: 0.8rem 1rem;
    }
    
    .tuev-box-inline .tuev-logo-text {
        font-size: 1.5rem;
    }
    
    .tuev-box-inline .tuev-certification {
        font-size: 1.2rem;
    }
}

