/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    min-height: 100%;
}

/* Benachrichtigungen */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    transition: all 0.3s ease;
    max-width: 400px;
    text-align: center;
    word-wrap: break-word;
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.notification.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification.warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.notification.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

body {
    font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    background-color: #f8f9fa;
    overflow-x: hidden;
    padding-top: 0 !important;
    padding-bottom: 80px; /* Platz für Bottom-Navbar */
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1001 !important; /* Höher als Bottom-Navbar */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateZ(0); /* Hardware-Beschleunigung */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    margin-right: 10px;
    color: #ffd700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    background-color: rgba(255,255,255,0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin: 0;
    position: relative;
    min-height: 1px;
}

/* Landing Section - Mobile First */
.landing-section {
    background: linear-gradient(145deg, #5a67d8 0%, #6b46c1 40%, #553c9a 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 160px);
    padding: 1.5rem 0 2rem;
}

.landing-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.landing-section .container {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.landing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-text {
    margin-bottom: 1.5rem;
    padding: 0;
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.main-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.title-line {
    display: block;
    font-size: 2.25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.title-subtitle {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.25rem;
    margin-bottom: 1.75rem;
}

.hero-step {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 0.75rem;
}

.hero-step-arrow {
    font-size: 0.6rem;
    opacity: 0.7;
}

.hero-cta-label {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 1rem;
}

/* ===== Landing Funnel: Kunde durchleiten ===== */
.container--landing {
    margin-bottom: 1.5rem;
}

.landing-hero {
    margin-bottom: 2rem;
}

.landing-hero .main-title {
    margin-bottom: 0.75rem;
}

.landing-hero .hero-description {
    margin-bottom: 0;
}

.landing-choice-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.landing-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.landing-card {
    display: block;
    text-align: left;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.landing-card:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.landing-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
}

.landing-card-badge--urgent {
    background: rgba(255, 200, 100, 0.4);
}

.landing-card-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.landing-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.landing-card-desc {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.45;
    margin-bottom: 1rem;
}

.landing-card-cta {
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.landing-card--primary {
    border-color: rgba(72, 187, 120, 0.6);
    background: rgba(56, 161, 105, 0.35);
}

.landing-card--primary:hover {
    border-color: rgba(72, 187, 120, 0.9);
    background: rgba(56, 161, 105, 0.5);
}

.landing-card--secondary {
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    border-color: rgba(229, 62, 62, 0.6);
    background: rgba(185, 28, 28, 0.35);
}

.landing-card--secondary:hover {
    border-color: rgba(229, 62, 62, 0.9);
    background: rgba(185, 28, 28, 0.5);
}

/* So funktioniert's – mittig */
.landing-how {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.landing-how-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.landing-steps {
    list-style: none;
    padding: 0;
    margin: 0 auto 1.5rem auto;
    counter-reset: step;
    max-width: 420px;
}

.landing-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 1.25rem;
    counter-increment: step;
    text-align: left;
}

.landing-step:last-child {
    margin-bottom: 0;
}

.landing-step-num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
}

.landing-step div {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
    flex: 1;
    max-width: 280px;
}

.landing-step strong {
    display: block;
    margin-bottom: 0.2rem;
}

.landing-how-cta {
    text-align: center;
}

.btn--hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: white;
    color: #5a67d8;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.landing-handwerker {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.landing-handwerker a {
    color: #fcd34d;
    font-weight: 600;
    text-decoration: underline;
}

.landing-handwerker a:hover {
    color: white;
}

@media (min-width: 768px) {
    .landing-cards {
        flex-direction: row;
        gap: 1.5rem;
        align-items: stretch;
    }
    .landing-card {
        flex: 1;
        min-width: 0;
    }
    .landing-card--primary {
        flex: 1.1;
    }
    .landing-how {
        padding: 2rem;
    }
    .landing-steps {
        margin-bottom: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .landing-choice-label {
        font-size: 1.2rem;
    }
    .landing-card {
        padding: 2rem;
    }
    .landing-card-title {
        font-size: 1.5rem;
    }
    .landing-card-desc {
        font-size: 1rem;
    }
}

/* Tunnel Buttons - Mobile First (für andere Seiten / Fallback) */
.tunnel-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;

}

.tunnel-button {
    position: relative;
    width: 100%;
    height: 120px;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    display: block;
    height: 200px;
    border: 2px solid transparent;
}

.tunnel-button:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.3);
}

.tunnel-button:active {
    transform: translateY(-2px) scale(1.01);
}

.tunnel-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    height: 100%;
    color: white;
    text-align: left;
    flex-direction: row;
    justify-content: flex-start;
}

.tunnel-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.tunnel-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tunnel-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.tunnel-features {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0;
}

.tunnel-features span {
    font-size: 0.8rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.3rem;
}

.tunnel-features i {
    color: #ffd700;
    width: 14px;
}

.tunnel-arrow {
    margin-left: auto;
    margin-top: 0;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tunnel-button:hover .tunnel-arrow {
    transform: translateX(10px);
    opacity: 1;
}

/* Landing Footer */
.landing-footer {
    margin-top: 2rem;
    display: block;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.95;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badges i {
    color: #fcd34d;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.back-btn:hover {
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.back-btn:active {
    transform: translateY(-50%) translateX(-2px);
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Urgent Help Section */
.urgent-help-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
    z-index: 5;
}

/* Categories Grid - Mobile First */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.category-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.category-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.category-card i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: #ffd700;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

/* Urgent Actions */
.urgent-actions {
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4a9a1f 0%, #96d4b8 100%);
}

.btn-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #4a9a1f 0%, #96d4b8 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #e63946 0%, #dc2626 100%);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.location-info {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Request Section */
.request-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem 0;
    min-height: 100vh;
}

.request-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.request-section > .container > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* Form Styles - Mobile First */
.request-form {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.request-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #2c3e50;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #f8f9fa;
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    background: white;
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #667eea;
    background: white;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.checkbox-label:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #667eea;
    cursor: pointer;
    margin-right: 0;
}

/* Photo Preview */
.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.photo-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.8rem;
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #34495e;
    opacity: 0.8;
    font-size: 0.8rem;
}

.legal-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-content {
    background-color: white;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    border-radius: 20px;
    width: 95%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Desktop: Modal-Inhalt weiter oben, scrollbar bei langen Formularen (z. B. Registrierung) */
@media (min-width: 769px) {
    .modal {
        padding: 1.5rem 1rem 2rem;
    }
    .modal-content {
        margin: 0 auto 2rem;
        max-height: calc(100vh - 3rem);
        overflow-y: auto;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

/* Modal Wechsel Login ↔ Registrieren – modern & klar */
.modal-switch {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8ecf4;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.modal-switch-text {
    color: #64748b;
    font-size: 0.95rem;
}

.modal-switch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
}

.modal-switch-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.45);
    color: white !important;
}

.modal-switch-link:active {
    transform: translateY(0);
}

.modal-switch-link i {
    font-size: 0.9em;
    opacity: 0.95;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 1.5rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sos-results {
    margin-top: 1.5rem;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    .main-title,
    .title-line {
        font-size: 3rem;
    }
    
    .title-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-steps {
        gap: 0.75rem 0.5rem;
    }
    
    .hero-step {
        font-size: 0.9rem;
    }
    
    .hero-step-num {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .tunnel-buttons {
        flex-direction: row;
        gap: 0;
        max-width: none;
        margin: 0;
        height: calc(100vh - 80px);
    }
    
    .tunnel-button {
        width: 50%;
        height: 100%;
    }
    
    .tunnel-content {
        padding: 3rem;
    }
    
    .tunnel-icon {
        font-size: 5rem;
        margin-bottom: 1.5rem;
    }
    
    .tunnel-text h2 {
        font-size: 3rem;
    }
    
    .tunnel-text p {
        font-size: 1.4rem;
    }
    
    .tunnel-features {
        flex-direction: row;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .tunnel-features span {
        font-size: 1.1rem;
    }
    
    .trust-badges {
        flex-direction: row;
        gap: 2rem;
    }
    
    .back-btn {
        position: absolute;
        transform: translateY(-50%);
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 2rem 1rem;
    }
    
    .category-card i {
        font-size: 2.5rem;
    }
    
    .request-form {
        max-width: 600px;
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .landing-section {
        padding: 3rem 0 4rem;
    }
    
    .hero-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1.25rem;
    }
    
    .main-title {
        font-size: 4rem;
    }
    
    .title-line {
        font-size: 4rem;
    }
    
    .title-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
    
    .hero-steps {
        gap: 1rem;
    }
    
    .hero-step {
        font-size: 1rem;
    }
    
    .hero-step-num {
        width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
    }
    
    .hero-step-arrow {
        font-size: 0.7rem;
    }
    
    .tunnel-button {
        height: 100%;
    }
    
    .tunnel-content {
        padding: 4rem;
    }
    
    .tunnel-icon {
        font-size: 6rem;
    }
    
    .tunnel-text h2 {
        font-size: 3.5rem;
    }
    
    .tunnel-text p {
        font-size: 1.6rem;
    }
    
    .tunnel-features span {
        font-size: 1.2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .request-form {
        max-width: 700px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

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

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tunnel Animation */
@keyframes tunnelGlow {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1.2); }
}

.tunnel-button:hover .tunnel-glow {
    animation: tunnelGlow 2s infinite;
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #667eea;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .back-btn {
        position: relative;
        transform: none;
        margin-bottom: 1.5rem;
        align-self: flex-start;
    }
    
    .section-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.tunnel-button.urgent-help {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    box-shadow: 0 15px 35px rgba(255, 65, 108, 0.4);
    color: #fff;
    text-decoration: none;
}

.tunnel-button.urgent-help:hover {
    box-shadow: 0 25px 50px rgba(255, 65, 108, 0.6);
}

.tunnel-button.general-request {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    box-shadow: 0 15px 35px rgba(86, 171, 47, 0.4);
    color: #fff;
    text-decoration: none;
}

.tunnel-button.general-request:hover {
    box-shadow: 0 25px 50px rgba(86, 171, 47, 0.6);
}

.tunnel-button .tunnel-icon,
.tunnel-button .tunnel-arrow,
.tunnel-button .tunnel-features i {
    color: #fff;
}

/* Standort-Eingabe mit Karte */
.location-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.location-input-group input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.location-input-group .btn {
    border-radius: 0;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.map-container {
    margin-top: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-search-bar {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.map-search-bar input {
    flex: 1;
    border-radius: 0.375rem;
}

.map-search-bar .btn {
    border-radius: 0.375rem;
    min-width: 50px;
}

#locationMap {
    height: 300px;
    width: 100%;
}

.map-controls {
    padding: 1rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.map-controls .btn {
    min-width: 120px;
}

/* Responsive für Standort-Eingabe */
@media (max-width: 768px) {
    .location-input-group {
        flex-direction: column;
    }
    
    .location-input-group input {
        border-radius: 0.375rem;
        margin-bottom: 0.5rem;
    }
    
    .location-input-group .btn {
        border-radius: 0.375rem;
    }
    
    .map-controls {
        flex-direction: column;
    }
    
    .map-controls .btn {
        width: 100%;
    }
}

/* Kontaktfelder für nicht eingeloggte Benutzer */
.contact-fields {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #667eea;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.contact-fields::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.contact-fields h4 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-fields p {
    color: #1976d2;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.contact-fields .form-group {
    margin-bottom: 1.5rem;
}

.contact-fields .form-group:last-child {
    margin-bottom: 0;
}

/* Handwerker Profile Styles */
.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-category {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.service-category:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.service-category h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.service-options .checkbox-label {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.status-info {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.status-badge.pending {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: white;
}

.status-badge.approved {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.status-badge.rejected {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: white;
}

.status-info small {
    color: #6c757d;
    font-style: italic;
} 