/* General Body Styles */
body {
    font-family: 'PT Serif', serif; /* Use PT Serif as the primary font */
    color: #333;
    line-height: 1.6;
    background-color: var(--background-color); /* Apply global background color */
}

/* Color Palette from User */
:root {
    --primary-dark-blue: #022c4a;     /* Dunkelblau */
    --primary-cream: #f7efd2;         /* Cremeweiss */
    --accent-orange: #e37927;         /* Akzentfarbe Orange */
    --background-color: #fffefe;      /* Hintergrundfarbe */
    --text-on-dark: #ffffff;          /* White text for dark backgrounds */
    --text-on-light: #022c4a;         /* Dark blue text for light backgrounds */
    --neutral-dark-footer: #022c4a;   /* Using dark blue for footer background */
    --success-green: #28a745;         /* Keeping green for success indicators like the checkmark */
}

/* General Link Styles */
a {
    color: var(--primary-dark-blue);
    text-decoration: none; /* Optional: removes underline */
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-orange);
    text-decoration: underline; /* Optional: adds underline on hover */
}


/* Header */
.header {
    display: flex;
    justify-content: center; /* Center the logo */
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--background-color); /* Use background color */
    border-bottom: 1px solid #ddd;
    flex-direction: column; /* Stack items vertically for centering */
}

.header .logo-img {
    width: 500px; /* Set logo width to 500px */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 1rem; /* Add some space below the logo */
}

.header .phone-info {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-dark-blue);
    text-align: center; /* Center the phone info */
}

/* Hero Section */
.hero {
    background-image: url('https://images.unsplash.com/photo-1593697821028-1596a7343649?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--text-on-dark);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 44, 74, 0.7); /* Dark Blue Overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

/* Bruch Section */
.bruch-section {
    background-color: var(--primary-cream);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.bruch-section p {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.1rem;
    color: var(--text-on-light);
}

.video-angebot-button {
    background: var(--accent-orange);
    color: var(--text-on-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(227, 121, 39, 0.4);
    display: inline-block; /* Make the link behave like a button */
}

.video-angebot-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(227, 121, 39, 0.5);
    color: var(--text-on-dark); /* Ensure text color doesn't change on hover */
    text-decoration: none;
}

#code-form-container .form-group {
    max-width: 400px;
    margin: 0 auto;
}

#code-form-container .form-control {
    text-align: center;
    font-size: 1.5rem;
    padding: 1.5rem;
    height: auto;
}

#code-form-container .btn-primary {
    background-color: var(--primary-dark-blue);
    border-color: var(--primary-dark-blue);
    font-weight: bold;
    padding: 0.75rem 2rem;
}

#code-form-container .btn-primary:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}


/* About Us & Services Section */
.content-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--background-color); /* Use background color */
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--primary-dark-blue);
}

.content-section .lead {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-on-light); /* Use dark blue for lead text */
    margin-bottom: 3rem;
}

.services-list {
    list-style: none;
    padding: 0;
    display: grid; /* Use grid for layout */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.services-list li {
    background-color: var(--primary-cream); /* Use cream for service list items */
    border: 1px solid var(--primary-dark-blue); /* Use dark blue for border */
    padding: 1rem 1.5rem 1rem 2.5rem; /* Adjust padding: top, right, bottom, left */
    border-radius: 10px; /* Slightly less rounded */
    font-size: 1rem;
    color: var(--text-on-light);
    display: flex;
    align-items: center;
    text-align: left; /* Align text to the left */
}

.services-list li::before {
    content: '✓';
    color: var(--success-green);
    font-weight: bold;
    margin-right: 0.5rem;
    min-width: 1em; /* Ensure checkmarks align */
}

/* Image Section */
.image-section {
    padding: 0; /* No padding to allow images to be full-width */
    background-color: var(--background-color);
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-text-content {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-on-light);
}

.image-text-content h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
}

.image-text-content p {
    font-size: 1.2rem;
}


/* Footer */
.footer {
    background-color: var(--neutral-dark-footer); /* Use dark blue for footer background */
    color: var(--text-on-dark);
    padding: 2rem;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

.footer a {
    color: var(--primary-cream); /* Use cream for footer links */
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent-orange); /* Use orange for footer links on hover */
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    margin: 0 10px;
}

/* UmzugsPilot Branding Section */
.umzugspilot-branding {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem; /* Spacing from the main footer */
    background-color: var(--background-color);
}

.umzugspilot-branding a {
    color: var(--text-on-light); /* Text color for "Powered by" */
    text-decoration: none;
}

.umzugspilot-branding a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.umzugspilot-branding .umzugspilot-logo {
    width: 200px;
    height: auto;
    display: block; /* Ensures it takes up full width for centering */
    margin: 0 auto 0.5rem auto; /* Center the logo and add space below */
}

.umzugspilot-branding p {
    margin: 0;
    font-size: 0.9rem;
}