/*
Theme Name: MüM ASLZ Theme
Theme URI: https://mum.swiss
Author: MüM Management AG
Author URI: https://mum.swiss
Description: Custom WordPress theme for the Alpines Sport- und Leistungszentrum Lenz – 1388 MüM project website.
Version: 2.0.1
Text Domain: mum-aslz-theme
License: proprietary
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    --color-anthrazit: #575349;
    --color-rot: #AA212B;
    --color-hellblau: #CCE8F8;
    --color-blau: #60B6E4;
    --color-dunkelblau: #2D76AA;
    --color-white: #FFFFFF;
    --color-grey: #E8E8E8;
    --color-footer-bg: #575349;

    --font-primary: 'Libre Franklin', 'Franklin Gothic', Arial, sans-serif;
    --font-weight-book: 400;
    --font-weight-demi: 600;
    --font-weight-bold: 700;

    --max-content-width: 900px;
    --header-height: 200px;
    --section-padding: 60px 0;
    --content-padding: 0 24px;

    --transition-speed: 0.3s;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-book);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-anthrazit);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-rot);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover,
a:focus {
    color: var(--color-anthrazit);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-demi);
    line-height: 1.3;
    color: var(--color-anthrazit);
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: var(--font-weight-demi);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-grey);
    height: var(--header-height);
    transition: box-shadow var(--transition-speed) ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title a {
    text-decoration: none;
    color: var(--color-anthrazit);
    display: block;
    line-height: 1.15;
}

.site-logo {
    width: 415px;
    height: auto;
}

.site-title a:hover {
    color: var(--color-anthrazit);
}

.title-line {
    display: block;
    font-weight: var(--font-weight-bold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.title-line-light {
    display: block;
    font-weight: var(--font-weight-book);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-anthrazit);
    opacity: 0.75;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    display: flex;
    align-items: center;
}

.nav-separator {
    color: var(--color-anthrazit);
    opacity: 0.3;
    padding: 0 10px;
    font-size: 0.85rem;
    user-select: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: var(--font-weight-book);
    color: var(--color-anthrazit);
    text-decoration: none;
    padding: 6px 2px;
    position: relative;
    display: inline-block;
    transition: color var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-anthrazit);
}

.nav-link.active {
    font-weight: var(--font-weight-bold);
    color: var(--color-anthrazit);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-rot);
    transition: width var(--transition-speed) ease;
}

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

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    gap: 5px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-anthrazit);
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Main Content
   ========================================================================== */

main {
    min-height: 100vh;
}

/* ==========================================================================
   Sections – General
   ========================================================================== */

.section {
    position: relative;
}

.section-hero {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.section-hero img {
    width: 100%;
    height: auto;
    min-height: 350px;
    display: block;
    object-fit: cover;
}

.hero-marquee {
    width: 100%;
    min-height: 350px;
    height: 50vh;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    background: #FFFFFF;
}

.marquee-track {
    display: flex;
    width: max-content;
    height: 100%;
    will-change: transform;
}

.section-hero img.marquee-slide {
    height: 100%;
    width: auto;
    max-width: none;
    min-height: 0;
    object-fit: cover;
    flex-shrink: 0;
    opacity: 0.25;
}

.hero-slider .slide-single {
    width: 100%;
    height: auto;
    min-height: 350px;
    display: block;
    object-fit: cover;
    animation: panEndless 20s ease-in-out infinite;
    will-change: object-position;
}

@keyframes panEndless {
    0%, 7.5% { object-position: -492px 50%; }
    42.5%, 57.5% { object-position: calc(50% - 246px) 50%; }
    92.5%, 100% { object-position: 100% 50%; }
}

.section-content {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 48px 24px 60px;
}

/* ==========================================================================
   Section Link / Arrow Link
   ========================================================================== */

.section-link-top {
    margin: 24px 0 32px;
    border-top: 2px solid var(--color-rot);
    padding-top: 24px;
    display: inline-block;
}

.arrow-link {
    color: var(--color-rot);
    font-weight: var(--font-weight-demi);
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color var(--transition-speed) ease;
}

.arrow-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 16px;
    background: url('assets/images/elements/arrow-right.png') no-repeat center center;
    background-size: contain;
}

.arrow-link:hover {
    color: var(--color-anthrazit);
}

.arrow-link span {
    font-weight: var(--font-weight-book);
    font-size: 0.9rem;
    opacity: 0.7;
}

.section-nav {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 2px solid var(--color-rot);
    max-width: 200px;
}

.section-nav .arrow-link {
    font-size: 1.05rem;
}

/* ==========================================================================
   Section: Projekt
   ========================================================================== */

/* Vision Box */
.vision-box {
    background: url('assets/images/elements/background.png') repeat-y center top;
    background-size: 100% auto;
    padding: 32px 40px;
    margin: 36px 0;
    text-align: left;
    width: calc(100vw - 48px);
    max-width: 1152px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.vision-box p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Standort Grid */
.standort-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin: 40px 0;
}

.standort-text h3 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.standort-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Trägerschaft */
.traegerschaft {
    margin: 40px 0;
}

.traegerschaft h3 {
    margin-bottom: 1rem;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 48px -40px;
}

.partner-logos img {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* ==========================================================================
   Testimonial Card
   ========================================================================== */

.testimonial {
    background: url('assets/images/elements/background.png') repeat-y center top;
    background-size: 100% auto;
    padding: 32px 40px;
    /* Extra right padding to align portrait with the 900px max-width content */
    padding-right: max(40px, calc((100vw - 900px) / 2));
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    margin: 40px 0;
    width: calc(100vw - 48px);
    max-width: 1152px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 1200px) {
    .testimonial {
        padding-right: 150px;
    }
}

.testimonial-text {
    min-width: 0;
}

.testimonial-name {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-portrait {
    flex-shrink: 0;
}

.testimonial-portrait img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 4px 4px 15px rgba(96, 182, 228, 0.4);
}

/* ==========================================================================
   Section: Nutzen
   ========================================================================== */

.nutzen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 36px 0;
}

.nutzen-column h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: var(--font-weight-demi);
}

.nutzen-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nutzen-column ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.nutzen-column ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-anthrazit);
    font-weight: var(--font-weight-bold);
}

.nachhaltigkeit {
    margin: 36px 0;
}

/* ==========================================================================
   Section: Zeitplan / Timeline
   ========================================================================== */

.timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 0 0 40px;
}

.timeline-header {
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: var(--font-weight-demi);
}

.timeline-header.color-blue {
    color: var(--color-blau);
}

.timeline-header.color-darkblue {
    color: var(--color-dunkelblau);
}

.timeline-header.color-red {
    color: var(--color-rot);
}

.timeline-column {
    position: relative;
}

.timeline-column::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 38px;
    bottom: 0;
    width: 48px;
    opacity: 1;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 28px;
}

.timeline-dot {
    display: none;
}

.timeline-item h4 {
    font-weight: var(--font-weight-demi);
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--color-anthrazit);
}

.timeline-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-item ul li {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 4px;
    padding-left: 14px;
    position: relative;
}

.timeline-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-anthrazit);
}

.weiteres-vorgehen {
    margin: 40px 0;
}

/* ==========================================================================
   Section: Fragen / FAQ Accordion
   ========================================================================== */

.faq-intro {
    margin-bottom: 32px;
}

.faq-category {
    margin-bottom: 8px;
}

.faq-category-header {
    font-size: 1.1rem;
    font-weight: var(--font-weight-demi);
    color: var(--color-blau);
    margin-bottom: 0;
    padding: 16px 0 8px;
}

.faq-item {
    position: relative;
}

.faq-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 80px);
    height: 1px;
    background-color: var(--color-grey);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: var(--font-weight-demi);
    color: var(--color-anthrazit);
    cursor: pointer;
    text-align: left;
    gap: 16px;
    line-height: 1.4;
}

.faq-question:hover {
    color: var(--color-rot);
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--color-blau);
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blau);
    font-size: 1.1rem;
    font-weight: var(--font-weight-book);
    transition: transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
    position: relative;
    z-index: 2;
}

.faq-icon::before {
    content: '+';
    line-height: 1;
}

.faq-item.open .faq-icon::before {
    content: '−';
}

.faq-item.open .faq-icon {
    background-color: var(--color-blau);
    color: var(--color-white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 0;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 0 20px 0;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-anthrazit);
    max-width: 80%;
}

/* ==========================================================================
   Section: Downloads
   ========================================================================== */

.download-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.download-card {
    display: block;
    background: url('assets/images/elements/background.png') repeat-y center top;
    background-size: 100% auto;
    padding: 32px 40px;
    text-decoration: none;
    width: calc(100vw - 48px);
    max-width: 1152px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.download-card h3 {
    font-size: 1rem;
    font-weight: var(--font-weight-demi);
    color: var(--color-rot);
    margin-bottom: 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.download-card p {
    font-size: 0.9rem;
    color: var(--color-anthrazit);
    opacity: 0.7;
    margin-bottom: 0;
}

/* ==========================================================================
   Section: Kontakt / Contact Form
   ========================================================================== */

.inline-link {
    color: var(--color-rot);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.inline-link:hover {
    color: var(--color-anthrazit);
}

.contact-form {
    margin-top: 32px;
}

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

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

.form-group label {
    font-size: 0.9rem;
    font-weight: var(--font-weight-demi);
    margin-bottom: 6px;
    color: var(--color-anthrazit);
}

.form-group input,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--color-anthrazit);
    background-color: var(--color-white);
    transition: border-color var(--transition-speed) ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blau);
    box-shadow: 0 0 0 2px rgba(96, 182, 228, 0.2);
}

.form-group-full {
    margin-bottom: 24px;
}

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

.required-note {
    font-size: 0.8rem;
    color: var(--color-anthrazit);
    opacity: 0.6;
    margin-bottom: 16px;
}

.submit-button {
    display: inline-block;
    background-color: var(--color-blau);
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: var(--font-weight-demi);
    padding: 12px 48px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    box-shadow: 0 4px 12px rgba(96, 182, 228, 0.4);
}

.submit-button:hover {
    background-color: #4ca8d8;
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--transition-speed) ease,
                visibility var(--transition-speed) ease,
                transform var(--transition-speed) ease;
    z-index: 900;
    box-shadow: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: none;
    transform: translateY(-2px);
}

.back-to-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-white);
    padding: 40px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2px;
    color: var(--color-white);
}

.footer-company {
    margin-bottom: 8px !important;
}

.footer-contact a {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--color-white);
    font-size: 0.85rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-white);
}

/* ==========================================================================
   Page Template (Datenschutz, Impressum)
   ========================================================================== */

.page-content {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.page-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.page-content p,
.page-content li {
    font-size: 1rem;
    line-height: 1.7;
}

/* 404 Page */
.error-404 {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.error-404 h1 {
    font-size: 4rem;
    color: var(--color-blau);
    margin-bottom: 1rem;
}

.error-404 p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.error-404 a {
    display: inline-block;
    background-color: var(--color-blau);
    color: var(--color-white);
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: var(--font-weight-demi);
    text-decoration: none;
    transition: background-color var(--transition-speed) ease;
}

.error-404 a:hover {
    background-color: #4ca8d8;
    color: var(--color-white);
}

/* ==========================================================================
   Section: Nutzen – Blue Box
   ========================================================================== */

.nutzen-box-blue {
    background: url('assets/images/elements/background.png') repeat-y center top;
    background-size: 100% auto;
    padding: 32px 40px;
    margin: 36px 0;
    width: calc(100vw - 48px);
    max-width: 1152px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.nutzen-box-blue .nutzen-grid {
    margin: 0;
}

.nutzen-box-blue .nutzen-column h3 {
    color: var(--color-anthrazit);
}

/* ==========================================================================
   Section: Botschafter/innen
   ========================================================================== */

.botschafter-intro {
    font-size: 1rem;
    margin-bottom: 8px;
}

.botschafter-note {
    font-size: 0.85rem;
    color: var(--color-anthrazit);
    opacity: 0.6;
    margin-bottom: 40px;
}

.botschafter-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.botschafter-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
}

.botschafter-card.layout-left {
    grid-template-columns: 1fr auto;
}

.botschafter-card.layout-left .botschafter-portrait {
    order: 2;
}

.botschafter-card.layout-left .botschafter-text {
    order: 1;
}

.botschafter-card.layout-right {
    grid-template-columns: auto 1fr;
}

.botschafter-card.layout-right .botschafter-portrait {
    order: 1;
}

.botschafter-card.layout-right .botschafter-text {
    order: 2;
}

.botschafter-portrait img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 4px 4px 15px rgba(96, 182, 228, 0.4);
}

.botschafter-name {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.botschafter-quote {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   Section: Fragen – Background Line
   ========================================================================== */

.section-fragen {
    position: relative;
}

.section-fragen .section-content {
    position: relative;
}

/* .section-fragen background line removed per user request */

/* ==========================================================================
   Timeline – Milestone Graphics
   ========================================================================== */

.timeline-column.timeline-left {
    min-height: 520px;
}

.timeline-column.timeline-left::before {
    background: url('assets/images/elements/zeitplan-linie.png') no-repeat center top;
    background-size: 100% auto;
    width: 60px;
    opacity: 1;
}

.timeline-column.timeline-right {
    min-height: 620px;
}

.timeline-column.timeline-right::before {
    background: url('assets/images/elements/meilensteine-linie.png') no-repeat center top;
    background-size: 100% auto;
    width: 60px;
    opacity: 1;
}

/* timeline-dot styles consolidated above */

/* ==========================================================================
   Responsive – Tablet & Mobile
   ========================================================================== */

@media (max-width: 768px) {

    :root {
        --header-height: 160px;
    }

    .site-logo {
        height: 140px;
        width: auto;
        max-width: 70vw;
    }

    /* Header Mobile */
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity var(--transition-speed) ease,
                    visibility var(--transition-speed) ease,
                    transform var(--transition-speed) ease;
    }

    .main-navigation.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .nav-separator {
        display: none;
    }

    .nav-link {
        font-size: 1.3rem;
        padding: 12px 20px;
        display: block;
    }

    /* Hero */
    .section-hero img {
        min-height: 250px;
    }

    /* Content */
    .section-content {
        padding: 32px 20px 48px;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Standort */
    .standort-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Partner Logos */
    .partner-logos {
        gap: 20px;
        justify-content: center;
    }

    .partner-logos img {
        height: 45px;
        max-width: 90px;
    }

    /* Testimonial */
    .testimonial {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .testimonial-portrait {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .testimonial-portrait img {
        width: 140px;
        height: 140px;
    }

    /* Nutzen Grid */
    .nutzen-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Timeline */
    .timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Form Grid */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-links {
        align-self: flex-start;
    }

    /* Back to top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    /* Botschafter */
    .botschafter-card,
    .botschafter-card.layout-left,
    .botschafter-card.layout-right {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .botschafter-card .botschafter-portrait {
        order: -1 !important;
        display: flex;
        justify-content: center;
    }

    .botschafter-card .botschafter-text {
        order: 1 !important;
    }

    .botschafter-portrait img {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .title-line {
        font-size: 0.72rem;
    }

    .title-line-light {
        font-size: 0.68rem;
    }

    .vision-box {
        padding: 24px 20px;
        margin: 24px -20px;
    }

    .testimonial {
        padding: 24px 20px;
        margin: 24px -20px;
    }

    .nutzen-box-blue {
        padding: 24px 20px;
        margin: 24px -20px;
    }

    .partner-logos {
        margin-left: -20px;
        margin-right: -20px;
        padding: 0 20px;
    }

    .download-card {
        padding: 24px 20px;
    }

    .submit-button {
        width: 100%;
        text-align: center;
    }
}
