/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #6B1631;
    --deep-red: #8C1D40;
    --rose: #A8324A;
    --lightgold: #dcc586;
    --gold: #C9A84C;
    --gold-light: #D4B95E;
    --cream: #FAF6F0;
    --cream-dark: #F0E8DA;
    --charcoal: #2A2A2A;
    --warm-white: #FFFDF9;
    --text: #3A3A3A;
    --text-light: #6A6A6A;
}

html {
    scroll-behavior: smooth;
}

.stadtlauf-landingpage {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

.stadtlauf-landingpage h1,
.stadtlauf-landingpage h2,
.stadtlauf-landingpage h3,
.stadtlauf-landingpage h4,
.stadtlauf-landingpage .nav-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

.stadtlauf-landingpage .nav-logo {
    color: #fff;
    font-size: 1.3rem;
}

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

.stadtlauf-landingpage a {
    color: var(--deep-red);
    text-decoration: none;
    transition: color 0.3s;
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(107, 22, 49, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.6rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo img {
    height: 40px;
    transition: height 0.4s;
}

.nav.scrolled .nav-logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav-cta {
    background: var(--gold);
    color: var(--burgundy) !important;
    padding: 0.5rem 1.4rem;
    border-radius: 2px;
font-weight: 700 !important;
    letter-spacing: 0.05em !important;
}

.nav-cta::after {
    display: none !important;
}

.page-template-page-stadtlauf .nav-links a.nav-cta:hover, .nav ul.nav-links li a.nav-cta:hover {
    background: var(--gold-light) !important;
    color: var(--burgundy) !important;
    background-color: var(--gold-light) !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Update path dynamically or assume assets structure */
.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
	background-size: cover;
	background-repeate: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(107, 22, 49, 0.85) 0%,
            rgba(140, 29, 64, 0.7) 40%,
            rgba(42, 42, 42, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 2rem;
}
.hero-content h1 {
	color: #fff;
}
.hero-rr-logo {
    width: 160px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeDown 1s 0.3s forwards;
}

.hero-badge {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--burgundy);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    line-height: 1.4em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
    backdrop-filter: blur(8px);
    border-radius: 20px;
    background-color: var(--gold);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 1s forwards;
}

.hero-date {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold-light);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 1.2s forwards;
}

.hero-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--burgundy);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 3rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    animation: fadeUp 0.8s 1.4s forwards;
}

.hero-cta:hover {
    background: #fff;
    color: var(--burgundy);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    animation: pulse 2s infinite;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0.8rem auto 0;
}

/* ═══════════════════════════════════════
   SECTION STYLES
   ═══════════════════════════════════════ */
.section {
    padding: 6rem 2rem;
}

.section-narrow {
    max-width: 900px;
    margin: 0 auto;
}

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

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--rose);
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 2rem;
}

.divider-center {
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════
   ROTE ROSEN ERLEBNIS
   ═══════════════════════════════════════ */
.rosen-section {
    background: var(--cream);
    position: relative;
}

.rosen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rosen-image {
    position: relative;
    overflow: hidden;
}

.rosen-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.rosen-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(107, 22, 49, 0.15));
    pointer-events: none;
}

.rosen-text p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--text);
}

/* ═══════════════════════════════════════
   EVENT BASICS
   ═══════════════════════════════════════ */
.basics-section {
    background: var(--burgundy);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.basics-section::before {
    content: '🌹';
    position: absolute;
    font-size: 20rem;
    opacity: 0.03;
    top: -3rem;
    right: -3rem;
}

.basics-section .section-title {
    color: #fff;
}

.basics-section .section-label {
    color: var(--gold-light);
}

.basics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.basics-card {
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(201, 168, 76, 0.25);
    transition: all 0.3s;
}

.basics-card:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.basics-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.basics-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--gold-light);
}

.basics-card p {
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   STRECKEN
   ═══════════════════════════════════════ */
.strecken-section {
    background: var(--warm-white);
}

.strecken-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.strecke-card {
    background: #fff;
    border: 1px solid rgba(107, 22, 49, 0.1);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.strecke-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.strecke-card:hover::before {
    transform: scaleX(1);
}

.strecke-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(107, 22, 49, 0.1);
}

.strecke-distance {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--burgundy);
    line-height: 1;
}

.strecke-unit {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 700;
}

.strecke-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin: 1rem 0;
    color: var(--charcoal);
}

.strecke-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   PARALLAX IMAGE BREAK
   ═══════════════════════════════════════ */
.image-break {
    height: 50vh;
    min-height: 350px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-break-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(107, 22, 49, 0.3),
            rgba(107, 22, 49, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-break-text {
    text-align: center;
    color: #fff;
    max-width: 700px;
    padding: 0 2rem;
}

.image-break-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 0.8rem;
	color: #fff;
}

.image-break-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* ═══════════════════════════════════════
   FÜR WEN?
   ═══════════════════════════════════════ */
.fuerwen-section {
    background: var(--cream);
}

.fuerwen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.fuerwen-card {
    position: relative;
    padding: 2rem;
}

.fuerwen-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 50px;
    background: var(--gold);
}

.fuerwen-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.fuerwen-card h3 {
    font-size: 1.3rem;
    color: var(--burgundy);
    margin-bottom: 0.8rem;
}

.fuerwen-card p {
    font-size: 1.05rem;
    color: var(--text);
}

/* ═══════════════════════════════════════
   ZITAT
   ═══════════════════════════════════════ */
.quote-section {
    background: var(--charcoal);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-style: italic;
    max-width: 750px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}

.quote-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.3rem;
}

/* ═══════════════════════════════════════
   PARTNER
   ═══════════════════════════════════════ */
.partner-section {
    background: var(--burgundy);
    color: #fff;
    text-align: center;
}

.partner-section .section-title {
    color: #fff;
}

.partner-section .section-label {
    color: var(--gold-light);
}

.partner-section p.cta-text {
    color: #fff;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.partner-item:hover {
    border-color: rgba(201, 168, 76, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.partner-item img {
    height: 50px;
    object-fit: contain;
    filter: brightness(1);
    transition: all 0.3s;
}

.partner-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--gold-light);
}

.partner-role {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ═══════════════════════════════════════
   CTA / ANMELDUNG
   ═══════════════════════════════════════ */
.cta-section {
    background: var(--cream);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text);
}

.cta-button {
    display: inline-block;
    background: var(--burgundy);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1.2rem 3.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--deep-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 22, 49, 0.3);
}

.cta-hint {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ═══════════════════════════════════════
   NEWSLETTER FORM
   ═══════════════════════════════════════ */
.newsletter-form,
.mailpoet_form {
    /* Add support for generic class used by mailpoet if needed but target form inside main */
    display: flex !important;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	flex-direction: column;
    gap: .5em;
    align-items: stretch;
    justify-content: flex-start;
}

.mailpoet_form .mailpoet_form_form {
    display: flex;
    width: 100%;
}

.mailpoet_form .mailpoet_paragraph {
    margin-bottom: 0px !important;
}

.newsletter-input, .mailpoet_paragraph input.mailpoet_text {
    flex: 1;
    padding: 1.2rem 1.5rem !important;
    border: none !important;
    font-size: 1rem !important;
    font-family: 'Lato', sans-serif;
    color: var(--charcoal) !important;
    outline: none;
    background: #e7e7e7 !important;
    min-width: 0;
    border-radius: 0px !important;
    box-shadow: none !important;
}

.newsletter-input::placeholder,
.mailpoet_text::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.newsletter-btn.cta-button,
.mailpoet_submit {
    margin: 0;
    padding: 1.2rem 2.5rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--burgundy) !important;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn.cta-button:hover,
.mailpoet_submit:hover {
    transform: none;
    background: var(--deep-red) !important;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.85rem;
}

img.footer-logo {
    height: 30px;
    margin: 0 auto 1rem;
    opacity: 0.6;
}

.footer a {
    color: var(--gold);
    font-weight: 400;
}

.footer-line {
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        background: rgba(107, 22, 49, 0.97);
        align-items: center;
        justify-content: center;
        gap: .5rem;
        z-index: 1000;
    }

    .nav-links.open a {
        font-size: 1.2rem;
    }

    .rosen-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rosen-image img {
        height: 350px;
    }

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

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

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

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

@media (max-width: 600px) {
    .section {
        padding: 4rem 1.2rem;
    }

    .hero {
        min-height: 600px;
    }

    .hero-rr-logo {
        width: 130px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    .image-break {
        background-attachment: scroll;
    }

    .rosen-image img {
        height: 260px;
    }

    .newsletter-form,
    .mailpoet_form,
    .mailpoet_form .mailpoet_form_form {
        flex-direction: column !important;
        background: transparent !important;
        border-radius: 0;
        box-shadow: none !important;
        overflow: visible;
        gap: 0.8rem;
    }

    .newsletter-input,
    .mailpoet_text {
        background: #fff !important;
        border-radius: 2px !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
        width: 100% !important;
    }

    .newsletter-btn.cta-button,
    .mailpoet_submit {
        width: 100% !important;
        border-radius: 2px !important;
    }
}