/*
Theme Name: KUC Spirituosen
Theme URI: https://www.kuc-spirituosen.de
Author: KUC / Markus Sattler
Description: Individuelles WordPress-Theme fuer KUC Spirituosen. Multipage-Umbau der urspruenglichen statischen Onepager-Website, Design 1:1 uebernommen, Libs modernisiert.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: kuc
*/

/*
 * Das eigentliche Design liegt in assets/css/ (Bootstrap, style.css, skins/goldenrod.css).
 * Diese Datei ist nur der WordPress-Theme-Header + kleine Anpassungen fuer den Multipage-Betrieb.
 */

/* Auf Unterseiten (nicht Front-Page) Header immer dunkel unterlegen, damit Logo/Navi lesbar sind */
body.page:not(.home) .header,
body.single:not(.home) .header,
body.archive .header,
body.error404 .header {
    position: relative;
    background: #1a1a1a;
}

/* Abstand, damit Inhalt nicht unter den fixierten Header rutscht (Unterseiten ohne Slider) */
body:not(.home) .page-content-top {
    padding-top: 140px;
}

/* --- Statisches Hero-Bild (Ersatz fuer den alten Slider) --- */
.kuc-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}
.kuc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.kuc-hero-inner {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}
.kuc-hero-title {
    color: #fff;
    font-size: 70px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.kuc-hero-sub {
    color: #fff;
    font-size: 20px;
    margin-bottom: 30px;
}
@media (max-width: 767px) {
    .kuc-hero-title { font-size: 40px; }
    .kuc-hero { height: 80vh; min-height: 420px; }
}

/* Produkt-Grid (Archiv, optionales Kompaktlayout) */
.produkt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.produkt-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* ===========================================================
   Animationen komplett aus – Seite ist statisch (Kundenwunsch)
   =========================================================== */
*, *::before, *::after {
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-animation: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
}

/* ===========================================================
   Kontakt-/Info-Boxen: negativen Margin (fuer Map-Overlay im
   Original gedacht) neutralisieren, sonst ueberlappen sie den
   Seitentitel, wenn wenig Text darueber steht (z. B. Kontakt).
   =========================================================== */
.page-body .info-map-boxes,
body.double-diagonal .page-body .info-map-boxes,
.about .info-map-boxes,
body.double-diagonal .about .info-map-boxes {
    margin-top: 30px;
    padding-bottom: 0;
}

/* ===========================================================
   Footer (auf jeder Seite): Oeffnungszeiten, Kontakt, Recht
   =========================================================== */
.site-footer {
    background: #1a1a1a;
    color: #cfcfcf;
    padding: 55px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* Alte Template-Regel (.footer -> lowercase) neutralisieren */
.site-footer,
.site-footer a,
.site-footer p,
.site-footer li,
.site-footer .container p:first-child {
    text-transform: none;
}
.site-footer .footer-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}
.site-footer .footer-col {
    flex: 1 1 220px;
    min-width: 200px;
}
.site-footer h3 {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer p {
    margin: 0 0 12px;
    line-height: 1.7;
    font-size: 14px;
}
.site-footer a {
    color: #d4a01e;
    text-decoration: none;
}
.site-footer a:hover {
    text-decoration: underline;
}
.site-footer .footer-col--legal ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer .footer-col--legal li {
    margin-bottom: 8px;
}
.site-footer .footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.site-footer .footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #9a9a9a;
}
@media (max-width: 767px) {
    .site-footer .footer-cols {
        flex-direction: column;
        gap: 30px;
    }
}

/* Home-Intro-Abschnitt unter dem Hero */
.home-intro {
    padding: 70px 0;
}

/* Betriebsurlaub-Popup (im Customizer ein-/ausschaltbar) */
.kuc-vacation {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75);
}
.kuc-vacation[hidden] {
    display: none;
}
.kuc-vacation__box {
    position: relative;
    max-width: 520px;
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(212, 160, 30, 0.5);
    border-radius: 6px;
    padding: 40px 34px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.kuc-vacation__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: 0;
    color: #d4a01e;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}
.kuc-vacation__close:hover {
    color: #fff;
}
.kuc-vacation__title {
    margin: 0 0 14px;
    color: #d4a01e;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 22px;
}
.kuc-vacation__text {
    margin: 0;
    color: #e6e6e6;
    line-height: 1.7;
    font-size: 15px;
}
