/* TB-Pages — gemeinsame Optik für Dienstleistung / Kompetenz / Kontakt */

.tb-pg {
    --tb-pg-fg: #0E0E2A;
    --tb-pg-mut: #5b5b78;
    --tb-pg-line: #e5e7ee;
    --tb-pg-bg-alt: #f7f8fc;
    --tb-pg-accent: #1919C8;
    --tb-pg-accent-bg: rgba(25, 25, 200, 0.08);
    --tb-pg-radius: 14px;
    color: var(--tb-pg-fg);
    line-height: 1.6;
}

.tb-pg__hero {
    padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 7vw, 80px);
    background:
        /* Subtile Diagonal-Streifen für Brand-Wiedererkennung */
        repeating-linear-gradient(
            -35deg,
            transparent 0,
            transparent 60px,
            rgba(25, 25, 200, 0.025) 60px,
            rgba(25, 25, 200, 0.025) 61px
        ),
        linear-gradient(180deg, #fff 0%, var(--tb-pg-bg-alt) 100%);
    position: relative;
    overflow: hidden;
}
.tb-pg__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(25, 25, 200, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}
.tb-pg__hero-inner { position: relative; z-index: 1; }
.tb-pg__hero-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}
.tb-pg__eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--tb-pg-accent);
    background: var(--tb-pg-accent-bg);
    padding: 5px 13px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 18px;
}
.tb-pg__title {
    font-size: clamp(36px, 6vw, 60px);
    line-height: 1.05;
    margin: 0 0 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.tb-pg__lead {
    font-size: clamp(17px, 1.6vw, 19px);
    color: var(--tb-pg-mut);
    max-width: 760px;
    margin: 0 0 16px;
}

.tb-pg__section {
    padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 32px);
    max-width: 1100px;
    margin: 0 auto;
}
.tb-pg__section--alt {
    max-width: none;
    background: var(--tb-pg-bg-alt);
    padding-left: 0; padding-right: 0;
}
.tb-pg__section--alt > * {
    max-width: 1100px;
    margin-left: auto; margin-right: auto;
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
}
.tb-pg__section--center { text-align: center; }

.tb-pg__h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin: 0 0 28px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.tb-pg__h2--small {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

/* Bullet-Liste mit fetten Begriffen */
.tb-pg__bullets {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tb-pg__bullets li {
    background: #fff;
    border: 1px solid var(--tb-pg-line);
    border-left: 4px solid var(--tb-pg-accent);
    padding: 14px 20px;
    border-radius: var(--tb-pg-radius);
    font-size: 15px;
}

/* Steps (nummerierte Schritte) */
.tb-pg__steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.tb-pg__steps li {
    counter-increment: step;
    background: #fff;
    border: 1px solid var(--tb-pg-line);
    padding: 16px 20px 16px 60px;
    border-radius: var(--tb-pg-radius);
    position: relative;
    font-size: 15px;
}
.tb-pg__steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tb-pg-accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.95rem;
}

/* Card-Grid */
.tb-pg__grid-3,
.tb-pg__grid-2 {
    display: grid;
    gap: 14px;
}
.tb-pg__grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tb-pg__grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 720px; margin: 0 auto; }

.tb-pg__card {
    display: block;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--tb-pg-line);
    border-radius: var(--tb-pg-radius);
    text-decoration: none;
    color: var(--tb-pg-fg);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tb-pg__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 14, 42, 0.08);
    border-color: var(--tb-pg-accent);
}
.tb-pg__card strong {
    display: block;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 4px;
    letter-spacing: -0.005em;
}
.tb-pg__card span {
    display: block;
    color: var(--tb-pg-mut);
    font-size: 13.5px;
}

/* Tech-Stack-DL */
.tb-pg__stack {
    display: grid;
    grid-template-columns: minmax(140px, max-content) 1fr;
    gap: 6px 24px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--tb-pg-line);
    border-radius: var(--tb-pg-radius);
    padding: 24px 28px;
}
.tb-pg__stack dt {
    font-weight: 800;
    color: var(--tb-pg-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    align-self: center;
}
.tb-pg__stack dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    align-self: center;
}

/* CTA */
.tb-pg__cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.tb-pg__btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--tb-pg-line);
    color: var(--tb-pg-fg);
    background: #fff;
    transition: transform .12s ease, box-shadow .12s ease;
}
.tb-pg__btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(14,14,42,0.08); }
.tb-pg__btn--primary {
    background: var(--tb-pg-accent);
    color: #fff;
    border-color: var(--tb-pg-accent);
}

/* Kontakt-Card */
.tb-pg__contact-card {
    max-width: 560px;
    margin: 0 auto 48px;
    background: #fff;
    border: 1px solid var(--tb-pg-line);
    border-radius: var(--tb-pg-radius);
    padding: 36px 40px;
    text-align: center;
}
.tb-pg__contact-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}
.tb-pg__contact-loc {
    color: var(--tb-pg-mut);
    font-size: 14px;
    margin-bottom: 24px;
}
.tb-pg__contact-mail {
    display: inline-block;
    padding: 14px 26px;
    background: var(--tb-pg-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    font-size: 17px;
    transition: transform .15s ease;
}
.tb-pg__contact-mail:hover { transform: translateY(-2px); }
.tb-pg__contact-hint {
    color: var(--tb-pg-mut);
    font-size: 13px;
    margin: 14px 0 24px;
}
.tb-pg__contact-card hr {
    border: 0;
    border-top: 1px solid var(--tb-pg-line);
    margin: 24px 0;
}
.tb-pg__contact-tel-hint {
    color: var(--tb-pg-mut);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}
.tb-pg__contact-tel-hint strong { color: var(--tb-pg-fg); }

@media (prefers-reduced-motion: reduce) {
    .tb-pg__card, .tb-pg__btn, .tb-pg__contact-mail { transition: none; }
}

/* HINWEIS: Projekte-Card-Grid wurde nach tb-projects/assets/projects.css
   verschoben (Plugin tb-projects, eigener Block-Namespace .tb-projects*). */

/* Feedback-Hint + Button auf der Kontakt-Page */
.tb-pg__contact-feedback-hint {
    margin: 0.5rem 0 0.75rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--tb-pg-mut, #555);
}
.tb-pg__contact-feedback-btn {
    align-self: center;
    gap: 0.5rem;
}
