/*
 Theme Name: Carthago Theme
 Description: Custom Theme für Carthago
 Version: 1.0.0
 Author: Network-Media
 Text Domain: carthago
*/

main {
    padding-left: 10rem;
    padding-right: 10rem;
    overflow: hidden;
}

#site-content section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}
body * {
    font-family: "nunito-sans", sans-serif;
}
.headlines, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "new-order", sans-serif !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}
h1, .h1 {
    font-size: clamp(3rem, 1.5rem + .01875 * 100vw, 3.75rem) !important;
}
h2, .h2 {
    font-size: clamp(2.25rem, .5rem + .021875 * 100vw, 3.125rem) !important;
}
h3, .h3 {
    font-size: clamp(1.5rem, .75rem + .009375 * 100vw, 1.875rem) !important;
}
h4, .h4 {
    font-size: 1.125rem !important;
}
.button--primary {
    min-width: 180px;
    background: #000;
    border: 1px solid #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 0;
    text-decoration: none;
    font-size: 17px;
    line-height: 1em;
    white-space: nowrap;
}
.button--ghost {
    min-width: 225px;
    background: transparent;
    border: 1px solid #000;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 0;
    text-decoration: none;
    font-size: 17px;
    line-height: 1em;
    white-space: nowrap;
}
.button--text {
    background: transparent;
    border: none;
    padding: 0;
    color: #000;
    line-height: 1.4em;
}
.button--text-icon {

}
.button--inverted {
    min-width: 225px;
    border: 1px solid #fff;
    background: #fff;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 0;
    text-decoration: none;
    font-size: 17px;
    line-height: 1em;
    white-space: nowrap;
}
.button--ghost-inverted {
    min-width: 225px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 0;
    text-decoration: none;
    font-size: 17px;
    line-height: 1em;
    white-space: nowrap;
}
/* Grundlayout Header */
.site-header {
    background: #000;
    color: #fff;
    padding-left: 10rem;
    padding-right: 10rem;
    position: fixed;
    width: 100%;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 9999;
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

/*.header-logo img {*/
/*    height: 32px;*/
/*}*/

.header-nav {
    flex: 1;
    text-align: center;
}

.header-lang {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 60px;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 40px;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    color: #fff;
    text-decoration: none;
    padding: 8px 0;
    font-weight: 600;
    line-height: 1em
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: #ff0000;
}

.lang-switch {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    filter: brightness(0) invert(1);
}
.lang-switch:hover {
    opacity: 0.8;
}
/* ---------- FOOTER ---------- */

.site-footer {
    background: #000;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 14px;
}

.footer-top {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 220px 1fr 260px; /* Logo – Menüs – Social/Buttons */
    column-gap: 60px;
    padding-left: 10rem;
    padding-right: 10rem;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

/* Hauptmenü: 4 Spalten (Top-Level-Items) */
.footer-main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 60px;
}

.footer-main-menu > li {
    margin-bottom: 10px;
}

/* Überschrift (Top-Level-Links) */
.footer-main-menu > li > a {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-decoration: none;
}

/* Unterpunkte */
.footer-main-menu > li > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-main-menu > li > ul > li > a {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

.footer-main-menu a:hover {
    text-decoration: underline;
}

/* Social + Buttons */
.footer-extra h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social-icons a {
    font-size: 18px;
    text-decoration: none;
    color: #fff;
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: none;
}

.footer-btn:hover {
    background: #fff;
    color: #000;
}

/* Unterer Footer-Bereich */
.footer-bottom {
    border-top: 1px solid #111;
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 15px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 10px;
    padding-left: 10rem;
    padding-right: 10rem;
}

.footer-bottom-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.footer-bottom-menu a:hover {
    text-decoration: underline;
}
