/* ============================================
   Tribula Consulting – style.css
   ============================================ */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary:       #4f46e5;
    --primary-dark:  #3730a3;
    --primary-light: #818cf8;
    --dark:          #0f172a;
    --dark-2:        #1e293b;
    --light:         #f8fafc;
    --white:         #ffffff;
    --text:          #1e293b;
    --text-muted:    #64748b;
    --border:        #e2e8f0;
    --radius:        12px;
    --radius-lg:     20px;
    --shadow:        0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:     0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl:     0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
    --tr:            .3s ease;
    --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ===== UTILS ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px;
    cursor: pointer; transition: all var(--tr); border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover {
    background: var(--primary-dark); border-color: var(--primary-dark);
    transform: translateY(-2px); box-shadow: 0 8px 20px rgba(79,70,229,.3);
}
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-full { width: 100%; }

.section-header { margin-bottom: 60px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-label {
    display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary);
    text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--dark);
    line-height: 1.2; margin-bottom: 16px;
}
.section-desc { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: all var(--tr);
}
.header.scrolled {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}
.header-badge-img { width:150px; height:auto; margin-bottom: 1rem;}
.nav {
    display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { font-size: 24px; font-weight: 800; color: var(--white); transition: color var(--tr); }
.header.scrolled .nav-logo { color: var(--dark); }
.logo-text .dot { color: var(--primary); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 8px 14px; font-size: 15px; font-weight: 500;
    color: rgba(255,255,255,.85); border-radius: 6px; transition: all var(--tr);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.header.scrolled .nav-link { color: var(--text-muted); }
.header.scrolled .nav-link:hover { color: var(--dark); background: var(--light); }
.nav-cta {
    background: var(--primary) !important; color: var(--white) !important;
    font-weight: 600; margin-left: 8px;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--white); border-radius: 2px; transition: all var(--tr);
}
.header.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: var(--dark); overflow: hidden; padding-top: 72px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 15% 55%, rgba(79,70,229,.35) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 15%, rgba(99,102,241,.2) 0%, transparent 55%);
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 340px;
    align-items: center;
    gap: 60px;
    width: 100%;
    padding-top: 60px; padding-bottom: 100px;
}

.hero-text { max-width: 680px; }

/* ── Lottie column ── */
.hero-lotties {
    display: flex; flex-direction: column;
    gap: 16px; align-items: center;
    pointer-events: none;
}

.lottie-item {
    width: 250px; height: 250px;
    will-change: transform, opacity;
}

@media (max-width: 1280px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-lotties { display: none; }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.8); padding: 8px 18px; border-radius: 100px;
    font-size: 13px; font-weight: 500; margin-bottom: 32px;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-size: clamp(38px, 6vw, 72px); font-weight: 900; color: var(--white);
    line-height: 1.08; margin-bottom: 24px; letter-spacing: -.03em;
}
.accent-text { color: var(--primary-light); }
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.65);
    margin-bottom: 40px; max-width: 560px; line-height: 1.75;
}
.hero-benefits { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.hero-benefit {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,.82); font-size: 15px; font-weight: 500;
}
.check { color: #34d399; font-size: 18px; font-weight: 700; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,.4); font-size: 12px; font-weight: 500;
    letter-spacing: .08em; text-transform: uppercase; z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}
.hero-scroll::after {
    content: ''; width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ===== PROBLEMS ===== */
.problems { padding: 100px 0; background: var(--light); }
.problems-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.problem-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 36px;
    border: 1px solid var(--border); transition: all var(--tr);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.problem-icon { font-size: 38px; margin-bottom: 16px; }
.problem-card h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.problem-card p { color: var(--text-muted); line-height: 1.75; }

/* ===== BENTO GRID ===== */
.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}
.bento-card {
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.bento-card--light {
    background: var(--white);
    border: 1px solid var(--border);
}
.bento-card--light:hover {
    border-color: rgba(79,70,229,.28);
    box-shadow: 0 0 0 1px rgba(79,70,229,.07), 0 8px 24px rgba(79,70,229,.09);
    transform: translateY(-2px);
}
.bento-card--dark {
    background: var(--dark);
    border: 1px solid rgba(255,255,255,.07);
}
.bento-card--dark:hover {
    border-color: rgba(129,140,248,.35);
    box-shadow: 0 0 48px rgba(79,70,229,.2);
    transform: translateY(-2px);
}
.bento-card--full { grid-column: 1 / -1; }
.bento-card h3 {
    font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.3;
    color: var(--dark);
}
.bento-card--dark h3 { color: var(--white); }
.bento-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.bento-card--dark p { color: rgba(255,255,255,.55); }

/* Layout helpers */
.bento-split {
    display: flex; align-items: center; gap: 36px;
    min-height: 220px;
}
.bento-split .bento-text { flex: 1; }
.bento-split .bento-visual { flex-shrink: 0; }

.bento-stacked {
    display: flex; flex-direction: column;
    min-height: 240px;
}
.bento-stacked .bento-visual {
    flex: 1; margin-bottom: 20px;
    display: flex; align-items: flex-end;
}
.bento-landscape {
    display: flex; align-items: center; gap: 48px;
}
.bento-landscape .bento-text { min-width: 240px; flex-shrink: 0; }
.bento-landscape .bento-visual { flex: 1; overflow: hidden; }
.bento-landscape .bento-visual svg { width: 100%; max-width: 320px; }

.bento-grid--3col { grid-template-columns: repeat(3, 1fr); }
.bento-card--span2 { grid-column: span 2; }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-grid--3col { grid-template-columns: 1fr; }
    .bento-card--full,
    .bento-card--span2 { grid-column: 1; }
    .bento-split { flex-direction: column; gap: 24px; min-height: auto; }
    .bento-stacked { min-height: auto; }
    .bento-landscape { flex-direction: column; gap: 24px; }
    .bento-landscape .bento-visual svg { max-width: 100%; }
}

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--white); }
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.service-card {
    padding: 36px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); background: var(--white);
    transition: all var(--tr); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--primary); transform: scaleX(0); transition: transform var(--tr);
    transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 32px; margin-bottom: 16px; }
.service-card h3 { font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p { color: var(--text-muted); line-height: 1.75; font-size: 15px; }

/* ===== PROCESS ===== */
.process { padding: 100px 0; background: var(--dark); }
.process .section-label { color: var(--primary-light); }
.process .section-title { color: var(--white); }
.process-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px; position: relative;
}
.process-step { display: flex; flex-direction: column; gap: 16px; }
.step-number {
    font-size: 58px; font-weight: 900; color: var(--primary);
    opacity: .55; line-height: 1; font-variant-numeric: tabular-nums;
}
.step-content h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-content p { color: rgba(255,255,255,.55); line-height: 1.75; font-size: 15px; }

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: var(--white); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: 80px; align-items: center;
}
.about-visual { display: flex; flex-direction: column; }
.about-photo {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    min-height: 400px;
    max-width: 80vw;
    aspect-ratio: 1 / 1;
    margin: 0 auto 2rem auto;
    border-radius: 1.5rem;
    overflow: hidden;
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.about-photo-placeholder {
    font-size: 72px; font-weight: 900;
    color: rgba(255,255,255,.25); letter-spacing: -2px;
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat {
    display: flex; flex-direction: column; gap: 4px;
    text-align: center; padding: 20px 10px;
    background: var(--light); border-radius: var(--radius);
}
.stat strong { font-size: 24px; font-weight: 800; color: var(--dark); }
.stat span { font-size: 12px; color: var(--text-muted); line-height: 1.3; }
.about-content h2 {
    font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--dark); margin-bottom: 6px;
}
.about-role { font-size: 16px; color: var(--primary); font-weight: 600; margin-bottom: 24px; }
.about-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 16px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; background: rgba(79,70,229,.07); color: var(--primary);
    border-radius: 100px; font-size: 13px; font-weight: 600;
    border: 1px solid rgba(79,70,229,.18);
}

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; background: var(--light); }

.testimonials-carousel {
    position: relative;
    padding: 8px 0 20px;
}
.testimonials-track-outer {
    overflow: hidden;
    padding: 12px 0;
    margin: 0 72px;
}
.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    cursor: grab;
    user-select: none;
}
.testimonials-track.dragging { cursor: grabbing; }
.testimonial-card {
    width: 340px; flex-shrink: 0;
    background: var(--white); border-radius: var(--radius-lg); padding: 32px;
    border: 1px solid var(--border); transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
    display: flex; flex-direction: column;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { font-size: 16px; margin-bottom: 16px; }
.testimonial-card > p {
    color: var(--text-muted); line-height: 1.75; font-size: 15px;
    margin-bottom: 24px; font-style: italic; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0; letter-spacing: .5px;
    overflow: hidden;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }
.testimonial-badge { width: 150px; height: auto; margin-bottom: 12px; }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background: var(--white); border: 1px solid var(--border); border-radius: 50%;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--dark);
    transition: all var(--tr); box-shadow: var(--shadow-md);
}
.carousel-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-50%) scale(1.05); }
.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

@media (max-width: 768px) {
    .testimonials-track-outer { margin: 0 52px; }
    .testimonial-card { width: 280px; padding: 24px; }
    .carousel-btn { width: 40px; height: 40px; }
    .carousel-btn--prev { left: 6px; }
    .carousel-btn--next { right: 6px; }
}

/* ===== 404 PAGE ===== */
.error-404 {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: var(--dark); overflow: hidden; padding-top: 72px;
}
.error-404-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(79,70,229,.3) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 20%, rgba(99,102,241,.15) 0%, transparent 55%);
}
.error-404-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.error-404-inner {
    position: relative; z-index: 1;
    text-align: center; padding: 80px 0;
}
.error-404-number {
    font-size: clamp(120px, 20vw, 240px); font-weight: 900;
    color: var(--primary); opacity: .12; line-height: 1;
    margin-bottom: -40px; letter-spacing: -.05em;
}
.error-404-inner h1 {
    font-size: clamp(32px, 5vw, 56px); font-weight: 800;
    color: var(--white); margin-bottom: 20px; line-height: 1.2;
}
.error-404-inner p {
    font-size: 18px; color: rgba(255,255,255,.6);
    margin-bottom: 48px; line-height: 1.7;
}
.error-404-actions {
    display: flex; gap: 16px;
    justify-content: center; flex-wrap: wrap;
}
/* ===== PROJECTS ===== */
.projects { padding: 100px 0; background: var(--white); }
.projects-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.project-card {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border); transition: all var(--tr);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.project-img-wrap { height: 220px; overflow: hidden; }
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.project-info { padding: 22px 24px; }
.project-info h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.project-type { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.project-results { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.project-results li { font-size: 14px; color: var(--text); }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--light); }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden; transition: all var(--tr);
}
.faq-item.open { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; background: none; border: none; cursor: pointer;
    font-size: 16px; font-weight: 600; color: var(--dark);
    text-align: left; gap: 16px; transition: color var(--tr);
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon {
    font-size: 22px; font-weight: 300; color: var(--primary);
    transition: transform var(--tr); flex-shrink: 0; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 24px 22px; color: var(--text-muted); line-height: 1.75; font-size: 15px; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--white); }
.contact-grid {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 64px; align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 8px;
    font-family: var(--font); font-size: 15px; color: var(--dark);
    background: var(--white); transition: border-color var(--tr), box-shadow var(--tr);
    outline: none; -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-muted); text-align: center; }

/* Checkbox */
.form-checkbox {
    display: flex; flex-direction: row; align-items: flex-start; gap: 12px;
}
.form-checkbox input[type="checkbox"] {
    -webkit-appearance: checkbox; appearance: checkbox;
    width: 18px; height: 18px; min-width: 18px; flex-shrink: 0;
    margin-top: 2px; accent-color: var(--primary);
    cursor: pointer; padding: 0;
    border: 1.5px solid var(--border); border-radius: 3px;
    box-shadow: none;
}
.form-checkbox label {
    font-size: 13px; font-weight: 400; color: var(--text-muted);
    line-height: 1.6; cursor: pointer;
}
.form-checkbox label a { color: var(--primary); text-decoration: underline; }
.form-checkbox label a:hover { color: var(--primary-dark); }

/* Form feedback & success */
.form-feedback {
    font-size: 14px; border-radius: 8px; padding: 0;
    transition: all var(--tr);
}
.form-feedback--error {
    background: #fef2f2; color: #b91c1c;
    border: 1px solid #fecaca; padding: 14px 16px;
}
.form-success {
    text-align: center; padding: 48px 24px;
}
.form-success__icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: #dcfce7; color: #16a34a;
    font-size: 24px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.form-success h3 { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.form-success p  { color: var(--text-muted); line-height: 1.7; }
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}
.contact-cta-card {
    background: var(--dark); color: var(--white);
    padding: 36px; border-radius: var(--radius-lg); margin-bottom: 24px;
}
.contact-cta-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.contact-cta-card p { color: rgba(255,255,255,.65); margin-bottom: 24px; line-height: 1.7; font-size: 15px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail { display: flex; align-items: center; gap: 16px; }
.detail-icon {
    font-size: 20px; width: 48px; height: 48px; background: var(--light);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail strong {
    display: block; font-size: 12px; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px;
}
.contact-detail a,
.contact-detail span { font-size: 15px; color: var(--dark); font-weight: 500; }
.contact-detail a:hover { color: var(--primary); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 64px 0 0;  }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; transition: all var(--tr); text-transform: uppercase;
}
.social-links a:hover { background: var(--primary); color: var(--white); }
.footer-col h4 {
    font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: .06em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.55); transition: color var(--tr); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }

/* ===== NEXT-SECTION BUTTON (mobile) ===== */
.next-section-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 50;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(79,70,229,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, background var(--tr);
}
.next-section-btn.visible {
    opacity: 1;
    pointer-events: all;
}
.next-section-btn:hover  { background: var(--primary-dark); }
.next-section-btn:active { transform: scale(.93); }

@media (max-width: 768px) {
    .next-section-btn { display: flex; }
}

/* ===== PRICING ===== */
.pricing { padding: 100px 0; background: var(--light); }
.pricing-toggle {
    display: flex; justify-content: center; gap: 6px;
    margin-bottom: 48px;
    background: var(--border); border-radius: 12px;
    padding: 6px; width: fit-content; margin-left: auto; margin-right: auto;
}
.pricing-tab {
    padding: 12px 28px; border-radius: 8px; border: none;
    font-family: var(--font); font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all var(--tr);
    background: transparent; color: var(--text-muted);
}
.pricing-tab.active {
    background: var(--white); color: var(--primary);
    box-shadow: var(--shadow);
}
.pricing-tab:hover:not(.active) { color: var(--dark); }
.pricing-panel { display: none; }
.pricing-panel.active { display: block; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; align-items: start;
}
.pricing-card {
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    padding: 36px; position: relative; background: var(--white);
    transition: all var(--tr);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg);
    background: var(--white);
}
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: var(--white);
    padding: 5px 18px; border-radius: 100px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    white-space: nowrap;
}
.pricing-header { margin-bottom: 28px; }
.pricing-header h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.pricing-price { font-size: 34px; font-weight: 900; color: var(--primary); margin-bottom: 8px; line-height: 1.1; }
.pricing-ideal { font-size: 13px; color: var(--text-muted); }
.pricing-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
    font-size: 14px; color: var(--text-muted); padding-left: 22px; position: relative; line-height: 1.5;
}
.pricing-features li::before {
    content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 13px;
}
.pricing-managed-note {
    text-align: center; font-size: 15px; color: var(--text-muted); margin: 48px auto 0;
    max-width: 560px; line-height: 1.7;
    padding: 20px 24px; background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border);
}
.pricing-cta {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    margin-top: 48px;
}
.pricing-cta-link {
    font-size: 15px; font-weight: 600; color: var(--primary);
    text-decoration: underline; text-underline-offset: 3px; transition: color var(--tr);
}
.pricing-cta-link:hover { color: var(--primary-dark); }
.pricing-cta-note {
    font-size: 13px; color: var(--text-muted); text-align: center; max-width: 500px; line-height: 1.6;
}

@media (max-width: 960px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .pricing-toggle { width: 100%; }
    .pricing-tab { flex: 1; text-align: center; font-size: 14px; padding: 11px 16px; }
}

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 140px 0 100px; max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-size: 40px; font-weight: 800; color: var(--dark); margin-bottom: 40px; }
.legal-page h2 { font-size: 22px; font-weight: 700; color: var(--dark); margin: 36px 0 12px; }
.legal-page p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.legal-page a { color: var(--primary); }
.legal-page a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0;
        background: var(--white); flex-direction: column; align-items: stretch;
        padding: 12px 16px 25px; gap: 20px; box-shadow: var(--shadow-lg);
        transform: translateY(-8px); opacity: 0; pointer-events: none;
        transition: all var(--tr);
    }
    .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-link { color: var(--text-muted); padding: 12px 16px; }
    .nav-link:hover { background: var(--light) !important; color: var(--dark) !important; }
    .nav-cta { text-align: center; margin-top: 8px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-photo { aspect-ratio: 16/9; max-height: 260px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; }
    .hero-scroll { display: none; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== BENTO CARD ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {

    /* Bar chart – "Webseiten die verkaufen" */
    .bar {
        transform-box: fill-box;
        transform-origin: center bottom;
        transform: scaleY(0.3);
        transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .bento-card:hover .bar,
    .bento-card.svg-animated .bar   { transform: scaleY(1); }
    .bento-card:hover .bar-2,
    .bento-card.svg-animated .bar-2 { transition-delay: 60ms; }
    .bento-card:hover .bar-3,
    .bento-card.svg-animated .bar-3 { transition-delay: 120ms; }
    .bento-card:hover .bar-4,
    .bento-card.svg-animated .bar-4 { transition-delay: 180ms; }
    .bento-card:hover .bar-5,
    .bento-card.svg-animated .bar-5 { transition-delay: 240ms; }

    .trend-line {
        stroke-dasharray: 200;
        stroke-dashoffset: 200;
        transition: stroke-dashoffset 0.7s ease 0.25s;
    }
    .bento-card:hover .trend-line,
    .bento-card.svg-animated .trend-line { stroke-dashoffset: 0; }

    /* Shield + lock – "Sicherheit als Standard" */
    @keyframes shield-glow-pulse {
        0%, 100% { opacity: 0.45; }
        50%       { opacity: 0.85; }
    }
    .bento-card:hover .shield-glow,
    .bento-card.svg-animated .shield-glow {
        animation: shield-glow-pulse 1.8s ease-in-out infinite;
    }
    .lock-shackle-anim {
        transform-box: fill-box;
        transition: transform 0.25s ease;
    }
    .bento-card:hover .lock-shackle-anim,
    .bento-card.svg-animated .lock-shackle-anim { transform: translateY(-3px); }

    /* Checklist – "Kein Technik-Stress mehr" */
    .check-pending-bg  { transition: fill 0.3s ease, stroke 0.3s ease; }
    .check-pending-dot { transition: opacity 0.2s ease; }
    .check-pending-mark {
        stroke-dasharray: 26;
        stroke-dashoffset: 26;
        transition: stroke-dashoffset 0.3s ease 0.18s;
    }
    .bento-card:hover .check-pending-bg,
    .bento-card.svg-animated .check-pending-bg  { fill: #dcfce7; stroke: #16a34a; }
    .bento-card:hover .check-pending-dot,
    .bento-card.svg-animated .check-pending-dot { opacity: 0; }
    .bento-card:hover .check-pending-mark,
    .bento-card.svg-animated .check-pending-mark { stroke-dashoffset: 0; }

    /* Browser mockup – "Unternehmenswebseite" */
    .browser-card {
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 0.5;
        transform-box: fill-box;
        transform: translateY(4px);
    }
    .bento-card:hover .browser-card,
    .bento-card.svg-animated .browser-card        { opacity: 1; transform: translateY(0); }
    .bento-card:hover .browser-card--2,
    .bento-card.svg-animated .browser-card--2     { transition-delay: 70ms; }
    .bento-card:hover .browser-card--3,
    .bento-card.svg-animated .browser-card--3     { transition-delay: 140ms; }
    .browser-cta { transition: fill 0.3s ease; }
    .bento-card:hover .browser-cta,
    .bento-card.svg-animated .browser-cta { fill: #818cf8; }

    /* Shopify cart – "Shopify & Online-Shop" */
    .shop-cta {
        transform-box: fill-box;
        transform-origin: center;
        transition: fill 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .bento-card:hover .shop-cta,
    .bento-card.svg-animated .shop-cta { fill: #6366f1; transform: scaleX(1.07); }

    /* Security shield – "IT-Sicherheit & DSGVO" */
    .security-check {
        stroke-dasharray: 28;
        stroke-dashoffset: 28;
        transition: stroke-dashoffset 0.45s ease 0.1s;
    }
    .bento-card:hover .security-check,
    .bento-card.svg-animated .security-check { stroke-dashoffset: 0; }
    .security-badge {
        transform-box: fill-box;
        transform-origin: left center;
        transform: scaleX(0);
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .bento-card:hover .security-badge,
    .bento-card.svg-animated .security-badge       { transform: scaleX(1); }
    .bento-card:hover .security-badge--2,
    .bento-card.svg-animated .security-badge--2    { transition-delay: 60ms; }
    .bento-card:hover .security-badge--3,
    .bento-card.svg-animated .security-badge--3    { transition-delay: 120ms; }
    .bento-card:hover .security-badge--4,
    .bento-card.svg-animated .security-badge--4    { transition-delay: 180ms; }

    /* Uptime monitor – "Wartung & persönlicher Support" */
    .uptime-line {
        stroke-dasharray: 190;
        stroke-dashoffset: 190;
        transition: stroke-dashoffset 1s ease;
    }
    .bento-card:hover .uptime-line,
    .bento-card.svg-animated .uptime-line { stroke-dashoffset: 0; }
    .uptime-fill {
        opacity: 0;
        transition: opacity 0.5s ease 0.85s;
    }
    .bento-card:hover .uptime-fill,
    .bento-card.svg-animated .uptime-fill { opacity: 1; }
    @keyframes uptime-dot-pulse {
        0%, 100% { transform: scale(1);   opacity: 1; }
        50%       { transform: scale(1.9); opacity: 0.45; }
    }
    .uptime-dot {
        transform-box: fill-box;
        transform-origin: center;
    }
    .bento-card:hover .uptime-dot,
    .bento-card.svg-animated .uptime-dot {
        animation: uptime-dot-pulse 1.4s ease-in-out infinite;
    }
}
