/*
Theme Name: Bautzen Tigers e.V.
Theme URI:
Author: Spreedesign Bautzen GmbH
Author URI: https://www.spreedesign.de/
Description: Offenes WordPress Basis-Theme für WooCommerce, Content-Seiten, Gutenberg und Ratgeber/Blog.
Version: 1.0.0
Text Domain: hybrid-base
*/

/* =========================================================
   ROOT / DESIGN TOKENS
   Die eigentlichen Farben werden zusätzlich aus functions.php
   als CSS-Variablen ausgegeben.
========================================================= */

:root {
    --content-width: 1280px;
    --content-width-small: 820px;
    --content-padding: 24px;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 16px;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 18px;
    line-height: 1.6;

    color: var(--color-text);
    background: var(--color-background);
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed;
    z-index: 999999;
    top: 10px;
    left: 10px;

    width: auto;
    height: auto;
    padding: 12px 18px;

    clip: auto;

    color: var(--color-white);
    background: var(--color-primary);
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - (var(--content-padding) * 2)),
        var(--content-width)
    );

    margin-inline: auto;
}

.container-small {
    width: min(
        calc(100% - (var(--content-padding) * 2)),
        var(--content-width-small)
    );

    margin-inline: auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 100;
   
}

.topbar {
    width: 100%;
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: 90px;
}

.site-branding {
    flex: 0 0 auto;
}

.site-branding img {
    display: block;
    width: auto;
    max-height: 60px;
}


/* Main Navigation */

.main-navigation {
    flex: 1 1 auto;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 2rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-menu a {
    color: inherit;
    text-decoration: none;
}


/* Header Widgets */

.header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;

    flex: 0 0 auto;
}

.header-widget {
    margin: 0;
}

.header-widget .widget-title {
    display: none;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);

    color: var(--color-white);
    background: var(--color-dark);
}

.site-footer a {
    color: inherit;
}


/* Branding */

.footer-branding {
    margin-bottom: 3rem;
}

.footer-branding img {
    width: auto;
    max-height: 70px;
}


/* Footer Grid */

.footer-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 3rem 2rem;
}

.footer-title {
    margin: 0 0 1rem;

    font-size: 1rem;
    font-weight: 700;
}


/* Footer Menus */

.footer-menu {
    margin: 0;
    padding: 0;

    list-style: none;
}



.footer-menu a {
    text-decoration: none;
}


/* Widgets */

.footer-widget {
    margin: 0;
}


/* Bottom */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    margin-top: 4rem;
    padding-block: 1.5rem;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    font-size: 0.875rem;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    text-decoration: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .topbar__inner {
        gap: 1.5rem;
    }

    .main-menu {
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 768px) {

   

    .topbar__inner {
        min-height: 70px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}