/* ==========================================================================
   client.css — Ring Center 1 Projektseite (RC1)
   Client-spezifische Overrides für frontend.css (ANOXA Shared)

   Struktur:
     1.  Header & Navigation
     2.  Basis Layout / Hero
     3.  Video & Footer
     4.  Kontaktformular
     5.  Events
     6.  Service-Modul (Sonderfall RC1 Projektseite)
     7.  KI-Chat Panel & Bot-Button
     8.  Animations
     9.  Responsive (Bildfeld 1280px, Mobile ≤ 675px)
   ========================================================================== */


/* Globale Brand-Variablen (RC1 Dark-Theme) */
:root {
    --focus-outline: #fff;
    --brand-primary: #f74600;
    --brand-primary-dark: #c93a00;
}

h1, h3 span, i, h1 span, h2 span, strong, a{
    background: -webkit-linear-gradient(#8b6d03, #f5d48c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* ==========================================================================
   1. Header & Navigation
   ========================================================================== */
.content_header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0.0) 100%);
}
.language_select {
    top: 25px;
    right: 60px;
}
.language_select a {
    padding: 0 4px;
}

a.header_logo:focus img {
    outline: 1px solid #000;
    outline-offset: 8px;
}

#header_logo img {

    z-index: 100;
}

/* Navigation Close-Icon (X): Header ist semi-transparent weiß bei
   offenem Menü, deshalb muss der X schwarz sein damit er sichtbar bleibt.
   Das Open-Icon (Burger) bleibt weiß — es schwebt über dem Hero-Bild. */
.nav-toggle.is-active .nav-toggle__close {
    color: #000;
}


/* ==========================================================================
   2. Basis Layout / Hero
   ========================================================================== */

.fullwidth .slot img,
.header .slot img {
    width: 100% !important;
}

.button-class {
    position: absolute;
    background: transparent;
    border: 1px solid #000;
    bottom: 10px;
    width: 80px;
    height: 80px;
    left: 50%;
    margin-top:30px;
    transform: translateX(-50%);
    color: #000;
    text-align: center;
    line-height: 80px;
    font-size: 30px;
}
.button-class:hover, .button-class:focus {
    border: 1px solid #f58206 !important;
}
.button-class:hover i, .button-class:focus i {
    color: #f58206 !important;
}

/* Hero-Tagline: H3 in der .slogan-Sektion unten links positionieren
   (wie auf der Live-Seite www.imexx.de) */
section.slogan h3 {
    position: absolute;
    bottom: 80px;
    left: 60px;
    color: #fff;
    margin: 0;
    z-index: 2;
}
/* ==========================================================================
   3. Video & Footer
   ========================================================================== */

video,
.container_video {
    margin-bottom: -2px;
}

.site-footer:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: calc(100% - 40px);
    height: 1px;
    background: rgba(255,255,255,0.3);
}


/* ==========================================================================
   4. Kontaktformular
   ========================================================================== */

.kontakt-feld {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    font-family: standard;
    font-size: 22px;
    line-height: 27px;
}

.kontakt-feld::placeholder {
    color: #666;
    opacity: 1;
}

.kontakt-feld:hover::placeholder,
.kontakt-feld:focus::placeholder {
    color: #666;
}

.kontakt-feld:hover,
.kontakt-feld:focus {
    background: #000;
    color: #fff;
    outline: none;
}

/* Webkit-Autofill: gelben Browser-Default überschreiben, dunkles Theme matchen */
.kontakt-feld:-webkit-autofill,
.kontakt-feld:-webkit-autofill:hover,
.kontakt-feld:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px #000 inset;
    -webkit-text-fill-color: #ccc;
    caret-color: #fff;
}

textarea {
    font-family: standard;
}

.kontakt-button {
    display: table;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    transition: all 0.2s ease;
    width: auto;
    margin: 30px auto;
}

.kontakt-button:hover,
.kontakt-button:focus-visible {
    background: #000;
    color: #fff;
    outline: none;
}

/* Error-State: kein Border, weißer Text (passt zum dunklen Theme) */
.kontakt-fehler {
    border: 0;
    color: #fff;
}


/* ==========================================================================
   5. Events
   ========================================================================== */

.event-teaser {
    --event-hover-outline: rgba(0,0,0,0.12);
}

.event-teaser > a:focus {
    outline: none;
}

.event-maintext h1 {
    color: #333;
}

.event-focus-container {
    padding: 0 20px;
}

/* ── Vergangene Events: Headline mit horizontaler Linie davor ───────────── */
.archiv-headline {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-family: basicfont;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.archiv-headline::before {
    content: '';
    flex: 1;
    height: 1px;
    background: #fff;
}

/* ── Filter- & Zurück-Buttons (Shops & Events) ──────────────────────────── */
.sd-back,
.event-back {
    background: #000;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}

.sd-back i,
.event-back i {
    color: #fff;
}

.sd-back:hover,
.sd-back:focus-visible,
.event-back:hover,
.event-back:focus-visible {
    background: #fff;
    outline: none;
}

.sd-back:hover i,
.sd-back:focus-visible i,
.event-back:hover i,
.event-back:focus-visible i {
    color: #000;
}


/* ==========================================================================
   6. Service-Modul (Sonderfall RC1 Projektseite)
   ========================================================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.service-icon {
    text-align: center;
    background: transparent;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-icon:hover {
    transform: translateY(-4px);
}

.service-button {
    position: static;
    width: 100%;
    height: auto;
    background: transparent;
    border: 0;
    padding: 30px 15px;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.service-button:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.service-title {
    display: block;
    font-family: medium;
    font-size: 24px;
    line-height: 35px;
    text-transform: uppercase;
    font-weight: normal;
    text-align: center;
}

/* Detail-Panels (inline expand) */
.trenner {
    display: none;
}

.service-detail--inline {
    padding: 30px 25px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.04);
}

.service-detail--inline[hidden] {
    display: none;
}

.service-detail--inline h2 {
    font-family: basicfont;
    font-size: 24px;
    line-height: 35px;
    text-transform: uppercase;
    font-weight: normal;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-close {
    background: transparent;
    border: 1px solid currentColor;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: inherit;
    font-size: 14px;
    padding: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.service-close:hover,
.service-close:focus-visible {
    background: currentColor;
}

.service-close:hover i,
.service-close:focus-visible i {
    color: #fff;
}

.service-detail__content {
    font-size: 16px;
    line-height: 1.5;
}


/* ==========================================================================
   7. KI-Chat Panel & Bot-Button
   ========================================================================== */

/* ── Floating Chat-Button ─────────────────────────────────────────────────── */
.nav-search {
    position: fixed;
    top: 27px;
    right: 70px;
    left: auto;
    bottom: auto;
    width: 44px;
    height: 44px;
    background: #000;
    color: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

.nav-search::before,
.nav-search::after {
    border-color: #fff;
}

.nav-search:hover,
.nav-search:focus-visible {
    background: #1a1a1a;
    box-shadow: 0 6px 24px rgba(0,0,0,0.6);
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* ── Panel ────────────────────────────────────────────────────────────────── */
#ki-chat-panel {
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.15);
    box-shadow: -4px 0 24px rgba(0,0,0,0.8);
}

@media (max-width: 600px) {
    #ki-chat-panel {
        border-left: none;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 24px rgba(0,0,0,0.8);
    }
}

#ki-chat-messages,
#ki-chat-form,
#ki-chat-banner {
    background: transparent;
}

#ki-chat-form {
    border-top-color: rgba(255,255,255,0.1);
}

/* Permanenter Hinweisbanner — RC1-Pink-Orange-Akzent statt gelbes Default */
#ki-chat-banner {
    background: rgba(255, 92, 122, 0.08);
    border-bottom: 1px solid rgba(255, 100, 28, 0.20);
    color: rgba(255, 255, 255, 0.82);
    font-size: 11.5px;
    line-height: 1.45;
}

#ki-chat-banner i {
    color: rgba(255, 140, 80, 0.95);
}

/* ── Header ──────────────────────────────────────────────────────────────── */
#ki-chat-header {
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 18px 20px;
}

#ki-chat-header-name {
    font-size: 17px;
    letter-spacing: 0.3px;
}

#ki-status-text {
    font-size: 12px;
    color: greenyellow;
}

#ki-status-text::before {
    background: rgba(255,255,255,0.5);
}

/* ── Bubbles ──────────────────────────────────────────────────────────────── */
.ki-bubble {
    font-size: 15px;
    line-height: 1.65;
}

.ki-msg-row--agent .ki-bubble {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.11);
    color: rgba(255,255,255,0.95);
}

.ki-msg-row--user .ki-bubble {
    background: #fff;
    border: none;
    color: #000;
}

.ki-bubble--intro {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    font-style: normal;
}

.ki-bubble--typing span {
    background: rgba(255,255,255,0.5);
}

/* ── Links ────────────────────────────────────────────────────────────────── */
.ki-link-btn {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
}

.ki-link-btn:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    text-decoration: none;
}

.ki-msg-row--agent .ki-bubble a {
    color: rgba(255,255,255,0.8);
}

.ki-msg-row--agent .ki-bubble a:hover {
    color: #fff;
}

/* ── Input ────────────────────────────────────────────────────────────────── */
#ki-chat-input {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 15px;
}

#ki-chat-input::placeholder {
    color: rgba(255,255,255,0.35);
}

#ki-chat-input:focus {
    border-color: rgba(255,255,255,0.35);
}

/* ── Senden-Button (RC1 Gradient) ────────────────────────────────────────── */
#ki-chat-send {
    color: #fff;
    background: linear-gradient(to right, rgba(255,92,122,1) 0%, rgba(255,100,28,1) 100%);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    opacity: 1;
}

#ki-chat-send:hover {
    background: linear-gradient(to left, rgba(255,92,122,1) 0%, rgba(255,100,28,1) 100%);
    opacity: 1;
}

#ki-chat-send:disabled {
    background: rgba(255,255,255,0.1);
    opacity: 0.4;
}

/* ── Disclaimer-Screen: RC1-Branding-Overrides ───────────────────────────── */
.ki-disclaimer-icon {
    background: rgba(255, 92, 122, 0.15);
    color: rgb(255, 140, 80);
}

.ki-disclaimer-titel {
    position: relative;
    padding-bottom: 14px;
    letter-spacing: 0.3px;
}

.ki-disclaimer-titel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, rgba(255,92,122,1) 0%, rgba(255,100,28,1) 100%);
}

.ki-disclaimer-links a:hover,
.ki-disclaimer-links a:focus-visible {
    background: rgba(255, 92, 122, 0.10);
    border-color: rgba(255, 100, 28, 0.45);
    color: #fff;
}

.ki-disclaimer-links a:hover i,
.ki-disclaimer-links a:focus-visible i {
    color: rgb(255, 140, 80);
}

.ki-disclaimer-start {
    background: linear-gradient(to right, rgba(255,92,122,1) 0%, rgba(255,100,28,1) 100%);
    border-radius: 28px;
    padding: 13px 32px;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 18px rgba(255, 100, 28, 0.32);
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.ki-disclaimer-start:hover {
    background: linear-gradient(to left, rgba(255,92,122,1) 0%, rgba(255,100,28,1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 100, 28, 0.42);
}

.ki-disclaimer-start:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}


/* ==========================================================================
   8. Animations
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial-Zustand: alle animations-fähigen Elemente unsichtbar */
.effekt h1,
.effekt h2,
.effekt h3,
.effekt h4,
.effekt p,
.effekt ul,
.effekt img,
.effekt video,
.effekt input,
.effekt textarea,
.effekt .kontakt-button {
    opacity: 0;
}

/* Bei aktivem .animationen: fadeInDown mit forwards */
.animationen h1,
.animationen h2,
.animationen h3,
.animationen h4,
.animationen p,
.animationen ul,
.animationen img,
.animationen video,
.animationen input,
.animationen textarea,
.animationen .kontakt-button {
    animation-fill-mode: forwards;
    animation-duration: 0.5s;
}

/* Reihenfolge: h1 + Media zuerst, h2 +0.2s, kleinere Elemente +0.4s */
.animationen h1,
.animationen img,
.animationen video,
.sanimations h2,
.sanimations img {
    animation-name: fadeInDown;
}

.animationen h2,
.sanimations h2 {
    animation-name: fadeInDown;
    animation-delay: 0.2s;
}

.animationen h3,
.animationen h4,
.animationen p,
.animationen ul,
.animationen input,
.animationen textarea,
.animationen .kontakt-button {
    animation-name: fadeInDown;
    animation-delay: 0.4s;
}


/* ==========================================================================
   9. Responsive
   ========================================================================== */

/* ── Bildfeld (≤ 1280px) ──────────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .bildfeld {
        padding: 20px;
    }
}

/* ── Mobile (≤ 675px) ─────────────────────────────────────────────────────── */
@media (max-width: 675px) {

    /* Achtziger-Spacing-Helper auf 20px reduzieren */
    .achtzigertopbottompadding {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .achtzigertopbottom {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    .achtzigertoppadding {
        padding-top: 20px !important;
    }
    .achtzigertop {
        margin-top: 20px !important;
    }
    .achtzigerbottompadding {
        padding-bottom: 20px !important;
    }
    .dreierblock h1 {
        margin-bottom: 10px !important;
    }

    /* Animationen auf Mobile aus (Performance + Lesbarkeit) */
    .effekt h1, .effekt h2, .effekt h3, .effekt h4,
    .effekt p, .effekt ul, .effekt img, .effekt video,
    .effekt input, .effekt textarea, .effekt .kontakt-button {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .animationen h1, .animationen h2, .animationen h3, .animationen h4,
    .animationen p, .animationen ul, .animationen img, .animationen video,
    .animationen input, .animationen textarea, .animationen .kontakt-button {
        opacity: 1 !important;
        transform: translateY(0) !important;
        animation-name: none !important;
    }

    /* Kontaktformular kompaktere Schrift */
    .kontakt-feld,
    .kontakt-button {
        font-size: 16px;
    }
}

