html,
body {
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    color: #ffffff;

    overflow-x: hidden;

    position: relative;
    isolation: isolate;
}

html {

    margin: 0;

    padding: 0;

    background: #f4f4f4;

}


header {
    background: #111;
    padding: 6px;
    text-align: center;

    border: 2px solid #c40000;
    box-sizing: border-box;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {

    width: 92%;

    max-width: 260px;

    height: auto;

    display: block;

    margin: 0 auto;

}

/* verhindert Rendering Bugs in modernen Layouts */
main {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 4px;

    background: transparent;
    box-sizing: border-box;

    position: relative;
    z-index: 1;
}

/* -------------------------------- */
/* FOOTER */
/* -------------------------------- */

footer {

    text-align: center;

    padding: 18px 12px;

    color: #777;

    background: #111;

    border-top: 1px solid #333;

    font-size: 14px;

}

footer p {

    margin: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

}

footer a {

    color: #f0f0f0;

    text-decoration: none;

    font-weight: 600;

    transition: 0.2s;

}

footer a:hover {

    color: #ff2a2a;

    text-decoration: underline;

}

.layout {

    display: flex;

    gap: 8px;

    width: 100%;

    max-width: 1600px;

    margin: 0 auto;

    padding: 0;

    justify-content: center;

    align-items: flex-start;

    box-sizing: border-box;

}

.content {

    flex: 0 1 760px;

}

.sidebar {

    flex: 0 0 220px;

}

.card,
.ad-box {

    width: 100%;

    background: #1a1a1a;

    border-radius: 10px;

    padding: 14px;

    margin-bottom: 8px;

    border: 2px solid #c40000;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.35);

    box-sizing: border-box;

}

.category {

    margin-bottom: 12px;

}

.category h3 {

    margin-bottom: 6px;

    font-size: 22px;

    font-weight: 800;

    color: #ff2a2a;

    text-transform: capitalize;

}

.category p {

    font-size: 20px;

    line-height: 1.6;

    color: #f5f5f5;

    font-weight: 500;

}

.ad-box {

    min-height: 180px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #bbb;

    border: 1px solid #333;

}

#breadcrumbs {

    width: 100%;

    margin: 2px 0 6px 0;

    padding: 0 2px;

    font-size: 24px;

    font-weight: 800;

    color: #ff2a2a;

    line-height: 1.2;

    box-sizing: border-box;

}

#sign-name {

    font-size: 30px;

    font-weight: 900;

    line-height: 1.05;

    margin-bottom: 10px;

    color: white;

    text-transform: uppercase;

    letter-spacing: 1px;

}

.intro-text {

    font-size: 22px;

    line-height: 1.7;

    margin-bottom: 14px;

    color: #f1f1f1;

    font-weight: 600;

}

#related-title {

    color: #ff2a2a;

    font-size: 24px;

    font-weight: 800;

    margin-top: 0;

    margin-bottom: 10px;

}

#related-links a {

    display: block;

    margin-bottom: 6px;

    text-decoration: none;

    color: #f0f0f0;

    font-size: 18px;

    font-weight: 600;

}

#related-links a:hover {

    text-decoration: underline;

    color: #ff2a2a;

}

#main-menu {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-top: 6px;

    margin-bottom: 12px;

}

.top-ad-banner {

    width: 100%;

    background: #111;

    color: #888;

    border-top: 2px solid #c40000;

    border-bottom: 2px solid #c40000;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    font-weight: 700;

    box-sizing: border-box;

    margin-bottom: 8px;

}

.nav-selector {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 6px;

    background: #111;

    border: 2px solid #c40000;

    border-radius: 10px;

    padding: 6px 8px;

    box-shadow:
        0 2px 6px rgba(0,0,0,0.08);

    box-sizing: border-box;

}

.nav-selector button {

    border: none;

    background: #c40000;

    color: white;

    border-radius: 8px;

    width: 44px;

    height: 44px;

    cursor: pointer;

    font-size: 20px;

    font-weight: 700;

    transition: 0.2s;

}

.nav-selector button:hover {

    background: #a30000;

}

.nav-current {

    flex: 1;

    text-align: center;

    font-weight: 800;

    font-size: 22px;

    color: white;

}

input[type="date"] {

    width: 100%;

    border: 2px solid #c40000;

    border-radius: 8px;

    padding: 8px;

    font-size: 18px;

    background: #111;

    color: white;

    text-align: center;

    font-weight: 700;

    box-sizing: border-box;

}

.calendar-button {

    position: relative;

    width: 44px;

    height: 44px;

    background: #c40000;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    cursor: pointer;

    overflow: hidden;

    flex-shrink: 0;

}

.calendar-button input {

    position: absolute;

    inset: 0;

    opacity: 0;

    cursor: pointer;

}

.date-current {

    font-size: 18px;

}

.no-horoscope {

    background: #2a1111;

    border: 2px solid #c40000;

    padding: 16px;

    border-radius: 10px;

    font-size: 22px;

    font-weight: 700;

    color: #ff6666;

    text-align: center;

}

@media (max-width: 900px) {

    .layout {

        flex-direction: column;

        align-items: stretch;

    }

    .sidebar {

        width: 100%;

        flex: none;

    }

}

@media (min-width: 900px) {

    .logo {

        max-width: 360px;

    }

}
/* -------------------------------- */
/* CATEGORY PAGE LINKS */
/* -------------------------------- */

.category-links-vertical {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.category-links-vertical a {

    display: block;

    background: #111;

    border: 2px solid #c40000;

    border-radius: 10px;

    padding: 14px 16px;

    color: #f5f5f5;

    text-decoration: none;

    font-size: 22px;

    font-weight: 700;

    transition: 0.2s;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.25);

}

.category-links-vertical a:hover {

    background: #1d1d1d;

    border-color: #ff2a2a;

    color: #ff2a2a;

    transform: translateY(-1px);

}


/* -------------------------------- */
/* CATEGORY GRID */
/* -------------------------------- */

.category-grid {

    display: flex;

    flex-direction: column;

    gap: 10px;

    align-items: center;

}

.category-link {

    display: block;

    background: #111;

    border: 2px solid #c40000;

    border-radius: 10px;

    padding: 14px 16px;

    color: #f5f5f5;

    text-decoration: none;

    font-size: 22px;

    font-weight: 700;

    transition: 0.2s;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.25);

    width: 80%; 
    max-width: 400px; 
    text-align: center;

}

.category-link:visited {

    color: #f5f5f5;

}

.category-link:hover {

    background: #1d1d1d;

    border-color: #ff2a2a;

    color: #ff2a2a;

    transform: translateY(-1px);

}




/* -------------------------------- */
/* SECTION HEADER */
/* -------------------------------- */

.section-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 14px;

}


/* -------------------------------- */
/* LANGUAGE BAR */
/* -------------------------------- */

.language-bar {

    

    top: 74px;

    z-index: 900;

    display: flex;

    justify-content: center;

    gap: 6px;

    overflow-x: auto;

    padding: 6px 8px;

    background: transparent;

}

.language-bar a {

    flex: 0 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 44px;

    height: 34px;

    padding: 0 10px;

    background: transparent;

    border: 1px solid #111;

    border-radius: 8px;

    color: #111;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition: 0.2s;

}

.language-bar a:hover {

    background: #f3f3f3;

}

.language-bar a.active {

    background: #111;

    color: #ffffff;

}


.dual-sign-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

}

.sign-column {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.sign-column h3 {

    margin: 0;

    font-size: 20px;

    color: #ff2a2a;

    text-align: center;

}

@media (max-width: 700px) {

    .dual-sign-grid {

        grid-template-columns: 1fr;

    }

}

/* -------------------------------- */
/* PREVIEW CARD */
/* -------------------------------- */

#preview-card {

    text-align: center;

    padding: 12px 14px;

}

#preview-card:empty {

    display: none;

}

.preview-link {

    display: block;

    color: #f0f0f0;

    text-decoration: none;

    font-size: 20px;

    font-weight: 700;

    padding: 10px 0;

    transition: 0.2s;

}

.preview-link:hover {

    color: #ff2a2a;

    text-decoration: underline;

}

.preview-link::before {

    content: "→ ";

    color: #ff2a2a;

}


/* -------------------------------- */
/* PREVIEW CARD */
/* -------------------------------- */

#preview-card {

    text-align: center;

    padding: 12px 14px;

}

#preview-card:empty {

    display: none;

}

.preview-link {

    display: block;

    color: #f0f0f0;

    text-decoration: none;

    font-size: 20px;

    font-weight: 700;

    padding: 10px 0;

    transition: 0.2s;

}

.preview-link:hover {

    color: #ff2a2a;

    text-decoration: underline;

}

.preview-link::before {

    content: "→ ";

    color: #ff2a2a;

}

/* -------------------------------- */
/* COOKIE BANNER */
/* -------------------------------- */

#cookie-overlay {

    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;

}

#cookie-box {

    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    background: #111;
    border-top: 2px solid #c40000;
    padding: 20px 16px;
    text-align: center;

    color: #f0f0f0;

}

#cookie-box h2 {

    font-size: 20px;
    font-weight: 800;
    color: #ff2a2a;
    margin: 0 0 10px 0;

}

#cookie-box p {

    font-size: 15px;
    line-height: 1.5;
    color: #ccc;
    margin: 0 0 16px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;

}

#cookie-buttons {

    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;

}

#cookie-accept {

    background: #c40000;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;

}

#cookie-accept:hover {

    background: #a30000;

}

#cookie-necessary {

    background: transparent;
    color: #f0f0f0;
    border: 2px solid #555;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;

}

#cookie-necessary:hover {

    border-color: #888;

}

#cookie-decline {

    background: transparent;
    color: #888;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;

}

/* -------------------------------- */
/* SHARE BUTTON */
/* -------------------------------- */

.share-button {

    display: block;

    width: 100%;

    margin-top: 16px;

    padding: 14px 18px;

    background: #c40000;

    color: #ffffff;

    border: 2px solid #ff2a2a;

    border-radius: 10px;

    font-size: 22px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.35);

}

.share-button:hover {

    background: #a30000;

    border-color: #ff5555;

}

.share-button:active {

    transform: translateY(1px);

}





footer {
    color: #bdbdbd;
}

.ad-box {
    color: #e0e0e0;
}

.top-ad-banner {
    color: #d0d0d0;
}

#cookie-box p {
    color: #e0e0e0;
}

#cookie-decline {
    color: #d0d0d0;
}

.language-bar a {
    color: #222;
    background: #ffffff;
    border-color: #777;
}

.no-horoscope {
    color: #ff9999;
}

/* -------------------------------- */
/* DATE NAVIGATION CARD */
/* -------------------------------- */

#date-navigation-card {

    text-align: center;

    padding: 14px;

}


#date-navigation-title {

    color: #ff2a2a;

    font-size: 24px;

    font-weight: 800;

    margin-top: 0;

    margin-bottom: 12px;

}


#date-navigation-links {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

}


#date-navigation-links a {

    display: inline-block;

    background: #111;

    border: 2px solid #c40000;

    border-radius: 10px;

    padding: 10px 16px;

    color: #f5f5f5;

    text-decoration: none;

    font-size: 20px;

    font-weight: 800;

    transition: 0.2s;

}


#date-navigation-links a:hover {

    background: #1d1d1d;

    border-color: #ff2a2a;

    color: #ff2a2a;

}


#date-navigation-hint {

    margin-top: 12px;

    margin-bottom: 0;

    color: #ccc;

    font-size: 16px;

    line-height: 1.4;

}