/* TransAfrica Logistics - German Version CSS */

:root {
    --primary-blue: #0052CC;
    --dark-blue: #003366;
    --light-blue: #E8F0FF;
    --accent-orange: #FF8C00;
    --light-orange: #FFE5CC;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --dark-gray: #2C3E50;
    --text-gray: #555555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--white);
}

.logo i {
    color: var(--accent-orange);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 40px 20px 60px;
    text-align: center;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23dots)"/></svg>');
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-slider {
    width: 100%;
    max-width: 900px;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-container {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.truck-animation {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.truck-animation i {
    font-size: 5rem;
    color: var(--accent-orange);
    animation: truckMove 2s ease-in-out infinite;
}

@keyframes truckMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

.slide h2 {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: var(--white);
}

.slide p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: #E57D00;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #E57D00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--accent-orange);
    padding: 12px 33px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--light-orange);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* ========== QUICK OVERVIEW ========== */
.quick-overview {
    background: var(--light-gray);
    padding: 60px 20px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.overview-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 82, 204, 0.08);
    transition: all 0.3s;
    border-top: 4px solid var(--accent-orange);
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 82, 204, 0.15);
}

.overview-card i {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.overview-card h3 {
    color: var(--dark-blue);
    margin: 1rem 0;
    font-size: 1.4rem;
}

.overview-card p {
    color: var(--text-gray);
}

/* ========== SECTIONS ========== */
section {
    padding: 70px 20px;
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--dark-blue);
    font-weight: 700;
}

/* ========== DIENSTLEISTUNGEN ========== */
.dienstleistungen {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s;
    border-left: 5px solid var(--accent-orange);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 82, 204, 0.12);
    background: var(--white);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.2);
}

.service-icon i {
    font-size: 2rem;
    color: var(--accent-orange);
}

.service-card h3 {
    color: var(--dark-blue);
    margin: 1rem 0;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 0.6rem 0;
    color: var(--text-gray);
}

.service-card ul li i {
    color: var(--accent-orange);
    margin-right: 0.5rem;
    font-weight: bold;
}

/* ========== STRECKE & KARTE ========== */
.strecke-karte {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.map-card {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0, 82, 204, 0.1);
}

.map-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 82, 204, 0.2);
    border-color: var(--accent-orange);
}

.map-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.map-card h3 i {
    color: var(--accent-orange);
    margin-right: 0.5rem;
}

.location-marker {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.location-marker i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.location-marker.main {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
}

.location-marker.main i {
    color: var(--accent-orange);
}

.marker-text {
    display: flex;
    flex-direction: column;
}

.marker-text span {
    font-weight: bold;
    font-size: 1.1rem;
}

.marker-text small {
    opacity: 0.8;
}

.map-info {
    color: var(--text-gray);
    line-height: 1.8;
}

.route-description {
    background: var(--light-orange);
    padding: 1rem;
    border-left: 4px solid var(--accent-orange);
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.city-badge {
    background: var(--light-blue);
    border: 1px solid var(--primary-blue);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    font-weight: 500;
    color: var(--primary-blue);
}

.city-badge:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.05);
}

.city-badge.primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    border-color: var(--accent-orange);
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.3);
}

/* ========== PREISRECHNER ========== */
.preisrechner {
    background: var(--light-gray);
}

.rechner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.rechner-form,
.rechner-ergebnis {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 82, 204, 0.1);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid #DDD;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-group input[type="file"] {
    cursor: pointer;
    padding: 1.5rem;
    border: 2px dashed var(--accent-orange);
    background: rgba(255, 140, 0, 0.02);
}

.form-group small {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.fotos-preview {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--light-orange);
    border-left: 4px solid var(--accent-orange);
    border-radius: 8px;
}

.fotos-preview p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1rem;
}

.preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.preview-item:hover {
    transform: scale(1.08);
}

.preview-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.ergebnis-details {
    margin-top: 1.5rem;
}

.ergebnis-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #EEE;
}

.ergebnis-row.mwst {
    color: var(--accent-orange);
    font-weight: 600;
}

.ergebnis-row.gesamt {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    border: none;
}

.ergebnis-notiz {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #FFF3CD;
    border-left: 4px solid #FFC107;
    border-radius: 8px;
    color: #666;
}

.ergebnis-notiz i {
    color: #FFC107;
    margin-right: 0.5rem;
}

/* ========== WARUM UNS ========== */
.warum-uns {
    background: var(--white);
}

.gründe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.grund-card {
    background: var(--light-gray);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.grund-card:hover {
    transform: translateY(-15px);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 82, 204, 0.15);
}

.grund-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange), #FF6B35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.2);
}

.grund-icon i {
    font-size: 2.2rem;
    color: var(--white);
}

.grund-card h3 {
    color: var(--dark-blue);
    margin: 1rem 0;
    font-size: 1.3rem;
}

.grund-card p {
    color: var(--text-gray);
}

/* ========== BEWERTUNGEN ========== */
.bewertungen {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.bewertungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.bewertung-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 82, 204, 0.1);
    transition: all 0.3s;
    border-left: 5px solid var(--accent-orange);
}

.bewertung-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 82, 204, 0.2);
}

.sterne {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.bewertungstext {
    font-style: italic;
    color: var(--text-gray);
    margin: 1rem 0;
    line-height: 1.8;
}

.bewertungsautor {
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 1rem;
}

/* ========== FAQ ========== */
.faq {
    background: var(--light-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
    text-align: left;
}

.faq-question i {
    margin-left: 1rem;
    color: var(--accent-orange);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== KONTAKT ========== */
.kontakt {
    background: var(--white);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.kontakt-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid transparent;
}

.kontakt-card:hover {
    transform: translateY(-12px);
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    border-top-color: var(--accent-orange);
}

.kontakt-card i {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.kontakt-card:hover i {
    color: var(--white);
}

.kontakt-card h3 {
    color: var(--dark-blue);
    margin: 1rem 0;
    font-size: 1.2rem;
}

.kontakt-card:hover h3 {
    color: var(--white);
}

.kontakt-card p {
    margin: 0.5rem 0;
    color: var(--text-gray);
}

.kontakt-card:hover p {
    color: var(--white);
}

.kontakt-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.kontakt-card:hover a {
    color: var(--white);
}

.small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.standort-info {
    background: var(--light-orange);
    border-left: 5px solid var(--accent-orange);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
}

.standort-info h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.standort-details {
    max-width: 500px;
    margin: 0 auto;
}

.kontaktformular {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.kontaktformular h3 {
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    opacity: 0.9;
}

.footer-bottom p {
    margin: 0.3rem 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .rechner-grid {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        justify-content: center;
        font-size: 0.9rem;
        gap: 0.8rem;
    }
    
    .hero {
        padding: 30px 20px 40px;
        min-height: 500px;
    }
    
    .hero-slider {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .slider-container {
        min-height: 200px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 50px 20px;
    }
    
    .services-grid,
    .gründe-grid,
    .bewertungen-grid,
    .faq-grid,
    .kontakt-grid,
    .maps-grid,
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .truck-animation i {
        font-size: 3rem;
    }
    
    .slide h2 {
        font-size: 1.8rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .hero {
        padding: 20px 15px 30px;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .slide h2 {
        font-size: 1.3rem;
    }
    
    .slide p {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .grund-card {
        padding: 1.5rem 1rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}
