/* =========================================================
   CycleNetwork – Site Styles
   Aufgeräumte Struktur: Navigation, Seitenbereiche, Komponenten,
   Formulare und Responsive Anpassungen.
========================================================= */

/* =========================
   NAVIGATION
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

    .site-header.scrolled .navbar {
        background: #F3F3F3;
    }

.navbar {
    padding: .75rem 1.5rem;
}

.logo-name {
    height: 45px;
}

.navbar-nav {
    gap: .5rem;
}

.nav-link {
    position: relative;
    padding: 1rem 1.2rem !important;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: .4rem;
        width: 0;
        height: 4px;
        background: var(--bs-primary);
        transform: translateX(-50%);
        transition: .3s ease;
    }

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

.nav-logo {
    position: absolute;
    left: 50%;
    top: 120%;
    transform: translate(-50%, -50%);
    z-index: 101;
}

.site-header .nav-logo {
    height: 180px;
    top: 50%;
}

/* =========================
   HERO / HOME
========================= */

.hero {
    padding-bottom: 4rem;
}

.hero-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 80vh;
    min-height: 500px;
    object-fit: cover;
    border-radius: 2rem;
}

.hero-overlay {
    position: absolute;
    left: 50%;
    bottom: 3rem;
    transform: translateX(-50%);
    text-align: center;
}

    .hero-overlay h1 {
        margin-bottom: 2rem;
        background: rgba(243, 243, 243, .2);
        padding: .75rem 2rem;
        border-radius: 1rem;
    }

.hero-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 14px 34px;
    background-color: #96C11F;
    color: #1D1D1B;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    transition: .2s ease;
}

    .hero-btn:hover {
        background-color: #F2CC07;
        color: #1D1D1B;
        transform: translateY(-2px);
    }

/* =========================
   STEPS
========================= */

.step-box {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border-radius: 14px;
    padding: 22px 12px;
    text-align: center;
    font-weight: 600;
}

.step-img {
    width: 100%;
    height: 65vh;
    object-fit: cover;
    border-radius: 14px;
}

/* =========================
   SOCIAL SECTION
========================= */

.social-text {
    max-width: 520px;
}

.social-wall {
    position: relative;
    max-width: 760px;
    height: 260px;
    border: 2px solid var(--bs-warning);
    border-radius: 12px;
}

.social-card {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.card-large {
    width: 110px;
    height: 70px;
    left: 45px;
    top: 40px;
    background: var(--bs-primary);
}

.card-small {
    width: 80px;
    height: 90px;
    left: 190px;
    top: 75px;
    background: rgba(95, 120, 73, .35);
}

.card-wide {
    width: 140px;
    height: 45px;
    left: 300px;
    top: 125px;
    background: var(--bs-primary);
}

.card-yellow {
    width: 130px;
    height: 80px;
    right: 80px;
    top: 70px;
    background: var(--bs-warning);
}

.card-green {
    width: 90px;
    height: 55px;
    right: 190px;
    top: 30px;
    background: rgba(150, 193, 31, .55);
}

.card-light {
    width: 125px;
    height: 50px;
    left: 70px;
    bottom: 40px;
    background: rgba(95, 120, 73, .25);
}

.card-mini {
    width: 28px;
    height: 28px;
    left: 380px;
    top: 65px;
    border-radius: 50%;
    background: var(--bs-primary);
}

.social-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #5F7849;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    transition: .2s ease;
}

    .social-icon:hover {
        background: var(--bs-primary);
        color: #1D1D1B;
        transform: translateY(-3px);
    }

/* =========================
   NEWSLETTER
========================= */

.newsletter-title {
    color: var(--bs-warning);
}

.newsletter-subtitle {
    margin-bottom: 2rem;
}

/* =========================
   LOGIN / REGISTER
========================= */

.login-title {
    text-align: center;
    margin-bottom: 3rem;
}

.input-wrapper {
    display: flex;
    align-items: center;
    height: 60px;
    border: 2px solid var(--bs-secondary);
    border-radius: 999px;
    background: #fff;
}

.input-icon {
    width: 22px;
    height: 22px;
    margin-left: 20px;
    margin-right: 14px;
    filter: brightness(0) saturate(100%) invert(78%) sepia(79%) saturate(1035%) hue-rotate(8deg) brightness(102%) contrast(95%);
}

.login-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding-right: 20px;
}

.login-btn {
    width: 100%;
    height: 60px;
    border: 2px solid var(--bs-primary);
    border-radius: 999px;
    background: transparent;
    color: var(--bs-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    transition: .3s;
}

    .login-btn:hover {
        background: var(--bs-primary);
        color: #fff;
    }

    .login-btn:active {
        transform: translateY(0);
    }

    .login-btn:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(150, 193, 31, .25);
    }

.register-link a {
    text-decoration: none;
    font-weight: 600;
}

/* =========================
   EDITOR
========================= */

.editor-page {
    padding: 70px 0;
    background: var(--background);
}

    .editor-page p,
    .editor-hero p,
    .editor-header p {
        color: rgba(29, 29, 27, .7);
    }

    .editor-page p {
        font-size: 1.1rem;
    }

.editor-hero {
    max-width: 760px;
    margin: 0 auto 50px;
}

    .editor-hero h1 {
        margin-bottom: 16px;
    }

    .editor-hero p {
        font-size: 1.05rem;
    }

.editor-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(150, 193, 31, .15);
    color: var(--primary-dark);
    font-weight: 700;
}

.editor-card {
    background: #fff;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ececec;
}

    .editor-header h2 {
        margin-bottom: 8px;
    }

    .editor-header p {
        margin: 0;
    }

.editor-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .editor-actions .btn {
        border-radius: 999px;
        padding: 10px 22px;
        font-weight: 600;
    }

.editor-content {
    min-height: 600px;
}

blog-editor {
    display: block;
    width: 100%;
}

.editor-label {
    display: block;
    margin-bottom: .75rem;
    font-weight: 700;
}

.editor-input {
    width: 100%;
    height: 60px;
    border: 2px solid var(--bs-secondary);
    border-radius: 999px;
    padding: 0 1.5rem;
    outline: none;
    background: #fff;
}

    .editor-input:focus {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 4px rgba(150, 193, 31, .18);
    }

.editor-box {
    min-height: 420px;
    border: 2px solid rgba(95, 120, 73, .35);
    border-radius: 1.5rem;
    padding: 1.5rem;
    background: #fdfdfd;
}

.editor-btn {
    min-width: 240px;
    height: 60px;
    border: none;
    border-radius: 999px;
    background: var(--bs-primary);
    color: #fff;
    font-weight: 700;
    transition: .3s;
}

    .editor-btn:hover {
        background: #84ab18;
        transform: translateY(-2px);
    }

/* =========================
   CONTENT / BLOG DETAIL
========================= */

.content-kicker {
    color: var(--bs-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .5rem;
}

.content-page p {
    color: rgba(29, 29, 27, .7);
    font-size: 1.05rem;
}

.content-card {
    background: #fff;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.user-content {
    line-height: 1.8;
}

    .user-content h1,
    .user-content h2,
    .user-content h3 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .user-content p {
        margin-bottom: 1.2rem;
    }

    .user-content img {
        max-width: 100%;
        margin: 2rem 0;
        border-radius: 1.5rem;
    }

.content-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    border-radius: 999px;
    background: var(--bs-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

    .content-back-btn:hover {
        background: #84ab18;
        color: #fff;
        transform: translateY(-2px);
    }

/* =========================
   MAP / ROUTES
========================= */

.map-page {
    min-height: 80vh;
    padding: 70px 0;
    background: var(--background);
}

    .map-page h1 {
        margin-bottom: 1rem;
    }

.map-hero {
    max-width: 780px;
    margin: 0 auto 48px;
}

.map-kicker {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.map-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    margin-bottom: 14px;
}

.map-hero p {
    color: rgba(29, 29, 27, .72);
    font-size: 1.1rem;
}

.map-card,
.route-map-card {
    background: #fff;
    box-shadow: 0 20px 50px rgba(29, 29, 27, .1);
}

.map-card {
    border-radius: 32px;
    padding: 22px;
}

.route-map-card {
    border-radius: 2rem;
    overflow: hidden;
}

.map-card-info {
    padding: 6px 6px 18px;
}

    .map-card-info span {
        display: inline-block;
        margin-bottom: 12px;
        padding: 6px 14px;
        border-radius: 999px;
        background: rgba(150, 193, 31, .16);
        color: var(--primary-dark);
        font-weight: 800;
    }

    .map-card-info h2 {
        margin-bottom: 6px;
        font-size: 1.6rem;
    }

    .map-card-info p {
        margin: 0;
        color: rgba(29, 29, 27, .72);
    }

.map-frame {
    height: 460px;
    border: 2px solid rgba(95, 120, 73, .18);
    border-radius: 24px;
    overflow: hidden;
    background: #ddd;
}

    .map-frame map-element {
        display: block;
        width: 100%;
        height: 100%;
    }

.route-link {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 600;
}

    .route-link:hover {
        color: var(--bs-secondary);
    }

/* =========================
   ABOUT
========================= */

.about-page {
    padding: 80px 0;
    background: var(--background);
}

.about-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(150, 193, 31, .15);
    color: var(--primary-dark);
    font-weight: 700;
}

.about-page h1 {
    margin: 20px 0;
}

.about-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: .3s;
}

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

.about-page .card {
    transition: .3s;
}

    .about-page .card:hover {
        transform: translateY(-8px);
    }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .about-img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        min-height: 400px;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .step-img {
        height: 300px;
    }

    .social-wall {
        height: 220px;
    }

    .editor-card,
    .content-card {
        padding: 2rem;
    }

    .editor-header {
        flex-direction: column;
    }
}
/* Nur Smartphones */
@media (max-width: 575.98px) {
    .nav-logo {
        display: none;
    }
    .logo-name {
        height: 30px;
    }
    .card-wide {
        width: 140px;
        height: 45px;
        left: 210px;
        top: 125px;
        background: var(--bs-primary);
    }
    .card-mini {
        width: 40px;
        height: 108px;
        left: 323px;
        top: 8px;
        border-radius: 50%;
        background: var(--bs-primary);
    }
}