/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Scheme */
    --primary-dark: #214560;
    --primary-darker: #0B2E3D;
    --secondary-dark: #385173;
    --accent-cyan: #37b9cd;
    --accent-green: #1c9747;
    --bg-light: #FAFAFA;
    --bg-lighter: #EEEEEE;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --button-hover: #36678C;
}

body {
    font-family: 'Open Sans', 'Nunito Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Typography */
h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #000000;
}

h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000000;
}

h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text-dark);
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

/* Grid System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Utility Classes - Layout */
.grid {
    display: grid;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-angebot {
    grid-template-columns: 1fr 2fr;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-between {
    justify-content: space-between;
}

.flex-start {
    align-items: flex-start;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.gap-40 {
    gap: 40px;
}

.gap-60 {
    gap: 60px;
}

.gap-80 {
    gap: 80px;
}

/* Utility Classes - Spacing */
.section-padding {
    padding: 100px 30px;
}

.section-padding-sm {
    padding: 60px 30px;
}

.section-padding-lg {
    padding: 120px 30px;
}

.content-max-width {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Utility Classes - Background */
.bg-white {
    background-color: var(--white);
}

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

.bg-lighter {
    background-color: var(--bg-lighter);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
}

.col-1 { flex: 0 0 8.333%; max-width: 8.333%; }
.col-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/*Linke*/
.dark-link-a {
    color: var(--primary-dark);
    text-decoration: none;
}

.dark-link-a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.light-link-a {
    color: var(--white);
    text-decoration: none;
}

.light-link-a:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Header and Navigation */
header {
    background-color: var(--primary-darker);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-cyan);
}

.contact-btn {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--button-hover);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 2000;
    position: relative;
}

.hamburger.active {
    position: fixed;
    right: 30px;
    top: 57px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    width: 100%;
    color: var(--white);
}

.hero.hero-home {
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgb(11, 46, 61) 22.2%, rgba(0, 0, 0, 0.05) 70.7%, rgba(11, 46, 61, 0.866) 100%),
                linear-gradient(180deg, rgba(11, 46, 61, 0.805) 10.5%, rgba(255, 255, 255, 0) 62.7%, rgba(11, 46, 61, 0.76) 93.2%);
    background-blend-mode: normal, normal;
}

.hero-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero header {
    background: transparent;
    position: relative;
    box-shadow: none;
    padding: 32px 0;
    z-index: 1500;
}

.hero .header-container {
    padding: 0;
    justify-content: space-between;
    align-items: center;
}

.hero .logo img {
    width: 100%;
    height: 92px;
    object-fit: scale-down;
    margin-top: 10px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 150px 0 100px 0;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    width: 100%;
    height: 100%;
}

.hero-home .hero-content {
    padding: 150px 0 0 0;
}

.hero-content h1 {
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 52px;
    max-width: 600px;
}

.hero-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    max-width: 600px;
    color: var(--white);
    z-index: 50;
}

/* Sections */
section {
    padding: 100px 30px;
}

section.hero {
    padding: 0;
}

.section-alt {
    background-color: var(--bg-lighter);
}

.section-centered {
    text-align: center;
}

/* Intro Section */
.intro-section .container {
    max-width: 750px;
}

.intro-section p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    line-height: 28px;
    padding-bottom: 24px;
}

/* Service Detail Sections */
.service-detail {
    padding: 80px 0;
    margin: 0;
}

.service-detail:first-of-type {
    padding-top: 100px;
}

.service-detail:last-of-type {
    padding-bottom: 100px;
}

.service-detail.section-alt {
    background-color: var(--bg-lighter);
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    gap: 60px;
}

.service-row-reverse {
    flex-direction: row-reverse;
}

.service-text {
    padding: 1px;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(50% - 30px);
    width: calc(50% - 30px);
}

.service-text h2 {
    text-align: left;
    padding: 20px 0 10px 0;
}

.service-text .btn {
    display: block;
    text-align: center;
    margin-top: 15px;
    align-self: flex-start;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 6px;
    padding: 8px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    column-gap: 4px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 28px;
}

.service-list li i {
    padding: 4px;
    color: #333;
    font-size: 6px;
    line-height: 16px;
}

.service-image {
    flex: 0 0 calc(50% - 30px);
    width: calc(50% - 30px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

/* Services Container (for angebot page) */
.services-container {
    padding: 60px 30px;
    background-color: var(--white);
}

.service-block-main {
    padding: 40px 0 0 0;
}

.service-block {
    padding: 40px 0;
    border-bottom: 1px solid var(--bg-lighter);
}

.service-block:last-child {
    border-bottom: none;
}

/* Service block h2 inherits from global h2 */

.service-block p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 26px;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--button-hover);
}

/* Problem Section - h2 inherits from global */

.problem-section p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    line-height: 28px;
    margin-bottom: 15px;
}

.problem-grid {
    margin-top: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.problem-card {
    background-color: var(--white);
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid var(--bg-lighter);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 250px;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.problem-card i {
    font-size: 40px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.problem-card p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.card {
    background-color: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid var(--bg-lighter);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

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

.card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg,
.card-icon i {
    font-size: 40px;
    color: var(--primary-dark);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Values Section - h2 inherits from global */

.values-section > .container > p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    line-height: 28px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.value-grid {
    margin-top: 40px;
}

.value-box {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-box h3 {
    font-family: 'Open Sans', sans-serif;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.value-box p {
    font-family: 'Open Sans', sans-serif;
    color: var(--white);
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    padding-bottom: 0;
}

/* Team Profiles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin: 40px 0;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.team-member .role {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.team-member ul {
    text-align: left;
    list-style: none;
    max-width: 500px;
    margin: 20px auto;
}

.team-member ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.team-member ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 40px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--bg-lighter);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-info a {
    color: var(--primary-dark);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--text-dark);
    border-top: 1px solid var(--bg-lighter);
}

.footer-top {
    padding: 40px 30px;
}

/* Footer container now uses utility classes */

.footer-logo {
    display: flex;
    align-items: start;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.footer-info {
    display: contents;
}

.footer-address,
.footer-contact {
    flex: none;
}

.footer-address h4,
.footer-contact h4 {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-address p,
.footer-contact p {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
    padding-bottom: 0;
}

.footer-contact a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-links a i {
    color: var(--text-dark);
    font-size: 24px;
}

.social-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid var(--bg-lighter);
    padding: 15px 30px;
    background-color: var(--bg-light);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    max-width: 1200px;
    color: var(--text-dark);
}

.footer-bottom-left {
    text-align: left;
}

.footer-bottom-right {
    text-align: right;
}

.footer-bottom a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-dark);
}

.footer-bottom span {
    margin: 0 5px;
    color: var(--text-dark);
}

/* GDPR Cookie Consent */
#gdpr-consent {
    position: fixed;
    /* border-radius: 0 15px 0 0; */
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-darker);
    color: var(--white);
    padding: 20px 30px;
    display: none;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

#gdpr-consent.show {
    display: flex;
    max-width: 600px;
    border-radius: 0 15px 0 0 ;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#gdpr-consent p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

#gdpr-consent p a {
    color: var(--white);
    text-decoration: underline;
}

#gdpr-consent p a:hover {
    color: var(--white);
}

.gdpr-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#gdpr-consent button {
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

#gdpr-decline {
    background-color: transparent;
    border: 2px solid var(--white);
}

#gdpr-consent button:hover {
    background-color: var(--button-hover);
}

#gdpr-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .gdpr-buttons {
        width: 100%;
    }
    
    #gdpr-consent button {
        flex: 1;
        min-width: 120px;
    }
}

/* Success Message */
.success-message {
    background-color: var(--accent-green);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Form Error States */
.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.error-message.visible {
    display: block;
}

.required {
    color: #dc3545;
}

.form-message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
}

.form-message.success {
    background-color: var(--accent-green);
    color: var(--white);
    display: block;
}

.form-message.error {
    background-color: #dc3545;
    color: var(--white);
    display: block;
}

/* Instagram Feed Section - no additional styles needed, use utilities */

/* Impressum Content Section - semantic only */
.impressum-block h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.impressum-block p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

.impressum-block a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-block a:hover {
    color: var(--primary-dark);
}

/* Datenschutz Content Section - semantic only */
.datenschutz-content {
    max-width: 900px;
    margin: 0 auto;
}

.datenschutz-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.datenschutz-content a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.datenschutz-content a:hover {
    color: var(--button-hover);
}

/* Subpage Hero */
.hero-subpage {
    height: 50vh;
    min-height: 400px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Hamburger menu at larger breakpoint to prevent overflow */
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background-color: var(--primary-darker);
        width: 100%;
        height: 100vh;
        padding: 100px 30px 30px 30px;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 1500;
        justify-content: flex-start;
    }

    nav ul.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 992px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-row,
    .service-row-reverse {
        flex-direction: column;
    }

    .service-text,
    .service-image {
        max-width: 100%;
        flex: 1 1 100%;
        width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    /* Reduce gap sizes on tablets */
    .gap-80 {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-angebot {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 60px 20px;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background-color: var(--primary-darker);
        width: 100%;
        height: 100vh;
        padding: 100px 30px 30px 30px;
        gap: 20px;
        transition: left 0.3s ease;
        align-items: center;
        justify-content: flex-start;
        z-index: 1500;
    }

    nav ul.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    h3 { font-size: 18px; }

    .hero {
        min-height: 500px;
    }

    .hero .logo img {
        width: 300px;
        height: auto;
    }

    .hero::before {
        background: linear-gradient(90deg, rgb(11, 46, 61) 42.2%, rgba(0, 0, 0, 0.35) 80.7%, rgba(11, 46, 61, 0.866) 100%),
                    linear-gradient(180deg, rgba(11, 46, 61, 0.805) 10.5%, rgba(255, 255, 255, 0) 62.7%, rgba(11, 46, 61, 0.76) 93.2%);
    }

    .hero-content {
        padding: 80px 0 60px 0;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 47px;
        max-width: 100%;
    }

    .hero-content p {
        font-size: 18px;
        max-width: 100%;
    }

    section {
        padding: 60px 20px;
    }

    .card-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .problem-card {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Reduce all gap sizes for mobile stacked content */
    .gap-80,
    .gap-60,
    .gap-40 {
        gap: 20px;
    }

    .gap-30 {
        gap: 15px;
    }

    /* Service sections full width on mobile */
    .service-row {
        padding: 0 20px;
    }

    .service-detail {
        padding: 40px 0;
    }

    /* Hero wrapper padding to match main content */
    .hero-wrapper {
        padding: 0 30px;
    }

    /* Footer bottom stack on mobile */
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        text-align: center;
    }

    #gdpr-consent {
        flex-direction: column;
        text-align: center;
    }

    #gdpr-consent p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }

    .logo img {
        height: 40px;
    }

    .hero {
        min-height: 450px;
    }

    .hero .logo img {
        width: 250px;
        height: auto;
    }

    .hero-content {
        padding: 60px 0 40px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .service-image img {
        border-radius: 15px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-box {
        padding: 40px 20px;
    }
}

/* Team Section - semantic styles only */

.team-member-block {
    margin-bottom: 80px;
}

.team-member-block:last-child {
    margin-bottom: 0;
}

.team-member-block h2 {
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.team-member-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.team-member-text {
    flex: 1;
}

.team-member-text p {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Timeline */
.timeline {
    flex: 1;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: relative;
    flex-shrink: 0;
}

.timeline-marker i {
    color: var(--primary-dark);
    font-size: 12px;
}

.timeline-line {
    position: absolute;
    left: 5px;
    top: 15px;
    width: 2px;
    height: calc(100% + 25px);
    background-color: var(--bg-lighter);
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-content p {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section h2 {
    color: var(--primary-dark);
    margin-bottom: 60px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 60px;
    border-radius: 25px 25px 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--bg-lighter);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.testimonial-card .stars {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.testimonial-card .stars i {
    color: var(--primary-dark);
    font-size: 18px;
}

.testimonial-card p {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    padding: 20px 0;
    font-style: italic;
}

/* Responsive adjustments for team and testimonials */
@media (max-width: 992px) {
    .team-member-content {
        flex-direction: column;
        gap: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 20px;
    }

    .team-member-block {
        margin-bottom: 60px;
    }

    .testimonials-section {
        padding: 60px 20px;
    }

    .testimonials-section h2 {
        margin-bottom: 40px;
    }

    .testimonial-card {
        padding: 30px;
    }
}

/* Contact Section */
.contact-content {
    grid-template-columns: 1.5fr 1fr;
}

.contact-form-container h3 {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row .full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    padding: 12px 16px;
    border: 1px solid var(--bg-lighter);
    border-radius: 5px;
    background-color: var(--white);
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
    margin-top: 10px;
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-item i {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-info-item h4 {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.contact-info-item p {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.contact-info-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--primary-dark);
}

/* Garage Service Banner */
.garage-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 780px;
    background-color: rgba(11, 46, 61, 0.85);
    padding: 18px 30px;
    border-radius: 10px;
    z-index: 999;
    box-shadow: 0 2px 15px rgba(255, 255, 255, 0.1);
    transition: opacity 0.4s ease;
    backdrop-filter: blur(6px);
}

.garage-banner.fade-out {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .garage-banner {
        bottom: 15px;
        padding: 15px 20px;
        width: 95%;
    }

    .garage-banner .container {
        flex-direction: column !important;
        text-align: center;
    }

    .garage-banner span {
        font-size: 17px !important;
        justify-content: center;
    }
}

/* Responsive adjustments for contact */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-container {
        gap: 30px;
    }
}
