* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    overflow-y: scroll;
}

header {
    background-color: #ffffff;
    min-height: 80px;
    height: auto;
    padding: 5px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: min-height 0.3s ease, padding 0.3s ease;
    width: 100%;
}

header.scrolled {
    min-height: 80px;
    padding: 5px 50px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #0073AC;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px 30px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul img {
    height: 50px;
    width: auto;
    max-width: 100%;
    transition: height 0.3s ease;
}

header.scrolled nav ul img {
    height: 50px;
}

nav ul li {
    white-space: nowrap;
}

nav ul li a {
    text-decoration: none;
    color: #0073AC;
    font-weight: 600;
    font-size: 1.15rem;
    text-transform: uppercase;
    transition: font-size 0.3s ease, color 0.3s;
    display: inline-block;
    padding: 8px 4px;
}

header.scrolled nav ul li a {
    font-size: 1.15rem;
}

nav ul li a:hover {
    color: #155b82;
    border-bottom: 2px solid #0073AC;
    padding-bottom: 5px;
}

/* ==========================================
   HERO MODULE (Modernisiert & Begrenzt)
   ========================================== */
.hero-module {
    position: relative;
    width: 100%;
    min-height: 85vh;
    padding-top: 95px;
    padding-bottom: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Bilder/_Startseiten/Front.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.90) 38%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    padding-left: clamp(20px, 6vw, 120px);
    padding-right: 20px;
    width: 100%;
    max-width: 950px;
    display: flex;
    justify-content: flex-start;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-height: 100%;
}

.hero-content .logo {
    width: auto;
    max-width: min(663px, 95vw); /* +50% gegenüber 442px */
    max-height: 33vh; /* +50% gegenüber 22vh */
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
}

.hero-content h1 {
    font-size: clamp(1.15rem, 2.1vw, 1.87rem);
    margin: 6px 0;
    text-transform: uppercase;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: break-word;
}

.hero-content h1 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.hero-content h1 a:hover {
    color: #2183b8;
    text-decoration: underline;
}

.hero-content .company-name {
    font-size: clamp(0.95rem, 1.5vw, 1.36rem);
    font-weight: bold;
    margin: 10px 0 6px 0;
}

.hero-content .description {
    font-size: clamp(0.85rem, 1.1vw, 1.02rem);
    margin-top: 8px;
    max-width: 60ch;
    opacity: 0.9;
    line-height: 1.4;
}

/* Alter .hero Block für Unterseiten */
.hero {
    position: relative;
    background-image: url('Bilder/_Startseiten/reitsport.jpg');
    background-size: cover;
    background-position: top center;
    height: 80vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    padding-left: 10%;
    padding-top: 90px;
    margin-top: 150px;
    transition: padding-top 0.3s ease, margin-top 0.3s ease;
}

.hero.scrolled-hero {
    padding-top: 90px;
}

.btn-primary {
    display: inline-block;
    background-color: #0073AC;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    user-select: none;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #155b82;
}

.intro-section {
    text-align: center;
    padding: 40px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.intro-section h2 {
    color: #0073AC;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4;
}

/* INFO MODULE */
.info-module {
    background-color: #2183b8;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.info-container {
    background-color: white;
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.info-image {
    width: 40%;
    height: 400px;
    object-fit: cover;
}

.info-content {
    width: 60%;
    padding: 40px;
    text-align: center;
}

.info-content h2 {
    color: #2183b8;
    margin-bottom: 10px;
}

.info-content h3 {
    font-weight: normal;
    margin-bottom: 20px;
    color: #333;
}

.info-content p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.btn-blue {
    background-color: #2183b8;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s;
}

.btn-blue:hover {
    background-color: #155b82;
}

.info-feature-banner {
    position: relative;
    width: 100%;
    min-height: 840px;
    display: flex;
    align-items: center;
    padding: 48px 8%;
    margin: 24px 0 48px 0;
    overflow: hidden;
}

.info-feature-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 1;
}

.info-feature-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #000000 0%, rgba(0,0,0,0.85) 25%, rgba(0,0,0,0) 65%);
    z-index: 2;
}

.info-feature-card {
    position: relative;
    z-index: 3;
    background-color: rgba(35, 35, 35, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-left: 5px solid #0073AC;
    padding: 48px;
    max-width: 696px;
    color: #ffffff;
    border-radius: 2px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}

.info-feature-card h2 {
    font-size: 3.36rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-align: left;
    line-height: 1.1;
}

.info-feature-card .subtitle {
    font-size: 1.26rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #e0e0e0;
    margin-bottom: 24px;
}

.info-feature-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #d0d0d0;
    margin-bottom: 34px;
}

.info-feature-btn {
    display: inline-block;
    background-color: #0073AC;
    color: #ffffff;
    padding: 14px 29px;
    font-size: 1.14rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.info-feature-btn:hover {
    background-color: #155b82;
}

.info-feature-btn:active {
    transform: scale(0.98);
}

.feature-split-wrapper {
    width: 100%;
    max-width: 1800px;
    margin: 90px auto 150px auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.feature-split-wrapper::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 22px;
    right: 22px;
    bottom: -52px;
    background-color: #0073AC;
    z-index: 1;
}

.feature-split-container {
    position: relative;
    display: flex;
    flex-direction: row;
    background-color: #E5E5E5;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    z-index: 2;
}

.feature-split-image {
    flex: 0 0 45%;
    min-height: 570px;
    position: relative;
}

.feature-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-split-content {
    flex: 1;
    padding: 75px 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feature-split-content h2 {
    color: #333333;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.feature-split-content p {
    color: #333333;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 45px;
    max-width: 900px;
}

.feature-split-btn {
    display: inline-block;
    background-color: #0073AC;
    color: #ffffff;
    padding: 18px 42px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.feature-split-btn:hover {
    background-color: #155b82;
}

.feature-split-btn:active {
    transform: scale(0.98);
}

.title-divider {
    width: 100px;
    height: 3px;
    background-color: #0073AC;
    margin: -20px auto 20px auto;
    border-radius: 2px;
}

.feature-split-reverse-wrapper {
    width: 100%;
    max-width: 1800px;
    margin: 120px auto 150px auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.feature-split-reverse-wrapper::before {
    content: '';
    position: absolute;
    top: 37px;
    bottom: 37px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #0073AC;
    z-index: 1;
}

.feature-split-reverse-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #E5E5E5;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    z-index: 2;
    padding: 30px;
}

.feature-split-reverse-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feature-split-reverse-content h2 {
    color: #333333;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.feature-split-reverse-content .subtitle-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0073AC;
    margin-bottom: 30px;
}

.feature-split-reverse-content p {
    color: #333333;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 45px;
    max-width: 825px;
}

.feature-split-reverse-content ul {
    margin-top: -40px;
    color: #333333;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 45px;
    max-width: 825px;
}

.feature-split-reverse-image {
    flex: 0 0 40%;
    height: 540px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
}

.feature-split-reverse-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.title-divider2 {
    width: 100px;
    height: 3px;
    background-color: #0073AC;
    margin: -10px auto 20px auto;
    border-radius: 2px;
}

.categories {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 50px 80px;
    flex-wrap: wrap;
}

.category-card {
    text-align: center;
    width: 250px;
    max-width: 100%;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    width: 100%;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.category-card h3 {
    font-size: 18px;
    color: #0073AC;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    display: inline-block;
    padding-bottom: 5px;
}

.category-card:hover h3 {
    border-bottom: 2px solid #0073AC;
}

footer {
    background-color: #0073AC;
    color: #ffffff;
    padding: 40px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-col p, .footer-col ul {
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 6px 0;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: #155b82;
    color: #ffffff;
    text-align: center;
    padding: 12px 5px;
    font-size: 12px;
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */
@media (min-width: 769px) {
    .hero {
        margin-top: 80px;
    }

    .hero.scrolled-hero {
        margin-top: 90px;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 10px 20px;
    }

    nav ul li a {
        font-size: 1rem;
    }

    header.scrolled nav ul li a {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .feature-split-wrapper,
    .feature-split-reverse-wrapper {
        padding: 0 20px;
    }

    .feature-split-container {
        flex-direction: column;
    }

    .feature-split-reverse-container {
        flex-direction: column-reverse;
    }

    .feature-split-image,
    .feature-split-reverse-image {
        width: 100%;
        min-height: 300px;
        height: auto;
    }

    .feature-split-content,
    .feature-split-reverse-content {
        padding: 40px 25px;
    }

    .feature-split-content h2,
    .feature-split-reverse-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header,
    header.scrolled {
        position: relative;
        padding: 15px 20px;
        min-height: auto;
    }

    .main-nav ul {
        gap: 10px 15px;
    }

    nav ul img,
    header.scrolled nav ul img {
        height: 50px !important;
    }

    nav ul li a,
    header.scrolled nav ul li a {
        font-size: 0.95rem !important;
    }

    .hero-module {
        padding-top: 30px;
        min-height: auto;
    }

    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.75);
    }

    .hero,
    .hero.scrolled-hero {
        margin-top: 0 !important;
        padding-top: 20px !important;
        height: 55vh;
        padding-left: 20px;
        padding-right: 20px;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 16px;
    }

    .intro-section {
        padding: 30px 20px;
    }

    .intro-section h2 {
        font-size: 20px;
    }

    .info-container {
        flex-direction: column;
    }

    .info-image, .info-content {
        width: 100%;
    }

    .info-image {
        height: 250px;
    }

    .info-feature-banner {
        padding: 20px;
        min-height: auto;
    }

    .info-feature-card {
        padding: 25px;
    }

    .info-feature-card h2 {
        font-size: 2rem;
    }

    .info-feature-card .subtitle {
        font-size: 0.9rem;
    }

    .categories {
        padding: 20px;
        gap: 25px;
    }

    .category-card {
        width: 100%;
        min-width: 100%;
    }

    .category-image {
        height: 180px;
    }

    footer {
        flex-direction: column;
        padding: 30px 20px;
    }

    .footer-col {
        width: 100%;
    }
}