/* dexter-holding.com – Maße und Farben aus dem Figma-Entwurf „Dexter Holding Update“ (Page 8, 1440 px breit).
   Inhaltsbreite 1152 px, Rand 144 px, Abschnitte 120 px Abstand oben, Ecken 12 px, Knöpfe als Pillen.
   Handy und Tablet hat der Entwurf nicht; abgeleitet ab 1100 px und 800 px abwärts. */

@font-face {
  font-family: 'Inter Tight';
  src: url('/schriften/inter-tight-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/schriften/inter-tight-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/schriften/inter-tight-latin-wght-italic.woff2') format('woff2');
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --schwarz: #000;
  --weiss: #fff;
  --grau: #f7f7f7;
  --linie: #e5e5e5;
  --breite: 1152px;
  --rand: max(16px, calc((100% - var(--breite)) / 2));
  --oben: clamp(64px, 8.4vw, 120px);
  --ecke: 12px;
  --kopf: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 16px); }
body {
  margin: 0; background: var(--weiss); color: var(--schwarz);
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.4; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--schwarz); color: var(--weiss); padding: 10px 16px; border-radius: 99px; }
.sprung:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--schwarz); outline-offset: 3px; }
.symbol { width: 24px; height: 24px; flex: none; }

/* ---------- Schrift ---------- */
.h1 { font-size: clamp(40px, 4.45vw, 64px); line-height: 1.1; font-weight: 400; letter-spacing: -0.01em; }
.h2 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.25; font-weight: 400; }
.h2-gross { font-size: clamp(32px, 3.35vw, 48px); line-height: 1.3; }
.h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.25; font-weight: 400; }
.h3-klein { font-size: clamp(26px, 2.25vw, 32px); line-height: 1.3; font-weight: 400; }
.lead { font-size: clamp(18px, 1.46vw, 21px); line-height: 1.3; }
.fett { font-weight: 600; }

/* ---------- Knöpfe ---------- */
.pille {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 99px; border: 1px solid transparent;
  font-size: 13px; line-height: 16.8px; font-weight: 600; letter-spacing: 0.025em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pille-dunkel { background: var(--schwarz); color: var(--weiss); }
.pille-dunkel:hover { background: #2b2b2b; }
.pille-weiss { background: var(--weiss); color: var(--schwarz); }
.pille-weiss:hover { background: #e9e9e9; }
.pille-rand { border-color: var(--weiss); color: var(--weiss); }
.pille-rand:hover { background: var(--weiss); color: var(--schwarz); }
.pille-hell { height: 40px; padding: 0 16px; background: var(--grau); border-color: var(--linie); color: var(--schwarz); }
.pille-hell:hover { background: var(--linie); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 16px; }
.textlink { font-size: 13px; line-height: 16.8px; font-weight: 600; letter-spacing: 0.025em; text-underline-offset: 3px; }
.rund {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 99px;
  border: 1px solid var(--schwarz); background: var(--weiss); cursor: pointer; padding: 0;
}
.rund:disabled { opacity: .25; cursor: default; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--weiss); height: var(--kopf); transition: box-shadow .25s ease; }
/* feine Linie unter der Kopfzeile, sobald gescrollt ist (Variante 2, Ahmet 23.11.2026; stil/seite.js setzt .gescrollt) */
body.gescrollt .kopf { box-shadow: 0 1px 0 rgba(0,0,0,.1); }
.kopf-innen { height: 100%; max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 5vw, 72px); }
.kopf-logo { display: block; color: var(--schwarz); line-height: 0; }
.kopf-logo svg { width: 236px; height: 32px; }
.hauptmenue { display: flex; align-items: center; gap: 32px; }
.hauptmenue a:not(.pille) { font-size: 13px; line-height: 16.8px; font-weight: 600; letter-spacing: 0.025em; text-decoration: none; padding: 11px 0; border-bottom: 1px solid transparent; }
.hauptmenue a:not(.pille):hover, .hauptmenue a[aria-current] { border-bottom-color: currentColor; }
.menue-knopf { display: none; }

/* ---------- Großes Bild oben ---------- */
.held { padding: 0 max(16px, calc((100% - var(--held-breite)) / 2)); }
.held-bild { position: relative; height: var(--hoehe); min-height: 420px; border-radius: var(--ecke); overflow: hidden; color: var(--weiss); background: #1b1b1b; }
.held-bild > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.held-bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 100%); }
.held-text { position: absolute; z-index: 1; left: 72px; right: 72px; bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.held-text .h1 { text-shadow: 0 0 34.5px #000; }
.held-uhr { position: absolute; z-index: 1; top: 72px; right: 72px; font-size: 12px; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Abschnitte ---------- */
.innen { width: 100%; max-width: calc(var(--breite) + 2 * 16px); margin: 0 auto; padding: 0 16px; }
@media (min-width: 1184px) { .innen { padding: 0; max-width: var(--breite); } }
.abschnitt { padding-top: var(--oben); }
.abschnitt-unten { padding-bottom: var(--oben); }
.abschnitt .innen > * + * { margin-top: 24px; }
.abschnitt .innen > .h2 + .lead { margin-top: 24px; }
.zweispaltig .innen > .h2 + .lead { margin-top: 0; }
.abschnitt .innen > .lead + .pille { margin-top: 32px; }

.zweispaltig .innen { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.zweispaltig .innen > * + * { margin-top: 0; }
.zweispaltig-gleich .innen { gap: 24px; }

.seitenkopf { padding-top: 64px; }
.seitenkopf .lead { margin-top: 24px; }
.sprungleiste { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px !important; }
.sprungleiste a { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(18px, 1.46vw, 21px); line-height: 1.3; text-underline-offset: 4px; }
.sprungleiste .symbol { width: 28px; height: 28px; }

/* Bildkarten der Startseite: ruhend nur Titel, beim Darüberfahren Text und „Mehr erfahren“ (wie die Varianten im Entwurf) */
.abschnitt.feld .innen > * { margin-top: 0; }
.feldkarte { position: relative; display: block; height: 448px; border-radius: var(--ecke); overflow: hidden; color: var(--weiss); text-decoration: none; background: #1b1b1b; }
.feldkarte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feldkarte::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.47) 0%, rgba(0,0,0,0) 54.6%); transition: background-color .35s ease; }
.feldkarte-inhalt { position: absolute; z-index: 2; left: 32px; right: 32px; bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.feldkarte-titel { display: flex; align-items: center; gap: 16px; }
.feldkarte-titel .symbol { width: 40px; height: 40px; stroke-width: 1.75; }
.feldkarte-text { max-width: 609px; font-size: clamp(18px, 1.46vw, 21px); line-height: 1.3; }
.feldkarte-mehr { margin-top: 8px; font-size: clamp(18px, 1.53vw, 22px); line-height: 1.3; text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) and (min-width: 800px) {
  .feldkarte-text, .feldkarte-mehr { display: none; }
  .feldkarte:hover::before, .feldkarte:focus-visible::before { background-color: rgba(0,0,0,.4); }
  .feldkarte:hover .feldkarte-text, .feldkarte:hover .feldkarte-mehr,
  .feldkarte:focus-visible .feldkarte-text, .feldkarte:focus-visible .feldkarte-mehr { display: block; }
  .feldkarte:hover img { transform: scale(1.02); }
}

.ansatz { padding-bottom: var(--oben); }
.ansatz .innen > .lead { margin-top: 24px; }

.zahlen { background: var(--schwarz); color: var(--weiss); padding: 64px 0; }
.zahlen-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.zahl { font-size: clamp(64px, 6.67vw, 96px); line-height: 1.1; font-weight: 300; }
.zahl sup { font-size: .5em; vertical-align: top; position: relative; top: .1em; margin-left: .04em; }
.zahl sup.prozent { font-size: .4em; margin-left: .2em; }
.zahlen dd { margin-top: 16px; font-size: 16px; line-height: 1.4; }

.teaser-raster { display: grid; grid-template-columns: 365px 1fr; gap: 80px; align-items: start; }
.teaser-raster > * + * { margin-top: 0 !important; }
.teaser-bild img { width: 100%; height: 305px; object-fit: cover; border-radius: var(--ecke); }
.teaser-text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.teaser-text .pille { margin-top: 8px; }

/* ---------- Kontakt ---------- */
.kontakt { padding-bottom: var(--oben); }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px !important; }
.kachel {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 137px; padding: 24px 24px 56px;
  background: var(--grau); border-radius: var(--ecke); text-decoration: none; transition: background-color .2s ease;
}
.kachel:hover { background: #efefef; }
.kachel-titel { font-size: clamp(19px, 1.46vw, 21px); line-height: 1.3; font-weight: 400; }
.kachel-text { font-size: 16px; line-height: 1.4; }
.kachel-pfeil { position: absolute; right: 24px; bottom: 24px; stroke-width: 1.5; transition: transform .2s ease; }
.kachel:hover .kachel-pfeil { transform: translateX(4px); }
.kacheln-gross .kachel { gap: 16px; padding-bottom: 64px; }
.kacheln-gross .kachel-titel { margin-top: 0; }
.kachel-symbol { width: 28px; height: 28px; stroke-width: 1.5; }

/* ---------- Fuß (Variante 2 „Bereiche“, Ahmet 23.11.2026) ---------- */
.fuss { background: var(--schwarz); color: var(--weiss); padding: 64px 0 32px; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fuss-logo { color: var(--weiss); line-height: 0; flex: none; }
.fuss-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid #2a2a2a; }
.fuss-adresse { display: block; }
.fuss-kontakt { text-align: right; font-size: 14px; line-height: 1.6; letter-spacing: 0.01em; }
.fuss-bereiche { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.fuss-titel { font-size: 12px; line-height: 1.4; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: #8f8f8f; margin-bottom: 16px; }
.fuss-bereiche ul { display: flex; flex-direction: column; gap: 12px; }
.fuss-bereiche li { font-size: 14px; line-height: 1.5; letter-spacing: 0.01em; }
.fuss-bereiche li span { color: #cfcfcf; }
.fuss-unten { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid #2a2a2a; font-size: 13px; line-height: 1.5; }
.fuss-nav, .fuss-recht { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.fuss-recht { color: #a8a8a8; }
.sozial { display: inline-flex; gap: 16px; }
.sozial a { line-height: 0; }

.nach-oben {
  position: fixed; right: 32px; bottom: 32px; z-index: 15; display: grid; place-items: center; width: 50px; height: 50px;
  border-radius: 99px; background: var(--grau); border: 1px solid var(--linie); color: var(--schwarz);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nach-oben .symbol { stroke-width: 2; }
.nach-oben.sichtbar { opacity: 1; visibility: visible; transform: none; }

/* ---------- Geschäftsfelder ---------- */
.bereich .innen > .h2 + .bereich-bild { margin-top: 40px; }
.bereich-bild img { width: 100%; height: clamp(240px, 28.3vw, 407px); object-fit: cover; border-radius: var(--ecke); }
.bereich .innen > .pille { margin-top: 24px; }
.struktur { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px !important; }
.struktur-kopf, .struktur-liste li { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 21px; line-height: 2.2; }
.struktur-liste ul { border-left: 1px solid var(--schwarz); padding-left: 24px; }
.weblink { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 16.8px; font-weight: 600; letter-spacing: 0.025em; white-space: nowrap; text-underline-offset: 3px; }
.weblink .symbol { width: 20px; height: 20px; }
.unterblock { margin-top: 48px !important; }
.unterblock .lead { margin-top: 24px; }
.schwerpunkte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; align-items: start; }
.schwerpunkte li { display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--schwarz); padding-left: 24px; }
.schwerpunkte .symbol { width: 28px; height: 28px; stroke-width: 1.5; }
.schwerpunkte strong { font-size: 21px; line-height: 1.3; font-weight: 400; }

/* ---------- Beteiligungen ---------- */
.mehrwert { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px !important; }
.mehrwert li { display: flex; gap: 24px; padding: 32px; background: var(--grau); border-radius: var(--ecke); }
.mehrwert .symbol { width: 28px; height: 28px; stroke-width: 1.5; }
.band-grau { background: var(--grau); padding: 64px 0; }
.band-grau .innen > * + * { margin-top: 48px; }
.titelzeile { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.modelle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.modelle p { margin-top: 16px; }
.schwarzbox { background: var(--schwarz); color: var(--weiss); border-radius: var(--ecke); padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.schwarzbox .pille { margin-top: 8px; }
.beteiligungen-ende { padding-bottom: 0; }

/* ---------- Über die Holding ---------- */
.zitat { background: var(--grau); border-radius: var(--ecke); padding: 32px; margin-top: 32px !important; }
.zitat .symbol { width: 40px; height: 40px; stroke-width: 1.5; }
.zitat blockquote { margin-top: 24px; font-size: clamp(18px, 1.46vw, 21px); line-height: 1.3; font-style: italic; }
.kacheln-gross { margin-top: 32px !important; }
.organigramm { display: flex; justify-content: space-between; gap: 32px; margin-top: 40px !important; }
.organigramm-bereich { font-size: 16px; line-height: 1.4; font-weight: 400; margin-bottom: 16px; }
.organigramm li, .organigramm-dach { font-size: 21px; line-height: 2.2; }
.organigramm-linie { border-left: 1px solid #19141d; padding-left: 24px; }
#portfolio .innen > .h2 { text-align: left; }
.portfolio-karte { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--ecke); overflow: hidden; }
.portfolio-karte img:not(.portfolio-logo-bild) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.portfolio-karte::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); transition: background-color .3s ease; }
.portfolio-karte:hover::after { background: rgba(0,0,0,.55); }
.portfolio-karte:hover img:not(.portfolio-logo-bild) { transform: scale(1.03); }
.portfolio-logo { position: relative; z-index: 1; width: 60%; max-width: 191px; line-height: 0; display: flex; justify-content: center; align-items: center; }
.portfolio-logo svg, .portfolio-logo img { width: 100%; height: auto; }
/* Team: Foto und Text nebeneinander (Variante 2, Ahmet 23.11.2026; im Entwurf drei Karten, gezeigt wird nur eine Person) */
.team { margin-top: 40px !important; }
.person { display: grid; grid-template-columns: 368px 1fr; gap: 48px; align-items: center; }
.person img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: var(--ecke); }
.person .kachel-titel { margin-top: 16px; font-size: clamp(28px, 2.6vw, 37px); line-height: 1.15; }
.person-text p:last-child { margin-top: 16px; max-width: 52ch; font-size: 18px; }

/* ---------- Rechtstexte ---------- */
.rechtstext { padding-top: 64px; padding-bottom: var(--oben); }
.schmal { max-width: 800px !important; }
.rechtstext h2 { font-size: 28px; line-height: 1.3; font-weight: 400; margin-top: 48px; }
.rechtstext h3 { font-size: 21px; line-height: 1.3; font-weight: 400; margin-top: 32px; }
.rechtstext h4 { font-size: 17px; font-weight: 600; margin-top: 24px; }
.rechtstext p { margin-top: 12px; font-size: 16px; line-height: 1.55; }
.rechtstext a { text-underline-offset: 3px; word-break: break-word; }
.rechtstext .h1 { margin-bottom: 16px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .kopf-logo svg { width: 190px; height: auto; }
  .hauptmenue { gap: 20px; }
  .held-text { left: 40px; right: 40px; bottom: 40px; }
  .held-uhr { top: 40px; right: 40px; }
  .teaser-raster { grid-template-columns: 300px 1fr; gap: 48px; }
  .schwerpunkte { grid-template-columns: 1fr 1fr; }
  .organigramm { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .fuss-bereiche { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

/* ---------- Handy ---------- */
@media (max-width: 860px) {
  :root { --kopf: 64px; }
  .kopf-innen { padding: 12px 16px; }
  .kopf-logo svg { width: 176px; }
  .menue-knopf { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer; }
  .menue-striche, .menue-striche::before, .menue-striche::after { display: block; width: 22px; height: 1.5px; background: var(--schwarz); transition: transform .25s ease, background-color .25s ease; }
  .menue-striche { position: relative; }
  .menue-striche::before, .menue-striche::after { content: ''; position: absolute; left: 0; }
  .menue-striche::before { top: -7px; } .menue-striche::after { top: 7px; }
  .menue-knopf[aria-expanded="true"] .menue-striche { background: transparent; }
  .menue-knopf[aria-expanded="true"] .menue-striche::before { transform: translateY(7px) rotate(45deg); }
  .menue-knopf[aria-expanded="true"] .menue-striche::after { transform: translateY(-7px) rotate(-45deg); }
  .hauptmenue {
    position: fixed; top: var(--kopf); left: 0; right: 0; bottom: 0; background: var(--weiss);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 16px 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menue-offen .hauptmenue { opacity: 1; visibility: visible; transform: none; }
  .menue-offen { overflow: hidden; }
  .hauptmenue a:not(.pille) { font-size: 26px; line-height: 1.3; font-weight: 400; letter-spacing: 0; padding: 16px 0; border-bottom: 1px solid var(--linie); }
  .hauptmenue a[aria-current] { border-bottom-color: var(--linie); text-decoration: underline; text-underline-offset: 5px; }
  .hauptmenue .pille { margin-top: 24px; height: 48px; }

  .held-bild { height: min(var(--hoehe), 78svh); min-height: 460px; }
  .held-text { left: 24px; right: 24px; bottom: 24px; gap: 24px; }
  .held-uhr { top: 24px; right: 24px; }
  .knopfreihe { gap: 12px; }

  .zweispaltig .innen, .zweispaltig-gleich .innen { grid-template-columns: 1fr; gap: 24px; }
  .abschnitt.feld { padding-top: 24px; }
  .abschnitt.feld:first-of-type { padding-top: var(--oben); }
  .feldkarte { height: auto; min-height: 400px; }
  .feldkarte::before { background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.7) 100%); }
  .feldkarte-inhalt { left: 20px; right: 20px; bottom: 20px; gap: 12px; }
  .feldkarte-titel .symbol { width: 32px; height: 32px; }
  .feldkarte-mehr { margin-top: 0; }
  .zahlen-reihe { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .zahlen dd { margin-top: 8px; }
  .teaser-raster { grid-template-columns: 1fr; gap: 32px; }
  .teaser-bild img { height: auto; aspect-ratio: 365 / 305; }
  .kacheln, .mehrwert, .modelle, .team, .struktur, .organigramm { grid-template-columns: 1fr; }
  .struktur { gap: 24px; }
  .struktur-kopf, .struktur-liste li { font-size: 18px; line-height: 1.5; padding: 8px 0; flex-wrap: wrap; gap: 4px 16px; }
  .schwerpunkte { grid-template-columns: 1fr; gap: 32px; }
  .mehrwert li { padding: 24px; gap: 16px; }
  .band-grau .innen > * + * { margin-top: 32px; }
  .schwarzbox { padding: 28px 24px; }
  .schwarzbox .pille, .knopfreihe .pille { white-space: normal; text-align: center; height: auto; min-height: 48px; padding: 12px 20px; }
  .zitat { padding: 24px; }
  .organigramm li, .organigramm-dach { font-size: 18px; line-height: 1.9; }
  .person { grid-template-columns: 1fr; gap: 24px; max-width: 420px; }
  .kachel { padding-bottom: 52px; }
  .fuss { padding: 48px 0 24px; }
  .fuss-kopf { flex-direction: column; gap: 24px; padding-bottom: 32px; }
  .fuss-logo svg { width: 200px; height: auto; }
  .fuss-kontakt { text-align: left; }
  .fuss-bereiche { margin-top: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; }
  .fuss-bereiche > div:nth-child(-n+2) { grid-column: 1 / -1; }
  .fuss-adresse { margin-bottom: 8px; }
  .fuss-adresse > span { display: block; }
  .fuss-adresse .punkt { display: none; }
  .fuss-unten { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .nach-oben { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .rechtstext { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* ---------- Kontaktformular (Felder in Grau #F7F7F7 wie die Kacheln, Ecken 12 px, Knopf als Pille) ---------- */
.formular { display: flex; flex-direction: column; gap: 24px; }
.anliegen-wahl { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.anliegen-wahl legend { padding: 0; margin-bottom: 12px; font-size: 13px; line-height: 16.8px; font-weight: 600; letter-spacing: 0.025em; }
.anliegen-wahl label { position: relative; cursor: pointer; }
.anliegen-wahl input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.anliegen-wahl span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--linie); background: var(--weiss); font-size: 13px; font-weight: 600; letter-spacing: 0.025em; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.anliegen-wahl label:hover span { border-color: var(--schwarz); }
.anliegen-wahl input:checked + span { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }
.anliegen-wahl input:focus-visible + span { outline: 2px solid var(--schwarz); outline-offset: 3px; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.feld { display: flex; flex-direction: column; gap: 8px; }
.feld-breit { grid-column: 1 / -1; }
.feld > span { font-size: 13px; line-height: 16.8px; font-weight: 600; letter-spacing: 0.025em; }
.feld em { font-style: normal; font-weight: 400; color: #6b6b6b; }
.feld input, .feld textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.4; color: var(--schwarz);
  background: var(--grau); border: 1px solid transparent; border-radius: var(--ecke); padding: 15px 16px; transition: border-color .15s ease, background-color .15s ease;
}
.feld input { height: 52px; }
.feld textarea { resize: vertical; min-height: 140px; }
.feld input:hover, .feld textarea:hover { border-color: var(--linie); }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--schwarz); background: var(--weiss); }
.einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.einwilligung input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--schwarz); }
.einwilligung a { text-underline-offset: 3px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formular-fuss { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.formular-fuss .pille { cursor: pointer; }
.formular-fuss .pille:disabled { opacity: .5; cursor: wait; }
.formular-hinweis { font-size: 14px; color: #6b6b6b; }
.formular-meldung:empty { display: none; }
.formular-meldung { font-size: 16px; line-height: 1.4; padding: 16px 20px; border-radius: var(--ecke); background: var(--grau); }
.formular-meldung.fehler { background: #fdecec; color: #8a1c1c; }
.formular.gesendet > :not(.formular-meldung) { display: none; }
.formular.gesendet .formular-meldung { font-size: clamp(18px, 1.46vw, 21px); padding: 32px; }

/* Kontaktbereich: links Text und Kontaktwege, rechts Formular in grauer Karte (Variante 2, Ahmet 23.11.2026) */
.kontakt-raster { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: start; }
.kontakt-raster > * { margin-top: 0 !important; }
.kontakt-links .lead { margin-top: 24px; }
.kontakt-wege { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; font-size: 16px; }
.kontakt-wege li { display: flex; align-items: center; gap: 12px; }
.kontakt-wege .symbol { width: 22px; height: 22px; stroke-width: 1.5; }
.kontakt-wege a { text-underline-offset: 3px; }
.kontakt-karte { background: var(--grau); border-radius: var(--ecke); padding: 40px; }
.kontakt-karte .feld input, .kontakt-karte .feld textarea { background: var(--weiss); }
.kontakt-karte .anliegen-wahl span { background: transparent; border-color: #d6d6d6; }
@media (max-width: 1100px) { .kontakt-raster { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 860px) {
  .felder { grid-template-columns: 1fr; }
  .kontakt-karte { padding: 24px 20px; }
  .anliegen-wahl span { height: auto; min-height: 40px; padding: 8px 14px; }
}

/* Zahlen zählen beim Hineinscrollen hoch (stil/seite.js); feste Ziffernbreite, damit nichts springt */
[data-zahl] { display: inline-block; font-variant-numeric: tabular-nums; text-align: right; }

/* Sprachumschalter (Variante 3, Ahmet 23.11.2026): am Computer Globus + andere Sprache nach „Kontakt“, am Handy unten im Menü „Deutsch | English“ */
.sprache { display: none; }
.sprache-globus { display: inline-flex; align-items: center; gap: 6px; }
.hauptmenue a.sprache-globus { border-bottom: 0; }
.sprache-globus .symbol { width: 18px; height: 18px; stroke-width: 1.5; }
.sprache-globus:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .sprache-globus { display: none; }
  .sprache { display: flex; gap: 12px; align-items: center; order: 2; margin-top: 24px; }
  .sprache .trenner { color: #c4c4c4; }
  .hauptmenue .sprache a { font-size: 17px; font-weight: 400; padding: 8px 0; border: 0; color: #8a8a8a; text-decoration: none; }
  .hauptmenue .sprache a[aria-current] { color: var(--schwarz); text-decoration: none; }
}
.rechtshinweis { margin-top: 24px; padding: 16px 20px; background: var(--grau); border-radius: var(--ecke); font-size: 15px; }

/* ---------- Impressum und Datenschutz (Rahmen aus vorlagen/helfer.mjs: rechtsRahmen) ---------- */
.rechtsseite { padding-bottom: var(--oben); }
.rechtsseite h2 { font-size: 28px; line-height: 1.3; font-weight: 400; margin-top: 48px; }
.rechtsseite h3 { font-size: 21px; line-height: 1.3; font-weight: 400; margin-top: 32px; }
.rechtsseite h4 { font-size: 17px; font-weight: 600; margin-top: 24px; }
.rechtsseite p { margin-top: 12px; font-size: 16px; line-height: 1.55; }
.rechtsseite a { text-underline-offset: 3px; word-break: break-word; }
.recht-inhalt-titel { font-size: 12px !important; letter-spacing: .16em; text-transform: uppercase; color: #6b6b6b; margin: 0 !important; }
.recht-inhalt ol { margin-top: 12px; padding: 0; list-style: none; }
.recht-inhalt a { text-decoration: none; }

/* lange Wörter wie „Datenschutzerklärung“ passen am Handy sonst nicht in die Zeile */
@media (max-width: 860px) { .rechtsseite .h1 { font-size: clamp(28px, 8.6vw, 40px); overflow-wrap: anywhere; hyphens: auto; } }

/* Variante 2 „Inhaltsverzeichnis links“ (Ahmet, 23.11.2026): Titel linksbündig mit Linie, links mitlaufendes Inhaltsverzeichnis, rechts der Text */
.recht-kopf { padding-top: 64px; }
.recht-kopf .innen { padding-bottom: 40px; border-bottom: 1px solid var(--linie); }
.recht-kopf .rechtshinweis { max-width: 720px; }
.recht-raster { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 96px; align-items: start; }
.recht-inhalt { position: sticky; top: calc(var(--kopf) + 40px); margin-top: 48px; }
.recht-inhalt li a { display: block; padding: 10px 0 10px 14px; border-left: 1px solid var(--linie); font-size: 15px; line-height: 1.35; color: #6b6b6b; transition: color .2s ease, border-color .2s ease; }
.recht-inhalt li a:hover, .recht-inhalt li a.an { color: var(--schwarz); border-left-color: var(--schwarz); }
.recht-block { scroll-margin-top: calc(var(--kopf) + 24px); }
@media (max-width: 860px) {
  .recht-kopf { padding-top: 40px; }
  .recht-raster { grid-template-columns: 1fr; gap: 0; }
  .recht-inhalt { position: static; margin-top: 32px; }
}
/* Dexter International als zweite Gruppe unter Personaldienstleistungen (Geschäftsfelder und Organigramm) */
.struktur-weitere, .organigramm-weitere { margin-top: 24px; }

/* Portfolio als Raster statt Karussell (Ahmet, 23.11.2026) */
.portfolio-raster { margin-top: 40px !important; }
/* Variante 1 (Ahmet, 23.11.2026): Fotokarten, 4 pro Reihe, letzte Reihe mittig; am Handy 2 pro Reihe */
.portfolio-raster { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.portfolio-raster li { width: calc((100% - 72px) / 4); }
@media (max-width: 860px) {
  .portfolio-raster { gap: 16px; }
  .portfolio-raster li { width: calc((100% - 16px) / 2); }
  .portfolio-logo { width: 70%; }
}

/* Knöpfe im Inhalt etwas größer und mit Pfeil (Variante 2, Ahmet 23.11.2026); Kopfzeilen-Knopf „Kontakt“ bleibt klein */
.pille-pfeil { width: 16px; height: 16px; stroke-width: 2; flex: none; transition: transform .2s ease; }
.textlink { display: inline-flex; align-items: center; gap: 6px; }
main .pille:not(.pille-hell) { height: 52px; padding: 0 24px; font-size: 15px; letter-spacing: 0.01em; gap: 10px; }
main .textlink { font-size: 15px; letter-spacing: 0.01em; }
.pille:hover .pille-pfeil, .textlink:hover .pille-pfeil { transform: translateX(3px); }
@media (max-width: 860px) {
  main .pille:not(.pille-hell) { height: auto; min-height: 52px; }
}
/* Telefonnummer nie mitten in der Nummer umbrechen */
a[href^="tel:"] { white-space: nowrap; }
