/* Global Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Header yüksekliği kadar padding */
}

:root {
    --primary-blue: #0574BB;
    --dark-blue: #00003C;
    --white: #FFFFFF;
    --light-accent: #D2D7F5;
    --nav-bar-height: 60px;
    --content-max-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-blue);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Header Styles */
.header {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-bar {
    height: 120px;
    display: flex;
    align-items: center;
    max-width: var(--content-max-width);
    width: 100%;
    margin: 0 auto;
    justify-content: space-between;
}

.logo-wrapper {
    position: relative;
    margin-left: 70px;
}

.firma-logo-main {
    height: 200px;
    position: absolute;
    left: -190px;
    top: 55%;
    transform: translateY(-50%);
}

.logo-container {
    background-color: var(--primary-blue);
    padding: 3rem 1rem 1rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.logo-container:hover {
    background-color: #00003C;
}

.logo-text {
    color: var(--white);
    font-weight: bold;
    font-size: 2.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
    align-items: center;
}

.logo-text:hover {
    color: var(--white);
}


.logo-text-bottom {
    font-size: 1.8rem;
    font-weight: normal;
}

.top-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding-right: 3rem;
    margin-left: -4rem;
    position: relative;
}

.tuev-nord-logo {
    max-height: 70px;
    position: absolute;
    right: -140px;
    top: -25px;
    z-index: 2;
    margin: 0;
}

.partner-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.tuev-logo {
    height: 70px;
}

.tuev-rheinland-logo {
    height: 100px;
    position: absolute;
    right: -50px;
    top: -50px;
    margin: 0;
    z-index: 2;
    object-fit: contain;
    transform: scale(4);
}

.kontakt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 0.5rem;
    margin-right: 2rem;
}

.kontakt-icon:hover {
    background-color: var(--dark-blue);
    transform: scale(1.1);
}

.kontakt-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.contact-info-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    line-height: 1.3;
    text-align: center;
}

.contact-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1.3;
    text-align: center;
    margin-left: -15rem;
}

.contact-phone,
.contact-email {
    color: #0574BB;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
}

.contact-phone {
    font-size: 1.8rem;
}

.contact-email {
    font-size: 1.4rem;
}

.tuev-nord-bottom {
    background-color: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
}

.tuev-nord-bottom-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.tuev-nord-bottom-logo {
    height: 80px;
    width: auto;
}

.contact-phone:hover,
.contact-email:hover {
    color: #00003C;
    transform: scale(1.05);
}

/* About Section Styles */
.about-section {
    background-color: #FFFFFF;
    padding: 4rem 0;
    width: 100%;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-text {
    flex: 1;
}

.about-title {
    color: #00003C;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.about-paragraph {
    color: #00003C;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-paragraph strong {
    color: #0574BB;
    font-weight: 600;
}

.about-paragraph em {
    color: #0574BB;
    font-style: italic;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.portrait-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Responsive Design */
.about-content {
    flex-direction: row;
    align-items: flex-start;
}

.about-text {
    padding-right: 2rem;
}

.about-title {
    font-size: 2.5rem;
}

.about-paragraph {
    font-size: 1.1rem;
}

/* Footer Styles */
.footer {
    background-color: #00003C;
    color: #FFFFFF;
    padding: 3rem 0 1rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D2D7F5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #D2D7F5;
}

/* Responsive Footer */
.footer-section {
    flex-direction: row;
    justify-content: space-between;
}

.footer-column {
    flex: 0 1 45%;
}

.footer-title {
    font-size: 1.3rem;
}

.footer-links a {
    font-size: 1rem;
}

/* Unfall Info Section Styles */
.unfall-info-section {
    background-color: #FFFFFF;
    padding: 4rem 0;
    color: #00003C;
}

.unfall-info-header {
    background-color: #ffffff;
    padding: 0rem 0;
    margin: 0 -15px 3rem -15px;
    border-radius: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    width: calc(100% + 30px);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    min-height: 50px;
}

.unfall-info-header:hover {
    background-color: #00003C;
    box-shadow: 0 8px 25px rgba(0, 0, 60, 0.25);
}



.unfall-info-header:hover h2 {
    color: #FFFFFF;
}

.unfall-info-header h2 {
    text-align: center;
    color: #00003C;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0.2rem 0 0.2rem 0;
    transition: color 0.3s ease;
}

.unfall-info-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    color: #00003C;
}

.unfall-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.unfall-info-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.unfall-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.unfall-info-card:nth-child(1) {
    background-image: url('images/warndreieck.jpg');
}

.unfall-info-card:nth-child(2) {
    background-image: url('images/unfallbericht.jpg');
}

.unfall-info-card:nth-child(3) {
    background-image: url('images/marketing.png');
}

.unfall-info-card:hover {
    border-color: #0574BB;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.unfall-info-icon {
    width: 80px;
    height: 80px;
    background-color: #0574BB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 2;
}

.unfall-info-icon i {
    font-size: 2rem;
    color: #FFFFFF;
}

.unfall-info-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
    background-color: rgba(5, 116, 187, 0.8);
    padding: 0.5rem 1rem;
    display: inline-block;
    border-radius: 4px;
}

.unfall-info-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-align: left;
    position: relative;
    z-index: 2;
    background-color: rgba(5, 116, 187, 0.8);
    padding: 1rem;
    border-radius: 4px;
}

/* Style bullet points in unfall-info-cards */
.unfall-info-card p {
    /* Make bullet points dark-blue */
}

.unfall-info-card p::first-letter {
    color: var(--dark-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.unfall-info-button {
    display: inline-block;
    background-color: #0574BB;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.unfall-info-button:hover {
    background-color: #00003C;
    color: #FFFFFF;
    transform: scale(1.05);
}

/* Responsive Design for Unfall Info Section */
.unfall-info-cards {
    flex-direction: row;
    gap: 2rem;
}

.unfall-info-card {
    flex: 1;
}

.unfall-info-intro {
    font-size: 1.2rem;
}

.nav-wrapper {
    /* background-color: var(--dark-blue); */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: var(--content-max-width);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: var(--nav-bar-height);
}

/* Hamburger Menu - Default Hidden */
.hamburger-menu {
    display: none;
}

.main-nav {
    display: flex;
    width: 100%;
    padding: 0;
    height: 100%;
    justify-content: center;
}

.nav-list {
    background-color: var(--primary-blue);
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-item {
    display: flex;
    height: 100%;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 100%;
    transition: background-color 0.2s ease;
    font-size: 1.2rem;
}

.nav-link:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    font-weight: bold;
}

.nav-link.active {
    color: var(--white);
}

.hero-section,
.hero-slider,
.hero-slide {
    height: 510px;
    width: 100%;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background-color: var(--dark-blue);
}

.hero-section-main {
    margin-top: -60px; /* Pull up behind nav-wrapper - only for main page */
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    will-change: opacity;
    transform: translateZ(0);
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue);
    opacity: 0.4;
    z-index: 2;
}

/* Sadece informationen sayfası için daha şeffaf overlay */
.informationen-page .hero-overlay {
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    padding: 2rem;
    color: var(--white);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.hero-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    color: var(--white);
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-button-wrapper {
    position: relative;
    height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease, font-size 0.3s ease, transform 0.3s cubic-bezier(0.4,1.4,0.4,1);
    border-radius: 0;
    font-size: 1rem;
}

.hero-button:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: scale(1.08);
    font-size: 1.08rem;
}

.hero-tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tip .tip-icon {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    margin-top: -0.5rem;
}

.hero-tip .tip-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.hero-tip .tip-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--white);
    margin: 0;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

/* Leistungen.html: Unfallgutachten bölümü üst boşluğunu azaltmak için */
.main-content {
    padding-bottom: 0 !important;
}

.leistungen-unfallgutachten-container {
    margin-top: 0 !important;
}

/* Leistungen.html: LKW-Gutachten bölümü üst boşluğunu artırmak için */
.leistungen-lkw-container {
    margin-top: 5rem !important;
}

/* Leistungen.html: Elektroauto-Gutachten bölümü üst boşluğunu artırmak için */
.leistungen-elektro-container {
    margin-top: 5rem !important;
}

/* Leistungen.html: Oldtimer-Gutachten bölümü üst boşluğunu artırmak için */
.leistungen-oldtimer-container {
    margin-top: 5rem !important;
}

/* Leistungen.html: Weitere Gutachten bölümü üst boşluğunu artırmak için */
.leistungen-weitere-container {
    margin-top: 5rem !important;
}








/* Service Cards */
.service-card {
    background-color: var(--white);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Info Boxes */
.info-box {
    background-color: var(--white);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.info-box h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0;
}

.form-control {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 0;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

/* Contact Info */
.contact-info {
    background-color: var(--white);
    padding: 2rem;
    height: 100%;
    border-radius: 0;
}

/* Warum Section */
#warum-section {
    background-color: #FFFFFF;
    padding-top: 1rem;
    padding-bottom: 4rem;
}

.warum-title {
    color: #00003C;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.warum-subtitle {
    color: #0574BB;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.warum-header-box:hover .warum-title {
    color: #FFFFFF;
}

.warum-header-box:hover .warum-subtitle {
    color: #FFFFFF;
}

.warum-header-box {
    background-color: #fff;
    padding: 0.2em 0.7em;
    margin: 0 0 1em 0;
    border-radius: 0;
    box-shadow: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.warum-header-box.text-center {
    text-align: center;
    width: 100%;
}

.warum-header-box:hover {
    background-color: #00003C;
    box-shadow: none;
}

.warum-title, .warum-subtitle {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

/* Gutachten Overview Section */
.gutachten-overview {
    padding: 3rem 1rem;
    background-color: #ffffff;
}

.gutachten-overview h2 {
    text-align: center;
    color: #00003C;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.gutachten-overview-header {
    background-color: #ffffff;
    padding: 0rem 0;
    margin: 0 -15px 3rem -15px;
    border-radius: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    width: calc(100% + 30px);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.gutachten-overview-header:hover {
    background-color: #00003C;
    box-shadow: 0 8px 25px rgba(0, 0, 60, 0.25);
}

.gutachten-overview-header:hover h2 {
    color: #FFFFFF;
}

.gutachten-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gutachten-card:first-child {
    grid-row: span 2;
    min-height: 400px;
}

.gutachten-card:nth-child(2),
.gutachten-card:nth-child(3) {
    grid-row: span 2;
    min-height: 400px;
}

.gutachten-card {
    background-color: #D2D7F5;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #00003C;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.gutachten-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: #0574BB;
    text-decoration: none;
}

.gutachten-card {
    background-color: #D2D7F5;
    border-radius: 0;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #00003C;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gutachten-card img {
    display: none;
}

/* Her kutuya arka plan resmi ekleme */
.gutachten-card:nth-child(1) {
    background-image: url('images/Unfallgutachten.jpg');
}

.gutachten-card:nth-child(2) {
    background-image: url('images/Schadengutachten.jpg');
}

.gutachten-card:nth-child(3) {
    background-image: url('images/elektroauto-gutachten.jpg');
}

.gutachten-card:nth-child(4) {
    background-image: url('images/lkw-gutachten.jpg');
    background-position: center 80%;
}

.gutachten-card:nth-child(5) {
    background-image: url('images/motorrad-gutachten.png');
}

.gutachten-card:nth-child(6) {
    background-image: url('images/wohnmobil-gutachten.png');
}

.gutachten-card:nth-child(7) {
    background-image: url('images/kostenvoranschlag.jpg');
}

.gutachten-card:nth-child(8) {
    background-image: url('images/oldtimer.jpg');
}

.gutachten-card:nth-child(9) {
    background-image: url('images/hauptuntersuchung.png');
}

/* Tüm kutulara sağ tarafta koyu mavi bölme ekleme */
.gutachten-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(0, 0, 60, 0.7);
    z-index: 1;
    clip-path: polygon(60% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.gutachten-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    color: #FFFFFF;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
    text-align: right;
    max-width: 80%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    hyphens: auto;
}

.gutachten-card h3::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    right: 0;
    width: 100%;
    height: 3px;
    background-color: #0574BB;
}



.warum-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.warum-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #00003C;
    z-index: 1;
}

.warum-card {
    background-color: #FFFFFF;
    box-shadow: 0 12px 40px rgba(0, 0, 60, 0.35);
    border-radius: 0;
    padding: 1.25rem 0.4rem 1.25rem 0.75rem;
    margin: 0 auto 2rem auto;
    height: auto;
    display: block;
    width: 600px;
    max-width: 100%;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.warum-card:nth-child(odd) {
    align-self: flex-start;
    margin-right: auto;
    margin-left: 50px;
}

/* Sadece 1. kutunun sağ tarafına ikon */
.warum-card:nth-child(1)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -240px;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    background-image: url('images/brain-small.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,60,0.10);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.warum-card:nth-child(1).active-icon::after {
    opacity: 1;
}

/* Sadece 2. kutunun sol tarafına ikon */
.warum-card:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -240px;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    background-image: url('images/brain-medium.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,60,0.10);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.warum-card:nth-child(2).active-icon::after {
    opacity: 1;
}

/* Sadece 3. kutunun sağ tarafına ikon */
.warum-card:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -240px;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    background-image: url('images/brain-large.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,60,0.10);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.warum-card:nth-child(3).active-icon::after {
    opacity: 1;
}

/* Sadece 4. kutunun sol tarafına ikon */
.warum-card:nth-child(4)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -240px;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    background-image: url('images/enlightened-head.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,60,0.10);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.warum-card:nth-child(4).active-icon::after {
    opacity: 1;
}

.warum-card:nth-child(even) {
    align-self: flex-end;
    margin-left: auto;
    margin-right: 50px;
}

.warum-card-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.warum-card:nth-child(odd) .warum-card-content {
    flex-direction: row;
}

.warum-card:nth-child(even) .warum-card-content {
    flex-direction: row-reverse;
}

.warum-icon-block {
    flex-shrink: 0;
}

.warum-icon-circle {
    width: 88px;
    height: 88px;
    background-color: #F3F5FB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0574BB;
    font-size: 2rem;
    border: 2.5px solid #00003C;
}

.warum-icon-circle img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.warum-text-block {
    flex: 1;
}

.warum-text-block h3 {
    font-size: 1.5rem;
    color: #00003C;
    font-weight: 600;
    margin-bottom: 1rem;
}

.warum-text-block p {
    color: #00003C;
    font-size: 1rem;
    max-width: 500px;
    margin: 0;
    line-height: 1.6;
}

.warum-diagonal-line-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3.5rem auto;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 80px;
}
.warum-diagonal-line {
    width: 100%;
    max-width: 1000px;
    height: 350px;
    display: block;
}




/* Old mobile styles removed - replaced with enhanced mobile design above */ 

/* Information Sections Styles */
.info-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.info-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-image {
    flex: 0 0 400px;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-text {
    flex: 1;
}

.info-main-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.info-tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.tip-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--dark-blue);
    margin: 0;
    font-style: italic;
}



/* Information Block Styles */
.info-block {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.info-block-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-block-text {
    flex: 1;
}

.info-block-image {
    flex: 0 0 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-block-image img {
    width: 100%;
    max-width: 600px;
    height: 550px;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.info-block-title {
    color: var(--dark-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-block-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.info-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--dark-blue);
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.info-tip-box {
    padding: 1.5rem 0;
    border-left: 4px solid var(--primary-blue);
    margin-top: 1.5rem;
    padding-left: 1.5rem;
}

.info-tip-box p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--dark-blue);
    font-style: italic;
}

.info-block-conclusion {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dark-blue);
    margin-top: 1.5rem;
    font-weight: 500;
    font-style: italic;
}



/* Rechte Box Grid */
.rights-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2.5rem;
    margin: 3rem 0 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.right-box {
    background: #00003C;
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    padding: 2rem 2rem 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,60,0.08);
    min-height: 180px;
    position: relative;
    gap: 1.5rem;
}

.right-icon {
    display: flex;
    align-items: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.right-icon-circle {
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,60,0.10);
}

.right-icon-check {
    color: #00003C;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-box-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    font-weight: 400;
}

.right-box-text-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #fff;
}

.right-box-text span {
    display: block;
    font-size: 1.02rem;
    margin-top: 0.7rem;
    color: #fff;
    font-weight: 300;
}


.rights-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2.5rem;
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
}

.right-extra-item {
    display: flex;
    align-items: center;
    background: #00003C;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 500;
    border: 1.5px solid #e0e3ee;
    border-radius: 0;
    padding: 1.1rem 1.2rem 1.1rem 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,60,0.04);
    min-height: 56px;
    margin-bottom: 0;
    gap: 1.1rem;
}

.right-extra-item .right-icon {
    margin-right: 1.1rem;
}

.right-extra-item .right-icon-circle {
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 0;
    border: 1.5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.right-extra-item .right-icon-check {
    color: #00003C;
    font-size: 1.1rem;
    font-weight: bold;
}


.gutachten-support-img-container {
    position: relative;
    max-width: 1200px;
    margin: 1.5rem auto 2rem auto;
}

.overlay-right-half {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,60,0.4);
    pointer-events: none;
    z-index: 2;
    clip-path: polygon(45% 0%, 100% 0%, 100% 100%, 20% 100%);
} 

.support-list-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 500;
    text-align: left;
    width: 60%;
    max-width: 600px;
    margin-left: 8rem;
}

.support-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.1rem;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.45), 0 1.5px 4px rgba(0,0,0,0.25);
    white-space: nowrap;
}

.support-checkmark {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1.1rem;
    font-weight: bold;
    flex-shrink: 0;
} 

.support-list li:nth-child(1) { margin-left: 6rem; }
.support-list li:nth-child(2) { margin-left: 4.5rem; }
.support-list li:nth-child(3) { margin-left: 3rem; }
.support-list li:nth-child(4) { margin-left: 1.5rem; }
.support-list li:nth-child(5) { margin-left: 0; } 

.checklist-section {
    background: #fff;
    margin-top: 3rem;
}

.checklist-box {
    background: #fff;
    border: 5px solid #00003C;
    border-radius: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0,30,210,0.07);
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.checklist-hint {
    color: #00003C;
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.checklist-download-btn {
    background: #00003C;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 0;
    padding: 0.85rem 2.2rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0,30,210,0.08);
    transition: box-shadow 0.2s;
    outline: none;
    display: inline-block;
}

.checklist-download-btn:hover, .checklist-download-btn:focus {
    background: #00003C;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,30,210,0.13);
    text-decoration: none;
}


.faq-section .accordion,
.faq-section .accordion-item {
    border-radius: 0 !important;
} 

.faq-section .accordion-header {
    border-radius: 0 !important;
    overflow: hidden;
}
.faq-section .accordion-button {
    background: #00003C;
    color: #fff;
    border-radius: 0 !important;
    font-weight: 600;
    font-size: 1.08rem;
}
.faq-section .accordion-button:not(.collapsed) {
    background: #00003C;
    color: #fff;
    box-shadow: none;
}
.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.15rem #0574BB;
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
} 

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: #fff;
    border: none;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
    box-shadow: none;
}
.hero-arrow:hover, .hero-arrow:focus {
    opacity: 1;
    outline: none;
}
.hero-arrow-left {
    left: 24px;
}
.hero-arrow-right {
    right: 24px;
}

.hero-hover-overlay {
    position: absolute;
    top: 0;
    width: 28%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.25s;
}
.hero-hover-left {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,60,0.22) 0%, rgba(0,0,60,0.08) 80%, transparent 100%);
}
.hero-hover-right {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,60,0.22) 0%, rgba(0,0,60,0.08) 80%, transparent 100%);
}
.hero-arrow-left:hover + .hero-hover-left,
.hero-arrow-left:focus + .hero-hover-left {
    opacity: 1;
}
.hero-arrow-right:hover + .hero-hover-right,
.hero-arrow-right:focus + .hero-hover-right {
    opacity: 1;
} 

.hero-arrow-container:hover .hero-hover-overlay,
.hero-arrow-container:focus-within .hero-hover-overlay {
    opacity: 1;
}

/* Partner Section Styles */
.partner-section {
    background-color: #0574BB;
    padding: 4rem 0;
    margin-bottom: 2rem;
    color: white;
    overflow: hidden;
}

.partner-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-align: center;
}

.partner-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partner-slider {
    position: relative;
    overflow: hidden;
    height: 120px;
    margin: 0 auto;
}

.partner-track {
    display: flex;
    animation: slidePartners 30s linear infinite;
    width: fit-content;
}

.partner-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.partner-logo:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.partner-img {
    max-width: 90%;
    max-height: 75px;
    filter: grayscale(30%) brightness(0.9);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.partner-logo:hover .partner-img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@keyframes slidePartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



/* Contact Page Styles */
.contact-header {
    padding: 3rem 0 2rem 0;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0574BB;
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: #0574BB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 1.5rem;
}

.contact-card h3 {
    color: #0574BB;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-card p strong {
    color: #00003C;
    font-weight: 600;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.form-title {
    color: #0574BB;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form .form-label {
    color: #00003C;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #0574BB;
    box-shadow: 0 0 0 0.2rem rgba(5, 116, 187, 0.25);
    outline: none;
}

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

.contact-submit-btn {
    background: #0574BB;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-submit-btn:hover {
    background: #00003C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 30, 210, 0.3);
}

.contact-submit-btn i {
    margin-right: 0.5rem;
}

.privacy-notice {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1.5rem;
    text-align: center;
}

.privacy-link {
    color: #0574BB;
    text-decoration: none;
    font-weight: 600;
}

.privacy-link:hover {
    text-decoration: underline;
}

.map-container {
    background: white;
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    height: 100%;
}

.map-title {
    color: #0574BB;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.map-info {
    color: #666;
    text-align: center;
    margin: 0;
    font-size: 1rem;
}

.map-info i {
    color: #0574BB;
    margin-right: 0.5rem;
}



/* Impressum Page Styles */
.impressum-section {
    padding: 3rem 0;
    background-color: white;
    min-height: 60vh;
}

.impressum-content {
    background: white;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.impressum-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

/* AGB Title Line Styling */
.impressum-title .title-line-1,
.impressum-title .title-line-2,
.impressum-title .title-line-3 {
    display: block;
}

.impressum-section-block {
    margin-bottom: 2.5rem;
}

.impressum-section-block h2 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.impressum-info {
    padding: 0;
}

.impressum-info p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #333;
}

.impressum-info p:last-child {
    margin-bottom: 0;
}

.impressum-info strong {
    color: #333;
    font-weight: 600;
}



/* Download Section Styles */
.download-section {
    background: #fff;
    margin-top: 3rem;
}

.checklist-section {
    background: #fff;
    margin-top: 3rem;
}

.unfallbericht-box {
    background: #fff;
    border: 5px solid #00003C;
    border-radius: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0,30,210,0.07);
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.unfallbericht-hint {
    color: #00003C;
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.unfallbericht-download-btn {
    background: #00003C;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 0;
    padding: 0.85rem 2.2rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0,30,210,0.08);
    transition: box-shadow 0.2s;
    outline: none;
    display: inline-block;
}

.unfallbericht-download-btn:hover, .unfallbericht-download-btn:focus {
    background: #00003C;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,30,210,0.13);
    text-decoration: none;
}


/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 0;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--white);
}

.modal-icon.success {
    background-color: #28a745;
}

.modal-icon.error {
    background-color: #dc3545;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.modal-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.modal-button:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    text-decoration: none;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ======================================== */

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
}

/* Make all images responsive by default */
img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   TABLETS / SMALL LAPTOPS (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    /* Header adjustments */
    .top-bar {
        height: 100px;
        padding: 0 1rem;
    }
    
    .logo-wrapper {
        margin-left: 50px;
    }
    
    .logo-container {
        margin-left: 80px; /* Daha fazla sağa taşı */
    }
    
    .firma-logo-main {
        height: 160px;
        left: -70px; /* Daha fazla sağa taşı */
    }
    
    .logo-text {
        font-size: 2.2rem;
    }
    
    .logo-text-bottom {
        font-size: 1.6rem;
    }
    
    .contact-center {
        margin-left: -10rem;
    }
    
    .contact-phone {
        font-size: 1.6rem;
    }
    
    .contact-email {
        font-size: 1.2rem;
    }
    
    .tuev-rheinland-logo {
        height: 80px;
        right: -40px;
        top: -40px;
        transform: scale(3.2);
    }
    
    
    .top-right {
        right: 80px;
    }
    
    .partner-logos {
        margin-left: -30px; 
    }
       /* Info-block - 1024px (sadece 769px-1024px arası) */
       @media (min-width: 769px) and (max-width: 1024px) {
        .info-block-image {
            flex: 0 0 350px; 
        }
        
        .info-block-image img {
            max-width: 350px;
            height: 300px; 
        }
    }
 
    
    /* Gutachten support - 1024px */
    .gutachten-support-text {
        font-size: 1.2rem 
    }
    
    .support-list {
        font-size: 1rem 
    }
    
    /* Hero section */
    .hero-section,
    .hero-slider,
    .hero-slide {
        height: 450px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    /* Warum cards */
    .warum-card {
        width: 550px;
    }
    
    .warum-card:nth-child(odd) {
        margin-left: 40px;
    }
    
    .warum-card:nth-child(even) {
        margin-right: 40px;
    }
    
    /* Gutachten grid */
    .gutachten-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto auto;
    }
    
    .gutachten-card:first-child {
        grid-row: span 1;
        min-height: 200px;
    }
    
    .gutachten-card:nth-child(2),
    .gutachten-card:nth-child(3) {
        grid-row: span 1;
        min-height: 200px;
    }
    
    /* Unfall info cards */
    .unfall-info-cards {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .unfall-info-card {
        flex: none;
    }
    
    /* Footer */
    .footer-section {
        flex-direction: row;
        gap: 2rem;
        justify-content: space-between;
    }
    
    .footer-column {
        flex: 0 1 45%;
    }
    
    /* Hide floating icons on tablets */
    .warum-card::after {
        display: none !important;
    }
}

/* ========================================
   LARGE PHONES / SMALL TABLETS (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    /* Header adjustments */
    .top-bar {
        height: 80px;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .logo-wrapper {
        margin-left: 0;
        order: 1;
    }
    
    .logo-container {
        margin-left: -140px;
        margin-top: -40px;
    }
    
    .firma-logo-main {
        height: 120px;
        left: -260px;
        top: 53%;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-text-bottom {
        font-size: 1.4rem;
    }
    
    .contact-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-left: 280px;
        margin-top: -450px;
        order: 2;
        font-size: 0.5rem;
    }
    
    .contact-phone {
        font-size: 0.9rem;
    }
    
    .contact-email {
        font-size: 0.7rem;
    }
    
    .top-right {
        position: absolute;
        top: 51px;
        right: 100px;
        display: flex;
        order: 3;
        padding-right: 1rem;
        margin-left: 0;
    }
    
    .tuev-rheinland-logo {
        height: 80px;
        right: -55px;
        top: -40px;
        transform: scale(5.5);
    }
    
    /* Navigation */
    .nav-container {
        padding: 0rem 0.5rem;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 0 0.5rem;
        font-size: 0.9rem;
    }
    
    /* Hero section */
    .hero-section,
    .hero-slider,
    .hero-slide {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    /* Hero arrows - 768px */
    .hero-arrow-left {
        left: 5px;
    }
    
    .hero-arrow-right {
        right: 5px;
    }
    
    /* Warum section */
    .warum-title {
        font-size: 2rem;
    }
    
    .warum-subtitle {
        font-size: 1.3rem;
    }
    
    .warum-cards::before {
        display: none; /* Hide center line on mobile */
    }
    
    .warum-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 1.5rem auto;
    }
    
    .warum-card:nth-child(odd),
    .warum-card:nth-child(even) {
        margin-left: auto;
        margin-right: auto;
    }
    
    .warum-card-content {
        flex-direction: column !important;
        gap: 1rem;
        text-align: center;
    }
    
    /* Tüm kartlarda text önce, icon sonra */
    .warum-card:nth-child(1) .warum-icon-block,
    .warum-card:nth-child(2) .warum-icon-block,
    .warum-card:nth-child(3) .warum-icon-block,
    .warum-card:nth-child(4) .warum-icon-block {
        order: 2 !important;
    }
    
    .warum-card:nth-child(1) .warum-text-block,
    .warum-card:nth-child(2) .warum-text-block,
    .warum-card:nth-child(3) .warum-text-block,
    .warum-card:nth-child(4) .warum-text-block {
        order: 1 !important;
    }
    
    .warum-text-block p {
        max-width: none;
    }
    
    /* Hide floating icons on mobile */
    .warum-card::after {
        display: none !important;
    }
    
    /* Info-block redesign for 768px - image as background with overlay text */
    .info-block {
        position: relative;
        margin-bottom: 2.5rem;
        padding: 0;
        border-radius: 1rem;
        overflow: hidden;
    }
    
    .info-block-content {
        position: relative;
        display: block;
        gap: 0;
        max-width: 100%;
        margin: 0;
    }
    
    .info-block-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
    
    .info-block-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
    }
    
    .info-block-text {
        position: relative;
        z-index: 2;
        background: rgba(255, 255, 255, 0.7);
        padding: 2.5rem 2rem;
        margin: 0;
        border-radius: 1rem;
    }
    
    .info-block-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
        color: var(--dark-blue);
    }
    
    .info-block-intro {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
        color: var(--dark-blue);
    }
    
    .info-list {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .info-block-conclusion {
        font-size: 1.1rem;
        margin-top: 1.2rem;
        color: var(--dark-blue);
    }
    
    /* Gutachten grid */
    .gutachten-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gutachten-card {
        min-height: 180px;
    }
    
    .gutachten-card h3 {
        font-size: 1.1rem;
        bottom: 0.8rem;
        right: 0.8rem;
    }
    
    /* Gutachten support section - 768px */
    .gutachten-support-img-container {
        position: relative;
        margin: 1.5rem auto 2.5rem auto;
        border-radius: 1rem;
        overflow: hidden;
        min-height: 400px;
    }
    
    .gutachten-support-img {
        width: 100%;
        height: 100%;
        min-height: 400px;
        display: block;
        border-radius: 0;
        opacity: 0.6; /* Resmi saydam yap */
    }
    
    .gutachten-support-text {
        position: absolute;
        top: 50%;
        left: 1rem; /* Daha sola kaydır */
        transform: translateY(-50%);
        color: #fff;
        font-size: 0.85rem; /* Boyutu daha da küçült */
        font-weight: 500;
        text-align: left;
        width: 55%; /* Genişliği daha da azalt */
        max-width: 450px; /* Maksimum genişliği azalt */
        margin-left: 0; /* Sol margin sıfırla */
        background: rgba(0, 0, 60, 0.4); /* Arka planı daha koyu yap */
        padding: 1.2rem;
        border-radius: 0.5rem;
    }
    
    .support-list {
        font-size: 0.8rem; /* Liste boyutunu daha da küçült */
        margin-top: 1rem;
    }
    
    .support-list li {
        margin-bottom: 0.5rem;
    }
    
    /* Rights box grid - 768px */
    .rights-box-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin: 2rem 0;
        max-width: 100%;
    }
    
    .rights-extra-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin: 2rem 0;
        max-width: 100%;
    }
    
    .right-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        background-color: var(--dark-blue);
        border-radius: 0;
        box-shadow: 0 8px 25px rgba(0, 0, 60, 0.15);
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .right-box-icon {
        order: 1; /* Tik işaretini üste al */
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .right-box-content {
        order: 2; /* Yazıları alta al */
        text-align: center;
    }
    
    .right-box h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        color: var(--white);
    }
    
    .right-box p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: var(--white);
    }
    
    /* Partner logos - 768px */
    .partner-logo {
        width: 150px;
        height: 80px;
        margin: 0 1rem;
    }
    
    .partner-img {
        max-width: 85%;
        max-height: 60px;
    }
    
    .partner-slider {
        height: 100px;
    }
    
    /* Leistungen page - row h-100 redesign for 768px only */
    @media (min-width: 601px) and (max-width: 768px) {
        .unfallgutachten-section {
            background: var(--dark-blue) !important;
            height: 200px !important;
            min-height: 200px !important;
            position: relative;
            overflow: hidden;
        }
        
        .unfallgutachten-section .row.h-100 {
            height: 200px !important;
            position: relative;
            z-index: 2;
        }
        
        .unfallgutachten-section .col-auto,
        .unfallgutachten-section .col {
            background: transparent !important;
            height: 200px !important;
            min-height: 200px !important;
            clip-path: none !important;
            margin: 0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            position: relative;
            z-index: 3;
        }
        
        .unfallgutachten-section .col-auto span,
        .unfallgutachten-section .col span {
            color: var(--white) !important;
            font-size: 1.7rem !important;
            font-weight: 700 !important;
            padding: 0 !important;
            text-align: center;
            background: rgba(0, 0, 60, 0.3);
            padding: 1rem 2rem !important;
            border-radius: 0.5rem;
        }
        
        .unfallgutachten-section img {
            display: none !important;
        }
    }
    
    /* Unfall info section */
    .unfall-info-header h2 {
        font-size: 2rem;
    }
    
    .unfall-info-intro {
        font-size: 1rem;
    }
    
    .unfall-info-card h3 {
        font-size: 1.2rem;
    }
    
    .unfall-info-card p {
        font-size: 0.9rem;
    }
    
    /* About section */
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-paragraph {
        font-size: 1rem;
    }
    
    /* Contact page */
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-intro {
        font-size: 1.1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    /* Footer */
    .footer-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    /* Leistungen page specific */
    .unfallgutachten-section {
        height: 80px !important;
        min-height: 80px !important;
    }
    
    .unfallgutachten-section .row {
        height: 80px !important;
    }
    
    .unfallgutachten-section .col-auto {
        height: 80px !important;
        min-height: 80px !important;
    }
    
    .unfallgutachten-section span {
        font-size: 1.5rem !important;
    }
    
    .unfallgutachten-section img {
        height: 160px !important;
    }
    
    /* AGB/Impressum Title - 768px */
    .impressum-title {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
        padding: 0 1rem !important;
    }
}


/* ========================================
   EXTRA SMALL PHONES (max-width: 600px)
   ======================================== */
@media (max-width: 600px) {
    /* Header */
    .top-bar {
        height: 180px;
        padding: 0.2rem 0.3rem;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .firma-logo-main {
        height: 160px;
        position: absolute;
        left: 40px;
        top: 40%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
    
    .logo-container {
        margin-left: 100px;
        margin-top: -30px;
        display: block;
        position: relative;
        z-index: 5;
    }
    
    .logo-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 6;
        background: transparent;
    }
    
    .logo-container:hover {
        background-color: var(--primary-blue) !important;
    }
    
    .logo-container:active {
        background-color: var(--primary-blue) !important;
    }
    
    .logo-container:focus {
        background-color: var(--primary-blue) !important;
    }
    
    .logo-text {
        font-size: 1.3rem !important;
        pointer-events: none !important;
        text-decoration: none !important;
        color: var(--white) !important;
    }
    
    .logo-text:hover {
        color: var(--white) !important;
        text-decoration: none !important;
    }
    
    .logo-text:visited {
        color: var(--white) !important;
        text-decoration: none !important;
    }
    
    .logo-text:active {
        color: var(--white) !important;
        text-decoration: none !important;
    }
    
    .logo-text:focus {
        color: var(--white) !important;
        text-decoration: none !important;
    }
    
    .logo-text-bottom {
        font-size: 1rem;
    }
    
    .contact-center {
        position: static;
        margin-left: -155px;
        margin-top: 0;
        left: auto;
        top: auto;
        transform: none;
    }
    
    .contact-phone {
        font-size: 1.1rem;
    }
    
    .contact-email {
        font-size: 0.9rem;
    }
    
    .top-right {
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 75%;
        top: 62%;
        right: auto;
        z-index: 2;
        padding-right: 0.3rem;
        margin-left: 0;
    }
    
    .tuev-rheinland-logo {
        height: 50px;
        position: absolute;
        left: 60%;
        top: 10%;
        transform: scale(30);
        z-index: 3;
    }
    
    /* Navigation */
    .nav-list {
        flex-direction: column;
        height: auto;
        background-color: var(--primary-blue);
        position: fixed;
        top: calc(1rem + 52px); /* butonun top değeri (1rem) + butonun yüksekliği (52px) */
        left: 0; /* sol kenardan başla */
        right: 0; /* sağ kenara kadar git */
        width: 100%; /* tam genişlik */
        z-index: 1000;
        display: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .nav-list.show {
        display: flex;
    }
    
    .nav-item {
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    /* Add hamburger menu button */
    .nav-container {
        position: relative;
    }
    
    /* Hero section */
    .hero-section,
    .hero-slider,
    .hero-slide {
        height: 300px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        padding: 0.8rem;
        min-height: 120px;
    }
    
    .hero-button {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Warum section */
    .warum-title {
        font-size: 1.6rem;
    }
    
    .warum-subtitle {
        font-size: 1.1rem;
    }
    
    .warum-card {
        padding: 0.8rem 0.2rem 0.8rem 0.4rem;
        margin-bottom: 0.8rem;
    }
    
    .warum-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .warum-icon-circle img {
        width: 38px;
        height: 38px;
    }
    
    .warum-text-block h3 {
        font-size: 1.2rem;
    }
    
    .warum-text-block p {
        font-size: 0.85rem;
    }
    
    /* Gutachten grid */
    .gutachten-card {
        padding: 0.8rem;
        min-height: 130px;
    }
    
    .gutachten-card h3 {
        font-size: 0.9rem;
        bottom: 0.4rem;
        right: 0.4rem;
    }
    
    /* Unfall info section */
    .unfall-info-header h2 {
        font-size: 1.6rem;
    }
    
    .unfall-info-intro {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .unfall-info-card {
        padding: 1.2rem;
    }
    
    .unfall-info-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .unfall-info-icon i {
        font-size: 1.3rem;
    }
    
    .unfall-info-card h3 {
        font-size: 1rem;
    }
    
    .unfall-info-card p {
        font-size: 0.8rem;
    }
    
    .unfall-info-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* About section */
    .about-title {
        font-size: 1.6rem;
    }
    
    .about-paragraph {
        font-size: 0.9rem;
    }
    
    .portrait-image {
        max-width: 250px;
    }
    
    /* Contact page */
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-intro {
        font-size: 0.95rem;
    }
    
    .contact-form-container {
        padding: 1.2rem;
    }
    
    .form-title {
        font-size: 1.4rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.8rem;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 0.8rem 0;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
    
    /* Leistungen page specific */
    .unfallgutachten-section {
        height: 50px !important;
        min-height: 50px !important;
    }
    
    .unfallgutachten-section .row {
        height: 50px !important;
    }
    
    .unfallgutachten-section .col-auto {
        height: 50px !important;
        min-height: 50px !important;
    }
    
    .unfallgutachten-section span {
        font-size: 1rem !important;
        padding: 0 0.6em !important;
    }
    
    .unfallgutachten-section img {
        height: 100px !important;
    }
    
    /* Container adjustments */
    .container {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
    
    /* FAQ section */
    .faq-section .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-section .accordion-body {
        font-size: 0.9rem;
    }
    
    /* Modal adjustments */
    .modal-content {
        padding: 2rem;
        max-width: 90%;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-message {
        font-size: 1rem;
    }
    
    .modal-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Hamburger Menu - Show on mobile */
    .hamburger-menu {
        display: block !important;
        position: fixed;
        right: 0rem;
        top: 1rem;
        background: none;
        border: none;
        color: var(--primary-blue);
        font-size: 2rem;
        cursor: pointer;
        z-index: 10000; /* menüden daha yüksek z-index */
        padding: 10px;
        border-radius: 10px;
    }
    
    /* Hide hero slider arrows on mobile */
    .hero-arrow-left,
    .hero-arrow-right {
        display: none !important;
    }
    
    /* Make hero slider touch/swipeable on mobile */
    .hero-slider {
        touch-action: pan-x;
        overflow: hidden;
    }
    
    .hero-slide {
        touch-action: pan-x;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    
    /* Adjust hero dots position on mobile */
    .hero-dots {
        bottom: 1rem; /* Move dots down from 2rem to 1rem */
    }
    
    /* Adjust hero tip icon on mobile */
    .hero-tip {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        margin-top: -1rem; /* Move up from 0.5rem to 0 */
    }
    
    .hero-tip .tip-icon {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .hero-tip .tip-icon img {
        width: 32px; /* Smaller icon size */
        height: 32px;
    }
    
    /* Move warum card icons below text on mobile */
    .warum-card-content {
        flex-direction: column !important; /* Force column layout */
        text-align: center;
    }
    
    .warum-card:nth-child(even) .warum-card-content {
        flex-direction: column !important; /* Force column layout for even cards too */
    }
    
    /* Reorder warum card elements on mobile - text first, icon second */
    .warum-card:nth-child(1) .warum-icon-block {
        order: 2; /* Move icon to bottom */
    }
    
    .warum-card:nth-child(1) .warum-text-block {
        order: 1; /* Move text to top */
    }
    
    .warum-card:nth-child(2) .warum-icon-block {
        order: 2; /* Move icon to bottom */
    }
    
    .warum-card:nth-child(2) .warum-text-block {
        order: 1; /* Move text to top */
    }
    
    .warum-card:nth-child(3) .warum-icon-block {
        order: 2; /* Move icon to bottom */
    }
    
    .warum-card:nth-child(3) .warum-text-block {
        order: 1; /* Move text to top */
    }
    
    .warum-card:nth-child(4) .warum-icon-block {
        order: 2; /* Move icon to bottom */
    }
    
    .warum-card:nth-child(4) .warum-text-block {
        order: 1; /* Move text to top */
    }
    
    /* Center align text in download section boxes for mobile */
    .download-section .col-lg-6 .checklist-box,
    .download-section .col-lg-6 .unfallbericht-box {
        text-align: center !important;
    }
    
    .download-section .col-lg-6 .checklist-box p,
    .download-section .col-lg-6 .unfallbericht-box p {
        text-align: center !important;
    }
    
    /* Redesign info-block for mobile - image as background with overlay text */
    .info-block {
        position: relative;
        margin-bottom: 2rem;
        padding: 0;
        border-radius: 1rem;
        overflow: hidden;
    }
    
    .info-block-content {
        position: relative;
        display: block;
        gap: 0;
        max-width: 100%;
        margin: 0;
    }
    
    .info-block-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        flex: none;
    }
    
    .info-block-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
    }
    
    .info-block-text {
        position: relative;
        z-index: 2;
        background: rgba(255, 255, 255, 0.6);
        padding: 2rem 1.5rem;
        margin: 0;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    
    .info-block-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: var(--dark-blue);
    }
    
    .info-block-intro {
        font-size: 1rem;
        margin-bottom: 1rem;
        color: var(--dark-blue);
    }
    
    .info-list {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .info-block-conclusion {
        font-size: 1rem;
        margin-top: 1rem;
        color: var(--dark-blue);
    }
    
    .info-tip-box {
        background: rgba(5, 116, 187, 0.1);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        border-left: 4px solid var(--primary-blue);
    }
    
    .info-tip-box p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--dark-blue);
    }
    
    /* Redesign rights-box-grid for mobile - vertical layout with centered content */
    .rights-box-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin: 2rem 0;
        max-width: 100%;
    }
    
    .right-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        min-height: auto;
        gap: 1rem;
    }
    
    .right-icon {
        order: 1;
        margin-bottom: 0.5rem;
    }
    
    .right-box-text {
        order: 2;
        text-align: center;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .right-box-text-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .right-box-text span {
        font-size: 0.95rem;
        margin-top: 0.5rem;
        text-align: center;
    }
    
    /* Redesign rights-extra-grid for mobile - vertical layout with centered content */
    .rights-extra-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
        margin: 1.5rem 0;
    }
    
    .right-extra-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 0.8rem;
    }
    
    .right-extra-item .right-icon {
        order: 1;
        margin-right: 0;
        margin-bottom: 0.3rem;
    }
    
    /* Hide the original text and show it after the icon using CSS */
    .right-extra-item {
        position: relative;
    }
    
    /* Hide the original text content that comes after the icon */
    .right-extra-item {
        font-size: 0;
    }
    
    .right-extra-item .right-icon {
        font-size: initial;
    }
    
    /* Show the text content after the icon using ::after pseudo-element */
    .right-extra-item::after {
        content: "An- und Abmeldekosten";
        order: 2;
        display: block;
        text-align: center;
        font-size: 1.08rem;
        font-weight: 500;
        color: #fff;
        margin-top: 0.5rem;
    }
    
    /* Specific content for each item */
    .right-extra-item:nth-child(1)::after { content: "An- und Abmeldekosten"; }
    .right-extra-item:nth-child(2)::after { content: "Abschleppkosten"; }
    .right-extra-item:nth-child(3)::after { content: "Umbaukosten (z. B. behindertengerechte Umrüstungen)"; }
    .right-extra-item:nth-child(4)::after { content: "Reparaturbestätigungskosten"; }
    .right-extra-item:nth-child(5)::after { content: "Arbeitsausfall / Verdienstausfall"; }
    .right-extra-item:nth-child(6)::after { content: "Arzt- und Behandlungskosten"; }
    .right-extra-item:nth-child(7)::after { content: "Transportkosten (z. B. Mietanhänger, Leihfahrzeug)"; }
    .right-extra-item:nth-child(8)::after { content: "Aufwandspauschalen (z. B. Telefon, Porto, Fahrtkosten)"; }
    .right-extra-item:nth-child(9)::after { content: "Entsorgungskosten"; }
    .right-extra-item:nth-child(10)::after { content: "Gerichtskosten"; }
    .right-extra-item:nth-child(11)::after { content: "Bergungskosten"; }
    
    .right-extra-item .right-icon-circle {
        width: 32px;
        height: 32px;
    }
    
    .right-extra-item .right-icon-check {
        font-size: 1.2rem;
    }
    
    /* Redesign gutachten-support-img-container for mobile - image as background with overlay text */
    .gutachten-support-img-container {
        position: relative;
        margin: 1rem auto 3rem auto;
        border-radius: 0;
        overflow: hidden;
        min-height: 500px;
    }
    
    .gutachten-support-img {
        width: 100%;
        height: 100%;
        min-height: 500px;
        display: block;
        border-radius: 0;
        object-fit: cover;
    }
    
    .support-list-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 1.5rem;
    }
    
    .support-list {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: none;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        color: var(--dark-blue);
    }
    
    .support-list li {
        margin-bottom: 1rem;
        color: var(--dark-blue);
        text-shadow: none;
        white-space: normal;
        margin-left: 0;
        font-size: 0.9rem;
        line-height: 1.5;
        display: flex;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .support-checkmark {
        color: var(--primary-blue);
        font-size: 1.1rem;
        margin-right: 0;
        flex-shrink: 0;
        margin-top: 0.1rem;
    }
    
    .overlay-right-half {
        display: none;
    }
    
    /* Redesign leistungen section bands for mobile - flat design with white text and images below */
    .unfallgutachten-section {
        background: #0a2240 !important;
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
        margin-top: 2rem !important;
    }
    
    .unfallgutachten-section .row {
        flex-direction: column !important;
        height: auto !important;
    }
    
    .unfallgutachten-section .col,
    .unfallgutachten-section .col-auto {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        clip-path: none !important;
        display: block !important;
    }
    
    .unfallgutachten-section span {
        color: #fff !important;
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        text-align: center !important;
        display: block !important;
        padding: 1rem 0 !important;
        margin: 0 !important;
    }
    
    .unfallgutachten-section img {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        object-fit: cover !important;
        margin: 0 !important;
        clip-path: none !important;
        display: block !important;
        margin-top: 1rem !important;
    }
    
    /* Center align "Jetzt Termin vereinbaren" link for mobile */
    .leistungen-weitere-container a[href="kontakt.html"] {
        text-align: center !important;
        display: block !important;
        margin: 1rem auto !important;
    }
    
    /* Make portrait-image full width for mobile */
    .portrait-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    /* Fix map visibility for mobile */
    .map-container {
        margin-bottom: 2rem !important;
    }
    
    .map-wrapper iframe {
        height: 250px !important;
        min-height: 250px !important;
    }
    
    .map-info {
        margin-top: 1rem !important;
        text-align: center !important;
        font-size: 0.9rem !important;
    }
    
    /* Contact Form Submit Button - 480px */
    .contact-form-container .btn-primary {
        display: block !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    /* AGB/Impressum Title - 480px */
    .impressum-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        padding: 0 1rem !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* AGB Title Lines - 480px */
    .impressum-title .title-line-1 {
        font-size: 1.6rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .impressum-title .title-line-2 {
        font-size: 1.6rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .impressum-title .title-line-3 {
        font-size: 1.6rem !important;
        margin-bottom: 0.2rem !important;
        
    }
    
    /* Legal Pages (AGB, Datenschutz, Impressum) - 480px */
    .main-content {
        padding: 1rem 0 !important;
    }
    
    .impressum-section {
        padding: 1rem 0 !important;
        min-height: auto !important;
    }
    
    .impressum-content {
        padding: 1.5rem 1rem !important;
    }
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-button {
    position: fixed;
    bottom: 450px;
    right: 125px;
    width: 140px;
    height: 120px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    text-decoration: none;
}

.whatsapp-button img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Desktop fixed position for WhatsApp button (1024px and above) */
@media (min-width: 1024px) {
    .whatsapp-button {
        position: fixed;
        bottom: 685px;
        right: 0px;
        width: 120px;
        height: 120px;
        z-index: 9999;
    }
    
    .whatsapp-button img {
        width: 90px;
        height: 90px;
    }
}

/* Tablet adjustments for WhatsApp button */
@media (max-width: 1023px) and (min-width: 769px) {
    .whatsapp-button {
        width: 110px;
        height: 110px;
        bottom: 40px;
        right: 20px;
    }
    
    .whatsapp-button img {
        width: 85px;
        height: 85px;
    }
}

/* Mobile adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 100px;
        height: 100px;
        bottom: 50px;
        right: 15px;
    }
    
    .whatsapp-button img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 600px) {
    .whatsapp-button {
        width: 90px;
        height: 90px;
        bottom: 45px;
        right: 15px;
    }
    
    .whatsapp-button img {
        width: 70px;
        height: 70px;
    }
}
