/* ============================================================
   OnePlanX — Corporate Design System (Light Edition)
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ──────────────────────────────────────── */
:root {
    /* Backgrounds */
    --clr-bg: #FFFFFF;
    --clr-bg-2: #F9FAFB;
    --clr-bg-card: #FFFFFF;

    /* Borders */
    --clr-border: #E5E7EB;
    --clr-border-mid: #D1D5DB;
    --clr-border-hi: #9CA3AF;

    /* Brand — original logo blue */
    --clr-accent: #0077B6;
    --clr-accent-h: #005F8F;
    --clr-accent-lite: #0096C7;

    /* Text scale */
    --clr-white: #FFFFFF;
    --clr-text: #111827;
    --clr-text-muted: #4B5563;
    --clr-text-faint: #6B7280;

    --font: 'Inter', system-ui, -apple-system, sans-serif;

    --header-h: 90px;
    --radius: 8px;
    --radius-lg: 12px;
    --section-max: 1160px;
    --content-max: 780px;

    /* Shadows — monochrome only, no color bloom */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.12);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    font-size: 16px;
}

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    display: block;
}

/* ── Reveal animation — single subtle fade only ─────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Very restrained delays — only 3 tiers */
.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

/* All higher delays treated same as 3 */
.reveal-delay-4,
.reveal-delay-5,
.reveal-delay-6 {
    transition-delay: 0.24s;
}

/* ── Header ─────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--clr-border-mid);
    box-shadow: var(--shadow-sm);
}

header h1 {
    line-height: 0;
    margin: 0;
}

header h1 a {
    display: block;
    line-height: 0;
}

header img {
    height: 50px;
    width: auto;
    pointer-events: none;
    display: block;
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid var(--clr-border-mid);
    color: var(--clr-text);
    font-size: 1.15rem;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    line-height: 1;
}

.hamburger:hover {
    border-color: var(--clr-border-hi);
    color: var(--clr-text);
    background: var(--clr-bg-2);
}

nav.button-container {
    display: flex;
    gap: 0;
    align-items: center;
}

.header-lang-switch {
    display: inline-flex;
    align-items: center;
    margin-left: 0.75rem;
    border: 1px solid var(--clr-border-mid);
    border-radius: 999px;
    overflow: hidden;
    background: var(--clr-bg-card);
}

.header-lang-btn {
    border: 0;
    background: transparent;
    color: var(--clr-text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1;
    padding: 0.35rem 0.6rem;
    cursor: pointer;
}

.header-lang-btn + .header-lang-btn {
    border-left: 1px solid var(--clr-border-mid);
}

.header-lang-btn.active {
    color: var(--clr-accent);
    background: #eaf5fb;
}

.section-link {
    text-decoration: none;
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.4rem 0.85rem;
    border-radius: 5px;
    letter-spacing: 0.01em;
    transition: color 0.2s var(--ease), background 0.2s, filter 0.3s var(--ease), opacity 0.3s var(--ease);
    white-space: nowrap;
}

.section-link:hover {
    color: var(--clr-text);
    background: var(--clr-bg-2);
}

.section-link::after {
    content: none;
}

/* Keep all header items fully visible on hover */

.kontakt-link {
    text-decoration: none;
    color: var(--clr-white) !important;
    background-color: var(--clr-accent);
    border: 1px solid var(--clr-accent);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.45rem 1.1rem;
    border-radius: 5px;
    margin-left: 0.75rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.35s ease, filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

.kontakt-link::after {
    content: '';
    background: var(--clr-white);
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.kontakt-link:hover {
    color: var(--clr-accent) !important;
    background-color: var(--clr-accent) !important;
}

.kontakt-link:hover::after {
    transform: scaleX(1);
}


/* ── Hero ───────────────────────────────────────────────── */
#hero {
    position: relative;
    z-index: 1;
    min-height: calc(55vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-h) !important;
    padding: 3.5rem 3rem 4rem;
    text-align: center;
    border-bottom: 1px solid var(--clr-border);
    overflow: hidden;
    /* Contains the absolute video */
    max-width: none !important;
    /* Force edge to edge */
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Dark Overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.65);
    /* Deep slate overlay */
    z-index: -1;
}

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #60A5FA;
    /* Lighter blue for dark bg */
    margin-bottom: 1.75rem;
}

.hero-headline {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    /* Forced white over video */
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 400;
    color: #D1D5DB;
    /* Lighter gray over video */
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Hero specific button overrides for dark background */
.hero-btn-outline {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
    color: #FFFFFF !important;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: #FFFFFF !important;
}

.hero-btn-primary {
    border-color: transparent !important;
}
.hero-tool-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-tool-cta .hero-btn-primary {
    min-width: 220px;
    justify-content: center;
    text-align: center;
}


.btn-brand,
.btn-primary,
.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--clr-accent);
    color: var(--clr-white);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.6rem;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid var(--clr-accent);
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-brand:hover,
.btn-primary:hover,
.submit-btn:hover {
    background: var(--clr-accent-h);
    border-color: var(--clr-accent-h);
    color: var(--clr-white) !important;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--clr-text);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.75rem 1.6rem;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid var(--clr-border-mid);
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s;
}

.btn-outline:hover {
    border-color: var(--clr-border-hi);
    background: var(--clr-bg-2);
}

.hero-image-wrapper {
    margin-top: 4rem;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-pop);
    border: 1px solid var(--clr-border);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-rule {
    width: 48px;

    height: 3px;
    background: var(--clr-accent);
    border-radius: 2px;
    margin: 5rem auto 0;
}

/* ── Section base ───────────────────────────────────────── */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 3rem;
    max-width: var(--section-max);
    margin: 0 auto;
    border-bottom: 1px solid var(--clr-border);
}

section:last-of-type {
    border-bottom: none;
}

section.animate,
section.animate-in,
section.animate:not(.animate-in) {
    opacity: 1;
    transform: none;
    transition: none;
}

.section-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr-accent-lite);
    margin-bottom: 0.85rem;
}

section>h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--clr-text);
    line-height: 1.15;
    margin-bottom: 0;
}

/* ── Über uns (#section1) ─────────────────────────────── */
#section1 {
    text-align: left;
}

.about-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 3.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--clr-border);
}

.about-stat {
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-bottom: 1px solid var(--clr-border);
}

.about-stat:last-child {
    border-bottom: none;
}

.about-stat-num {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clr-text);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.about-stat-lbl {
    font-size: 0.72rem;
    color: var(--clr-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#section1bodytext {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
}

#section1bodytext p {
    margin-bottom: 1.25rem;
}

#section1bodytext p:last-child {
    margin-bottom: 0;
}

#section1bodytext strong {
    color: var(--clr-text);
    font-weight: 600;
}

.about-img-wrapper {
    margin: 2.5rem 0;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── Services (#section2) ─────────────────────────────── */
#section2 {
    text-align: left;
    background: var(--clr-bg-2);
    max-width: none;
}

#section2>.section-label,
#section2>h2,
#section2>.services-intro,
#section2>.services-grid {
    max-width: var(--section-max);
    margin-left: auto;
    margin-right: auto;
}

.services-intro {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    line-height: 1.85;
    margin-top: 1.5rem;
    margin-bottom: 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 0;
    list-style: none;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--clr-border);
}

/* Service Cards - Image Layout */
.service-item {
    cursor: pointer;
    background: var(--clr-bg-card);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background 0.2s var(--ease);
    transform: none !important;
    opacity: 1 !important;
    padding: 0;
    /* padding moved to content wrapper */
}

.service-item::before {
    content: none;
}

.service-item:hover {
    background: var(--clr-bg-2);
}

.service-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid var(--clr-border);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    /* overrides old hide */
    transition: transform 0.4s var(--ease);
}

.service-item:hover .service-img {
    transform: scale(1.03);
}

.service-content-wrapper {
    padding: 2rem 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.card-inner {
    display: contents;
}

.front {
    display: contents;
}

.back {
    display: none;
}

/* Keep old direct img hides just in case, but actual service-img is shown */
.front>img,
.service-item>img:not(.service-img) {
    display: none;
}

.service-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--clr-text-faint);
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.25rem;
}

.service-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-text);
    line-height: 1.45;
}

.service-summary {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.75;
    flex: 1;
}

.service-arrow {
    font-size: 0.82rem;
    color: var(--clr-accent);
    font-weight: 600;
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Removed arrow opacity hide/show - just left visible as clean links */

/* Modal */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.4);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.services-details {
    position: fixed;
    z-index: 1001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 660px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-pop);
    display: none;
}

.services-details.active {
    display: block;
}

.back-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--clr-bg-2);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.4rem 0.7rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    min-width: 36px;
    min-height: 36px;
    line-height: 1;
}

.back-btn:hover {
    color: var(--clr-text);
    border-color: var(--clr-border-hi);
    background: #FFF;
}

.detail-panel {
    display: none;
}

.detail-panel.active {
    display: block;
}

.service-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--clr-text-muted);
    text-align: left;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-text);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 0.9rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-content ul li {
    padding: 0.65rem 0 0.65rem 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.service-content ul li:last-child {
    border-bottom: none;
}

.service-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--clr-border-hi);
    font-weight: 500;
}

/* ── Clients (#section3) ─────────────────────────────── */
#section3 {
    text-align: left;
}

.scroll-container {
    overflow-x: scroll;
    overflow-y: hidden;
    position: relative;
    width: 100%;
    padding: 3rem 0 2.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    margin-top: 1rem;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4.5rem;
    width: max-content;
    user-select: none;
}

.logo-wrapper {
    width: 130px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    user-select: none;
}

.scroll-content img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    pointer-events: none;
    filter: grayscale(100%) opacity(0.6) contrast(1.1);
    transition: filter 0.3s var(--ease);
    -webkit-user-drag: none;
}

.logo-wrapper:hover img {
    filter: grayscale(0%) opacity(1) contrast(1);
}

/* ── Projects (#section5) ─────────────────────────────── */
#section5 {
    text-align: left;
    background: var(--clr-bg-2);
    max-width: none;
    border-top: 1px solid var(--clr-border);
}

#section5>.section-label,
#section5>h2,
#section5>.client-grid {
    max-width: var(--section-max);
    margin-left: auto;
    margin-right: auto;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 3.5rem;
    border-top: 1px solid var(--clr-border);
    border-left: 1px solid var(--clr-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--clr-bg-card);
}

.client-card {
    background: transparent;
    padding: 2.25rem 2rem;
    transition: background 0.2s var(--ease);
    position: relative;
    text-align: left;
    border-right: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.client-card::before {
    content: none;
}

.client-card:hover {
    background: var(--clr-bg-2);
}

.client-card img {
    max-width: 100px;
    max-height: 48px;
    width: auto;
    height: auto;
    margin-bottom: 1.5rem;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s var(--ease);
}

.client-card:hover img {
    filter: grayscale(0%) opacity(1);
}

.client-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.client-card ul {
    list-style: none;
    padding: 0;
}

.client-card ul li {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--clr-border);
    line-height: 1.5;
}

.client-card ul li:first-child {
    border-top: 1px solid var(--clr-border);
}

.client-card ul li::before {
    content: none;
}

/* ── Contact (#section4) ─────────────────────────────── */
#section4 {
    text-align: left;
    border-bottom: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 6rem;
    align-items: start;
    margin-top: 3.5rem;
}

.contact-info-panel h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.contact-info-panel>p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--clr-border);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
}

.contact-detail:first-of-type {
    border-top: 1px solid var(--clr-border);
}

.contact-detail:hover {
    border-color: var(--clr-border-hi);
}

.contact-detail:hover .contact-detail-body span {
    color: var(--clr-accent);
}

.contact-detail-icon {
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--clr-text-faint);
    background: var(--clr-bg-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
}

.contact-detail-body strong {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-text-faint);
    margin-bottom: 0.15rem;
}

.contact-detail-body span {
    font-size: 0.95rem;
    color: var(--clr-text);
    font-weight: 500;
    transition: color 0.2s;
}

/* Form */
.contact-form-wrapper {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    background: var(--clr-bg-card);
    box-shadow: var(--shadow-sm);
}

#section4 form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    max-width: none;
}

#section4 form input[type="text"],
#section4 form input[type="email"],
#section4 form textarea {
    padding: 0.85rem 1.1rem;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border-mid);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--clr-text);
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

#section4 form input::placeholder,
#section4 form textarea::placeholder {
    color: var(--clr-text-hi);
}

#section4 form input:focus,
#section4 form textarea:focus {
    border-color: var(--clr-accent-lite);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#section4 form textarea {
    resize: none;
    height: 160px;
}

.submit-btn {
    width: 100%;
    margin-top: 0.5rem;
}

.form-message {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.form-message::before {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.form-message.success {
    background: #F0FDF4;
    color: #166534;
    border-color: #BBF7D0;
}

.form-message.success::before {
    content: '✓';
    color: #16A34A;
}

.form-message.error {
    background: #FEF2F2;
    color: #991B1B;
    border-color: #FECACA;
}

.form-message.error::before {
    content: '!';
    color: #DC2626;
}

/* ── Toast ──────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: calc(var(--header-h) + 1.5rem);
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 2000;
    pointer-events: none;
}

.toast {
    min-width: 280px;
    max-width: 360px;
    background: var(--clr-bg-card);
    color: var(--clr-text);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: var(--shadow-pop);
    border: 1px solid var(--clr-border);
    border-left: 4px solid var(--clr-accent);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    pointer-events: auto;
}

.toast--visible {
    transform: translateX(0);
    opacity: 1;
}

.toast--hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    font-size: 1.1rem;
    color: var(--clr-accent-lite);
    margin-top: 0.1rem;
}

.toast-text {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--clr-text-hi);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
}

.toast-close:hover {
    opacity: 1;
    color: var(--clr-text);
}

.toast--success {
    border-left-color: #10B981;
}

.toast--success .toast-icon {
    color: #10B981;
}

.toast--error {
    border-left-color: #EF4444;
}

.toast--error .toast-icon {
    color: #EF4444;
}

/* ── Footer ─────────────────────────────────────────────── */
#site-footer {
    position: relative;
    z-index: 1;
    background: var(--clr-bg-2);
    border-top: 1px solid var(--clr-border);
    padding: 5rem 3rem 3rem;
}

.footer-inner {
    max-width: var(--section-max);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--clr-border);
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clr-text-faint);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s var(--ease);
    letter-spacing: 0.01em;
}

.footer-col ul a:hover {
    color: var(--clr-text);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-legal-inline-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-legal-inline-link {
    font-size: 0.82rem;
    color: var(--clr-text-faint);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal-inline-link:hover {
    color: var(--clr-text-muted);
}
.legal-lang-hidden {
    display: none;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--clr-text-hi);
    letter-spacing: 0.01em;
}

#other-pages {
    display: none;
}

/* ── Cookie banner ──────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--clr-bg-card);
    border-top: 1px solid var(--clr-border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 3rem;
    z-index: 999;
    display: none;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--clr-text-muted);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.35s var(--ease);
}

.cookie-content {
    max-width: var(--section-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s var(--ease);
    letter-spacing: 0.01em;
}

.accept-btn {
    background: var(--clr-text);
    color: var(--clr-white);
    border-color: var(--clr-text);
}

.accept-btn:hover {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
}

.reject-btn {
    background: transparent;
    color: var(--clr-text-muted);
    border-color: var(--clr-border-mid);
}

.reject-btn:hover {
    color: var(--clr-text);
    border-color: var(--clr-border-hi);
    background: var(--clr-bg-2);
}

.more-info-link {
    color: var(--clr-text-hi);
    font-size: 0.8rem;
    text-decoration: underline;
}

.more-info-link:hover {
    color: var(--clr-text);
}

/* ── Static pages ───────────────────────────────────────── */
.page-wrapper {
    position: relative;
    z-index: 1;
    padding: 6rem 3rem;
    margin-top: var(--header-h);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 4rem;
    text-align: left;
}

.container.narrow {
    max-width: 800px;
}

.page-wrapper h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text);
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.025em;
}

.page-wrapper h2 {
    font-size: 1.35rem;
    margin: 2.5rem 0 1rem;
    color: var(--clr-text);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.page-wrapper h3 {
    font-size: 1.1rem;
    margin: 1.75rem 0 0.75rem;
    color: var(--clr-text);
    font-weight: 600;
}

.page-wrapper p,
.page-wrapper ul,
.page-wrapper li {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
}

.page-wrapper ul {
    padding-left: 1.75rem;
}

.hosting-inline-section {
    padding-top: 0;
    border-bottom: 1px solid var(--clr-border);
}

.hosting-inline-card {
    max-width: var(--section-max);
    margin: 0 auto;
    border: 1px solid #d7e5f0;
    border-radius: 18px;
    background:
        radial-gradient(640px 240px at 0% 0%, rgba(0, 119, 182, 0.11) 0%, transparent 60%),
        linear-gradient(135deg, #ffffff 0%, #f6fbff 100%);
    padding: 2.25rem 2.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 16px 34px rgba(10, 40, 64, 0.08);
}

.hosting-inline-copy {
    max-width: 740px;
}

.hosting-inline-copy h2 {
    margin: 0 0 0.75rem;
}

.hosting-inline-copy p:last-child {
    margin-bottom: 0;
}

.hosting-inline-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.contact-hosting-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--clr-border);
    font-size: 0.95rem;
}

.hosting-page {
    background:
        radial-gradient(900px 360px at 4% 0%, rgba(0, 119, 182, 0.1) 0%, transparent 58%),
        radial-gradient(980px 440px at 100% 6%, rgba(0, 150, 199, 0.08) 0%, transparent 56%),
        linear-gradient(180deg, #f8fbfe 0%, #ffffff 38%);
}

.hosting-shell {
    max-width: 1180px;
    padding: 0;
    overflow: hidden;
    border-color: #d8e6f0;
    box-shadow: 0 22px 54px rgba(11, 42, 67, 0.1);
}

.hosting-shell .legal-lang {
    padding: 0;
}

.hosting-hero {
    padding: 3.8rem 3.5rem 2.6rem;
    text-align: center;
    background:
        radial-gradient(720px 280px at 50% -8%, rgba(0, 119, 182, 0.15) 0%, rgba(0, 119, 182, 0) 72%),
        linear-gradient(180deg, #ffffff 0%, #f4faff 100%);
    border-bottom: 1px solid #e1edf6;
}

.hosting-hero-compact {
    padding-bottom: 2.2rem;
}

.hosting-eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0b6fa8;
}

.hosting-lead {
    max-width: 860px;
    margin: 1.25rem auto 0;
    font-size: 1.05rem;
}

.hosting-cta-row {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin: 2rem 0 0;
}

.hosting-kpis {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.hosting-kpis li {
    margin: 0;
    padding: 0.95rem 1rem;
    border: 1px solid #d7e7f2;
    border-radius: 12px;
    background: #f7fbff;
}

.hosting-grid,
.hosting-requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 2rem 2rem 0;
}

.hosting-requirements-grid {
    padding-bottom: 2rem;
}

.hosting-card,
.hosting-mini-card,
.hosting-arch-step {
    border: 1px solid #dbe7f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 42, 67, 0.05);
}

.hosting-card {
    padding: 1.8rem 1.8rem 1.55rem;
}

.hosting-card h2 {
    margin-top: 0;
}

.hosting-card ul {
    margin-bottom: 0;
}

.hosting-band {
    margin: 2rem;
    padding: 2rem;
    max-width: none;
    border-bottom: none;
    border: 1px solid #dce9f2;
    border-radius: 18px;
    background:
        radial-gradient(520px 220px at 100% 0%, rgba(0, 119, 182, 0.09) 0%, transparent 68%),
        linear-gradient(180deg, #fbfdff 0%, #f5faff 100%);
}

.hosting-band .section-label {
    margin-bottom: 0.65rem;
}

.hosting-band h2 {
    margin: 0;
}

.hosting-architecture,
.hosting-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.hosting-arch-step,
.hosting-mini-card {
    padding: 1.35rem 1.35rem 1.2rem;
}

.hosting-arch-step span {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eaf5fb;
    color: #0b6fa8;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.hosting-arch-step h3,
.hosting-mini-card h3 {
    margin-top: 0;
}

.hosting-band-soft {
    background:
        radial-gradient(520px 220px at 0% 0%, rgba(0, 150, 199, 0.08) 0%, transparent 68%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.hosting-final-cta {
    padding: 2rem 2rem 2.4rem;
    text-align: center;
}

.hosting-final-cta h2 {
    margin-top: 0;
}

.hosting-final-cta p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.imprint-figure {
    margin: 2.5rem auto 0;
    text-align: center;
}

.imprint-figure img {
    display: block;
    margin: 0 auto;
    max-width: 320px;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}

.imprint-text {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--clr-bg-2);
    border-radius: var(--radius);
    border: 1px solid var(--clr-border);
}

.imprint-text h2,
.imprint-text h3 {
    color: var(--clr-text);
}

.contact-info {
    background: var(--clr-bg-2);
    border: 1px solid var(--clr-border);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        border-top: 1px solid var(--clr-border-mid);
    }

    .about-stat {
        border-bottom: none;
        border-right: 1px solid var(--clr-border);
        padding: 1.5rem 2rem 1.5rem 1rem;
    }

    .about-stat:last-child {
        border-right: none;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .hosting-grid,
    .hosting-requirements-grid,
    .hosting-architecture,
    .hosting-columns,
    .hosting-kpis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 80px;
    }

    header {
        padding: 0 1.5rem;
    }

    header img {
        height: 38px;
    }

    #hero {
        min-height: calc(45vh - var(--header-h));
        padding: 2.5rem 1.5rem 3rem;
    }

    .hamburger {
        display: block;
    }

    nav.button-container {
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--clr-bg-card);
        border: 1px solid var(--clr-border-mid);
        border-top: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        padding: 0.75rem;
        box-shadow: var(--shadow-pop);
        z-index: 999;
    }

    nav.button-container.active {
        display: flex;
    }

    .header-lang-switch {
        width: 100%;
        margin: 0.5rem 0 0 0;
        border-radius: 6px;
    }

    .header-lang-btn {
        width: 50%;
        padding: 0.75rem 1rem;
    }

    .section-link {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }

    .kontakt-link {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    section {
        padding: 4.5rem 1.5rem;
    }

    #hero {
        padding: calc(var(--header-h) + 3rem) 1.5rem 4rem;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-outline {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrapper {
        padding: 1.75rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 0 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    #site-footer {
        padding: 3.5rem 1.5rem 2.5rem;
    }

    .cookie-banner {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1.25rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }

    .container {
        padding: 2rem 1.5rem;
    }

    .page-wrapper {
        padding: 3.5rem 1.5rem;
    }

    .hosting-inline-card {
        padding: 1.6rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .hosting-inline-actions {
        width: 100%;
        justify-content: stretch;
    }

    .hosting-inline-actions .btn-primary,
    .hosting-inline-actions .btn-outline {
        flex: 1 1 100%;
        justify-content: center;
    }

    .services-details {
        width: 95%;
        padding: 2.5rem 1.5rem;
        max-height: 90vh;
    }

    .client-grid {
        grid-template-columns: 1fr;
    }

    section>h2 {
        font-size: 1.6rem !important;
    }

    .hosting-hero,
    .hosting-grid,
    .hosting-requirements-grid,
    .hosting-final-cta {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hosting-hero {
        padding-top: 2.5rem;
    }

    .hosting-band {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
    }

    .about-stat {
        border-right: none;
        border-bottom: 1px solid var(--clr-border);
        padding-left: 0;
        padding-right: 0;
    }

    .about-stat:last-child {
        border-bottom: none;
    }
}

/* ── Back to Top ────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.25);
    border-color: var(--clr-accent);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.8rem;
        height: 2.8rem;
    }
}
/* MTA Chart page */
.mta-page-wrapper {
    padding-top: 4.5rem;
    background:
        radial-gradient(1150px 580px at 8% -2%, #dceeff 0%, transparent 62%),
        radial-gradient(920px 500px at 92% 8%, #edf7ff 0%, transparent 58%),
        linear-gradient(180deg, #f6fbff 0%, #ffffff 45%);
}

.mta-page-container.mta-promo {
    max-width: 1260px;
    border: 1px solid #d3e2ef;
    box-shadow: 0 25px 65px rgba(10, 40, 64, 0.12);
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    background: #ffffff;
}

.mta-promo section {
    border-bottom: 1px solid #e4ecf3;
    margin: 0;
}

.mta-hero {
    padding: 4.1rem 3.4rem 3.3rem;
    text-align: center;
    background:
        radial-gradient(780px 300px at 50% -8%, rgba(0, 119, 182, 0.16) 0%, rgba(0, 119, 182, 0) 72%),
        linear-gradient(165deg, #ffffff 0%, #f3f9ff 100%);
}

.mta-eyebrow {
    display: inline-block;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0b6fa8;
    margin-bottom: 1rem;
}

.mta-hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 4.8vw, 3.8rem);
    line-height: 1.02;
    color: #0f1d35;
    letter-spacing: -0.032em;
}

.mta-lead {
    max-width: 860px;
    margin: 1.35rem auto 0;
    text-align: center;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #4f6173;
}

.mta-cta-row {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0 1.85rem;
}

.mta-kpi-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.mta-kpi-row li {
    border: 1px solid #d3e5f4;
    border-radius: 11px;
    background: #f7fbff;
    padding: 0.9rem 1rem;
    color: #3f5367;
    font-size: 0.91rem;
}

.mta-kpi-row strong {
    color: #0b679f;
    margin-right: 0.22rem;
}

.mta-showcase {
    padding: 2.2rem;
    background: linear-gradient(180deg, #fbfdff 0%, #f6fafe 100%);
}

.mta-gallery-title {
    margin: 0;
    text-align: center;
}

.mta-gallery-note {
    text-align: center;
    color: #5a6d81;
    font-size: 0.92rem;
    margin: 0.55rem auto 1.45rem;
}

.mta-showcase-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 1.25rem;
    border: 1px solid #d6e4f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(11, 42, 67, 0.08);
    margin-bottom: 1.1rem;
    overflow: hidden;
}

.mta-showcase-row:last-child {
    margin-bottom: 0;
}

.mta-showcase-row-reverse {
    grid-template-columns: 1fr 1.2fr;
}

.mta-showcase-row-reverse .mta-showcase-shot {
    order: 2;
}

.mta-showcase-row-reverse .mta-showcase-copy {
    order: 1;
}

.mta-showcase-shot {
    height: 100%;
    background: #e9eef4;
    border-right: 1px solid #d8e4ef;
}

.mta-showcase-row-reverse .mta-showcase-shot {
    border-right: none;
    border-left: 1px solid #d8e4ef;
}

.mta-showcase-shot img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.45s var(--ease);
}

.mta-showcase-shot--fit {
    background: #f2f6fb;
}

.mta-showcase-shot--fit img {
    object-fit: contain;
    padding: 8px;
    height: 300px;
    background: #ffffff;
}

.mta-showcase-row:hover .mta-showcase-shot img {
    transform: scale(1.045);
}

.mta-showcase-copy {
    padding: 1.45rem 1.55rem;
}

.mta-showcase-label {
    margin: 0 0 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
    font-weight: 700;
    color: #0f77b5;
}

.mta-showcase-copy h3 {
    margin: 0;
    font-size: 1.52rem;
    line-height: 1.2;
    color: #10223b;
    letter-spacing: -0.02em;
}

.mta-showcase-copy ul {
    margin: 0.95rem 0 0;
    padding-left: 1.05rem;
}

.mta-showcase-copy li {
    margin-bottom: 0.55rem;
    color: #4d6175;
    font-size: 0.95rem;
    line-height: 1.58;
}

.mta-showcase-copy li:last-child {
    margin-bottom: 0;
}

@media (max-width: 1080px) {
    .mta-kpi-row {
        grid-template-columns: 1fr;
    }

    .mta-showcase-row,
    .mta-showcase-row-reverse {
        grid-template-columns: 1fr;
    }

    .mta-showcase-row-reverse .mta-showcase-shot,
    .mta-showcase-row .mta-showcase-shot {
        order: 1;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #d8e4ef;
    }

    .mta-showcase-row-reverse .mta-showcase-copy,
    .mta-showcase-row .mta-showcase-copy {
        order: 2;
    }
}

@media (max-width: 768px) {
    .mta-page-wrapper {
        padding-top: 3.4rem;
    }

    .mta-hero {
        padding: 2.45rem 1.35rem 2.1rem;
    }

    .mta-showcase {
        padding: 1.2rem;
    }

    .mta-showcase-copy {
        padding: 1.1rem 1rem 1.2rem;
    }

    .mta-showcase-copy h3 {
        font-size: 1.24rem;
    }

    .mta-showcase-shot img {
        height: 240px;
    }
}

/* MTA auth pages (PHP) */
.mta-auth-page .container.narrow {
    max-width: 620px;
}

.mta-auth-card-wrap {
    margin-top: 0.5rem;
}

.mta-auth-sub {
    text-align: center;
    margin: -0.3rem auto 1.8rem;
    color: var(--clr-text-muted);
}

.mta-auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.mta-auth-form label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--clr-text-faint);
    margin-top: 0.2rem;
}

.mta-auth-form input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border-mid);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--clr-text);
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mta-auth-form input:focus {
    border-color: var(--clr-accent-lite);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mta-auth-switch {
    text-align: center;
    margin-top: 1.4rem;
    color: var(--clr-text-muted);
}

.mta-auth-switch a {
    color: var(--clr-accent);
    font-weight: 600;
    text-decoration: none;
}

.mta-auth-switch a:hover {
    text-decoration: underline;
}

.mta-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.mta-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.2rem;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.mta-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--clr-accent);
}

.mta-toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.2rem;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.mta-toggle-row input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mta-toggle-switch {
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: #cbd5e1;
    border: 1px solid #b6c3d1;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mta-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.mta-toggle-row input[type="checkbox"]:checked + .mta-toggle-switch {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
}

.mta-toggle-row input[type="checkbox"]:checked + .mta-toggle-switch::after {
    transform: translateX(18px);
}

.mta-auth-links {
    text-align: center;
    margin-top: 1rem;
}

.mta-auth-links a {
    color: var(--clr-accent);
    text-decoration: none;
    font-weight: 600;
}

.mta-auth-links a:hover {
    text-decoration: underline;
}

.is-hidden {
    display: none !important;
}

.mta-rules-box {
    display: none;
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #64748b;
}

.mta-rules-title {
    font-weight: 600;
    margin-bottom: 4px;
}

/* ZIP pages */
.zip-page {
    background:
        radial-gradient(760px 360px at 8% 0%, rgba(0, 119, 182, 0.1) 0%, transparent 60%),
        radial-gradient(780px 400px at 100% 4%, rgba(0, 150, 199, 0.09) 0%, transparent 58%),
        linear-gradient(180deg, #f8fbfe 0%, #ffffff 36%);
}

.zip-page-container {
    max-width: 920px;
    padding: 0;
    overflow: hidden;
    border-color: #d8e6f0;
    box-shadow: 0 18px 42px rgba(11, 42, 67, 0.08);
}

.zip-hero {
    padding: 3.4rem 3.4rem 1.4rem;
    text-align: center;
    background:
        radial-gradient(620px 240px at 50% -10%, rgba(0, 119, 182, 0.14) 0%, rgba(0, 119, 182, 0) 72%),
        linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
    border-bottom: 1px solid #e2edf5;
}

.zip-hero .section-label {
    margin-bottom: 0.8rem;
}

.zip-hero h1 {
    margin-bottom: 1rem;
}

.zip-lead {
    max-width: 700px;
    margin: 0 auto;
    color: var(--clr-text-muted);
    font-size: 1rem;
}

.zip-card {
    padding: 2.2rem 3.4rem 3.2rem;
}

.zip-card-copy {
    margin-bottom: 1.5rem;
}

.zip-card-copy h2 {
    margin: 0 0 0.65rem;
}

.zip-card-copy p {
    margin-bottom: 0;
}

.zip-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.zip-form label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--clr-text-faint);
}

.zip-form input[type="file"],
.zip-form input[type="password"] {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border-mid);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--clr-text);
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.zip-form input[type="file"]:focus,
.zip-form input[type="password"]:focus {
    border-color: var(--clr-accent-lite);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.zip-result {
    margin-top: 1rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    background: var(--clr-bg-2);
}

.zip-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--clr-border);
}

.zip-result-row:first-child {
    padding-top: 0;
}

.zip-result-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.zip-result-row span {
    color: var(--clr-text-faint);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.zip-result-row a,
.zip-result-row strong {
    color: var(--clr-text);
    text-align: right;
    word-break: break-word;
}

.zip-copy-hint {
    margin: 1rem 0 0;
    font-size: 0.95rem;
}

.zip-progress {
    margin-top: 0.4rem;
    padding: 1rem 1.1rem;
    border: 1px solid #d8e6f0;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fbfdff 0%, #f5faff 100%);
}

.zip-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.65rem;
    font-size: 0.88rem;
    color: var(--clr-text-muted);
}

.zip-progress-meta strong {
    color: var(--clr-text);
    font-variant-numeric: tabular-nums;
}

.zip-progress-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: #dbeaf5;
    border: 1px solid #c9dceb;
}

.zip-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0077b6 0%, #0096c7 100%);
    transition: width 0.18s ease;
}

.zip-progress-text {
    margin: 0.7rem 0 0;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

@media (max-width: 768px) {
    .zip-hero,
    .zip-card {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .zip-result-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .zip-result-row a,
    .zip-result-row strong {
        text-align: left;
    }
}



