/* =====================================================
   BizBaze – Stylesheet
   Ruhig, schweizerisch, strukturiert.
   ===================================================== */

:root {
    --bg:          #f5f3ee;
    --bg-alt:      #ebe8e0;
    --bg-dark:     #1a1d22;
    --surface:     #ffffff;
    --ink:         #15181d;
    --ink-soft:    #353941;
    --muted:       #7a7d85;
    --line:        #d9d5cc;
    --line-dark:   #2a2e35;
    --accent:      #8a6b3d;
    --accent-dark: #6d5430;
    --accent-soft: #f0ebe0;
    --ok:          #5a6f3a;

    --radius:      4px;
    --radius-sm:   2px;
    --shadow-sm:   0 1px 3px rgba(21,24,29,.04);
    --shadow:      0 20px 60px rgba(21,24,29,.12);

    --max:         1280px;
    --serif:       'Fraunces', Georgia, 'Times New Roman', serif;
    --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow,
.split-label,
.price-tag {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .78rem;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 24px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 500; margin: 0 0 18px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; font-weight: 500; margin: 0 0 16px; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 500; margin: 0 0 8px; }
p  { margin: 0 0 14px; color: var(--ink-soft); }
ul { color: var(--ink-soft); }

/* ====== HEADER ====== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 250, 248, 0.94);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 28px; gap: 24px; max-width: var(--max); margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.brand-sub  { font-size: .78rem; color: var(--muted); margin-top: 2px; letter-spacing: .04em; }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a {
    color: var(--ink); text-decoration: none;
    font-weight: 500; font-size: .96rem;
    padding: 6px 0; transition: color .2s ease;
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav a.nav-cta {
    background: var(--ink); color: var(--bg);
    padding: 10px 18px; border-radius: 999px; font-weight: 500;
}
.primary-nav a.nav-cta:hover { background: var(--accent); color: #fff; }

.burger {
    display: none; background: transparent; border: 0;
    width: 40px; height: 40px; cursor: pointer; padding: 8px;
}
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .2s; border-radius: 2px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====== BUTTONS ====== */
.btn {
    display: inline-block; padding: 12px 22px; border-radius: 999px;
    font-weight: 500; font-size: .98rem; text-decoration: none;
    border: 1px solid transparent; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }

/* ====== SECTIONS ====== */
section { padding: 140px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 0 64px; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }

/* ====== HERO ====== */
.hero { padding: 104px 0 80px; }
.hero .lead { font-size: 1.125rem; color: var(--ink-soft); margin: 0 0 28px; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-meta { margin-top: 22px; font-size: .9375rem; color: var(--muted); }

/* ====== CARDS ====== */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; }
.card.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.card .price { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 8px 0 16px; }
.card ul { padding-left: 1.1rem; margin: 0 0 10px; }
.card ul li { margin-bottom: 6px; }
.card .tag { display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; }

/* ====== CHECKLIST ====== */
.check { list-style: none; padding: 0; margin: 0 0 14px; }
.check li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--ink-soft); }
.check li::before {
    content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px;
    border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
    transform: rotate(-45deg);
}
.cross { list-style: none; padding: 0; margin: 0; }
.cross li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--muted); }
.cross li::before {
    content: "×"; position: absolute; left: 4px; top: -2px; color: var(--muted); font-size: 1.2rem;
}

/* ====== TWO-COL ====== */
.two-col { display: grid; gap: 36px; grid-template-columns: 1.1fr .9fr; align-items: start; }
.two-col.reverse { grid-template-columns: .9fr 1.1fr; }
.two-col img.profile {
    width: 100%; max-width: 360px; border-radius: 18px;
    box-shadow: var(--shadow); border: 1px solid var(--line);
}
@media (max-width: 800px) {
    .two-col, .two-col.reverse { grid-template-columns: 1fr; }
}

/* ====== HERO PROBLEM/SOLUTION STRIP ====== */
.strip { background: var(--accent-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip h2 { color: var(--ink); }

/* ====== FORM ====== */
form { display: grid; gap: 16px; max-width: 640px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { font-size: .9375rem; font-weight: 500; color: var(--ink); display: grid; gap: 6px; }
input, select, textarea {
    font: inherit; color: var(--ink); background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 11px 13px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }

/* ====== CTA STRIP ====== */
.cta-strip { background: var(--ink); color: #fff; }
.cta-strip h2 { color: #fff; }
.cta-strip p  { color: #d6d8dd; }
.cta-strip .btn-primary { background: #fff; color: var(--ink); }
.cta-strip .btn-primary:hover { background: var(--accent-soft); color: var(--ink); }
.cta-strip a { color: #fff; }

/* ====== FOOTER ====== */
.site-footer {
    background: #14171c; color: #c8ccd3; padding: 48px 0 28px; font-size: .9375rem;
}
.site-footer a { color: #c8ccd3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid {
    display: grid; gap: 28px;
    grid-template-columns: 1.4fr 1fr 1fr;
}
.footer-grid h4 { color: #fff; font-family: var(--serif); font-size: 1rem; margin: 0 0 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; color: #c8ccd3; }
.footer-grid li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #2a2f37; margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8b9099; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ====== UTIL ====== */
.muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.1rem; }
.kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; font-size: .9em; }

/* ====== RESPONSIVE NAV ====== */
@media (max-width: 820px) {
    .burger { display: inline-block; }
    .primary-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: var(--surface); border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 18px;
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { padding: 12px 6px; border-bottom: 1px solid var(--line); }
    .primary-nav a:last-child { border-bottom: 0; }
    .site-header { position: sticky; }
    .header-inner { position: relative; }
}

/* ===== HERO BIG ===== */
.hero-big {
    min-height: 92vh;
    background: var(--bg-dark);
    color: #f5f3ee;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
}
.hero-big .container { position: relative; z-index: 2; }
.hero-big .eyebrow { color: rgba(245,243,238,.6); }
.hero-big h1 { color: #f5f3ee; max-width: 14ch; }
.hero-big .lead { color: rgba(245,243,238,.78); max-width: 540px; margin-top: 24px; font-size: 1.125rem; }
.hero-big .hero-cta { margin-top: 40px; }
.hero-big .scroll-hint {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    color: rgba(245,243,238,.5); font-size: .78rem; letter-spacing: .2em;
    text-transform: uppercase; text-decoration: none;
}
.hero-big .scroll-hint::after {
    content: ""; display: block; width: 1px; height: 36px;
    background: rgba(245,243,238,.3); margin: 12px auto 0;
}

/* ===== HERO SMALL (Unterseiten) ===== */
.hero-small {
    padding: 180px 0 100px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.hero-small h1 { max-width: 18ch; }
.hero-small .lead { max-width: 580px; color: var(--ink-soft); font-size: 1.125rem; margin-top: 20px; }

/* ===== TILE GRID ===== */
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.tile {
    background: var(--bg);
    aspect-ratio: 1 / 1;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background .35s ease;
    text-decoration: none;
    color: var(--ink);
}
.tile:hover { background: var(--bg-alt); }
.tile-number {
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.tile-title {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 1.8vw, 1.7rem);
    line-height: 1.15;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
    color: inherit;
}
.tile-sub {
    font-size: .9375rem;
    color: var(--muted);
    margin-top: 10px;
    line-height: 1.5;
}
.tile.dark { background: var(--bg-dark); color: #f5f3ee; }
.tile.dark .tile-number { color: rgba(245,243,238,.55); }
.tile.dark .tile-sub { color: rgba(245,243,238,.7); }
.tile.dark:hover { background: #22262d; }
.tile.accent { background: var(--accent); color: #fff; }
.tile.accent .tile-number { color: rgba(255,255,255,.75); }
.tile.accent .tile-sub { color: rgba(255,255,255,.88); }
.tile.accent:hover { background: var(--accent-dark); }

/* Color inheritance fix für dunkle/akzent Blöcke */
.tile h3, .tile p,
.tile.dark h3, .tile.dark p, .tile.dark .tile-sub,
.tile.accent h3, .tile.accent p, .tile.accent .tile-sub {
    color: inherit;
}
.price-block h3, .price-block p,
.price-block.featured h3, .price-block.featured p,
.price-block.featured .price-desc,
.price-block.featured .price-amount {
    color: inherit;
}
.price-block.featured .price-tag { color: rgba(245,243,238,.65); }
.price-block.featured .price-desc { color: rgba(245,243,238,.75); }
.price-block.featured .price-list li {
    color: rgba(245,243,238,.85);
    border-color: rgba(245,243,238,.15);
}
.tile.dark .tile-sub { color: rgba(245,243,238,.7); }
.tile.accent .tile-sub { color: rgba(255,255,255,.85); }

/* ===== TWO-COLUMN BIG TEXT ===== */
.split {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-label {
    padding-top: 8px;
    margin: 0;
}
.split-body p { font-size: 1.125rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 20px; max-width: 60ch; }
.split-body p:last-child { margin-bottom: 0; }

/* ===== QUOTE BIG ===== */
.quote-big {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.25;
    font-weight: 500;
    color: var(--ink);
    max-width: 24ch;
    letter-spacing: -0.01em;
}

/* ===== PRICING CLEAN ===== */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.price-block {
    background: var(--bg);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
}
.price-block.featured { background: var(--bg-dark); color: #f5f3ee; }
.price-block.featured .price-amount { color: #f5f3ee; }
.price-block.featured .price-desc { color: rgba(245,243,238,.7); }
.price-block.featured .price-list li { color: rgba(245,243,238,.8); border-color: rgba(245,243,238,.15); }
.price-block.featured .btn { background: #f5f3ee; color: var(--bg-dark); border-color: #f5f3ee; }
.price-block.featured .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.price-block.featured .price-tag { color: rgba(245,243,238,.65); }
.price-block h3 {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0 0 8px;
}
.price-desc { font-size: .9375rem; color: var(--muted); margin: 0 0 32px; }
.price-amount {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 500;
    margin: 0 0 32px;
    letter-spacing: -0.02em;
}
.price-list { list-style: none; padding: 0; margin: 0 0 32px; flex-grow: 1; }
.price-list li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: .9375rem;
    color: var(--ink-soft);
}
.price-list li:last-child { border-bottom: 1px solid var(--line); }
.price-block.featured .price-list li:last-child { border-bottom-color: rgba(245,243,238,.15); }

/* ===== BUTTONS NEU ===== */
.btn {
    padding: 16px 32px;
    border-radius: 2px;
    font-size: .88rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
}
.btn-primary { background: var(--ink); }
.btn-primary:hover { background: var(--accent); }

/* ===== BURGER ALWAYS VISIBLE ===== */
.site-header { background: rgba(245,243,238,.96); }
.site-header.on-dark { background: transparent; border-bottom-color: rgba(245,243,238,.12); }
.site-header.on-dark .brand-name, .site-header.on-dark .brand-sub { color: #f5f3ee; }
.site-header.on-dark .burger span { background: #f5f3ee; }
.site-header.on-dark .primary-nav a { color: #f5f3ee; }
@media (min-width: 821px) {
    .burger { display: inline-block; }
    .primary-nav {
        display: none; position: fixed; inset: 0; background: var(--bg-dark);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 24px; z-index: 99;
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav a {
        color: #f5f3ee; font-family: var(--serif); font-size: 2rem;
        font-weight: 500; padding: 8px 0; border: none;
    }
    .primary-nav a:hover { color: var(--accent); }
    .primary-nav a.nav-cta { background: transparent; padding: 8px 0; }
}
.brand-sub { display: none; }

/* ===== FOOTER MINIMAL ===== */
.site-footer { background: var(--bg-dark); padding: 80px 0 32px; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 60px; }

/* ===== SPLIT LAYOUT — section-head Stil ===== */
.split {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 860px;
}
.split-label {
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    padding-top: 0;
}
.split-body p:first-child {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.15;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.015em;
    margin-bottom: 24px;
    max-width: 22ch;
}
.split-body p:not(:first-child) {
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 60ch;
}
