/* ============================
   GLOBAL
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* vorher 15px */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Inter", "Roboto", sans-serif;
    color: #222;
    line-height: 1.55; /* vorher 1.45 */
}

/* Grid für die Cards */
.home-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* vorher 180px */
    gap: 1.6rem; /* vorher 1.4rem */
    margin: 2.4rem 0; /* vorher 2rem */
}

/* Einzelne Card */
.home-card {
    text-align: center;
    padding: 1rem; /* vorher 0.8rem */
}

/* Blob-Bild */
.home-card-img {
    width: 135px; /* vorher 120px */
    height: 135px; /* vorher 120px */
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.8rem; /* vorher 0.6rem */
}

/* Titel */
.home-card h3 {
    font-size: 1.25rem; /* vorher 1.1rem */
    margin-bottom: 0.5rem;
}
/* ============================
   ABOUT / SPIELREGELN
   ============================ */

.rules-section {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1.2rem;
}

.rules-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222;
    font-weight: 700;
}

/* Jede Regelkarte */
.rule-card {
    background: #111; /* dunkle Box */
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.6rem;
    margin-bottom: 1.6rem;
    color: #eee;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.08);
}

/* Titel in der Box */
.rule-card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Text */
.rule-card p {
    line-height: 1.6;
    margin: 0.2rem 0;
    color: #ddd;
}


/* Punkte-Liste */
.home-card ul {
    list-style: disc;
    padding-left: 1.4rem; /* vorher 1.2rem */
    text-align: left;
    font-size: 1rem; /* vorher 0.9rem */
    color: #444;
}

body.dark .home-card p {
    color: #ffb347;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: #f5f5f5;
    color: #333;
    padding: 2.4rem 1.2rem; /* vorher 2rem */
    margin-top: 3.4rem; /* vorher 3rem */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.4rem; /* vorher 2rem */
}

.footer-section h3 {
    margin-bottom: 0.8rem; /* vorher 0.6rem */
    color: #222;
    font-size: 1.2rem; /* neu */
}

.footer-section p,
.footer-section a {
    color: #555;
    text-decoration: none;
    font-size: 1rem; /* neu */
}

.social i {
    font-size: 1.6rem; /* vorher 1.4rem */
    color: #ffb347;
    transition: 0.3s;
}

/* ============================
   HEADER
   ============================ */
.page-content {
    margin-top: 110px; /* vorher 100px */
}

.gr-header {
    background: #e3eee7;
    border-bottom: 1px solid #d5e4db;
    padding: 0.8rem 1.2rem; /* vorher 0.6rem */
}

.gr-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.gr-logo img.logo {
    height: 44px; /* vorher 38px */
    width: auto;
}

/* Userbox */
.gr-userbox {
    font-size: 1.05rem; /* vorher 0.95rem */
    display: flex;
    gap: 0.5rem; /* vorher 0.4rem */
    align-items: center;
    white-space: nowrap;
}

/* ============================
   RIGHT SIDE
   ============================ */
.gr-right {
    display: flex;
    align-items: center;
    gap: 1rem; /* vorher 0.8rem */
}

.flag-icon {
    width: 22px; /* vorher 20 */
    height: 16px; /* vorher 14 */
}

.dropdown-content a {
    padding: 0.5rem 0.7rem; /* vorher 0.4rem */
    font-size: 1rem; /* vorher 0.9rem */
}

/* ============================
   SLIDER
   ============================ */
.gr-slider {
    height: 130px; /* vorher 110px */
}

.gr-slide img {
    height: 130px; /* vorher 110px */
}

.gr-caption h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem); /* leicht größer */
}

.gr-prev,
.gr-next {
    font-size: 2.8rem; /* vorher 2.5rem */
}

/* ============================
   BURGER MENU
   ============================ */
.gr-burger {
    font-size: 1.8rem; /* vorher 1.6rem */
}

.gr-menu li a {
    padding: 0.7rem 0.9rem; /* vorher 0.6rem */
    font-size: 1rem; /* vorher 0.95rem */
}

/* ============================
   MOBILE
   ============================ */
@media (max-width: 480px) {

    html {
        font-size: 15px; /* vorher 14px */
    }

    .gr-logo img.logo {
        height: 32px; /* vorher 28px */
    }

    .gr-userbox {
        font-size: 1rem; /* vorher 0.9rem */
    }

    .gr-right {
        gap: 0.8rem; /* vorher 0.6rem */
    }

    .gr-menu {
        width: 170px; /* vorher 160px */
    }

    .list-group-item {
        font-size: 1rem; /* vorher 0.9rem */
    }
}

/* ============================
   DARK MODE (nur Größen relevant angepasst)
   ============================ */

body.dark .footer-section h3 {
    font-size: 1.2rem;
}

body.dark .footer-section p,
body.dark .footer-section a {
    font-size: 1rem;
}

body.dark .home-card h3 {
    font-size: 1.25rem;
}

body.dark .home-card ul {
    font-size: 1rem;
}
