:root {
    --color-primary: #4B2D73;
    --color-secondary: #FFD700;
    --color-accent: #D4191B;
    --bg-light: #ffffff;
    --bg-light-secondary: #f8f9fa;
    --bg-dark: #1a1a1a;
    --bg-dark-secondary: #2d2d2d;
    --text-light: #1a1a1a;
    --text-light-secondary: #4a4a4a;
    --text-dark: #f0f0f0;
    --text-dark-secondary: #d0d0d0;
    --border-light: #dee2e6;
    --border-dark: #404040;
    --topbar-height: 40px;
    --header-height: 90px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
    width: 100%;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.top-bar {
    background-color: var(--color-primary);
    color: white;
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar-content {
    width: 100%;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.top-bar-item::before {
    content: "✓";
    font-weight: bold;
}

.header-main {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: var(--topbar-height);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar.hidden + .header-main {
    top: 0;
}

body.dark-mode .header-main {
    background-color: var(--bg-dark-secondary);
    border-bottom-color: var(--border-dark);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0.5rem 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.header-logo img {
    height: 110px;
    width: auto;
    transition: var(--transition);
    position: relative;
    margin-bottom: -18px;
}

.header-main.scrolled .header-container {
    padding: 0.3rem 0;
}

.header-main.scrolled .header-logo img {
    height: 60px;
    margin-bottom: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

body.dark-mode .nav-menu a {
    color: var(--text-dark);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

body.dark-mode .dropdown-toggle {
    border-color: var(--border-dark);
    color: var(--text-dark);
}

.dropdown-toggle:hover {
    background-color: var(--bg-light-secondary);
}

body.dark-mode .dropdown-toggle:hover {
    background-color: var(--bg-dark);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1100;
}

body.dark-mode .dropdown-menu {
    background: var(--bg-dark-secondary);
    border-color: var(--border-dark);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

body.dark-mode .dropdown-item {
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: var(--bg-light-secondary);
}

body.dark-mode .dropdown-item:hover {
    background-color: var(--bg-dark);
}

.dropdown-item.active {
    background-color: var(--color-primary);
    color: white;
}

.dropdown-item.active:hover {
    background-color: var(--color-primary);
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-light);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

body.dark-mode .mobile-menu-toggle {
    border-color: var(--border-dark);
    color: var(--text-dark);
}

.mobile-menu-toggle:hover {
    background-color: var(--bg-light-secondary);
}

body.dark-mode .mobile-menu-toggle:hover {
    background-color: var(--bg-dark);
}

.mobile-nav {
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

body.dark-mode .mobile-nav {
    background-color: var(--bg-dark-secondary);
    border-bottom-color: var(--border-dark);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

body.dark-mode .mobile-nav-menu a {
    color: var(--text-dark);
}

.mobile-nav-menu a:hover {
    background-color: var(--bg-light-secondary);
    color: var(--color-primary);
}

body.dark-mode .mobile-nav-menu a:hover {
    background-color: var(--bg-dark);
}

.main-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.intro-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    margin-bottom: 3rem;
}

.intro-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.intro-section p {
    font-size: 1.2rem;
    max-width: 1000px;
    margin: 0 auto 1rem auto;
    line-height: 1.8;
}

.produkte-title {
    text-align: center;
    padding: 3rem 2rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.produkte-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

body.dark-mode .produkte-title h2 {
    color: var(--text-dark);
}

.content-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    max-width: 1600px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

.content-row:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.content-row.reverse {
    grid-template-columns: 1fr 2fr;
}

.content-row.reverse .content-text {
    order: 1;
}

.content-row.reverse .content-image {
    order: 2;
}

.content-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    transition: transform 0.3s ease;
}

.content-image:hover {
    transform: scale(1.01);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.content-image:hover img {
    transform: scale(1.03);
}

.content-text {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.content-text:hover {
    transform: scale(1.03);
}

.content-text-inner {
    width: 100%;
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.content-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.content-text.purple {
    background-color: var(--color-primary);
}

.content-text.red {
    background-color: var(--color-accent);
}

.content-text.yellow {
    background-color: var(--color-secondary);
    color: #000;
}

.content-text.gold {
    background-color: var(--color-secondary);
    color: #000;
}

.content-text ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.content-text li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.content-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.content-text p {
    font-size: 1rem;
    line-height: 1.8;
}

.about-section {
    background-color: var(--bg-light);
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 1600px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
}

body.dark-mode .about-section {
    background-color: var(--bg-dark-secondary);
    border-color: var(--border-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.about-section h1,
.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 1rem;
}

.about-section h1::after,
.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

body.dark-mode .about-section h1,
body.dark-mode .about-section h2 {
    color: var(--text-dark);
}

body.dark-mode .about-section h1::after,
body.dark-mode .about-section h2::after {
    background-color: var(--color-secondary);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 1rem auto;
    text-align: center;
}

body.dark-mode .about-section p {
    color: var(--text-dark);
}

.about-section a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

body.dark-mode .about-section a {
    color: var(--color-secondary);
}

.about-section a:hover {
    text-decoration: underline;
}

.about-section ul {
    list-style: none;
    max-width: 600px;
    margin: 1rem auto;
    text-align: center;
}

.about-section li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0;
}

.about-section li::before {
    content: "✓ ";
    font-weight: bold;
    color: #000;
}

body.dark-mode .about-section li::before {
    color: #fff;
}

.service-section {
    margin: 3rem auto;
    max-width: 1600px;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1.5625fr 2fr;
    gap: 0;
    align-items: stretch;
    margin: 2rem auto;
    max-width: 1600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    transition: transform 1.5s ease;
}

.service-content > img.service-image {
    overflow: hidden;
}

.service-image:hover {
    transform: scale(1.03);
}

.service-text {
    background-color: #FFD700;
    color: #000;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-text:hover {
    transform: scale(1.03);
}

.service-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    color: #000;
    text-align: center;
    position: relative;
}

.service-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

.service-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    color: #000;
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
    text-align: center;
}

.service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #000;
}

.service-text ul {
    list-style: none;
    margin-top: 0.5rem;
    padding: 0;
}

.service-text li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #000;
    position: relative;
    padding-left: 1.5rem;
}

.service-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #000;
}

.references-section {
    background-color: var(--bg-light);
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 1600px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
}

body.dark-mode .references-section {
    background-color: var(--bg-dark-secondary);
    border-color: var(--border-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.references-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 1rem;
}

.references-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

body.dark-mode .references-section h2 {
    color: var(--text-dark);
}

body.dark-mode .references-section h2::after {
    background-color: var(--color-secondary);
}

.references-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

body.dark-mode .references-intro {
    color: var(--text-dark);
}

.reference-item {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.reference-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 400px;
    position: relative;
    transition: transform 0.3s ease;
}

.reference-image-container:hover {
    transform: scale(1.01);
}

.reference-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.5s ease;
}

.reference-image-container:hover img {
    transform: scale(1.03);
}

.reference-label {
    text-align: center;
    font-weight: 600;
    margin-top: 0.5rem;
    color: var(--text-light-secondary);
}

body.dark-mode .reference-label {
    color: var(--text-dark-secondary);
}

.reference-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background-color: var(--bg-light-secondary);
    border-radius: 12px;
    height: 400px;
    transition: transform 0.3s ease;
}

body.dark-mode .reference-text {
    background-color: var(--bg-dark);
}

.reference-text:hover {
    transform: scale(1.03);
}

.reference-text.reference-purple {
    background-color: var(--color-primary) !important;
    color: white !important;
}

body.dark-mode .reference-text.reference-purple {
    background-color: var(--color-primary) !important;
}

.reference-text.reference-purple h4,
.reference-text.reference-purple p {
    color: white !important;
}

.reference-text.reference-purple a {
    color: var(--color-secondary) !important;
    text-decoration: underline;
}

.reference-text.reference-red {
    background-color: var(--color-accent) !important;
    color: white !important;
}

body.dark-mode .reference-text.reference-red {
    background-color: var(--color-accent) !important;
}

.reference-text.reference-red h4,
.reference-text.reference-red p {
    color: white !important;
}

.reference-text.reference-red a {
    color: var(--color-secondary) !important;
    text-decoration: underline;
}

.reference-text h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

body.dark-mode .reference-text h4 {
    color: var(--text-dark);
}

.reference-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

body.dark-mode .reference-text p {
    color: var(--text-dark);
}

.reference-text a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

body.dark-mode .reference-text a {
    color: var(--color-secondary);
}

.reference-text a:hover {
    text-decoration: underline;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
    z-index: 998;
    border: none;
}

.scroll-to-top:hover {
    background-color: var(--color-accent);
    transform: translateY(-5px);
}

.scroll-to-top.show {
    display: flex;
}

footer {
    background: #FFD700;
    color: #000;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.social-share {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.social-share h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-5px);
}

.share-btn img {
    width: 40px;
    height: 40px;
    display: block;
}

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

.footer-content p {
    margin: 0.5rem 0;
    color: #000;
}

.footer-content strong {
    font-weight: 700;
}

.footer-content a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 700;
}

.footer-content a:hover {
    text-decoration: underline;
}

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

.footer-links a {
    margin: 0 0.5rem;
}

.realized-by {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .header-nav {
        gap: 2rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .content-row,
    .content-row.reverse {
        grid-template-columns: 1fr;
    }

    .content-row .content-image {
        order: 1;
    }

    .content-row .content-text {
        order: 2;
    }

    .content-row.reverse .content-image {
        order: 1;
    }

    .content-row.reverse .content-text {
        order: 2;
    }

    .content-text {
        padding: 2.5rem 2rem;
    }

    .service-content {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 300px;
        min-height: 300px;
    }

    .reference-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-container {
        padding: 0.4rem 1.5rem 0 1.5rem;
    }

    .header-main.scrolled .header-container {
        padding: 0.3rem 1.5rem;
    }

    .header-logo img {
        height: 80px;
        margin-bottom: -12px;
    }

    .header-main.scrolled .header-logo img {
        height: 50px;
        margin-bottom: 0;
    }

    .content-row,
    .content-row.reverse {
        margin: 0 1.5rem 1.5rem 1.5rem;
        max-width: calc(100% - 3rem);
    }

    .top-bar-item:nth-child(3),
    .top-bar-item:nth-child(4) {
        display: none;
    }

    .top-bar-content {
        padding: 0.5rem 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.4rem 0.75rem 0 0.75rem;
    }

    .header-main.scrolled .header-container {
        padding: 0.3rem 0.75rem;
    }

    .header-logo img {
        height: 70px;
        margin-bottom: -10px;
    }

    .header-main.scrolled .header-logo img {
        height: 45px;
        margin-bottom: 0;
    }

    .header-controls {
        gap: 0.5rem;
    }

    .dropdown-toggle {
        padding: 0.4rem 0.7rem;
        font-size: 0.85rem;
    }

    .intro-section {
        padding: 0 0.75rem;
    }

    .intro-section h1 {
        font-size: 2rem;
    }

    .intro-section p {
        font-size: 1rem;
    }

    .produkte-title {
        padding: 0 0.75rem;
    }

    .produkte-title h2 {
        font-size: 1.8rem;
    }

    .content-row,
    .content-row.reverse {
        margin: 0 0.5rem 1.5rem 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .content-text {
        padding: 2rem 1.5rem;
    }

    .content-text h2 {
        font-size: 2rem;
    }

    .content-text h3 {
        font-size: 1.75rem;
    }

    .content-text li {
        font-size: 1rem;
    }

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

    .content-image {
        min-height: 300px;
    }

    .top-bar-item:nth-child(2),
    .top-bar-item:nth-child(3),
    .top-bar-item:nth-child(4) {
        display: none;
    }

    .top-bar-content {
        padding: 0.5rem 0.75rem;
        justify-content: center;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 576px) {
    .header-logo img {
        height: 60px;
        margin-bottom: -8px;
    }

    .header-main.scrolled .header-logo img {
        height: 40px;
        margin-bottom: 0;
    }

    .dropdown-toggle {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }

    .dropdown-toggle span:last-child {
        display: none;
    }

    .intro-section h1 {
        font-size: 1.75rem;
    }

    .content-row,
    .content-row.reverse {
        margin: 0 0.25rem 1rem 0.25rem;
        max-width: calc(100% - 0.5rem);
    }

    .content-text {
        padding: 1.5rem 1rem;
    }

    .content-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .content-text h3 {
        font-size: 1.4rem;
    }

    .content-text li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

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

    .content-image {
        min-height: 250px;
    }

    .produkte-title h2 {
        font-size: 1.6rem;
    }

    .top-bar {
        font-size: 0.75rem;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 400px) {
    .header-container {
        padding: 0.3rem 0.25rem 0 0.25rem;
    }

    .header-logo img {
        height: 50px;
        margin-bottom: -6px;
    }

    .header-main.scrolled .header-logo img {
        height: 35px;
        margin-bottom: 0;
    }

    .header-controls {
        gap: 0.3rem;
    }

    .dropdown-toggle {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }

    #currentLangText {
        display: none;
    }

    .intro-section h1 {
        font-size: 1.5rem;
    }

    .content-row,
    .content-row.reverse {
        margin: 0 0.125rem 0.75rem 0.125rem;
        max-width: calc(100% - 0.25rem);
        border-radius: 8px;
    }

    .content-text h2 {
        font-size: 1.25rem;
    }

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

    .content-text li {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }

    .produkte-title h2 {
        font-size: 1.4rem;
    }
}
