/*
Theme Name: ASV Schrems
Theme URI: https://www.asvschrems.com/
Description: Child Theme für ASV EATON Schrems auf Basis von GeneratePress
Author: ASV EATON Schrems
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-asv
*/

/* =========================================================
   ASV Schrems – Header
   ========================================================= */

.site-header .inside-header {
    padding-top: 12px;
    padding-bottom: 12px;
}

.main-navigation .main-nav ul li a {
    padding-left: 18px;
    padding-right: 18px;
}

.site-header {
    border-bottom: 1px solid var(--asv-red);
}

/* =========================================================
   ASV Schrems – Top Bar
   ========================================================= */

.top-bar .inside-top-bar,
.top-bar .widget {
    width: 100%;
}

.asv-topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.asv-topbar-left,
.asv-topbar-right {
    margin: 0;
}

/* Mobil */
@media (max-width: 768px) {
    .asv-topbar-content {
        gap: 10px;
    }

    .asv-topbar-left {
        font-size: 11px;
    }

    .asv-topbar-right {
        font-size: 11px;
        white-space: nowrap;
    }
}

/* =========================================================
   ASV Schrems – Hauptnavigation
   ========================================================= */

/* Menüpunkt als Basis für die Unterstreichung */
.main-navigation .main-nav > ul > li > a {
    position: relative;
    background: transparent;
    transition: color 0.2s ease;
}

/* Keine graue Fläche bei Hover / aktuellem Menüpunkt */
.main-navigation .main-nav > ul > li:hover > a,
.main-navigation .main-nav > ul > li:focus > a,
.main-navigation .main-nav > ul > li[class*="current-menu-"] > a {
    background: transparent;
    color: var(--asv-red);
}

/* Rote Linie */
.main-navigation .main-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 9px;

    height: 2px;
    background: var(--asv-red);

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

/* Linie bei Hover und aktueller Seite anzeigen */
.main-navigation .main-nav > ul > li:hover > a::after,
.main-navigation .main-nav > ul > li:focus > a::after,
.main-navigation .main-nav > ul > li[class*="current-menu-"] > a::after {
    transform: scaleX(1);
}

/* =========================================================
   ASV Schrems – Footer
   ========================================================= */

.footer-widgets {
    font-size: 14px;
    line-height: 1.5;
}

.footer-widgets .widget {
    margin-bottom: 0;
}

.footer-widgets strong {
    display: block;
    margin-bottom: 12px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.footer-widgets p {
    margin-bottom: 8px;
}

.footer-widgets a {
    text-decoration: none;
}

.footer-widgets a:hover {
    color: var(--asv-red);
}

.footer-widgets-container {
    padding-top: 34px;
    padding-bottom: 34px;
}

/* Rechte Footer-Spalte rechtsbündig */
.footer-widget-2 {
    text-align: right;
}

/* Copyright-Bereich */
.site-info {
    font-size: 13px;
}

/* Mobil */
@media (max-width: 768px) {
    .footer-widget-2 {
        text-align: left;
        margin-top: 24px;
    }
}

/* =========================================================
   ASV Schrems – Social Icons
   ========================================================= */

.asv-footer-social strong {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.asv-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asv-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: var(--asv-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.asv-social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.asv-social-links a:hover,
.asv-social-links a:focus-visible {
    color: var(--asv-white);
    background: var(--asv-red);
    border-color: var(--asv-red);
    transform: translateY(-2px);
}

/* =========================================================
   ASV Schrems – Copyright
   ========================================================= */

/* GeneratePress-Wrapper auf volle Breite bringen */
.site-info .inside-site-info {
    display: block;
}

.site-info .copyright-bar {
    width: 100%;
}

/* Eigener Copyright-Inhalt */
.asv-copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    text-align: left;
}

.asv-copyright-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.asv-copyright a {
    color: var(--asv-white);
    text-decoration: none;
}

.asv-copyright a:hover {
    color: var(--asv-red);
}

/* Mobil wieder zentriert untereinander */
@media (max-width: 768px) {
    .asv-copyright {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .asv-copyright-links {
        margin-left: 0;
    }
}