html[lang="ru"] h1 {
    font-size: clamp(24px, 4.7vw, 49px) !important;
}

/* Fluide Skalierung ab 1280px (= 150%-View) bis 1920px (= 100%-View).
   clamp(min, vw, max): bei 1280px = aktueller Stand, wächst stufenlos nach oben.
   Unter 1280px greifen weiterhin die responsiven Klassen (Mobile/Tablet). */
@media (min-width: 1280px) {
    .text-h2        { font-size: clamp(32px, 2.5vw, 48px) !important; }
    .text-h3        { font-size: clamp(24px, 1.875vw, 30px) !important; }
    .text-body-lg   { font-size: clamp(18px, 1.4vw, 21px) !important; }
    .text-body-md   { font-size: clamp(16px, 1.25vw, 17px) !important; }
    .text-label-caps{ font-size: clamp(12px, 0.94vw, 13px) !important; }
    .font-h1        { font-size: clamp(52px, 4.06vw, 72px) !important; }

    /* Sektions- & Karten-Abstände fluide */
    .md\:py-20      { padding-top: clamp(5rem, 6.25vw, 7rem) !important; padding-bottom: clamp(5rem, 6.25vw, 7rem) !important; }
    .leistung-card  { padding: clamp(2.5rem, 3.1vw, 3rem) !important; }
}

/* Navbar-Vergrößerung NUR für 100%-View (≥1536px) – 150%-View (1280px) bleibt unberührt */
@media (min-width: 1536px) {
    header                            { height: clamp(80px, 6.5vw, 120px) !important; }            /* Höhe → 120px */
    header .logo-hover svg            { height: clamp(3.5rem, 5vw, 5.75rem) !important; }          /* → 92px */
    header nav a.text-label-caps      { font-size: clamp(15px, 1.2vw, 19px) !important; }          /* → 19px */
    header #lang-label                { font-size: clamp(12px, 1.05vw, 18px) !important; }         /* → 18px */
    #lang-menu button                 { font-size: clamp(12px, 1.2vw, 19px) !important; }          /* Dropdown DEU/ENG/RUS */
    header .material-symbols-outlined { font-size: clamp(20px, 1.8vw, 28px) !important; }          /* → 28px */
    header .fa-brands                 { font-size: clamp(1.125rem, 1.6vw, 1.75rem) !important; }   /* → 28px */
    #nav-social svg                   { width: clamp(1rem, 1.5vw, 1.625rem) !important; height: clamp(1rem, 1.5vw, 1.625rem) !important; }  /* → 26px */

    /* Hero-Untertitel & Buttons größer */
    p[data-i18n-html="hero.subtitle"] { font-size: clamp(18px, 1.75vw, 27px) !important; max-width: 62rem !important; }

    /* Russische Headline im 100%-View größer (150%-View bleibt bei 49px) */
    html[lang="ru"] h1 { font-size: clamp(49px, 4.2vw, 64px) !important; }
    /* Hero-Container breiter, damit die (größere) Headline 2 Zeilen bleibt */
    #hero-content { max-width: 80rem !important; }

    /* Service-Karten: Titel & Liste etwas größer */
    #services h3              { font-size: clamp(24px, 2.1vw, 34px) !important; }
    #services .reveal-list li { font-size: clamp(15px, 1.45vw, 23px) !important; }

    /* Rote Abschnitts-Labels größer (EXPERTENWISSEN, UNSERE STÄRKEN, GALERIE …) */
    .text-label-caps.text-primary { font-size: clamp(12px, 1.1vw, 17px) !important; }

    /* Über-uns-Claim (Sie produzieren / Wir realisieren / Bundesweit) größer */
    #ueber-uns h2 { font-size: clamp(52px, 4.5vw, 68px) !important; }
    /* Über-uns Textabsätze größer */
    #ueber-uns [data-i18n^="tactix.text"] { font-size: clamp(19px, 1.5vw, 24px) !important; }

    /* Galerie: Beschreibungen, Zitat & CTA-Titel etwas größer */
    #galerie p.font-body-md { font-size: clamp(14px, 1.25vw, 19px) !important; }
    #galerie blockquote     { font-size: clamp(18px, 1.9vw, 28px) !important; }
    #galerie h3             { font-size: clamp(18px, 1.9vw, 28px) !important; }
    #galerie .font-label-caps { font-size: clamp(12px, 1.15vw, 17px) !important; }

    /* Operationsgebiete: Titel, Beschreibungen & Sub-Labels größer */
    #ops h2 { font-size: clamp(22px, 2vw, 34px) !important; }
    #ops p  { font-size: clamp(13px, 1.2vw, 18px) !important; }
    #ops .font-label-caps:not(.text-label-caps) { font-size: clamp(10px, 1vw, 14px) !important; }

    /* Pre-CTA & Stats: Überschrift = text-h2 (wie Warum WarnWerk) */
    #precta h2             { font-size: clamp(32px, 2.5vw, 48px) !important; }
    /* Pre-CTA: Text & Checkmark-Liste größer */
    #precta .font-body-md  { font-size: clamp(16px, 1.35vw, 21px) !important; }
    #precta .text-base     { font-size: clamp(16px, 1.2vw, 19px) !important; }

    /* Kontaktformular: Labels, Eingabefelder & Button größer */
    #kontakt label                  { font-size: clamp(12px, 1.1vw, 16px) !important; }
    #kontakt input, #kontakt textarea { font-size: clamp(16px, 1.2vw, 19px) !important; }
    #kontakt button[type="submit"]  { font-size: clamp(13px, 1.1vw, 17px) !important; }

    /* Footer: alles etwas größer */
    footer .font-body-md    { font-size: clamp(16px, 1.4vw, 22px) !important; }
    footer .font-label-caps { font-size: clamp(11px, 1.2vw, 17px) !important; }
    footer .logo-hover svg  { height: clamp(2rem, 3vw, 3.75rem) !important; }
    footer .fa-brands       { font-size: clamp(1.125rem, 1.6vw, 1.75rem) !important; }
    footer svg.lucide       { width: clamp(1rem, 1.5vw, 1.625rem) !important; height: clamp(1rem, 1.5vw, 1.625rem) !important; }
    /* Copyright & Slogan kleiner halten */
    footer .tracking-\[0\.4em\] { font-size: clamp(10px, 0.85vw, 13px) !important; }

    /* Cookie-Banner & Einstellungen größer */
    #cookie-overlay h2                          { font-size: clamp(18px, 2vw, 30px) !important; }
    #cookie-overlay p                           { font-size: clamp(14px, 1.45vw, 21px) !important; }
    #cookie-overlay button:not([id*="toggle"])  { font-size: clamp(11px, 1.25vw, 17px) !important; }
    #cookie-overlay .font-bold                  { font-size: clamp(15px, 1.5vw, 22px) !important; }
    #cookie-banner svg                          { height: clamp(2.5rem, 3vw, 3.75rem) !important; }
    #cookie-banner                              { max-width: 600px !important; }
    #cookie-settings                            { max-width: 600px !important; }

    /* Kontakt-Modal: breiter + größere Texte */
    #contact-modal-panel { max-width: 54rem !important; }
    #contact-modal h2    { font-size: clamp(22px, 2.5vw, 40px) !important; }
    #contact-modal label { font-size: clamp(10px, 1.2vw, 17px) !important; }
    #contact-modal input, #contact-modal textarea { font-size: clamp(14px, 1.45vw, 22px) !important; padding-top: 0.95rem !important; padding-bottom: 0.95rem !important; }
    #contact-modal textarea { min-height: 11rem !important; }
    #contact-modal button[type="submit"]          { font-size: clamp(11px, 1.35vw, 19px) !important; padding-top: 1rem !important; padding-bottom: 1rem !important; }
    #contact-modal-panel { padding: 2.5rem !important; }

    /* Cookie- & Scroll-Button proportional größer */
    #cookie-btn      { width: clamp(5rem, 6.3vw, 7.5rem) !important; height: clamp(5rem, 6.3vw, 7.5rem) !important; }
    #cookie-btn-img  { width: clamp(3.5rem, 4.4vw, 5.25rem) !important; height: clamp(3.5rem, 4.4vw, 5.25rem) !important; }
    #scroll-top      { width: clamp(3rem, 4vw, 4.75rem) !important; height: clamp(3rem, 4vw, 4.75rem) !important; }
    #scroll-top .material-symbols-outlined { font-size: clamp(22px, 1.9vw, 32px) !important; }

    /* Modal-Dialog breiter + Inhalt (Karriere, News, Rechtliches) größer */
    #legal-modal-panel    { max-width: 52rem !important; }
    #legal-modal-title    { font-size: clamp(22px, 2vw, 32px) !important; }
    #legal-modal-body     { font-size: clamp(15px, 1.25vw, 19px) !important; }
    #legal-modal-body h3  { font-size: clamp(17px, 1.5vw, 23px) !important; }
    #stats h2              { font-size: clamp(32px, 2.5vw, 48px) !important; }
    #stats [id$="-value"]  { font-size: clamp(48px, 6.5vw, 96px) !important; }
    #stats .text-black\/40 { font-size: clamp(11px, 1vw, 15px) !important; }

    /* Warum-Karten: Titel, Beschreibung & Tags etwas größer */
    #strengths h3                                 { font-size: clamp(24px, 2.1vw, 34px) !important; }
    #strengths .reveal-text.reveal-d2             { font-size: clamp(15px, 1.35vw, 20px) !important; }
    #strengths .reveal-list > *                   { font-size: clamp(12px, 1.15vw, 16px) !important; }
    #hero-cta button                  { font-size: clamp(13px, 1.05vw, 17px) !important; padding: clamp(1rem, 1.5vw, 1.5rem) clamp(2.5rem, 3vw, 3.5rem) !important; }
}

/* Karten beim Scrollen aufleuchten – Mobile + Desktop */
.reveal-card.in-view .reveal-line { width: 100% !important; }
.reveal-card.in-view .reveal-icon { color: #E62E2D !important; }

/* Service-Icons horizontal drehen beim Reinscrollen */
.reveal-card .reveal-icon {
    transform: perspective(600px) rotateY(0deg);
    transition: color 0.5s ease, transform 0.9s cubic-bezier(0.22,0.61,0.36,1);
}
.reveal-card.in-view .reveal-icon {
    transform: perspective(600px) rotateY(360deg);
}

/* Hochscrollen (Desktop): alles ruhig einblenden, keine Effekte/Choreografie */
.reveal-card.reveal-simple .reveal-text,
.reveal-card.reveal-simple .reveal-list > * {
    transform: none !important;
    transition: opacity 0.8s ease !important;
    transition-delay: 0s !important;
}
.reveal-card.reveal-simple .reveal-icon {
    transform: none !important;            /* keine Drehung */
    transition: color 0.8s ease !important; /* wird trotzdem rot */
}
.reveal-card.reveal-simple .reveal-line {
    transition: none !important;            /* sofort im Endzustand, kein Ausfahren */
}

/* Operationsgebiete-Fotos beim Scrollen aufhellen (langsam) */
.ops-card .ops-img { transition: filter 3s ease; }
.ops-card.in-view .ops-img { filter: grayscale(0%) brightness(1); }

/* Text von rechts einfahren – jede Zeile einzeln */
.reveal-card .reveal-text,
.reveal-card .reveal-list > * {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1.2s cubic-bezier(0.22,0.61,0.36,1), transform 1.2s cubic-bezier(0.22,0.61,0.36,1);
    will-change: opacity, transform;
}
.reveal-card.in-view .reveal-text,
.reveal-card.in-view .reveal-list > * {
    opacity: 1;
    transform: translateX(0);
}
/* Untertitel / Beschreibung leicht versetzt */
.reveal-card .reveal-text.reveal-d1 { transition-delay: 0.12s; }
.reveal-card .reveal-text.reveal-d2 { transition-delay: 0.24s; }
/* Staffelung: Zeile für Zeile, klar nacheinander */
.reveal-card .reveal-list > *:nth-child(1) { transition-delay: 0.15s; }
.reveal-card .reveal-list > *:nth-child(2) { transition-delay: 0.4s; }
.reveal-card .reveal-list > *:nth-child(3) { transition-delay: 0.65s; }
.reveal-card .reveal-list > *:nth-child(4) { transition-delay: 0.9s; }
.reveal-card .reveal-list > *:nth-child(5) { transition-delay: 1.15s; }

/* Warum-Tags: erst nach Titel/Untertitel/Beschreibung + kurze Pause */
.reveal-card .reveal-list.reveal-late > *:nth-child(1) { transition-delay: 1.3s; }
.reveal-card .reveal-list.reveal-late > *:nth-child(2) { transition-delay: 1.55s; }
.reveal-card .reveal-list.reveal-late > *:nth-child(3) { transition-delay: 1.8s; }

/* Russisch: Hero-Untertitel breiter + kleiner, damit Satz auf 2 Zeilen passt */
@media (min-width: 768px) {
    html[lang="ru"] [data-i18n-html="hero.subtitle"] {
        max-width: 50rem;
    }
}

/* Deutschland-Karte (Pre-CTA Hintergrund) */
#de-map {
    position: absolute;
    top: 50%;
    left: 22%;
    transform: translate(-50%, -50%);
    height: 460px;
    width: auto;
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}
/* Mobile: zentriert + kleiner */
@media (max-width: 767px) {
    #de-map {
        left: 50%;
        height: 460px;
    }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #1a2535 inset;
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}

.ops-img {
    filter: grayscale(90%) brightness(0.35);
    transition: filter 0.7s ease, transform 0.6s ease;
}

#legal-modal-body strong { color: #fff; }
#legal-modal-body a { color: #E62E2D; }
#legal-modal-body p { margin-bottom: 12px; }
#legal-modal-body h3 { color: #fff; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

body {
    background-color: #060C15;
    color: #ffffff;
    scroll-behavior: smooth;
}

.text-balance {
    text-wrap: balance;
}

::selection {
    background: #E62E2D;
    color: white;
}

.hero-gradient {
    background: linear-gradient(0deg, rgba(6,12,21,0.85) 0%, rgba(6,12,21,0.35) 50%, rgba(6,12,21,0.05) 100%);
}

html[lang="ru"] h1 {
    font-size: 42px;
}

.tactix-line2 { padding-left: 0; }
.tactix-line3 { padding-left: 0; }

@media (min-width: 1216.98px) {
    .tactix-line2 { padding-left: clamp(6rem, 20vw, 18rem); }
    .tactix-line3 { padding-left: clamp(12rem, 40vw, 36rem); }
    html[lang="ru"] .tactix-line2 { padding-left: clamp(4rem, 14vw, 12rem); }
    html[lang="ru"] .tactix-line3 { padding-left: clamp(8rem, 28vw, 24rem); }
}

@media (min-width: 640px) {
    html[lang="ru"] h1 {
        font-size: 50px;
    }
}

@media (min-width: 768px) {
    html[lang="ru"] h1 {
        font-size: 58px;
    }
}

#stars, #stars2, #stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    background: transparent;
    opacity: 0.6;
}

#stars2 { width: 2px; height: 2px; }
#stars3 { width: 3px; height: 3px; }

#stars  { animation: animStar 50s  linear infinite; }
#stars2 { animation: animStar 100s linear infinite; }
#stars3 { animation: animStar 150s linear infinite; }

@keyframes animStar {
    from { transform: translateY(0px); }
    to   { transform: translateY(-2000px); }
}

.card-cut {
    clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 0 100%);
}
.card-cut-alt {
    clip-path: polygon(52px 0, 100% 0, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%, 0 52px);
}
.card-round-alt {
    border-radius: 14px 0 14px 0;
    overflow: hidden;
}
.card-cut-alt-r {
    clip-path: polygon(52px 0, 100% 0, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%, 0 52px);
    border-top-right-radius: 14px;
    border-bottom-left-radius: 14px;
}
.card-cut-r {
    clip-path: polygon(52px 0, 100% 0, 100% 100%, 0 100%, 0 52px);
}
.card-cut-tr-bl {
    clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 52px 100%, 0 calc(100% - 52px));
}
.card-cut-tr-bl-r {
    clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 52px 100%, 0 calc(100% - 52px));
    border-top-left-radius: 14px;
    border-bottom-right-radius: 14px;
}


.btn-slide {
    background-image: linear-gradient(to right, #AF2020, #E62E2D, #FF4545, #CC2A2A);
    background-size: 300% 100%;
    box-shadow: 0 4px 15px 0 rgba(230, 46, 45, 0.35);
    transition: background-position 0.4s ease-in-out, box-shadow 0.4s ease-in-out, transform 0.1s ease;
}
#cookie-btn:hover #cookie-btn-img {
    filter: drop-shadow(0 0 8px rgba(230,46,45,0.8)) brightness(1.2) !important;
}

#cookie-btn {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    transform-origin: bottom left;
}
#cookie-btn.collapsed {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
#contact-modal-panel.modal-anim {
    animation: modalIn 0.38s cubic-bezier(0.34, 1.15, 0.64, 1) forwards;
}

@keyframes cookieShake {
    0%,100% { transform: translate(0, 0) rotate(0deg); }
    10%      { transform: translate(-4px, -2px) rotate(-3deg); }
    20%      { transform: translate(4px, 2px) rotate(3deg); }
    30%      { transform: translate(-5px, 1px) rotate(-4deg); }
    40%      { transform: translate(5px, -2px) rotate(4deg); }
    50%      { transform: translate(-4px, 2px) rotate(-3deg); }
    60%      { transform: translate(4px, -1px) rotate(3deg); }
    70%      { transform: translate(-3px, 2px) rotate(-2deg); }
    80%      { transform: translate(3px, -2px) rotate(2deg); }
    90%      { transform: translate(-2px, 1px) rotate(-1deg); }
}
@keyframes cookieFadeOut {
    0%   { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.4); }
}
#cookie-btn.shaking {
    animation: cookieShake 0.5s ease forwards;
    pointer-events: none;
}
#cookie-btn.fading-out {
    animation: cookieFadeOut 0.25s ease forwards;
    pointer-events: none;
}

@keyframes cookiePanelSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
.cookie-panel-anim {
    animation: cookiePanelSlideIn 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) 0.05s both;
}
@keyframes cookieOverlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#cookie-overlay.anim-in {
    animation: cookieOverlayFadeIn 0.25s ease forwards;
}

.btn-slide:hover {
    background-position: 100% 0;
    box-shadow: 0 4px 22px 0 rgba(230, 46, 45, 0.6);
}
