/* =====================================================
   PreQ GmbH - Dark & Premium Theme
   preq.eu Corporate Storefront
   Refaktoriert: 2026-04-01
   ===================================================== */

/* ----- Inter Font (Sicherheitsnetz falls Design-System nicht lädt) ----- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter/inter-800.woff2') format('woff2'); }

/* ----- PreQ Brand: "Pre" normale Schrift, "Q" fett und cyan ----- */
.preq-brand,
.preq-fm-logo,
.preq-fm-logo .preq-brand,
.preq-fm-logo .preq-brand > span,
.preq-fm-bottom-brand,
.preq-fm-bottom-brand .preq-brand,
.preq-fm-bottom-brand .preq-brand > span,
.preq-nav-logo-text,
.preq-nav-logo-text > span { font-family: 'Inter', sans-serif !important; }
.preq-brand {
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.preq-brand > span {
    font-weight: 700 !important;
    color: #22D3EE !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: inherit !important;
}
/* Nav-Logo oben links: Original-Gewichte (Pre=700, Q=800) beibehalten */
.preq-nav-logo-text {
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.preq-nav-logo-text > span {
    font-weight: 800 !important;
    color: #22D3EE !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: inherit !important;
}

/* ----- Layout ----- */
.container {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 40px;
}

[x-cloak] { display: none !important; }

/* =====================================================
   SECTIONS
   ===================================================== */
.preq-section {
    padding: 6.4rem 0;
}

.preq-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.preq-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22D3EE;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.preq-section-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* =====================================================
   USP BANNER
   ===================================================== */
.preq-usp-banner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--preq-card, #1D1D21);
    border: 1px solid rgba(34,211,238,0.15);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.preq-usp-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #22D3EE, transparent);
}

.preq-usp-icon {
    width: 56px;
    height: 56px;
    background: rgba(34,211,238,0.1);
    border: 1px solid rgba(34,211,238,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #22D3EE;
}

.preq-usp-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.preq-usp-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    margin: 0;
}

.preq-usp-text strong {
    color: #22D3EE;
    font-weight: 600;
}

/* =====================================================
   FEATURE CARDS (Woran andere scheitern)
   ===================================================== */
.preq-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.preq-feature-card {
    background: var(--preq-card, #1D1D21);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 2.5rem 1.75rem;
    transition: border-color 0.3s, transform 0.3s;
}

.preq-feature-card:hover {
    border-color: rgba(34,211,238,0.2);
    transform: translateY(-2px);
}

.preq-feature-icon {
    width: 48px;
    height: 48px;
    min-height: 48px;
    flex-shrink: 0;
    background: rgba(34,211,238,0.08);
    border: 1px solid rgba(34,211,238,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #22D3EE;
}

.preq-feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.preq-feature-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.65;
    margin: 0;
}

/* =====================================================
   KUNDEN / BRANCHEN CARDS
   ===================================================== */
.preq-kunden-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.preq-kunden-card {
    background: var(--preq-card, #1D1D21);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.preq-kunden-card:hover {
    border-color: rgba(34,211,238,0.2);
    transform: translateY(-2px);
}

.preq-kunden-icon {
    width: 56px;
    height: 56px;
    background: rgba(34,211,238,0.08);
    border: 1px solid rgba(34,211,238,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #22D3EE;
}

.preq-kunden-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.preq-kunden-card p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   CTA MODERN
   ===================================================== */
.preq-cta-modern {
    padding: 6rem 0;
}

.preq-cta-inner {
    position: relative;
    background: var(--preq-card, #1D1D21);
    border: 1px solid rgba(34,211,238,0.12);
    border-radius: 24px;
    padding: 5rem 4rem;
    text-align: center;
    overflow: hidden;
}

.preq-cta-glow {
    position: absolute;
    top: -300px;
    left: 90%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(34,211,238,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.preq-cta-modern .preq-cta-content {
    position: relative;
    z-index: 1;
}

.preq-cta-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22D3EE;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}

.preq-cta-modern h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.preq-cta-modern p {
    color: rgba(255,255,255,0.95);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.preq-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.preq-cta-btn,
.preq-cta-btn:link,
.preq-cta-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #22D3EE !important;
    color: #0a0a14 !important;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.preq-cta-btn:hover {
    background: #1ab8cc !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.preq-cta-btn:active {
    background: #19a3b5 !important;
    color: #fff !important;
}

.preq-cta-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.2s;
}

.preq-cta-mail:hover {
    color: #22D3EE;
}

/* =====================================================
   FOOTER MODERN
   ===================================================== */
.preq-footer-modern {
    background: #0E0E11;
    border-top: 1px solid rgba(255,255,255,0.06);
    /* padding wird in storefront-footer.css gesetzt (inkl. Mobile-Override
       fuer Floating-Toolbar). Hier KEINE padding-Shorthand mehr, sonst
       ueberschreibt sie das @media padding-bottom. */
    margin-top: auto;
}

.preq-fm-top {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
}

.preq-fm-brand {
    flex: 0 0 280px;
}

.preq-fm-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
}

.preq-fm-brand p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    margin: 0;
}

.preq-fm-links-group {
    flex: 1;
    display: flex;
    gap: 3rem;
}

.preq-fm-col {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
}

.preq-fm-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.preq-fm-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.preq-fm-col a:hover {
    color: #22D3EE;
}

.preq-fm-bottom-legal {
    padding-top: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}

.preq-fm-bottom-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.preq-fm-bottom-brand {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}
/* Footer-Copyright: das © ist 100 leichter, das Q 100 bolder
   als der Rest der Zeile. "Pre" und " - Qualität für Ihren Erfolg"
   laufen auf derselben Gewichtung wie der umgebende Footer-Text. */
.preq-fm-bottom-brand .preq-fm-copyright { font-weight: 300 !important; }
.preq-fm-bottom-brand .preq-brand { font-weight: inherit !important; }
.preq-fm-bottom-brand .preq-brand > span { font-weight: 500 !important; }

.preq-fm-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.preq-fm-bottom-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.preq-fm-bottom-links a:hover {
    color: #fff;
}

.preq-fm-bottom-cookie {
    padding-top: 16px;
    text-align: center;
}

.preq-fm-cookie-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.preq-fm-cookie-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 11px;
    transition: color 0.2s;
    position: relative;
}

.preq-fm-cookie-links a:hover {
    color: #fff;
}

.preq-fm-cookie-links a+a::before {
    content: '|';
    position: absolute;
    left: -14px;
    color: rgba(255,255,255,0.2);
    pointer-events: none;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .preq-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Sections */
    .preq-section { padding: 3.2rem 0; }
    .preq-section-header { margin-bottom: 2.5rem; }

    /* Kernblock "Das Prinzip dahinter": Icon der drei Karten auf Mobile
       horizontal in der Karte zentrieren, damit sie unter h3/p
       balanciert wirken statt links angeklebt. */
    #prinzip .preq-feature-icon { margin-left: auto; margin-right: auto; }

    /* USP */
    .preq-usp-banner { flex-direction: column; padding: 1.5rem; }

    /* Feature / Kunden */
    .preq-feature-grid { grid-template-columns: 1fr; }
    .preq-kunden-grid { grid-template-columns: 1fr; }

    /* CTA */
    .preq-cta-inner { padding: 3rem 2rem; }
    .preq-cta-modern h2 { font-size: 1.75rem; }
    .preq-cta-actions { flex-direction: column; }

    /* Footer */
    .preq-fm-top { flex-direction: column; gap: 2rem; }
    .preq-fm-brand { flex: none; }
    .preq-fm-links-group { flex-wrap: wrap; gap: 2rem; }
    .preq-fm-col { flex: 0 0 calc(50% - 1rem); }
    .preq-fm-bottom-top { flex-direction: column; text-align: center; }
    .preq-fm-bottom-links { justify-content: center; }
}

/* =====================================================
   HOMEPAGE: Ökosystem-Dreiklang (Wer wir sind)
   ===================================================== */
.preq-triad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.preq-triad-card {
    background: var(--preq-card, #1D1D21);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 32px;
    text-align: center;
}

.preq-triad-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(34,211,238,0.08);
    border: 1px solid rgba(34,211,238,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.preq-triad-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.preq-triad-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
}

/* =====================================================
   HOMEPAGE: Blockquote
   ===================================================== */
.preq-blockquote {
    border-left: 3px solid rgba(34,211,238,0.5);
    padding: 24px 32px;
    background: rgba(34,211,238,0.08);
    border-radius: 0 12px 12px 0;
    margin: 0;
}

.preq-blockquote p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}

/* =====================================================
   HOMEPAGE: Manifest Stagger-Animation
   ===================================================== */
.preq-manifest {
    background: var(--preq-dark, #111114);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.preq-manifest-inner {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preq-manifest-text {
    text-align: center;
    padding: 40px;
}

.preq-manifest-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(34,211,238,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.manifest-a-line {
    opacity: 0;
    transform: translateY(30px);
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #fff;
}

.manifest-a-line--muted { color: rgba(255,255,255,0.7); }
.manifest-a-line--faded { color: rgba(255,255,255,0.5); }
.manifest-a-line--accent { color: #22D3EE; text-shadow: 0 0 40px rgba(34,211,238,0.3); }

.manifest-a-line.manifest-a-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* =====================================================
   HOMEPAGE: Differenzierung (Was uns unterscheidet)
   ===================================================== */
.preq-diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.preq-diff-card {
    background: var(--preq-card, #1D1D21);
    border-radius: 12px;
    border: 1px solid rgba(34,211,238,0.15);
    padding: 32px;
}

.preq-diff-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.preq-diff-num {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    transition: color 0.6s ease;
}

.preq-diff-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.preq-diff-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
}

/* =====================================================
   HOMEPAGE: Prozess-Steps (Wie wir arbeiten)
   ===================================================== */
.preq-process {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.preq-process-line {
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(34,211,238,0.3), rgba(34,211,238,0.05));
}

.preq-process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 20px 0;
}

.preq-step-circle {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--preq-raised, #252529);
    border: 2px solid rgba(34,211,238,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: background 0.6s ease, border-color 0.6s ease;
}

.preq-step-num {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #22D3EE;
}

.preq-step-content {
    padding-top: 8px;
}

.preq-step-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.preq-step-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
}

/* =====================================================
   HOMEPAGE: Vergleichstabelle
   ===================================================== */
.preq-comp-table {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 0;
    min-width: 700px;
}

.preq-comp-cell {
    padding: 14px 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preq-comp-label {
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
}

.preq-comp-label span {
    font-size: 14px;
    font-weight: 500;
    color: var(--preq-text, #e8e6e3);
}

.preq-comp-cell--dash { color: rgba(255,255,255,0.3); font-size: 20px; }
.preq-comp-cell span { font-size: 13px; color: rgba(255,255,255,0.95); }

.preq-comp-cell--preq {
    background: rgba(34,211,238,0.06);
    border-left: 1px solid rgba(34,211,238,0.15);
    border-right: 1px solid rgba(34,211,238,0.15);
}

.preq-comp-cell--preq span { font-weight: 600; color: #22D3EE; }
.preq-comp-cell--preq-last { border-bottom: 1px solid rgba(34,211,238,0.15); border-radius: 0 0 12px 0; }

.preq-comp-header {
    padding: 16px 12px;
    text-align: center;
}

.preq-comp-header span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.preq-comp-header--preq {
    background: rgba(34,211,238,0.06);
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(34,211,238,0.15);
    border-bottom: none;
}

/* =====================================================
   HOMEPAGE: Praxis-Beispiel Badge
   ===================================================== */
.preq-example-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.preq-example-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.preq-story-card p {
    margin-bottom: 12px;
}
.preq-story-card p:last-child {
    margin-bottom: 0;
}
.preq-story-card p strong {
    color: #fff;
    font-weight: 600;
    margin-right: 4px;
}

/* Selector hebt Specificity gegen design-system h3:not(.cms-heading)
   — sonst greifen margin/padding aus dem generierten DS-CSS. */
h3.preq-praxis-title {
    color: #fff;
    margin-top: 80px;
    margin-bottom: 12px;
}
.preq-praxis-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 720px;
    margin-bottom: 40px;
}

/* =====================================================
   RESPONSIVE (Homepage-Sektionen)
   ===================================================== */
@media (max-width: 768px) {
    .preq-triad-grid { grid-template-columns: 1fr; }
    .preq-diff-grid { grid-template-columns: 1fr; }
    .preq-example-grid { grid-template-columns: 1fr; }
    .manifest-a-line { font-size: clamp(24px, 5vw, 40px); }

    /* Vergleichstabelle: schmaler darstellen (statt 700px Min-Width)
       und Schrift/Padding reduzieren, damit sie weniger horizontal scrollt. */
    .preq-comp-table { min-width: 540px; }
    .preq-comp-cell,
    .preq-comp-label,
    .preq-comp-header { padding: 10px 6px; }
    .preq-comp-label { padding-left: 10px; }
    .preq-comp-label span { font-size: 12px; }
    .preq-comp-cell span { font-size: 11px; }
    .preq-comp-cell--dash { font-size: 16px; }
    .preq-comp-header span { font-size: 10px; letter-spacing: 0.04em; }
}
