/* Global Styles */
:root {
    --primary-color: #2196F3; /* A vibrant blue for accent */
    --dark-bg: #1a1a1a;
    --light-bg: #2a2a2a;
    --text-color-light: #f8f9fa;
    --text-color-dark: #e0e0e0;
    --border-color: #444;
    --card-bg: #333;
    --accent-text-color: #4CAF50; /* Deep green for accents */
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

/* Adaptive Typography */
h1 {
    font-size: 2.5rem; /* Desktop */
}
h2 {
    font-size: 2rem; /* Desktop */
}
h3 {
    font-size: 1.75rem; /* Desktop */
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.2rem; /* Tablet */
    }
    h2 {
        font-size: 1.8rem; /* Tablet */
    }
    h3 {
        font-size: 1.5rem; /* Tablet */
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.8rem; /* Mobile */
        line-height: 1.2;
    }
    h2 {
        font-size: 1.5rem; /* Mobile */
        line-height: 1.2;
    }
    h3 {
        font-size: 1.25rem; /* Mobile */
        line-height: 1.2;
    }
    .site-name {
        font-size: 1.25rem; /* Mobile logo/site name */
    }
}

.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-text-color);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: translateX(0);
}

/* Custom Backgrounds & Colors */
.bg-dark-custom {
    background-color: var(--dark-bg) !important;
}

.bg-light-custom {
    background-color: var(--light-bg) !important;
}

.text-dark-custom {
    color: var(--text-color-dark) !important;
}

.accent-text {
    color: var(--accent-text-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-text-color);
    border-color: var(--accent-text-color);
    color: var(--text-color-light);
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary:hover {
    background-color: darken(var(--accent-text-color), 10%);
    border-color: darken(var(--accent-text-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border-color: var(--text-color-light);
    color: var(--text-color-light);
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-outline-light:hover {
    background-color: var(--text-color-light);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar {
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--text-color-light);
}
@media screen and (width < 576px) {
    .navbar-brand .site-name {
    font-size: 1rem;
    word-break: break-word;
    text-wrap-mode: wrap;
    max-width: 200px;
    }
}

.navbar-nav .nav-link {
    color: var(--text-color-light) !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-text-color) !important;
}

.offcanvas.bg-dark-custom {
    background-color: var(--dark-bg) !important;
    color: var(--text-color-light);
}

.offcanvas-header {
    border-bottom: 1px solid var(--border-color);
}

.offcanvas-title {
    color: var(--text-color-light);
}

.btn-close {
    filter: invert(1);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Adjust for fixed header */
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section h1 {
    font-weight: 700;
}

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

/* Sections */
section {
    padding: 6rem 0;
}

@media (max-width: 767px) {
    section {
        padding: 4rem 0;
    }
}

/* About Section */
.about-section img {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.service-card, .advantage-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover, .advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.service-icon, .advantage-icon {
    font-size: 3rem;
    color: var(--accent-text-color);
}

/* Bundesweit Section */
.germany-map-img {
    max-width: 80%;
    height: auto;
    filter: invert(0.9) brightness(0.8); /* Adjust for dark theme visibility */
}

/* Contact Section */
.contact-info, .contact-form {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.contact-info ul {
    padding-left: 0;
}

.contact-info ul li {
    display: flex;
    align-items: center;
}

.contact-info ul li i {
    font-size: 1.5rem;
}

.email-break {
    word-break: break-all;
}

.form-check-input:checked {
    background-color: var(--accent-text-color);
    border-color: var(--accent-text-color);
}

.form-control, .form-select {
    background-color: var(--dark-bg);
    color: var(--text-color-dark);
    border: 1px solid var(--border-color);
}

.form-control:focus, .form-select:focus {
    background-color: var(--dark-bg);
    color: var(--text-color-dark);
    border-color: var(--accent-text-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--accent-text-color), 0.25);
}

.form-label {
    color: var(--text-color-dark);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
}

footer a {
    color: var(--text-color-light) !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-text-color) !important;
}
/*
 * Base styles for the .dataTrustFrame container
 * Provides spacing from the top and sides for better content presentation.
 */
.dataTrustFrame {
    margin-top: 30px; /* Spacing above the container */
    padding-left: 20px; /* Padding on the left side */
    padding-right: 20px; /* Padding on the right side */
    padding-bottom: 20px; /* Optional: Padding at the bottom for consistency */
}

/*
 * Heading 1 (h1) styles
 * Provides a clear, yet not overly large, primary heading.
 */
.dataTrustFrame h1 {
    font-size: 2rem; /* Moderate font size for H1 */
    line-height: 1.2; /* Line height for readability */
    margin-top: 1.5em; /* Space above H1 */
    margin-bottom: 0.8em; /* Space below H1 */
    font-weight: 700; /* Bold font weight */
}

/*
 * Heading 2 (h2) styles
 * Slightly smaller than H1, for secondary sections.
 */
.dataTrustFrame h2 {
    font-size: 1.75rem; /* Moderate font size for H2 */
    line-height: 1.3;
    margin-top: 1.3em; /* Space above H2 */
    margin-bottom: 0.7em; /* Space below H2 */
    font-weight: 600; /* Semi-bold font weight */
}

/*
 * Heading 3 (h3) styles
 * For sub-sections within H2.
 */
.dataTrustFrame h3 {
    font-size: 1.5rem; /* Moderate font size for H3 */
    line-height: 1.4;
    margin-top: 1.2em; /* Space above H3 */
    margin-bottom: 0.6em; /* Space below H3 */
    font-weight: 500; /* Medium font weight */
}

/*
 * Heading 4 (h4) styles
 * For minor headings or specific elements.
 */
.dataTrustFrame h4 {
    font-size: 1.25rem; /* Moderate font size for H4 */
    line-height: 1.5;
    margin-top: 1em; /* Space above H4 */
    margin-bottom: 0.5em; /* Space below H4 */
    font-weight: 500; /* Medium font weight */
}

/*
 * Heading 5 (h5) styles
 * Smallest heading, often used for captions or very minor titles.
 */
.dataTrustFrame h5 {
    font-size: 1.1rem; /* Moderate font size for H5, slightly larger than paragraph */
    line-height: 1.6;
    margin-top: 0.8em; /* Space above H5 */
    margin-bottom: 0.4em; /* Space below H5 */
    font-weight: 500; /* Medium font weight */
}

/*
 * Paragraph (p) styles
 * Standard text formatting for paragraphs.
 */
.dataTrustFrame p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.6; /* Good line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/*
 * Unordered List (ul) styles
 * Provides basic list formatting with indentation and spacing.
 */
.dataTrustFrame ul {
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indentation for list items and bullet points */
    list-style-type: disc; /* Default bullet style */
}

/*
 * List Item (li) styles
 * Provides spacing between individual list items.
 */
.dataTrustFrame li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.5; /* Line height for readability within list items */
}
@media screen and (width < 576px) {
    .navbar-toggler {
        padding: 5px;
    }
    .dataTrustFrame h2 {
    font-size: 1.3rem;
    }
}
main {
    overflow: hidden;
}