/* Ergänzungen zum Webflow-Stylesheet (nach ihm geladen). */

/* /security-authorisations: neuer, längerer Text (16.11.2026) mit Zwischentiteln, Absätzen und zweiter Spalte */
.portfolio-intro { max-width: 52em; }
.portfolio-intro .portfolio-description { width: auto; line-height: 1.45; }
.portfolio-intro .portfolio-description + .portfolio-description { margin-top: 1em; }
.portfolio-intro strong { font-weight: 600; }
/* Portfolio-Kacheln: bei 992–1279 px schrumpfen statt überlaufen (darüber unverändert) */
@media screen and (min-width: 992px) and (max-width: 1279px) {
  .portfolio-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .portfolio-item { max-width: 100%; }
}

@media screen and (max-width: 767px) {
  .portfolio-intro { max-width: none; }
  .portfolio-intro .portfolio-description { font-size: calc(5 * var(--fs)); }
  .portfolio-intro .portfolio-description + .portfolio-description { margin-top: .8em; }
  .vacancy-title-h.is-long { width: 100%; }
}

/* Grundgröße ab 992 px mindestens 12 px (siehe fix_css in localize.py): das Kunden-Karussell mit fester em-Breite
   darf bei 992–1199 px nicht seitlich überlaufen. */
@media screen and (min-width: 992px) {
  .clients-card { max-width: min(85.29em, calc(100vw - 11.72em)); }
  .portfolio-intro .portfolio-description { font-size: 1.29em; }
}

/* /security-authorisations: Abschnitte statt Fließtext (16.11.2026). Schriftgröße der Abschnitte = Fließtext der Seite
   (Desktop 1.29 × --fs, Tablet 15 px, Handy 4.5 × --fs), darin alles in em. */
.sec-page { --sec-blue: var(--_color---main-blue, #2958ee); --sec-ink: #0d1530; --sec-muted: #4d5670; --sec-line: #e3e7f2;
  --sec-tint: #f3f6fe; font-size: calc(1.29 * var(--fs)); line-height: 1.5; color: var(--sec-ink); margin-top: 4.5em; }
.sec-page p, .sec-page ul, .sec-page ol, .sec-page li { margin: 0; font-size: 1em; line-height: 1.5; }
.sec-page strong { font-weight: 600; }
.sec-block + .sec-block, .sec-cta { margin-top: 5.5em; }
.sec-head { margin-bottom: 2.4em; }
.sec-page .sec-eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .8em; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sec-blue); margin-bottom: .9em !important; }
.sec-eyebrow::before { content: ""; width: 1.8em; height: 2px; background: currentColor; }
.sec-h2 { font-size: 2.1em; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0; max-width: 22em; }
.sec-h3 { font-size: 1.35em; font-weight: 500; line-height: 1.25; margin: 0 0 .55em; }

/* Ablauf: Nummer | Beschreibung | Prüfpunkte */
.sec-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sec-line); counter-reset: none; }
.sec-step { display: grid; grid-template-columns: 6em minmax(0, 1fr) minmax(0, 1fr); gap: 0 3.5em; padding: 2.6em 0;
  border-bottom: 1px solid var(--sec-line); }
.sec-step-num { font-size: 2.6em; font-weight: 500; line-height: 1; color: var(--sec-blue); letter-spacing: -.02em; }
.sec-step-main p { color: var(--sec-muted); }
.sec-step-main strong { color: var(--sec-ink); }
.sec-step-note { margin-top: 1.1em !important; padding-left: 1.1em; border-left: 2px solid var(--sec-blue); }
.sec-checks { list-style: none; margin: 0; padding: 1.4em 1.6em; background: var(--sec-tint); border-radius: 1.07em;
  display: grid; gap: 1.1em; align-self: start; }
.sec-checks li { display: grid; grid-template-columns: 1.6em minmax(0, 1fr); gap: .8em; margin: 0; padding: 0; }
.sec-checks svg { width: 1.6em; height: 1.6em; padding: .3em; border-radius: 50%; background: var(--sec-blue); fill: none;
  stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; margin-top: .05em; }
.sec-checks strong { display: block; }
.sec-checks span { display: block; color: var(--sec-muted); }

/* Vorteile als Karten */
.sec-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6em; }
.sec-card { padding: 2em 2em 2.2em; background: #fff; border: 1px solid var(--sec-line); border-radius: 1.07em;
  box-shadow: 0 4px 24px #96a3b514; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sec-card:hover { transform: translateY(-3px); border-color: #c9d3f6; box-shadow: 0 10px 30px #2958ee1a; }
.sec-card p { color: var(--sec-muted); }
.sec-icon { width: 3.2em; height: 3.2em; border-radius: .8em; background: var(--sec-tint); display: grid; place-items: center;
  margin-bottom: 1.6em; }
.sec-icon svg { width: 1.6em; height: 1.6em; fill: none; stroke: var(--sec-blue); stroke-width: 1.7; stroke-linecap: round;
  stroke-linejoin: round; }

/* Abschluss: Kontakt-Kasten */
.sec-cta { display: flex; align-items: center; justify-content: space-between; gap: 2.5em; padding: 3em 3.4em;
  border-radius: 1.07em; color: #fff; background: radial-gradient(120% 160% at 100% 0%, #5b7df5 0%, transparent 55%),
  linear-gradient(120deg, var(--sec-blue), var(--_color---darker-blue, #0505f4)); margin-bottom: 4em; }
.sec-cta .sec-h2 { margin-bottom: .45em; }
.sec-cta p { max-width: 40em; color: #ffffffd9; }
.sec-btn { flex: none; display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: .57em;
  background: #fff; color: var(--sec-blue); font-weight: 500; text-decoration: none; transition: gap .2s ease, background .2s ease; }
.sec-btn:hover { gap: .9em; background: #eef2ff; }
.sec-btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; }

@media screen and (min-width: 768px) and (max-width: 991px) {
  .sec-page { font-size: 15px; }
  .sec-step { grid-template-columns: 4em minmax(0, 1fr); gap: 1.6em 2em; }
  .sec-checks { grid-column: 2; }
  .sec-cards { grid-template-columns: 1fr; }
  .sec-card { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: 1.4em; }
  .sec-icon { grid-row: span 2; margin-bottom: 0; }
}
@media screen and (max-width: 767px) {
  .sec-page { font-size: calc(4.5 * var(--fs)); margin-top: 3em; }
  .sec-block + .sec-block, .sec-cta { margin-top: 3.5em; }
  .sec-head { margin-bottom: 1.6em; }
  .sec-h2 { font-size: 1.65em; }
  .sec-h3 { font-size: 1.25em; }
  .sec-step { grid-template-columns: 1fr; gap: 1em; padding: 2em 0; }
  .sec-step-num { font-size: 2em; }
  .sec-checks { padding: 1.2em; }
  .sec-cards { grid-template-columns: 1fr; gap: 1em; }
  .sec-card { padding: 1.5em; }
  .sec-icon { margin-bottom: 1.1em; }
  .sec-cta { flex-direction: column; align-items: flex-start; padding: 2em 1.5em; gap: 1.6em; margin-bottom: 2.5em; }
}

/* Zusatzbausteine für /remote-system-management (27.11.2026) */
.sec-lead { margin-top: 1.1em !important; max-width: 46em; color: var(--sec-muted); font-size: 1.08em !important; }
.sec-lead strong { color: var(--sec-ink); }
.sec-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6em; }
.sec-tiers-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.6em; }
.sec-tier { position: relative; padding: 1.9em 2em 2.1em; border: 1px solid var(--sec-line); border-radius: 1.07em; background: #fff;
  box-shadow: 0 4px 24px #96a3b514; }
.sec-tier p { color: var(--sec-muted); }
.sec-tier.is-variant { background: var(--sec-tint); border-color: transparent; box-shadow: none; }
.sec-tier-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5em; min-height: 2.4em; }
.sec-tag { font-size: .8em; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sec-blue);
  padding: .45em .9em; border-radius: 99px; background: #e9eefd; }
.sec-tier.is-variant .sec-tag { background: #fff; }
.sec-meter { display: flex; align-items: flex-end; gap: .25em; }
.sec-meter i { width: .45em; border-radius: 2px; background: var(--sec-line); }
.sec-meter i:nth-child(1) { height: .7em; } .sec-meter i:nth-child(2) { height: 1.1em; } .sec-meter i:nth-child(3) { height: 1.5em; }
.sec-meter i.on { background: var(--sec-blue); }
.sec-icon.is-small { width: 2.4em; height: 2.4em; border-radius: .6em; background: #fff; margin: 0; }
.sec-icon.is-small svg { width: 1.3em; height: 1.3em; }

.sec-dark { padding: 3.6em 3.4em 3.8em; border-radius: 1.07em; color: #fff;
  background: radial-gradient(90% 120% at 0% 0%, #1d2f7a 0%, transparent 60%), #0b1233; }
.sec-dark .sec-h2 { color: #fff; }
.sec-facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2.6em 3em; }
.sec-fact { grid-column: span 2; }
.sec-fact:nth-child(4) { grid-column: 2 / span 2; }
.sec-fact p { color: #ffffffb3; }
.sec-dark .sec-icon { background: #ffffff14; margin-bottom: 1.2em; }
.sec-dark .sec-icon svg { stroke: #9db3ff; }

.sec-ext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6em; }
.sec-ext-card { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 1.5em; align-items: start; }
.sec-ext-card .sec-icon { margin: 0; }
.sec-link { display: inline-flex; align-items: center; gap: .5em; margin-top: 1em; color: var(--sec-blue); font-weight: 500;
  text-decoration: none; transition: gap .2s ease; }
.sec-link:hover { gap: .8em; }
.sec-link svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media screen and (min-width: 768px) and (max-width: 991px) {
  .sec-tiers { grid-template-columns: 1fr; }
  .sec-tiers-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2em 2.4em; }
  .sec-fact, .sec-fact:nth-child(4) { grid-column: auto; }
  .sec-fact:nth-child(5) { grid-column: 1 / -1; }
  .sec-ext { grid-template-columns: 1fr; }
}
@media screen and (max-width: 767px) {
  .sec-tiers, .sec-tiers-2, .sec-ext { grid-template-columns: 1fr; gap: 1em; }
  .sec-tiers-2 { margin-top: 1em; }
  .sec-tier { padding: 1.5em; }
  .sec-tier-top { margin-bottom: 1.1em; }
  .sec-dark { padding: 2.2em 1.5em 2.4em; }
  .sec-facts { grid-template-columns: 1fr; gap: 1.8em; }
  .sec-fact, .sec-fact:nth-child(4) { grid-column: auto; }
  .sec-ext-card { grid-template-columns: 1fr; gap: 1.1em; }
}

/* Neue Stelle (scripts/jobs.py, 27.11.2026): Eckdaten unter dem Titel, Fotos im Format der CMS-Bilder */
.job-meta { display: flex; flex-wrap: wrap; gap: .5em; margin: 0 0 1.2em; }
.job-meta span { font-size: .95em; font-weight: 500; color: var(--_color---main-blue, #2958ee); background: #e9eefd;
  padding: .4em .9em; border-radius: 99px; }
.job-card-img { aspect-ratio: 1000 / 570; object-fit: cover; object-position: 50% 30%; display: block; }
.job-hero-img { aspect-ratio: 1000 / 976; object-fit: cover; }
/* Karriere-Slider: alle Stellenkarten gleich hoch, Button unten bündig (mit drei Stellen sichtbar unterschiedlich lang) */
.fs-slider_list { align-items: stretch !important; }
.fs-slider_slide { height: auto !important; display: flex; }
.fs-slider_slide > .team-block { display: flex; flex-direction: column; width: 100%; }
.fs-slider_slide .team-block-info { flex: 1; display: flex; flex-direction: column; }
.job-meta span { font-size: calc(1.05 * var(--fs)); }
@media screen and (min-width: 768px) and (max-width: 991px) { .job-meta span { font-size: 13px; } }
@media screen and (max-width: 767px) { .job-meta span { font-size: calc(3.6 * var(--fs)); } }
