/* ==========================================================================
   B2B V2 – sayfaya özel stiller (contact-v2.css'in üzerine)
   Renkleri redesign.css değişkenlerine bağlayın; fallback'ler sadece güvenlik için.
   ========================================================================== */

:root {
    --b2b-accent: var(--color-primary, #f7941d);
    --b2b-accent-soft: color-mix(in srgb, var(--b2b-accent) 10%, transparent);
    --b2b-text: var(--color-text, #1d1d1f);
    --b2b-muted: var(--color-muted, #6b7280);
    --b2b-border: var(--color-border, #e5e7eb);
    --b2b-surface: var(--color-surface, #ffffff);
    --b2b-surface-alt: var(--color-surface-alt, #f6f7f9);
    --b2b-radius: 16px;
}

/* ---------- Hero ek parçaları ---------- */
.b2b-hero-sub {
    font-weight: 600;
    color: var(--b2b-text);
    margin-bottom: .5rem;
}

.b2b-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

/* ---------- Genel bölüm ---------- */
.b2b-section {
    padding: 64px 0;
}

.b2b-section-alt {
    background: var(--b2b-surface-alt);
}

.b2b-section-head {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.b2b-section-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.25;
    margin-bottom: .75rem;
    color: var(--b2b-text);
}

.b2b-section-head p {
    color: var(--b2b-muted);
    margin: 0;
}

.b2b-section-head a {
    color: var(--b2b-accent);
    font-weight: 600;
}

/* ---------- Vorteile (6 kart) ---------- */
.b2b-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.b2b-feature {
    background: var(--b2b-surface);
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    padding: 24px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.b2b-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
}

.b2b-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--b2b-accent-soft);
    color: var(--b2b-accent);
    margin-bottom: 14px;
}

.b2b-feature-icon svg {
    width: 24px;
    height: 24px;
}

.b2b-feature h3 {
    font-size: 1.05rem;
    margin: 0 0 6px;
    color: var(--b2b-text);
}

.b2b-feature p {
    font-size: .95rem;
    color: var(--b2b-muted);
    margin: 0;
}

/* ---------- Giriş (slider altında, kompakt) ---------- */
.b2b-intro {
    padding: 40px 0 48px;
}

/* ---------- Hero: iki sütun + fiyat kartı ---------- */
.b2b-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.b2b-hero-grid .contact-hero-head {
    max-width: none;
    margin-bottom: 0;
}

.b2b-hero-card {
    background: var(--b2b-surface);
    border: 1px solid var(--b2b-border);
    border-radius: var(--b2b-radius);
    padding: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
}

.b2b-price-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--b2b-accent);
}

.b2b-price-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--b2b-text);
    line-height: 1.2;
    margin-top: 4px;
}

.b2b-price-value small {
    font-size: .85rem;
    font-weight: 500;
    color: var(--b2b-muted);
}

.b2b-hero-card-note {
    font-size: .9rem;
    color: var(--b2b-muted);
    margin: 4px 0 18px;
}

.b2b-check-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 18px 0 0;
    border-top: 1px solid var(--b2b-border);
    display: grid;
    gap: 10px;
}

.b2b-check-list li {
    position: relative;
    padding-left: 28px;
    font-size: .95rem;
    color: var(--b2b-text);
}

.b2b-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--b2b-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7941d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.b2b-hero-card-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* ---------- Marken (_BrandsV2 partial) ----------
   Stiller ana sayfa CSS'inde; B2B'de yüklenmediği için burada da tanımlı.
   Ana sayfa stilleriyle çakışmaz (aynı değerler). */
.home-brands {
    padding: 64px 0;
    background: var(--b2b-surface-alt);
}

.home-brands .home-section-head {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.home-brands .home-section-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.25;
    margin-bottom: .75rem;
    color: var(--b2b-text);
}

.home-brands .home-section-head p {
    color: var(--b2b-muted);
    margin: 0;
}

.home-brands .home-section-head a {
    color: var(--b2b-accent);
    font-weight: 600;
}

.home-brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.home-brand-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    padding: 18px 22px;
    background: var(--b2b-surface);
    border: 1px solid var(--b2b-border);
    border-radius: 12px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home-brand-tile img {
    display: block;
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-brand-tile:hover,
.home-brand-tile:focus-visible {
    border-color: var(--b2b-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}

/* ---------- Registrierung adımları ---------- */
.b2b-steps {
    list-style: none;
    margin: 0 auto 2.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    counter-reset: none;
}

.b2b-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--b2b-surface);
    border: 1px solid var(--b2b-border);
    border-radius: 12px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--b2b-text);
}

.b2b-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--b2b-accent);
    color: #fff;
    font-weight: 800;
}

/* Bölüm ankrajları sabit header altında kalmasın */
#marken,
#b2b-anfrage {
    scroll-margin-top: 90px;
}

/* ---------- SEO metni: DB'deki h1'ler sayfa h1'iyle yarışmasın (görsel) ---------- */
.b2b-text h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin: 2.5rem 0 1rem;
}

.b2b-text h1:first-child {
    margin-top: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .b2b-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .home-brand-grid { grid-template-columns: repeat(4, 1fr); }
    .b2b-hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 767px) {
    .b2b-section,
    .home-brands { padding: 44px 0; }
    .b2b-intro { padding: 28px 0 36px; }
    .home-brand-grid { grid-template-columns: repeat(3, 1fr); }
    .home-brand-tile { height: 72px; padding: 14px; }
    .b2b-steps { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .b2b-feature-grid { grid-template-columns: 1fr; }
    .home-brand-grid { grid-template-columns: repeat(2, 1fr); }
    .b2b-cta-row > a { flex: 1 1 calc(50% - .75rem); text-align: center; }
    .b2b-cta-row > a:first-child { flex-basis: 100%; }
}
