/* ============================================
   SCHLOGK TEMPLATE – WUNSCHLOS-SORGLOS-GLÜCK CSS
   Sessel-Branding • Goldlinien • Transparenz • Glow
   ============================================ */


/* === FARBSYSTEM === */
:root {
    --gold: #d4a017;
    --gold-light: #f1c75e;
    --white: #ffffff;

    --box-border: var(--gold);
    --box-glow: 0 0 10px rgba(212, 160, 23, 0.6);

    --text-shadow: 0 0 8px rgba(255,255,255,0.4);
}


/* ============================================
   GLOBAL / BASISLAYOUT
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 🪑 HIER SITZT DEIN SESSEL */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--white);

    background-image: url("/templates/schlogk/images/hintergrund.jpg");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* >>> NEU: GLOBALER TEXT-INNENABSTAND <<< */
body * {
    padding-left: 10px;
    padding-right: 10px;
}

/* Joomla-Modul-Container neutralisieren */
.moduletable,
.module {
    display: block;
    margin: 0;
    padding: 0;
}

/* Links */
a {
    color: var(--gold-light);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--gold);
}


/* ============================================
   HEADER – GLAS + GOLD + GLOW
   ============================================ */

.site-header {
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    border-bottom: 2px solid var(--gold);
    padding: 15px 20px;
    min-height: 60px;
    box-shadow: 0 0 12px rgba(212, 160, 23, 0.3);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header .moduletable,
.site-header .module {
    display: inline-block;
    margin: 0 10px 0 0;
}


/* ============================================
   FOOTER – GLAS + GOLD + GLOW
   ============================================ */

.site-footer {
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    border-top: 2px solid var(--gold);
    padding: 15px 20px;
    min-height: 60px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    color: var(--gold-light);
}

.site-footer .moduletable,
.site-footer .module {
    display: inline-block;
    margin: 0 10px;
}


/* ============================================
   MAINBEREICH – GLAS-KARTE ÜBER DEM SESSEL
   ============================================ */

.site-main {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    border: 1px solid var(--gold);
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 0 15px rgba(212, 160, 23, 0.25);
    border-radius: 6px;
    min-height: 200px;
}/* Globaler Textabstand für alle Inhaltsbereiche */
.site-main,
.site-main * {
    padding-left: 12px;
    padding-right: 12px;
}



/* ============================================
   MODULGRUPPEN (7er Reihen)
   ============================================ */

.underhead-wrapper,
.overfooter-wrapper,
.underfooter-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 20px 0;
}


/* ============================================
   KÄSTCHEN – SCHWEBEN ÜBER DEM SESSEL
   ============================================ */

.underhead-box,
.overfooter-box,
.underfooter-box {
    flex: 1;
    min-height: 60px;
    background: rgba(0,0,0,0.30);
    backdrop-filter: blur(4px);
    border: 1px solid var(--gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: var(--box-glow);
}

.underhead-box:hover,
.overfooter-box:hover,
.underfooter-box:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--gold-light);
    color: var(--white);
    box-shadow: 0 0 15px var(--gold-light);
    transform: translateY(-3px);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .underhead-wrapper,
    .overfooter-wrapper,
    .underfooter-wrapper {
        flex-wrap: wrap;
    }

    .underhead-box,
    .overfooter-box,
    .underfooter-box {
        flex: 1 1 calc(33.33% - 10px);
    }

    .site-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .underhead-box,
    .overfooter-box,
    .underfooter-box {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 400px) {
    .underhead-box,
    .overfooter-box,
    .underfooter-box {
        flex: 1 1 100%;
    }
}


/* ============================================
   TYPOGRAFIE – SCHLOGK STYLE
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    margin: 0 0 15px 0;
    font-weight: 600;
    text-shadow: var(--text-shadow);
}

p {
    margin: 0 0 15px 0;
    color: var(--white);
}

ul, ol {
    margin: 0 0 15px 20px;
    color: var(--white);
}

li {
    margin-bottom: 5px;
}


/* ============================================
   TABELLEN
   ============================================ */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    color: var(--white);
}

th, td {
    border: 1px solid var(--gold);
    padding: 10px;
}

th {
    background: rgba(255,255,255,0.1);
    font-weight: 600;
}


/* ============================================
   FORMULARE
   ============================================ */

input, textarea, select {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 8px;
    width: 100%;
    margin-bottom: 10px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 10px var(--gold-light);
}


/* ============================================
   MATRIX GRID
   ============================================ */

.schlogk-matrix {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.schlogk-alpha-nav {
    display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 8px 12px;
    margin-top: 10px;
    font-family: "ITC Avant Garde Gothic", sans-serif;
    font-weight: bold;
    font-style: italic;
}

.schlogk-alpha-nav a {
    text-decoration: none;
    color: #fff;
    padding: 4px 6px;
    border-radius: 4px;
    transition: 0.2s ease;
}

.schlogk-alpha-nav a:hover {
    background: #eee;
}
/* Abstand für alle Joomla-Artikel */
.item-page,
.com-content-article,
.com-content-article__body {
    padding-left: 20px;
    padding-right: 20px;
}
/* Fester Abstand für alle Texte im Content-Bereich */
.site-main {
    padding-left: 20px;
    padding-right: 20px;
}

.site-main * {
    padding-right: 20px;
}
/* --- SCHLOGK Menü: Gold-Schwarz-Glas-Optik --- */

.schlogk-menu {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.35); /* Glas-Effekt */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.35); /* Gold */
    border-radius: 12px;
}

.schlogk-column {
    flex: 1;
    min-width: 180px;
}

.schlogk-column h3 {
    font-family: "ITC Avant Garde Gothic", sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #FFD700; /* Gold */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schlogk-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schlogk-column ul li {
    margin-bottom: 6px;
}

.schlogk-column ul li a {
    font-family: "ITC Avant Garde Gothic", sans-serif;
    font-size: 14px;
    color: #f0f0f0;
    text-decoration: none;
    padding: 4px 0;
    display: block;
    transition: all 0.2s ease;
}

.schlogk-column ul li a:hover {
    color: #FFD700; /* Gold Hover */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    transform: translateX(3px);
}
/* --- SCHLOGK Menü: Hover-Gold-Effekte --- */

.schlogk-column ul li a {
    font-family: "ITC Avant Garde Gothic", sans-serif;
    font-size: 14px;
    color: #e6e6e6;
    text-decoration: none;
    padding: 4px 0;
    display: block;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

/* Hover-Effekt: Gold + Glow + leichte Bewegung */
.schlogk-column ul li a:hover {
    color: #FFD700; /* Gold */
    text-shadow: 
        0 0 6px rgba(255, 215, 0, 0.6),
        0 0 12px rgba(255, 215, 0, 0.4),
        0 0 18px rgba(255, 215, 0, 0.2);
    transform: translateX(4px);
    letter-spacing: 0.6px;
}
