/* AI Vaerk — Subpages (extends shared.css) */

/* Keep section labels aligned with the global content rhythm on all subpages. */
.section-bar {
    padding-left: var(--pad);
    padding-right: var(--pad);
}

/* Section separator lines — drawn at the TOP of each element */
.grid > *:not(.grid__entrance):not(.nav):not(.page-hero) {
    position: relative;
}

.grid > *:not(.grid__entrance):not(.nav):not(.page-hero):not(.footer)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    background: var(--grid-line);
    width: 0;
    z-index: 3;
    transition: width 0.7s var(--ease-draw);
    transition-delay: var(--line-delay, 0s);
}

.grid--lines > *:not(.grid__entrance):not(.nav):not(.page-hero):not(.footer)::before {
    width: 100%;
}

/* Internal element borders: invisible until grid lines draw */
.grid:not(.grid--lines) :is(
    .service-card, .format-card, .phase, .build-card,
    .team-full__card, .faq__item, .contact__text,
    .deliverable-grid__item, .values-grid__item
) {
    border-color: transparent !important;
}

.service-card, .format-card, .phase, .build-card,
.team-full__card, .faq__item, .contact__text,
.deliverable-grid__item, .values-grid__item {
    transition: border-color 0.5s ease calc(var(--line-delay, 0s) + 0.25s);
}

/* ==========================================================================
   Subpage-Specific Components
   ========================================================================== */

/* ── Page Hero ── */
.page-hero {
    padding: 6rem var(--pad) 3rem;
    position: relative;
}

.page-hero__pill {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero__tagline {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 52ch;
    line-height: 1.7;
}

.page-hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.06;
}

.page-hero__bg svg {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
}

/* ── Breadcrumb ── */
.breadcrumb {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 1rem var(--pad);
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb__sep {
    margin: 0 0.5rem;
    opacity: 0.4;
}

/* ── Service Cards (3-column grid) ── */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
}

.service-cards--two {
    grid-template-columns: repeat(2, 1fr);
}

a.service-card {
    padding: 2.5rem var(--pad);
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    border-right: 1px solid var(--grid-line);
    transition: background 0.3s ease;
    position: relative;
}

a.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--pad);
    right: var(--pad);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #3A9E8B);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

a.service-card:hover::before {
    transform: scaleX(1);
}

a.service-card:last-child {
    border-right: none;
}

a.service-card:hover {
    background: rgba(var(--accent-rgb), 0.03);
}

.service-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
}

.service-card__icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-card__icon {
    color: var(--text);
}

.service-card:hover .service-card__icon::before {
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, transparent 70%);
}

.service-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card__details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.service-card__details li {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted);
    padding-left: 1.1em;
    position: relative;
}

.service-card__details li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.service-card__details li + li {
    margin-top: 0.35rem;
}

.service-card__link {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.service-card__link:hover {
    color: var(--text);
}

.service-card__link svg {
    transition: transform 0.3s var(--ease);
}

.service-card__link:hover svg {
    transform: translateX(3px);
}

/* ── Erstgespraech Callout ── */
.erstgespraech-callout {
    padding: 3rem var(--pad);
    text-align: center;
}

.erstgespraech-callout h2 {
    margin-bottom: 0.75rem;
}

.erstgespraech-callout p {
    max-width: 52ch;
    margin: 0 auto 2rem;
}

/* ── Format Cards (4-column for workshop) ── */
.format-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.format-card {
    padding: 2rem var(--pad);
    transition: background 0.3s ease;
}

.format-card:not(:last-child) {
    border-right: 1px solid var(--grid-line);
}

.format-card:hover {
    background: rgba(var(--accent-rgb), 0.03);
}

.format-card__label {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.format-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.format-card p {
    font-size: 0.875rem;
    line-height: 1.65;
}

/* ── Phases (3-phase flow for strategy) ── */
.phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.phase {
    padding: 2.5rem var(--pad);
    transition: background 0.3s ease;
}

.phase:not(:last-child) {
    border-right: 1px solid var(--grid-line);
}

.phase:hover {
    background: rgba(var(--accent-rgb), 0.03);
}

.phase__num {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    opacity: 0.4;
    display: block;
    margin-bottom: 0.75rem;
}

.phase h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.phase p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ── Build Cards (for umsetzung) ── */
.build-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.build-cards--two {
    grid-template-columns: repeat(2, 1fr);
}

.build-card {
    padding: 2.5rem var(--pad);
    transition: background 0.3s ease;
}

.build-card:not(:last-child) {
    border-right: 1px solid var(--grid-line);
}

.build-card:hover {
    background: rgba(var(--accent-rgb), 0.03);
}

.build-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.build-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ── Deliverables ── */
.deliverables {
    padding: 2.5rem var(--pad);
}

.deliverables__list {
    list-style: none;
}

.deliverables__list li {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    column-gap: 0.75rem;
    align-items: start;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.deliverables__list li::before {
    content: '\2713';
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.7;
}

.deliverables__list li em {
    font-style: normal;
    color: var(--text);
}

/* ── Deliverable Grid (ki-strategie) ── */
.deliverable-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
}

.deliverable-grid__item {
    padding: 2rem var(--pad);
    border-right: 1px solid var(--grid-line);
}

.deliverable-grid__item:last-child {
    border-right: none;
}

.deliverable-grid__item svg {
    color: var(--accent);
    margin-bottom: 1rem;
}

.deliverable-grid__item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.deliverable-grid__item p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ── Target Audience (ki-strategie) ── */
.target-audience {
    padding: 2.5rem var(--pad);
}

.target-audience__inner {
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
    max-width: 52ch;
}

.target-audience h2 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.target-audience p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ── Content Section (generic padded text) ── */
.content-section {
    padding: 2.5rem var(--pad);
}

.content-section h2 {
    margin-bottom: 1rem;
}

.content-section p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* ── Investition callout ── */
.investition {
    padding: 2rem var(--pad);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    border-top: 1px solid var(--grid-line);
}

.investition strong {
    color: var(--text);
    font-weight: 600;
}

/* ── Accent Card (tech callout, CBSS callout) ── */
.accent-card {
    margin: 0 var(--pad);
    padding: 2rem;
    border: 1px solid #12313A;
    background: #0E171E;
}

.accent-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.accent-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.accent-card--inline {
    margin-top: 2rem;
    grid-column: 1 / -1;
}

/* ── Next Step Link ── */
.next-step {
    padding: 1.5rem var(--pad);
    text-align: center;
}

.next-step a {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.next-step a:hover {
    color: var(--text);
}

.next-step a svg {
    transition: transform 0.3s var(--ease);
}

.next-step a:hover svg {
    transform: translateX(3px);
}

/* ── Team Full (about page) ── */
.team-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.team-full__card {
    padding: 3rem var(--pad);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-full__card:first-child {
    border-right: 1px solid var(--grid-line);
}

.team-full__portrait {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 1.5rem;
}

.team-full__ring {
    position: absolute;
    inset: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
}

.team-full__ring circle {
    stroke-dasharray: 603;
    stroke-dashoffset: 603;
    transition: stroke-dashoffset 1.2s var(--ease-draw);
}

.reveal--stagger.visible .team-full__ring circle {
    stroke-dashoffset: 0;
}

.team-full__photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.team-full__card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-full__role {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.team-full__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.team-full__tags span {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border: 1px solid var(--grid-line);
    padding: 0.2rem 0.6rem;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.team-full__card:hover .team-full__tags span {
    border-color: rgba(var(--accent-rgb), 0.3);
    color: var(--text);
}

.team-full__bio {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 40ch;
    margin-bottom: 1.25rem;
}

.team-full__links {
    display: flex;
    gap: 1rem;
}

.team-full__links a {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border: 1px solid var(--grid-line);
    padding: 0.3rem 0.75rem;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.team-full__links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── Stats Strip (reused from proof) ── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stats-strip__stat {
    padding: 2rem var(--pad);
    text-align: center;
    position: relative;
}

.stats-strip__stat:not(:last-child) {
    border-right: 1px solid var(--grid-line);
}

.stats-strip__number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text);
    display: block;
    -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
    -webkit-mask-size: 220% 100%;
    -webkit-mask-position: 100% 0;
    mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
    mask-size: 220% 100%;
    mask-position: 100% 0;
    transition: -webkit-mask-position 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                mask-position 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible .stats-strip__number {
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
}

.stats-strip__stat:nth-child(1) .stats-strip__number { transition-delay: 0.4s; }
.stats-strip__stat:nth-child(2) .stats-strip__number { transition-delay: 0.6s; }
.stats-strip__stat:nth-child(3) .stats-strip__number { transition-delay: 0.8s; }

/* Aurora glow line sweep */
.stats-strip__stat::before {
    content: '';
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, #1E7A8A 25%, #3A9E8B 50%, #7B8EC0 75%, transparent);
    box-shadow: 0 0 8px 2px rgba(30,122,138,0.5), 0 0 20px 4px rgba(58,158,139,0.25);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.reveal.visible .stats-strip__stat::before {
    animation: statGlow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal.visible .stats-strip__stat:nth-child(1)::before { animation-delay: 0.4s; }
.reveal.visible .stats-strip__stat:nth-child(2)::before { animation-delay: 0.6s; }
.reveal.visible .stats-strip__stat:nth-child(3)::before { animation-delay: 0.8s; }

@keyframes statGlow {
    0%   { left: -2px; opacity: 0; }
    8%   { opacity: 1; }
    75%  { opacity: 0.7; }
    100% { left: calc(100% + 2px); opacity: 0; }
}

.stats-strip__label {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: block;
}

/* ── FAQ Categories ── */
.faq-page {
    padding: 2.5rem var(--pad);
    counter-reset: faq;
}

.faq-page .faq__item {
    border-bottom: 1px solid var(--grid-line);
    counter-increment: faq;
    position: relative;
}

.faq-page .faq__item:first-child {
    border-top: 1px solid var(--grid-line);
}

.faq-category:not(:first-child) {
    margin-top: 2rem;
}

.faq-category .faq__item:first-child {
    border-top: 1px solid var(--grid-line);
}

/* ── Kontakt Split (two-column) ── */
.kontakt-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.kontakt-split__left {
    padding: 2.5rem var(--pad);
    border-right: 1px solid var(--grid-line);
}

.kontakt-split__left h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.kontakt-split__left .contact__pills {
    margin-bottom: 1.5rem;
}

.kontakt-split__left iframe {
    width: 100%;
    min-height: 480px;
    border: none;
}

.kontakt-split__right {
    padding: 2.5rem var(--pad);
}

.kontakt-split__right h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.kontakt-split__right p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ── Contact Form ── */
.contact-form__group {
    margin-bottom: 1.25rem;
}

.contact-form__label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.4rem;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--grid-line);
    padding: 0.75rem 1rem;
    transition: border-color 0.25s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form__textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
}

.contact-form__submit {
    width: 100%;
}

.contact-form__status {
    margin-top: 1rem;
    font-size: 0.875rem;
    text-align: center;
}

.contact-form__status--success {
    color: var(--accent);
}

.contact-form__status--error {
    color: #C0392B;
}

/* ── Email Fallback ── */
.email-fallback {
    padding: 1.5rem var(--pad);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.email-fallback a {
    color: var(--accent);
    transition: color 0.2s ease;
}

.email-fallback a:hover {
    color: var(--text);
}

/* ── FAQ Link (bottom of FAQ section) ── */
.faq-link {
    padding: 1.5rem var(--pad);
    text-align: center;
}

.faq-link a {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.faq-link a:hover {
    color: var(--text);
}

/* ── Story Section (about page — two-column with timeline) ── */

.story-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    padding: 2.5rem var(--pad);
    align-items: start;
}

.story-section__text {
    font-size: 1.0625rem;
    line-height: 1.75;
}

.story-section__text p + p {
    margin-top: 1.25rem;
}

.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline__line {
    position: absolute;
    left: 0.4375rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent) 15%, var(--accent) 85%, transparent);
}

.timeline__item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2.5rem;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: 0;
    top: 0.375rem;
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    background: var(--bg);
}

.timeline__item--now .timeline__dot {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.4);
}

.timeline__item--future .timeline__dot {
    border-style: dashed;
}

.timeline__year {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.timeline__label {
    font-size: 0.9375rem;
    color: var(--text);
}

.timeline__item--future .timeline__label {
    color: var(--text-muted);
    font-style: italic;
}

/* ── Values Grid (about page — 3-column card grid) ── */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
}

.values-grid__item {
    padding: 2.5rem var(--pad);
    border-right: 1px solid var(--grid-line);
}

.values-grid__item:last-child {
    border-right: none;
}

.values-grid__item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.values-grid__item p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ── Breadcrumb (extended) ── */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem var(--pad) 0;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--text);
}

.breadcrumb__sep {
    color: var(--grid-line);
}

.breadcrumb__current {
    color: var(--text);
}

/* ── Blog Cards ── */

.blog-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
}

a.blog-card {
    padding: 2.5rem var(--pad);
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    border-right: 1px solid var(--grid-line);
    transition: background 0.3s ease;
    position: relative;
}

a.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--pad);
    right: var(--pad);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #3A9E8B);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

a.blog-card:hover::before {
    transform: scaleX(1);
}

a.blog-card:last-child {
    border-right: none;
}

a.blog-card:hover {
    background: rgba(var(--accent-rgb), 0.03);
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-card__category {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    background: rgba(var(--accent-rgb), 0.08);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    color: var(--accent);
}

.blog-card__date,
.blog-card__readtime {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-card__more {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

a.blog-card:hover .blog-card__more {
    color: var(--text);
}

/* Blog Card Thumbnail */

.blog-card__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

a.blog-card:hover .blog-card__thumb img {
    transform: scale(1.03);
}

.blog-card__thumb--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08) 0%, rgba(var(--accent-rgb), 0.02) 100%);
}

/* ── Article Typography ── */

.article {
    max-width: 72ch;
    padding: 2.5rem var(--pad) 3rem;
}

.article__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.article__meta-category {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    background: rgba(var(--accent-rgb), 0.08);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    color: var(--accent);
}

.article__meta-date,
.article__meta-readtime {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.article h2 {
    font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
    margin: 2.5rem 0 1rem;
}

.article h3 {
    font-size: 1.125rem;
    margin: 2rem 0 0.75rem;
}

.article p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    max-width: none;
}

.article ul,
.article ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.article li {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.35rem;
}

.article li::marker {
    color: var(--accent);
}

.article strong {
    color: var(--text);
    font-weight: 600;
}

.article a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.article a:hover {
    color: var(--text);
}

.article__callout {
    border-left: 3px solid var(--accent);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: rgba(var(--accent-rgb), 0.04);
}

.article__callout p {
    margin-bottom: 0;
    color: var(--text);
    font-size: 0.9375rem;
}

.article__related {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 3rem;
    border-top: 1px solid var(--grid-line);
    padding-top: 2rem;
}

.article__related-heading {
    grid-column: 1 / -1;
    font-size: 0.6875rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.article__related a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.article__related a:hover {
    color: var(--accent);
}

/* ── Case Study Cards ── */

.study-cards {
    padding: 0;
}

a.study-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--grid-line);
    transition: background 0.3s ease;
    position: relative;
}

a.study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--pad);
    right: var(--pad);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #3A9E8B);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

a.study-card:hover::before {
    transform: scaleX(1);
}

a.study-card:hover {
    background: rgba(var(--accent-rgb), 0.03);
}

a.study-card:last-child {
    border-bottom: none;
}

.study-card__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.study-card__content {
    padding: 2.5rem var(--pad);
}

.study-card__company {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.study-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.study-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.study-card__more {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

a.study-card:hover .study-card__more {
    color: var(--text);
}

.study-card__metric {
    padding: 2.5rem var(--pad);
    border-left: 1px solid var(--grid-line);
    text-align: center;
    min-width: 200px;
}

.study-card__metric-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.study-card__metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── Case Study Detail ── */

.study-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
}

.study-overview__item {
    padding: 1.5rem var(--pad);
    border-right: 1px solid var(--grid-line);
}

.study-overview__item:last-child {
    border-right: none;
}

.study-overview__label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.study-overview__value {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}

.study-quote {
    padding: 2.5rem var(--pad);
    border-left: 3px solid var(--accent);
    margin: 0;
}

.study-quote p {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--text);
    font-style: italic;
    max-width: none;
}

.study-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-style: normal;
    color: var(--text-muted);
}

/* ==========================================================================
   KI-Readiness-Check
   ========================================================================== */

/* ── Progress ── */
.rc__progress {
    padding: 0 var(--pad);
    margin-bottom: 2rem;
}

.rc__progress-bar {
    height: 3px;
    background: var(--grid-line);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.rc__progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1E7A8A, #3A9E8B, #7B8EC0);
    transition: width 0.5s var(--ease);
}

.rc__progress-steps {
    display: flex;
    justify-content: space-between;
    max-width: 280px;
    margin: 0 auto;
}

.rc__progress-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--grid-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.rc__progress-step--active {
    border-color: var(--accent);
    color: var(--accent);
}

.rc__progress-step--done {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--bg);
}

/* ── Quiz viewport container ── */
.rc__wrap {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 2rem var(--pad);
}

/* ── Screen container ── */
.rc__body {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    display: grid;
}

.rc__screen {
    grid-row: 1;
    grid-column: 1;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.rc__screen--active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    animation: rcIn 0.4s var(--ease);
}

@keyframes rcIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.rc__screen-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.rc__question {
    margin-bottom: 1.75rem;
}

.rc__question-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.6rem;
}

/* ── Select dropdown ── */
.rc__select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--grid-line);
    padding: 0.75rem 1rem;
    transition: border-color 0.25s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.rc__select:focus {
    outline: none;
    border-color: var(--accent);
}

/* ── Radio buttons ── */
.rc__radios {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rc__radio {
    position: relative;
}

.rc__radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rc__radio span {
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid var(--grid-line);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.rc__radio span:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
}

.rc__radio input:checked + span {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
    color: var(--text);
}

/* ── Checkboxes ── */
.rc__checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.rc__checkbox {
    position: relative;
}

.rc__checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rc__checkbox span {
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid var(--grid-line);
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.rc__checkbox span:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
}

.rc__checkbox input:checked + span {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
    color: var(--text);
}

/* ── Navigation buttons ── */
.rc__nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.rc__back {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--grid-line);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.rc__back:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.rc__next {
    flex: 1;
}

.rc__next:disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ── Result ── */
.rc__result-wrap {
    display: none;
}

.rc__result-inner {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.rc__result {
    text-align: center;
    padding: 2rem 0 1rem;
}

.rc__result-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #1E7A8A, #3A9E8B, #7B8EC0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rc__result-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.rc__result-tier {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    background: rgba(var(--accent-rgb), 0.08);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    color: var(--accent);
    margin-top: 1rem;
}

.rc__result-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 48ch;
    margin: 1.25rem auto 0;
}

/* ── Radar chart ── */
.rc__radar {
    position: relative;
    max-width: 340px;
    margin: 2.5rem auto 0;
    padding: 2.5rem 0;
}

.rc__radar-svg {
    display: block;
    width: 100%;
    height: auto;
}

.rc__radar-grid {
    fill: none;
    stroke: var(--grid-line);
    stroke-width: 1;
}

.rc__radar-axis {
    stroke: var(--grid-line);
    stroke-width: 0.5;
    stroke-dasharray: 4 4;
}

.rc__radar-area {
    fill: rgba(30, 122, 138, 0.15);
    stroke: url(#aurora-ring);
    stroke-width: 2;
    transition: all 1s var(--ease);
}

.rc__radar-dot {
    fill: #3A9E8B;
    transition: all 1s var(--ease);
}

.rc__radar-label {
    position: absolute;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
}

.rc__radar-label em {
    display: block;
    font-style: normal;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 0.15rem;
}

.rc__radar-label--top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.rc__radar-label--right {
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
}

.rc__radar-label--bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.rc__radar-label--left {
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ── Email gate ── */
.rc__gate {
    margin-top: 2.5rem;
    padding: 2rem;
    border: 1px solid var(--grid-line);
    text-align: center;
}

.rc__gate h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.rc__gate p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.rc__gate-row {
    display: flex;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto;
}

.rc__gate-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--grid-line);
    padding: 0.75rem 1rem;
    transition: border-color 0.25s ease;
}

.rc__gate-input:focus {
    outline: none;
    border-color: var(--accent);
}

.rc__gate-btn {
    white-space: nowrap;
}

.rc__gate-status {
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.rc__gate-status--success {
    color: var(--accent);
}

.rc__gate-status--error {
    color: #C0392B;
}

/* ── Restart ── */
.rc__restart {
    margin-top: 2rem;
    text-align: center;
}

.rc__restart button {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rc__restart button:hover {
    color: var(--text);
}

/* ── Reduced Motion (subpage-specific) ── */

@media (prefers-reduced-motion: reduce) {
    .rc__screen--active {
        animation: none;
    }
    .rc__radar-area,
    .rc__radar-dot {
        transition: none;
    }
    .rc__progress-fill {
        transition: none;
    }
    .stats-strip__number {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .stats-strip__stat::before {
        display: none;
    }
}

/* ── Tablet ── */

@media (max-width: 1023px) and (min-width: 901px) {
    .format-cards {
        grid-template-columns: 1fr 1fr;
    }

    .format-card:nth-child(2) {
        border-right: none;
    }

    .format-card:nth-child(1),
    .format-card:nth-child(2) {
        border-bottom: 1px solid var(--grid-line);
    }
}

@media (max-width: 720px) {
    .story-section {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-grid__item {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .values-grid__item:last-child {
        border-bottom: none;
    }
}

/* ── Mobile ── */

@media (max-width: 639px) {
    /* Subpage responsive overrides */
    .section-bar {
        padding-left: var(--pad);
        padding-right: var(--pad);
    }

    .page-hero {
        padding: 4rem var(--pad) 2rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .format-cards {
        grid-template-columns: 1fr;
    }

    .format-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .phases {
        grid-template-columns: 1fr;
    }

    .phase:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .build-cards {
        grid-template-columns: 1fr;
    }

    .build-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .deliverable-grid {
        grid-template-columns: 1fr;
    }

    .deliverable-grid__item {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .deliverable-grid__item:last-child {
        border-bottom: none;
    }

    .team-full {
        grid-template-columns: 1fr;
    }

    .team-full__card:first-child {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .team-full__portrait {
        width: 140px;
        height: 140px;
    }

    .team-full__photo {
        width: 140px;
        height: 140px;
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .stats-strip__stat:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .stats-strip__stat {
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 0.75rem;
    }

    .stats-strip__label {
        margin-top: 0;
    }

    .kontakt-split {
        grid-template-columns: 1fr;
    }

    .kontakt-split__left {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .accent-card {
        margin: 0;
    }

    /* Study overview mobile */
    .study-overview {
        grid-template-columns: 1fr;
    }

    .study-overview__item {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    .study-overview__item:last-child {
        border-bottom: none;
    }

    /* Blog cards mobile */
    .blog-cards {
        grid-template-columns: 1fr;
    }

    .blog-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
    }

    /* Study cards mobile */
    .study-card__inner {
        grid-template-columns: 1fr;
    }

    .study-card__metric {
        border-left: none;
        border-top: 1px solid var(--grid-line);
    }

    /* Article mobile */
    .article__related {
        grid-template-columns: 1fr;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }

    /* Readiness check mobile */
    .rc__checkboxes {
        grid-template-columns: 1fr;
    }

    .rc__gate-row {
        flex-direction: column;
    }

    .rc__radar {
        max-width: 280px;
        padding: 2rem 0;
    }

    .rc__radar-label {
        font-size: 0.625rem;
    }

    .rc__radar-label em {
        font-size: 0.875rem;
    }

    .rc__radar-label--right {
        right: -0.5rem;
    }

    .rc__radar-label--left {
        left: -0.5rem;
    }

    /* City page mobile */
    .warum-lokal__cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .city-links {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Ki-* City Pages
   ========================================================================== */

/* ── Warum lokal ── */
.warum-lokal {
    padding: 2rem var(--pad);
}

.warum-lokal__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1.5rem;
}

.warum-lokal h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.warum-lokal p { max-width: none; }

.warum-lokal__right ul {
    list-style: none;
    padding: 0;
}

.warum-lokal__right li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.warum-lokal__right li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ── Local relevance ── */
.local-relevance {
    padding: 2rem var(--pad);
}

.local-relevance h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.local-relevance p { max-width: none; }

.local-relevance__industries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.local-relevance__industry {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    background: rgba(var(--accent-rgb), 0.08);
    border-radius: 100px;
    padding: 0.3em 0.9em;
}

.local-relevance__institutions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.local-relevance__institutions a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.local-relevance__institutions a:hover {
    color: var(--accent-hover);
}

/* ── Testimonials ── */
.testimonials {
    padding: 0 var(--pad);
}

.testimonial-card {
    border-left: 3px solid var(--accent);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    background: rgba(var(--accent-rgb), 0.04);
    border-radius: 0 8px 8px 0;
}

.testimonial-card p {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    max-width: none;
}

.testimonial-card cite {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: normal;
}

/* ── City links ── */
.city-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    padding: 1.5rem var(--pad) 2rem;
}

.city-link {
    display: block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--grid-line);
    border-radius: 6px;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.city-link:hover {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.04);
}

.city-links--full {
    display: block;
    padding: 2rem var(--pad) 3rem;
}

.city-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.city-link--card {
    padding: 1.5rem;
}

.city-link--card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.city-link--card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    line-height: 1.5;
    max-width: none;
}

.city-link__pop {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 400;
}

/* ── Regional intro (cross-post callout) ── */
.regional-intro {
    border-left: 3px solid var(--warm);
    background: rgba(184, 115, 80, 0.06);
    padding: 1rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin: 0 var(--pad) 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.regional-intro a {
    color: var(--warm);
    text-decoration: none;
}


/* ── Termin Cards (termine overview) ── */

.termin-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.termin-card {
    display: grid;
    grid-template-columns: 1fr;
    text-decoration: none;
    color: inherit;
    transition: background 0.25s ease;
}

.termin-card:not(:last-child) {
    border-bottom: 1px solid var(--grid-line);
}

.termin-card:hover {
    background: rgba(var(--accent-rgb), 0.04);
}

.termin-card__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg);
    border-bottom: 1px solid var(--grid-line);
}

.termin-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.termin-card:hover .termin-card__thumb img {
    transform: scale(1.03);
}

.termin-card__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08) 0%, rgba(var(--accent-rgb), 0.02) 100%);
}

.termin-card__thumb-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.termin-card__thumb-day {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}

.termin-card__thumb-month {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.termin-card__body {
    padding: 1.5rem var(--pad);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.termin-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.termin-card__category {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.termin-card__date {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.termin-card__title {
    font-size: 1.25rem;
    line-height: 1.3;
}

.termin-card__teaser {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.termin-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.termin-card__speakers {
    display: flex;
    align-items: center;
}

.termin-card__speaker-names {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.termin-card__more {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    transition: color 0.2s ease;
}

.termin-card:hover .termin-card__more {
    color: var(--text);
}

@media (min-width: 640px) {
    .termin-cards {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }

    .termin-card:not(:last-child) {
        border-bottom: none;
        border-right: 1px solid var(--grid-line);
    }

    .termin-card__thumb {
        border-bottom: 1px solid var(--grid-line);
    }
}
