/* ==================================================
   AUTH (Login / Register)
================================================== */
.auth-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    background: linear-gradient(
        180deg,
        var(--bg-card),
        var(--bg-secondary)
    );
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 35px;
    width: 100%;
    max-width: 420px;
}

.auth-box h2 {
    margin-top: 0;
    text-align: center;
}

.auth-box label {
    display: block;
    margin-top: 15px;
    color: var(--text-secondary);
}

.auth-box input {
    margin-top: 6px;
}

.auth-box button {
    width: 100%;
    margin-top: 25px;
}

.auth-error {
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid rgba(255, 80, 80, 0.4);
    color: #ff9a9a;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.auth-register {
    margin-top: 20px;
    text-align: center;
    color: var(--text-muted);
}

.auth-register a {
    color: var(--accent);
    text-decoration: none;
}

/* ==================================================
   ROOT VARIABLES – CLEAN DARK BLUE THEME
================================================== */
:root {
    --bg-main: #0b1622;
    --bg-secondary: #0f2233;
    --bg-card: #132a3d;
    --bg-header: #0d1b2a;

    --accent: #1fb6ff;
    --accent-light: #3dd5ff;

    --text-main: #e6f1ff;
    --text-secondary: #9fb3c8;
    --text-muted: #6f8aa3;

    --border: #1f3b52;
    --hover: #1a3f5f;
}

/* ==================================================
   RESET & BASE
================================================== */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

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

.site-header {
    height: 300px;
    background: url('/assets/images/header7.png') center / cover no-repeat;
    position: relative;
}

.header-overlay {
    height: 100%;
    background: radial-gradient(
        circle at left,
        rgba(31,182,255,0.15),
        rgba(0,0,0,0.6)
    );
}

.header-content {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 50px;
    gap: 25px;
}

.logo {
    width: 110px;
    height: auto;
}

.header-text h1 {
    margin: 0;
    font-size: 2.5rem;
}

.header-text p {
    margin: 6px 0 0;
    color: var(--text-secondary);
}

.header-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-inner .logo {
    width: 110px;
    height: auto;
    margin-bottom: 14px;
}

.header-inner h1 {
    font-size: 2.4rem;
    margin: 0;
}

.header-inner p {
    font-size: 1rem;
    opacity: 0.85;
    margin-top: 6px;
}


.subtitle {
    position: absolute;
    bottom: 20px;
    left: 30px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ==================================================
   NAVIGATION
================================================== */
.main-nav {
    display: flex;
    gap: 30px;
    padding: 14px 50px;
    background: var(--bg-header);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: var(--accent);
}

/* ==================================================
   MAIN CONTENT
================================================== */
.site-content {
    padding: 50px;
}

/* ==================================================
   HOME CARDS
================================================== */
.home-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.card {
    background: linear-gradient(
        180deg,
        var(--bg-card),
        var(--bg-secondary)
    );
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all .25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-secondary);
}

.card a {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

/* Abstand unter dem Header – Startseite */
.home-sections {
    margin-top: 90px;
    padding: 0 40px 40px;
}

/* Karten-Grid Startseite */
.home-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.about-section {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.about-card {
    background: linear-gradient(
        180deg,
        rgba(20,35,55,0.95),
        rgba(10,20,35,0.95)
    );
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    position: relative;
    z-index: 2;
}

.about-card h2 {
    margin-bottom: 18px;
}

.about-card p {
    margin-bottom: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}
/* ==================================================
   NEWS
================================================== */
.home-news h2 {
    margin-bottom: 25px;
}

.news-card {
    background: linear-gradient(
        180deg,
        #12283a,
        #0f2233
    );
    padding: 22px;
    border-radius: 14px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.news-card h3 {
    margin-top: 0;
}

.news-card p {
    color: var(--text-secondary);
}

.news-card small {
    color: var(--text-muted);
}

/* ==================================================
   BUTTONS
================================================== */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--accent);
    color: #001018;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s ease;
}

.btn:hover {
    background: var(--accent-light);
}

/* ==================================================
   TABLES (Statistik / Tabelle)
================================================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 14px;
    overflow: hidden;
}

th, td {
    padding: 14px;
    text-align: left;
}

th {
    background: #102638;
    color: var(--text-secondary);
    font-weight: 600;
}

tr {
    border-bottom: 1px solid var(--border);
}

tr:last-child {
    border-bottom: none;
}

td {
    color: var(--text-main);
}

.stats-table-wrapper th small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-top: 2px;
}

.player-cell {
    text-align: left;
}

.player-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-mini img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.player-placeholder {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

/* ==================================================
   FOOTER
================================================== */
.site-footer {
    text-align: center;
    padding: 25px;
    background: var(--bg-header);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* ==================================================
   FORMS (Login etc.)
================================================== */
input, textarea {
    width: 100%;
    padding: 10px 12px;
    background: #0f2233;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

button {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #001018;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: var(--accent-light);
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-content {
        padding: 30px 20px;
    }
}

/* ==================================================
   TEAM
================================================== */
.team-section h2 {
    margin-bottom: 15px;
}

.team-intro {
    max-width: 700px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.team-card {
    background: linear-gradient(
        180deg,
        var(--bg-card),
        var(--bg-secondary)
    );
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

/* 🔥 WICHTIGSTE ÄNDERUNG */
.team-image {
    width: 100%;
    aspect-ratio: 1 / 1;   /* immer quadratisch */
    background: #0d1b2a;
    overflow: hidden;
}

/* Bild füllt den Container korrekt */
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-placeholder {
    font-size: 3rem;
    opacity: 0.6;
}

.team-info {
    padding: 18px;
    text-align: center;
}

.team-info h3 {
    margin: 0;
}

.nickname {
    color: var(--accent);
    margin: 6px 0 0;
    font-style: italic;
}

.position {
    color: var(--text-muted);
    margin-top: 4px;
    font-size: 0.9rem;
}

/* Team Details unter Name */
.team-details {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.team-details span {
    background: rgba(255,255,255,0.03);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
}
/* ==================================================
   STATISTIK
================================================== */
.stats-intro {
    max-width: 800px;
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.stats-table-wrapper {
    overflow-x: auto;
}

.stats-table-wrapper table {
    min-width: 1200px;
}

.stats-table-wrapper th {
    white-space: nowrap;
    font-size: 0.85rem;
    text-align: center;
}

.stats-table-wrapper td {
    text-align: center;
}

.stats-table td.pos {
    color: #2ecc71;
    font-weight: 600;
}

.stats-table td.neg {
    color: #e74c3c;
    font-weight: 600;
}

/* ==================================================
   DASHBOARD
================================================== */
.dashboard-welcome {
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.card h3 {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==================================================
   GALERIE
================================================== */
.gallery-intro {
    max-width: 700px;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.gallery-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .25s ease, border-color .25s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.gallery-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 12px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================================================
   GALLERY – ALBUM OVERVIEW
================================================== */
.gallery-intro {
    max-width: 700px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.gallery-album-card {
    background: linear-gradient(
        180deg,
        var(--bg-card),
        var(--bg-secondary)
    );
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, border-color .25s ease;
}

.gallery-album-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.gallery-album-image {
    height: 200px;
    background: #0d1b2a;
}

.gallery-album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.5;
}

.gallery-album-info {
    padding: 18px;
    text-align: center;
}

.gallery-album-info h3 {
    margin: 0;
}

.gallery-album-info small {
    color: var(--text-muted);
}

/* ==================================================
   GALLERY – IMAGES
================================================== */
.gallery-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.gallery-image-card {
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
}

.gallery-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================================================
   LIGHTBOX
================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.lightbox.active {
    display: block;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 25, 0.85);
    backdrop-filter: blur(4px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.lightbox-title {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.lightbox-arrow.left { left: 20px; }
.lightbox-arrow.right { right: 20px; }

.lightbox-arrow:hover {
    color: var(--accent);
}

/* ===============================
   STARTSEITE – NEWS
================================ */

.home-news {
    margin-top: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background: linear-gradient(180deg, #0e1b2a, #0a141f);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: transform .3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
}

/* ==================================================
   NEWS – BILD FIX (NICHT MEHR RIESIG)
================================================== */

.news-image {
    max-height: 420px;              /* <- HÖHE BEGRENZEN */
    overflow: hidden;
    background: #0d1b2a;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;            /* GANZES BILD SICHTBAR */
    display: block;
}
.news-content {
    padding: 20px;
}

.news-content h3 {
    margin-bottom: 10px;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent);
    font-weight: 600;
}

/* ===============================
   FOLLOW US – SOCIAL ICONS
================================ */

.follow-us {
    margin: 80px 0;
    text-align: center;
}

.follow-us h2 {
    margin-bottom: 10px;
}

.follow-us p {
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.follow-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.follow-icons a {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s ease;
}

.follow-icons img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.6));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.follow-icons span {
    margin-top: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.follow-icons a:hover img {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 25px 45px rgba(0,0,0,0.8));
}

.follow-icons a:hover {
    transform: translateY(-4px);
}

/* ===============================
   IFRAME SEITEN (TABELLE / SPIELPLAN)
================================ */

.iframe-page h1 {
    margin-bottom: 15px;
}

.back-btn {
    margin-bottom: 20px;
    display: inline-block;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 75vh;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

//// admin neu ////
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.btn-yellow {
    background: #f1c40f;
    color: #000;
}

.btn-green { background:#1db954; color:#fff; }
.btn-red   { background:#e63946; color:#fff; }
.btn-blue  { background:#1d9bf0; color:#fff; }

/* ==================================================
   COOKIE BANNER (TECHNISCH NOTWENDIG)
================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 900px;
    margin: auto;
    background: linear-gradient(
        180deg,
        var(--bg-card),
        var(--bg-secondary)
    );
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all .3s ease;
    z-index: 9999;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: none;
}

.cookie-banner button {
    background: var(--accent);
    color: #001018;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-banner button:hover {
    background: var(--accent-light);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

//// über uns ////
.home-about {
    margin: 40px auto 50px;
    padding: 28px 32px;
    max-width: 1000px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
    border-radius: 18px;
}

.home-about h2 {
    margin-bottom: 12px;
}

.home-about p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* Abstand nach Header */
.site-content {
    padding-top: 40px;
}

/* Über uns Bereich */
.about-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 30px;
    background: linear-gradient(180deg, rgba(15,32,50,.8), rgba(8,18,30,.9));
    border-radius: 16px;
}

.about-section h2 {
    margin-bottom: 15px;
}

.about-section p {
    line-height: 1.6;
    color: #cbd5e1;
}

/* ==================================================
   STARTSEITE – ÜBER UNS KARTE
================================================== */

.home-about {
    display: flex;
    justify-content: center;
    margin: 60px 0 50px;
    padding: 0 20px;
}

.about-card {
    max-width: 1100px;
    width: 100%;
    background: linear-gradient(
        180deg,
        var(--bg-card),
        var(--bg-secondary)
    );
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.35);
}

.about-card h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.6rem;
}

.about-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    white-space: normal;
}

/* Mobile Feinschliff */
@media (max-width: 768px) {
    .about-card {
        padding: 25px;
    }
}

/* ===============================
   NEWS – BILDER FIX
================================ */

.news-article-image,
.news-image {
    max-width: 100%;
    margin: 0 auto 25px;
    text-align: center;
}

.news-article-image img,
.news-image img {
    max-width: 100%;
    height: auto;
    max-height: 520px;          /* 👈 HIER steuerst du die Größe */
    object-fit: contain;        /* 🔥 komplettes Bild sichtbar */
    border-radius: 14px;
    display: block;
    margin: 0 auto;
    background: #0b1622;        /* ruhiger Hintergrund */
}

/* ================================
       Abstand zum Header
================================ */

.site-content,
.stats-section,
.team-section,
.news-section {
    margin-top: 40px;
}

/* ================================
       Seiten Counter
================================ */

.visitor-counter {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dashboard-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-visitors {
    margin-left: auto;
    font-size: 0.9rem;
    opacity: 0.85;
    white-space: nowrap;
}

.site-content {
    padding-top: 40px;
}

/* ===============================
   PAGE INTRO / HERO CARD
================================ */

.page-intro {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.intro-card {
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 40px 30px;
}

.intro-card h1 {
    margin-bottom: 14px;
    font-size: 2.1rem;
}

.intro-card .intro-sub {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===============================
   HEADER – MOBILE
================================ */
@media (max-width: 768px) {

    .site-header {
        height: 180px;
        background-position: center top;
    }

    .header-inner {
        padding: 30px 15px 20px;
    }

    .header-inner .logo {
        width: 80px;
        margin-bottom: 10px;
    }
}

/* ===============================
   NAV – MOBILE
================================ */
@media (max-width: 768px) {

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px;
    }

    .main-nav a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}

/* ===============================
   CARDS – MOBILE
================================ */
@media (max-width: 768px) {

    .dashboard-grid,
    .home-cards,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card {
        padding: 18px;
    }
}

/* ===============================
   INTRO / ABOUT – MOBILE
================================ */
@media (max-width: 768px) {

    .intro-card,
    .about-card {
        padding: 25px 20px;
    }

    .intro-card h1 {
        font-size: 1.6rem;
    }

    .intro-card .intro-sub {
        font-size: 0.95rem;
    }
}

/* ===============================
   TABLES – MOBILE SCROLL
================================ */
@media (max-width: 768px) {

    .stats-table-wrapper,
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 900px;
    }
}

/* ===============================
   FOOTER – MOBILE
================================ */
@media (max-width: 768px) {

    .site-footer {
        text-align: center;
        padding: 20px 15px;
    }

    .visitor-counter {
        margin-top: 8px;
        font-size: 0.9rem;
    }
}


/* ===============================
   Gästebuch
================================ */

.guestbook-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.guestbook-form input,
.guestbook-form textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.guestbook-entry img {
    max-width: 100%;
    margin-top: 10px;
    border-radius: 10px;
}
