/* ===== Interim HR: die Personen (Prefix: iht-) =====
   Design wie die Startseite: warmes Papier, Bricolage im Hero, ein Wort auf
   der gelben Marke, Newsreader als zweite Zeile, Kennzahlen im 1px-Raster.
   Rhythmus hell, dunkel, hell. */

/* --- Hero ----------------------------------------------------------- */
.iht-hero { background: var(--bg-light); padding: 3.75rem 0 0; }
.iht-brotkrumen { font-size: .8rem; color: var(--subtle); margin-bottom: 2.25rem; }
.iht-brotkrumen a { color: var(--primary-dark); }

.iht-eyebrow { display: flex; align-items: center; gap: .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-dark); }
.iht-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }

/* 600 statt 800: Bricolage laeuft bei dieser Groesse sonst zu. */
.iht-h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 5.6vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 1.5rem 0 0;
    max-width: 15ch;
    text-wrap: balance;
}
/* --accent-bright ist Flaechenfarbe, --text darauf traegt 12,06:1. */
.iht-marke { display: inline-block; background: var(--accent-bright); color: var(--text); padding: 0 .09em .04em; transform: rotate(-1.6deg); }
.iht-h1-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.3rem, 3vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--primary);
    margin: .7rem 0 0;
}

.iht-hero-unten { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: start; margin-top: 2.75rem; }
.iht-hero-sub { color: var(--body); font-size: 1rem; line-height: 1.6; margin: 0 0 1.5rem; }
.iht-hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

.iht-tldr { background: #fff; border-left: 4px solid var(--primary); border-radius: 0 3px 3px 0; padding: 1.2rem 1.4rem; }
.iht-tldr-label { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--primary-dark); margin-bottom: .45rem; }
.iht-tldr p { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.6; }

.iht-kennzahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border-top: 1px solid var(--border); margin-top: 3.5rem; }
.iht-kennzahl { background: var(--bg-light); padding: 1.5rem 1.2rem 1.8rem 0; }
.iht-kennzahl:not(:first-child) { padding-left: 1.2rem; }
.iht-kennzahl-wert { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.5vw, 2.15rem); letter-spacing: -.03em; line-height: 1; color: var(--text); }
.iht-kennzahl-txt { font-size: .85rem; color: var(--subtle); margin-top: .4rem; }

/* --- Abschnitte --- */
.iht-abschnitt { padding: 3.25rem 0; }
.iht-abschnitt--papier { background: var(--bg-light); }
.iht-abschnitt h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; color: var(--text); margin: 0 0 1rem; max-width: 820px; }
.iht-abschnitt h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 1.75rem 0 .55rem; }
.iht-abschnitt p { color: var(--body); line-height: 1.6; margin: 0 0 1rem; max-width: 60ch; }

/* --- Dunkler Abschnitt --------------------------------------------------
   Achtung: --on-dark gilt gegen --dark, NICHT gegen eine aufgehellte
   Flaeche darauf. Die Matrix liegt in .hk-figure--dunkel (6 % Weiss ueber
   --dark), dort tragen nur die Werte weiter unten. */
.iht-abschnitt--dunkel { background: var(--dark); }
.iht-abschnitt--dunkel h2, .iht-abschnitt--dunkel h3 { color: #fff; }
.iht-abschnitt--dunkel p { color: var(--on-dark); }
.iht-abschnitt--dunkel strong { color: #fff; }
.iht-gross { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.45; color: #fff !important; max-width: 32ch !important; margin: 0 0 1.25rem !important; }

.iht-figur { margin: 1.75rem 0 2rem; max-width: 660px; }

/* --- Figur: Zuordnungsmatrix ---
   Keine erfundene Metrik: jede Zelle ist eine
   Zuordnung, die aus den dokumentierten Schwerpunkten der beiden Personen
   folgt (Fokus-Zeilen auf index.php, expertise in ai-overview.json). */
.iht-matrix { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; }
.iht-matrix th, .iht-matrix td { padding: .5rem .4rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.iht-matrix thead th { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-glow); text-align: left; padding-bottom: .55rem; }
.iht-matrix tbody th { font-weight: 400; font-size: .88rem; line-height: 1.4; color: rgba(255,255,255,.86); text-align: left; }
.iht-matrix-kopf { text-align: center !important; width: 4.5rem; }
.iht-matrix td { text-align: center; }
.iht-matrix tbody tr:last-child th, .iht-matrix tbody tr:last-child td { border-bottom: none; }

/* Die Uebergabezeile ist die Aussage der Figur, deshalb hervorgehoben. */
.iht-matrix-uebergabe th, .iht-matrix-uebergabe td { background: rgba(94,234,212,.10); }
.iht-matrix-uebergabe th { color: #fff; font-weight: 600; }

.iht-punkt { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--primary-glow); }
.iht-punkt--leer { background: none; border: 1px solid rgba(255,255,255,.32); }

.iht-visuell-versteckt { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Profile ---
   Zwei gleichrangige Spalten. Kein Schatten, 3px Radius, Hover nur ueber
   den Rand: Hausregel aus dem redaktionellen Layout. */
.iht-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.iht-profil { border: 1px solid var(--border); border-radius: 3px; background: #fff; padding: 1.6rem 1.7rem 1.8rem; transition: border-color .15s ease; }
.iht-profil:hover { border-color: var(--primary); }
.iht-profil-foto { width: 88px; height: 88px; object-fit: cover; object-position: center top; border-radius: 3px; display: block; margin-bottom: 1rem; }
.iht-profil-kopf h3 { margin: 0 0 .15rem; font-size: 1.25rem; letter-spacing: -.02em; }
.iht-profil-rolle { display: block; font-size: .88rem; color: var(--primary-dark); font-weight: 600; }
.iht-profil-ort { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--muted); margin-top: .3rem; }

/* Der eine Satz, der das Profil traegt. Serif, damit er sich von den
   Datenzeilen darunter absetzt, ohne eine zweite Ueberschrift zu sein. */
.iht-profil-satz {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--primary) !important;
    margin: 1.1rem 0 1.25rem !important;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
    max-width: none !important;
}

.iht-profil-daten { margin: 0; }
.iht-profil-daten dt { font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.iht-profil-daten dd { margin: 0 0 1.1rem; font-size: .92rem; line-height: 1.55; color: var(--body); }
.iht-profil-daten dd:last-child { margin-bottom: 0; }

/* --- Lagen: Spalten mit Trennlinien, kein Kartenraster --- */
.iht-lagen { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; margin: 1.75rem 0 .5rem; border-top: 1px solid var(--border); }
.iht-lage { padding: 1.4rem 1.4rem 1.4rem 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.iht-lage:last-child { border-right: none; }
.iht-lage + .iht-lage { padding-left: 1.4rem; }
.iht-lage-num { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.iht-lage h3 { margin: 0 0 .45rem; font-size: .98rem; line-height: 1.3; }
.iht-lage p { font-size: .88rem; margin: 0 0 .9rem; max-width: none; }
.iht-lage-wer { align-self: flex-start; margin-top: auto; font-size: .78rem; font-weight: 700; padding: .28rem .7rem; border-radius: 50px; }
.iht-lage-wer--maja { background: var(--primary-light); color: var(--primary-dark); }
.iht-lage-wer--janina { background: var(--bg-teal); color: var(--primary-dark); }
.iht-lage-wer--beide { background: #f5e9c4; color: #6b4a06; }

/* --- Ablauf --- */
.iht-schritte { list-style: none; padding: 0; margin: 1.75rem 0 0; border-top: 1px solid var(--border); }
.iht-schritt { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1.1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--border); }
.iht-schritt-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.iht-schritt h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.iht-schritt-zeit { font-size: .78rem; font-weight: 400; color: var(--muted); margin-left: .5rem; white-space: nowrap; }
.iht-schritt p { margin: 0; font-size: .95rem; }

/* --- Preise --- */
.iht-preise { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1rem; margin: 1.75rem 0 1.25rem; }
.iht-preis { border: 1px solid var(--border); border-radius: 3px; background: #fff; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; transition: border-color .15s ease; }
.iht-preis:hover { border-color: var(--primary); }
.iht-preis--mitte { border-color: var(--primary); }
.iht-preis--klein { background: var(--bg-teal); }
.iht-preis-groesse { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.iht-preis-wert { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.iht-preis-name { font-size: .92rem; font-weight: 600; color: var(--text); margin: .2rem 0 .6rem; }
.iht-preis p { font-size: .88rem; margin: 0; max-width: none; }
.iht-preis-hinweis { font-size: .88rem; color: var(--subtle); border-left: 3px solid var(--border); padding-left: 1rem; max-width: 66ch !important; }

/* --- Kontakt --- */
.iht-kontakt { background: #fff; padding: 3.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.iht-kontakt-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.iht-kontakt-foto { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 3px; display: block; }
.iht-kontakt-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-dark); margin-bottom: .5rem; }
.iht-kontakt h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 700; letter-spacing: -.03em; color: var(--text); margin: 0 0 .25rem; }
.iht-kontakt-rolle { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.iht-kontakt p { color: var(--body); line-height: 1.6; margin: 0 0 1rem; max-width: 60ch; }
.iht-kontakt-aktionen { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem; }

.iht-btn { display: inline-block; background: var(--primary-dark); color: #fff; border: 2px solid var(--primary-dark); padding: .72rem 1.6rem; border-radius: 50px; font: inherit; font-size: .93rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s ease, color .15s ease; }
.iht-btn:hover { background: var(--primary); border-color: var(--primary); }
.iht-btn--umriss { background: transparent; color: var(--primary-dark); }
.iht-btn--umriss:hover { background: var(--primary-dark); color: #fff; }

/* --- FAQ --- */
.iht-faq { margin-top: 1.5rem; border-top: 1px solid var(--border); max-width: 820px; }
.iht-faq-item { border-bottom: 1px solid var(--border); }
.iht-faq-item summary { cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; font-size: 1rem; font-weight: 600; color: var(--text); list-style: none; position: relative; }
.iht-faq-item summary::-webkit-details-marker { display: none; }
.iht-faq-item summary::after { content: ""; position: absolute; right: .35rem; top: 1.45rem; width: 9px; height: 9px; border-right: 2px solid var(--primary-dark); border-bottom: 2px solid var(--primary-dark); transform: rotate(45deg); transition: transform .18s ease; }
.iht-faq-item[open] summary::after { transform: rotate(-135deg); }
.iht-faq-item summary:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 2px; }
.iht-faq-item p { margin: 0 0 1.15rem; font-size: .95rem; color: var(--body); line-height: 1.6; max-width: 66ch; }

/* --- Schmale Bildschirme --- */
@media (max-width: 900px) {
    .iht-hero-unten { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .iht-kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iht-kennzahl:nth-child(odd) { padding-left: 0; }
    .iht-kennzahl:nth-child(even) { padding-left: 1.2rem; }
    .iht-kontakt-grid { grid-template-columns: 160px minmax(0, 1fr); gap: 1.75rem; }
}
@media (max-width: 640px) {
    .iht-hero { padding: 2.5rem 0 0; }
    .iht-h1 { max-width: none; }
    .iht-abschnitt { padding: 2.5rem 0; }
    .iht-lagen { grid-template-columns: minmax(0, 1fr); }
    .iht-lage { border-right: none; border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
    .iht-lage + .iht-lage { padding-left: 0; }
    .iht-lage:last-child { border-bottom: none; }
    .iht-kontakt-grid { grid-template-columns: minmax(0, 1fr); }
    .iht-kontakt-foto { max-width: 180px; }
    .iht-schritt { grid-template-columns: 2rem minmax(0, 1fr); gap: .85rem; }
    .iht-schritt-zeit { display: block; margin-left: 0; margin-top: .15rem; }
    .iht-matrix th, .iht-matrix td { padding: .45rem .3rem; }
    .iht-matrix tbody th { font-size: .82rem; }
    .iht-matrix-kopf { width: 3.4rem; }
}
