@import "navigation.css";
@import "footer.css";
@import "contact_form.css";
@import "tabelle.css";
@import "piwigo.css";

@font-face {
    font-family: 'Bank Gothic';
    src: url('../fonts/bankgothic/BankGothic.woff2') format('woff2'),
        url('../fonts/bankgothic/BankGothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Titillium';
    src: url('../fonts/titillium/titillium-regular.woff2') format('woff2'),
        url('../fonts/titillium/titillium-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* Grundlegende Styles  Piwigo und Modx*/
/* ==========================================================================
   screen.css – Basis (nur Grund-Tags & Controls)
   ========================================================================== */

/* Reset/Baseline */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    border: none !important;
}

body {
    margin: 0;
    font-family: 'Titillium'!important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #1A1A1A !important;
    background-color: #F4F6F8 !important;
    border: none !important;
}

/* Rand von Piwigo entfernen*/
#wrapper {
    border: none !important;
}

#content {
    min-height: 40vh;
    /* Basis-Luft; Layout macht später navigation.css/footer.css */
}

.verteckt {
    display: none;
}

/* Grundstruktur */
header,
main,
footer {
    display: block !important;
}

header,
nav.navbar.navbar-expand-lg.navbar-main.bg-dark.navbar-dark {
    background-color: #0A1F44 !important;
    /* CI dunkel */
    color: #FFFFFF !important;
    padding: 16px !important;
    min-height: 180px !important;
}

.header-img {
    padding-left: 15px;
    padding-top: 6px;
}

main {
    padding: 16px !important;
    min-height: 40vh!important;   /* Basis-Luft; Layout macht später navigation.css/footer.css */
}

/* Basis-Footer für MODX & Piwigo (gleiches Aussehen) */
footer,
.copyright.container-fluid {
    background-color: #0A1F44 !important;
    color: #FFFFFF !important;
    padding: 16px !important;
    border: none !important;
    text-align: left !important;
}

/* Footer-Links einheitlich */
footer a,
.copyright.container-fluid a {
    color: #00B5E2 !important;
    text-decoration: none !important;
}

footer a:hover,
footer a:focus,
.copyright.container-fluid a:hover,
.copyright.container-fluid a:focus {
    text-decoration: underline !important;
    outline: 2px solid #00B5E2 !important;
    outline-offset: 2px !important;
}

/* Piwigo erzwingt oft .text-center – neutralisieren */
.copyright.container-fluid .text-center {
    text-align: left !important;
}

/* Links (global) */
a {
    color: #00B5E2 !important;
    text-decoration: none !important;
    border-radius: 5px !important;
}

/* Piwigo klappmenu*/
.dropdown-item {
    margin-left: 0px !important;

}

a:hover,
a:focus {
    outline: 2px solid #00B5E2 !important;
    /* sichtbarer Focus-Ring */
    outline-offset: 2px !important;
    color: #0A1F44 !important;
    background-color: #fffbf0 !important;
}

/* Überschriften (schlanke Basis) */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 16px 0 !important;;
    font-family: 'Bank Gothic'!important;
    line-height: 1.2 !important;
    color: #0A1F44 !important;
}

/* Absatzgrundlage */
p {
    margin: 0 0 16px 0 !important;
}

.button {
    display: inline-block !important;
    background: #00B5E2 !important;
    color: white !important;
    padding: 0.7em 1.5em !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    margin-top: 1em !important;
}

.button:hover {
    background: #0095c5 !important;
    color: darkblue !important;
    outline: 2px solid #00B5E2 !important;
        /* sichtbarer Focus-Ring */
        outline-offset: 2px !important;
}


