/*
Theme Name: Sascha Böhm One-Page
Theme URI: https://website.industrie-4-0.org
Author: Sascha Böhm
Description: Kompakte One-Page-Startseite nach onepage-referenz.html (12.10.2026). Kantige Gestaltung, IBM Plex lokal gehostet, Akzent #0F4C81. Blog und Unterseiten mit derselben Kopf- und Fußzeile.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: sbop
*/

/* ==========================================================================
   Werte aus ANWEISUNG-onepage.md, Abschnitt 8. Alle Farben, Schriften und
   Abstände nur über diese Variablen.
   Keine Verläufe, keine Rundungen, keine Schatten, keine Animationen außer
   sanftem Scrollen.
   ========================================================================== */
:root {
  --op-bg: #F7F8F8;          /* Seitengrund */
  --op-white: #FFFFFF;       /* helle Bänder */
  --op-ink: #16212B;         /* Text, kräftige Linien */
  --op-text-2: #2C3945;      /* gedämpft */
  --op-text-3: #4A5763;      /* gedämpft, Labels */
  --op-line: #C9D0D6;        /* feine Linien */
  --op-accent: #0F4C81;      /* Akzent */
  --op-placeholder: #E3E7EA;
  --op-stamp: #A63A14;       /* Stempel "Offen für Festanstellung" */

  --op-font: 'IBM Plex Sans', 'Segoe UI', Helvetica, sans-serif;
  --op-font-cond: 'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
  --op-font-mono: 'IBM Plex Mono', Consolas, monospace;

  --op-wrap: 1168px;
  --op-gutter: 24px;
  --op-section: 72px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--op-bg); color: var(--op-ink);
  font-family: var(--op-font); font-size: 17px; line-height: 1.55;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--op-ink); }
a:hover { color: var(--op-accent); }
:focus-visible { outline: 2px solid var(--op-accent); outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
/* Sprungziele nicht unter dem Seitenrand verstecken */
[id] { scroll-margin-top: 8px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.op-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 11px 20px;
  background: var(--op-accent); color: var(--op-white); font-weight: 600; text-decoration: none;
}
.op-skip:focus { left: 16px; color: var(--op-white); }
main:focus { outline: none; }

.op-wrap { max-width: var(--op-wrap); margin: 0 auto; padding-left: var(--op-gutter); padding-right: var(--op-gutter); }

/* ---------- Typografie ---------- */
.op-label {
  font-family: var(--op-font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--op-text-3);
}
.op-label--accent { color: var(--op-accent); }
.op-h1 {
  font-family: var(--op-font-cond); font-weight: 700; font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance;
}
.op-h2 { font-family: var(--op-font-cond); font-size: 40px; font-weight: 700; line-height: 1.1; text-wrap: balance; }
.op-head { display: flex; flex-direction: column; gap: 8px; }
.op-muted { color: var(--op-text-2); }
.op-pretty { text-wrap: pretty; }

/* ---------- Buttons (kantig) ---------- */
.op-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 14px 26px; text-decoration: none; font-weight: 600; line-height: 1.55;
  background: var(--op-accent); color: var(--op-white); border: 0;
}
.op-btn:hover { color: var(--op-white); background: #0C3E69; }
.op-btn--nav { padding: 11px 20px; }
.op-btn--outline { padding: 13px 26px; background: transparent; color: var(--op-ink); border: 1.5px solid var(--op-ink); }
.op-btn--outline:hover { background: transparent; color: var(--op-accent); border-color: var(--op-accent); }
.op-btn--light { padding: 15px 26px; background: var(--op-white); color: var(--op-ink); }
.op-btn--light:hover { background: var(--op-bg); color: var(--op-ink); }
.op-btn--outline-light { padding: 14px 26px; background: transparent; color: var(--op-white); border: 1.5px solid var(--op-white); }
.op-btn--outline-light:hover { background: transparent; color: var(--op-white); }
.op-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 0. Kopfzeile ---------- */
.op-header { background: var(--op-white); border-bottom: 1px solid var(--op-line); }
.op-header__inner {
  max-width: var(--op-wrap); margin: 0 auto; padding: 14px var(--op-gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
}
.op-brand { font-size: 18px; font-weight: 600; text-decoration: none; padding: 10px 0; }
.op-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; }
.op-nav a { text-decoration: none; padding: 10px 0; }
.op-nav a.op-btn { padding: 11px 20px; }

/* ---------- Bänder und Abschnitte ---------- */
.op-band { background: var(--op-white); border-top: 1px solid var(--op-line); border-bottom: 1px solid var(--op-line); }
.op-section {
  max-width: var(--op-wrap); margin: 0 auto; padding: var(--op-section) var(--op-gutter);
  display: flex; flex-direction: column; gap: 40px;
}
.op-section--tight { gap: 32px; }

/* Raster brechen automatisch um: Mindestbreite je Spalte über --op-min */
.op-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--op-min, 300px), 100%), 1fr)); }

/* ---------- 1. Einstieg ---------- */
.op-hero {
  max-width: var(--op-wrap); margin: 0 auto; padding: 88px var(--op-gutter);
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px 64px;
}
.op-hero__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.op-hero__lead { max-width: 620px; font-size: 20px; line-height: 1.5; text-wrap: pretty; }
.op-hero .op-btn-row { margin-top: 12px; }
.op-hero__aside { flex: 1 1 280px; display: flex; flex-direction: column; gap: 40px; }
.op-figures { border-top: 2px solid var(--op-ink); }

/* Stempel: doppelter Rahmen, leicht gedreht, kein Hintergrund, kein Schatten */
.op-stamp {
  align-self: flex-end; transform: rotate(-4deg); text-decoration: none; color: var(--op-stamp);
  border: 3px double var(--op-stamp); padding: 12px 18px; max-width: 260px;
  display: flex; flex-direction: column; gap: 4px; text-align: center;
}
.op-stamp:hover { color: var(--op-stamp); }
.op-stamp__kicker { font-family: var(--op-font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.op-stamp__title { font-family: var(--op-font-cond); font-size: 23px; font-weight: 700; line-height: 1.1; }
.op-stamp__link { font-size: 14px; text-decoration: underline; }
.op-stamp:focus-visible { outline-color: var(--op-stamp); }
.op-figure {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--op-line);
}
.op-figure__num { font-family: var(--op-font-cond); font-size: 40px; font-weight: 700; line-height: 1; }
.op-figure__label { font-size: 16px; color: var(--op-text-3); text-align: right; }

/* ---------- 2. Leistungen ---------- */
.op-services { --op-min: 320px; gap: 28px 40px; }
.op-service { border-top: 1px solid var(--op-ink); padding-top: 14px; display: flex; gap: 16px; }
.op-service__num { font-family: var(--op-font-mono); font-size: 14px; font-weight: 500; line-height: 28px; color: var(--op-accent); }
.op-service__body { display: flex; flex-direction: column; gap: 4px; }
.op-service h3 { font-size: 20px; font-weight: 600; line-height: 28px; }

/* ---------- 3. Referenzen / 5. Werdegang: Zeilenliste ---------- */
.op-rows { border-top: 2px solid var(--op-ink); }
.op-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 32px; padding: 16px 0; border-bottom: 1px solid var(--op-line); }
.op-row__year { flex: none; width: 96px; font-family: var(--op-font-mono); font-size: 15px; color: var(--op-accent); }
.op-row__title { flex: 1 1 280px; font-size: 19px; font-weight: 600; }
.op-row__text { flex: 2 1 320px; color: var(--op-text-2); }
.op-rows--cv .op-row { gap: 2px 24px; padding: 14px 0; }
.op-rows--cv .op-row__year { width: 112px; }
.op-rows--cv .op-row__text { flex: 1 1 300px; color: var(--op-ink); }

/* ---------- 4. Ablauf ---------- */
.op-steps { --op-min: 190px; gap: 24px; list-style: none; margin: 0; padding: 0; }
.op-step { border-top: 2px solid var(--op-ink); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.op-step__num { font-family: var(--op-font-mono); font-size: 14px; font-weight: 500; color: var(--op-accent); }
.op-step h3 { font-size: 19px; font-weight: 600; }
.op-step p { font-size: 16px; color: var(--op-text-2); }

.op-box { background: var(--op-bg); border: 1px solid var(--op-line); padding: 28px; display: flex; flex-wrap: wrap; gap: 20px 48px; }
.op-box h3 { flex: 1 1 260px; font-family: var(--op-font-cond); font-size: 28px; font-weight: 600; line-height: 1.15; }
.op-dashes { flex: 2 1 420px; --op-min: 240px; gap: 10px 32px; font-size: 16px; list-style: none; margin: 0; padding: 0; }
.op-dashes li { display: flex; gap: 10px; }
.op-dashes li::before { content: ""; width: 12px; height: 2px; margin-top: 12px; flex: none; background: var(--op-accent); }

/* ---------- 5. Über mich ---------- */
.op-about { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.op-about__intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.op-about__cv { flex: 1.8 1 460px; }
.op-portrait { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; background: var(--op-placeholder); border: 1px solid var(--op-line); }
.op-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-portrait--empty {
  display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
  font-family: var(--op-font-mono); font-size: 14px; color: var(--op-text-3);
}

/* ---------- 6. Blog ---------- */
.op-blog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.op-more { font-weight: 600; padding: 10px 0; }
.op-posts { --op-min: 300px; gap: 24px 32px; }
.op-post { text-decoration: none; border-top: 2px solid var(--op-ink); padding: 14px 0 8px 0; display: flex; flex-direction: column; gap: 6px; }
.op-post__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-family: var(--op-font-mono); font-size: 14px; color: var(--op-text-3); }
.op-post__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.op-post__excerpt { font-size: 16px; color: var(--op-text-2); }
.op-post:hover .op-post__title { color: var(--op-accent); }

/* ---------- 7. Kontakt (blauer Abschluss) ---------- */
.op-contact { background: var(--op-accent); color: var(--op-white); }
.op-contact__inner {
  max-width: var(--op-wrap); margin: 0 auto; padding: 80px var(--op-gutter);
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 64px;
}
.op-contact__copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.op-contact h2 { font-family: var(--op-font-cond); font-size: clamp(38px, 5vw, 56px); font-weight: 700; line-height: 1.05; }
.op-contact p { max-width: 600px; font-size: 19px; text-wrap: pretty; }
.op-contact__actions { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.op-contact__actions .op-btn { text-align: center; }
.op-contact__link { display: block; text-align: center; padding: 10px 0; color: var(--op-white); }
.op-contact__link:hover { color: var(--op-white); }
.op-contact :focus-visible { outline-color: var(--op-white); }

/* ---------- 8. Fußzeile ---------- */
.op-footer {
  max-width: var(--op-wrap); margin: 0 auto; padding: 32px var(--op-gutter) 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; font-size: 15px; color: var(--op-text-3);
}
.op-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.op-footer__nav a { padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
.op-footer__line { padding: 10px 0; }

/* ==========================================================================
   Unterseiten: Blog, Beiträge, Seiten. Gleiche Kopf- und Fußzeile, Schriften
   und Farben. Am Aufbau der Beiträge selbst ändert sich nichts.
   ========================================================================== */
.op-pagehead { background: var(--op-white); border-bottom: 1px solid var(--op-line); }
.op-pagehead__inner { max-width: var(--op-wrap); margin: 0 auto; padding: 56px var(--op-gutter) 48px; display: flex; flex-direction: column; gap: 14px; }
.op-pagehead h1 { font-family: var(--op-font-cond); font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; text-wrap: balance; max-width: 960px; }
.op-pagehead__lead { max-width: 720px; font-size: 19px; color: var(--op-text-2); text-wrap: pretty; }
.op-pagehead__lead strong { color: var(--op-ink); }
.op-pagehead__meta { display: flex; flex-wrap: wrap; gap: 4px 24px; font-family: var(--op-font-mono); font-size: 14px; color: var(--op-text-3); }
.op-back { align-self: flex-start; font-weight: 600; padding: 10px 0; }

/* Fließtext aus dem Editor */
.op-prose { max-width: 760px; }
.op-prose > * + * { margin-top: 1em; }
.op-prose h2 { font-family: var(--op-font-cond); font-size: 30px; font-weight: 700; line-height: 1.15; margin-top: 1.8em; }
.op-prose h3 { font-size: 21px; font-weight: 600; line-height: 1.3; margin-top: 1.5em; }
.op-prose h4 { font-size: 18px; font-weight: 600; }
.op-prose p, .op-prose li { color: var(--op-text-2); }
.op-prose strong { color: var(--op-ink); }
.op-prose a { color: var(--op-accent); text-underline-offset: 3px; }
.op-prose ul, .op-prose ol { padding-left: 1.4em; }
.op-prose li + li { margin-top: .35em; }
.op-prose figure { margin: 1.6em 0; }
.op-prose figcaption { font-family: var(--op-font-mono); font-size: 13px; color: var(--op-text-3); margin-top: 8px; }
.op-prose video { width: 100%; background: var(--op-ink); }
.op-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--op-accent); }
.op-prose code { font-family: var(--op-font-mono); font-size: .9em; background: var(--op-white); border: 1px solid var(--op-line); padding: 1px 5px; }
.op-prose pre { background: var(--op-ink); color: var(--op-white); padding: 20px 24px; overflow-x: auto; font-size: 14px; }
.op-prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.op-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.op-prose th, .op-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--op-line); vertical-align: top; }
.op-prose th { font-family: var(--op-font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--op-text-3); }
.op-prose .wp-block-table { overflow-x: auto; }
.op-prose iframe { max-width: 100%; }
.op-prose hr { border: 0; border-top: 1px solid var(--op-line); margin: 2.4em 0; }

/* Blog-Übersicht */
.op-posts--archive .op-post { padding-bottom: 20px; }
.op-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.op-pagination .page-numbers {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px;
  border: 1.5px solid var(--op-ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.op-pagination .page-numbers.current { background: var(--op-ink); color: var(--op-white); }
.op-pagination .page-numbers.dots { border: 0; min-width: 0; }

/* Produkte: Zeilen statt Karten */
.op-products { --op-min: 280px; gap: 0 40px; }
.op-product { display: flex; flex-direction: column; gap: 4px; padding: 14px 0 18px; border-top: 1px solid var(--op-ink); text-decoration: none; }
.op-product__title { font-size: 19px; font-weight: 600; }
.op-product__text { font-size: 16px; color: var(--op-text-2); }
.op-product:hover .op-product__title { color: var(--op-accent); }

/* Kontaktseite */
.op-contactpage { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.op-contactpage__form { flex: 2 1 480px; min-width: 0; background: var(--op-white); border: 1px solid var(--op-line); padding: clamp(20px, 4vw, 40px); }
.op-contactpage__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.op-contactpage__aside h2 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.op-facts { border-top: 2px solid var(--op-ink); }
.op-facts > div { display: flex; flex-wrap: wrap; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--op-line); }
.op-facts dt { flex: none; width: 96px; font-family: var(--op-font-mono); font-size: 14px; color: var(--op-accent); padding-top: 2px; }
.op-facts dd { flex: 1 1 160px; margin: 0; }
.op-facts dd a { display: inline-flex; align-items: center; min-height: 44px; }
.op-facts > div { align-items: center; }
.op-iframe { background: var(--op-white); border: 1px solid var(--op-line); }
.op-iframe iframe { display: block; width: 100%; border: 0; min-height: 720px; }

/* Contact Form 7 */
.op-form .wpcf7-form { display: flex; flex-direction: column; }
.op-form .cf7-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 20px; }
.op-form .cf7-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.op-form label { font-family: var(--op-font-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--op-text-3); }
.op-form .wpcf7-form-control-wrap { display: block; }
.op-form input[type="text"], .op-form input[type="email"], .op-form input[type="tel"], .op-form select, .op-form textarea {
  width: 100%; min-height: 48px; background: var(--op-bg); border: 1px solid var(--op-line); border-radius: 0; padding: 12px 14px;
  color: var(--op-ink); font-family: var(--op-font); font-size: 16px; -webkit-appearance: none; appearance: none;
}
.op-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2316212B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer;
}
.op-form input:focus, .op-form select:focus, .op-form textarea:focus { outline: 2px solid var(--op-accent); outline-offset: 0; border-color: var(--op-accent); }
.op-form textarea { min-height: 160px; resize: vertical; }
.op-form .cf7-privacy { font-size: 14px; color: var(--op-text-2); }
.op-form .cf7-privacy a { color: var(--op-accent); }
.op-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.op-form .wpcf7-acceptance input[type="checkbox"] { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--op-accent); }
.op-form .wpcf7-submit {
  min-height: 48px; padding: 14px 26px; border: 0; border-radius: 0; background: var(--op-accent); color: var(--op-white);
  font-family: var(--op-font); font-size: 16px; font-weight: 600; cursor: pointer; align-self: flex-start;
}
.op-form .wpcf7-submit:hover { background: #0C3E69; }
.op-form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 16px !important; border: 1px solid var(--op-ink) !important; font-size: 15px; }
.op-form .wpcf7-not-valid-tip { font-family: var(--op-font-mono); font-size: 13px; color: #A3261E; margin-top: 4px; }

/* Lagebild: Diagramme des Plugins in weißen Flächen */
.op-sheet { background: var(--op-white); border: 1px solid var(--op-line); padding: clamp(16px, 3vw, 32px); }
.op-lead { font-size: 19px; color: var(--op-text-2); max-width: 760px; text-wrap: pretty; }
.op-lead strong { color: var(--op-ink); }
.op-cols { display: flex; flex-wrap: wrap; gap: 20px 48px; }
.op-cols > * { flex: 1 1 380px; min-width: 0; }

/* Abstände und Schriftgrößen bleiben auf dem Handy wie in der Referenz. */
@media (max-width: 640px) {
  .op-iframe iframe { min-height: 640px; }
}

/* ==========================================================================
   Cookie-Banner (Plugin "Cookie Notice"): Funktion unverändert, nur Optik.
   ========================================================================== */
#cookie-notice {
  background: var(--op-white) !important; color: var(--op-ink) !important; font-family: var(--op-font) !important;
  border-top: 2px solid var(--op-ink) !important; box-shadow: none !important; padding: 14px 0 !important;
}
#cookie-notice .cookie-notice-container {
  max-width: var(--op-wrap); margin: 0 auto; padding: 0 var(--op-gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; text-align: left;
}
#cookie-notice #cn-notice-text { flex: 1 1 320px; min-width: 0; margin: 0; font-size: 15px; line-height: 1.5; color: var(--op-text-2) !important; }
#cookie-notice #cn-notice-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#cookie-notice .cn-button {
  min-height: 44px !important; display: inline-flex !important; align-items: center; margin: 0 !important; padding: 0 20px !important;
  border-radius: 0 !important; box-shadow: none !important; text-shadow: none !important; line-height: 1 !important;
  font-family: var(--op-font) !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0 !important;
}
#cookie-notice #cn-accept-cookie.cn-button { background: var(--op-accent) !important; color: var(--op-white) !important; border: 0 !important; }
#cookie-notice #cn-refuse-cookie.cn-button { background: transparent !important; color: var(--op-ink) !important; border: 1.5px solid var(--op-ink) !important; }
#cookie-notice #cn-more-info.cn-button {
  background: transparent !important; color: var(--op-ink) !important; border: 0 !important; padding: 0 6px !important;
  font-weight: 500 !important; text-decoration: underline !important; text-underline-offset: 3px;
}
#cookie-notice .cn-close-icon { opacity: 1; }
#cookie-notice .cn-close-icon::before, #cookie-notice .cn-close-icon::after { background-color: var(--op-ink) !important; }
/* Widerrufen-Zustand: schlichter, kantiger Textknopf unten links */
#cookie-notice.cookie-notice-hidden:not(.cookie-revoke-hidden) {
  background: transparent !important; min-width: 0 !important; width: auto !important; left: var(--op-gutter) !important;
  bottom: 12px !important; border-top: 0 !important; padding: 0 !important;
}
#cookie-notice.cookie-notice-hidden:not(.cookie-revoke-hidden) .cookie-revoke-container { width: auto !important; padding: 0 !important; }
#cookie-notice #cn-revoke-text { display: none !important; }
#cookie-notice #cn-revoke-cookie.cn-button {
  background: var(--op-white) !important; color: var(--op-ink) !important; border: 1.5px solid var(--op-ink) !important;
  font-size: 0 !important; padding: 0 12px !important;
}
/* Kurzbeschriftung, damit der schwebende Knopf wenig Inhalt verdeckt.
   Der volle Text "Cookie-Einstellungen" bleibt als zugänglicher Name erhalten. */
#cookie-notice #cn-revoke-cookie.cn-button::before { content: "Cookies"; font-size: 13px; font-weight: 500; }

/* Hilfsklassen Unterseiten */
.op-gap-top { margin-top: 16px; }
.op-dashes--list { --op-min: 100%; flex: 1 1 100%; }
.op-box__text { flex: 2 1 420px; font-size: 16px; color: var(--op-text-2); }
.op-service__h { font-size: 20px; font-weight: 600; line-height: 28px; }
.op-rows .op-row__text:only-child { flex: 1 1 100%; color: var(--op-ink); }
.op-dashes--wide { --op-min: 320px; }

/* ---------- Blog-Karussell (Startseite) ----------
   Drei Beiträge sichtbar (Handy: einer, Rest angeschnitten), weitere per
   Wischen oder Pfeil-Buttons. Kein Autoplay, keine Animation außer dem
   sanften Scrollen des Browsers. */
.op-blog-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.op-carousel__nav { display: flex; gap: 8px; }
.op-carousel__nav[hidden] { display: none; }
.op-carousel__btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--op-ink); border: 1.5px solid var(--op-ink); border-radius: 0;
  font-family: var(--op-font); font-size: 18px; line-height: 1; cursor: pointer;
}
.op-carousel__btn:hover { color: var(--op-accent); border-color: var(--op-accent); }
.op-carousel__btn:disabled { color: var(--op-line); border-color: var(--op-line); cursor: default; }
.op-carousel {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; column-gap: 32px;
  grid-auto-columns: calc((100% - 2 * 32px) / 3);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.op-carousel::-webkit-scrollbar { display: none; }
.op-carousel__item { scroll-snap-align: start; min-width: 0; display: flex; }
.op-carousel__item .op-post { flex: 1; }
@media (max-width: 960px) { .op-carousel { grid-auto-columns: calc((100% - 32px) / 2); } }
@media (max-width: 600px) { .op-carousel { column-gap: 24px; grid-auto-columns: 85%; } }

/* Kacheln im Karussell: höher, mit Kategorie, Auszug und "Weiterlesen".
   Kantig, heller Grund, kräftige Oberkante wie die übrigen Listen. */
.op-post--tile {
  background: var(--op-bg); border-top: 2px solid var(--op-ink);
  padding: 20px 22px 22px; min-height: 260px; gap: 10px;
}
.op-post--tile .op-post__title { font-size: 21px; }
/* Je drei Zeilen Überschrift und Auszug: Bei vielen Beiträgen bestimmt sonst
   die längste Überschrift die Höhe aller Kacheln. */
.op-post--tile .op-post__title, .op-post--tile .op-post__excerpt {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.op-post--tile .op-post__excerpt { margin-bottom: auto; }
.op-post__more { font-weight: 600; color: var(--op-accent); text-decoration: underline; text-underline-offset: 3px; }
.op-carousel__btn--pause { width: auto; padding: 0 14px; font-size: 15px; font-weight: 600; }

/* ==========================================================================
   Seite /festanstellung (festanstellung-referenz.html)
   ========================================================================== */
.op-label--stamp { color: var(--op-stamp); }
.op-intro { max-width: var(--op-wrap); margin: 0 auto; padding: 80px var(--op-gutter) 72px; display: flex; flex-direction: column; gap: 20px; }
.op-intro__lead { max-width: 700px; font-size: 20px; line-height: 1.5; text-wrap: pretty; }
/* Zweispalter: Überschrift links, Inhalt rechts */
.op-section.op-twocol { flex-direction: row; flex-wrap: wrap; gap: 32px 64px; }
.op-twocol__head { flex: 1 1 320px; }
.op-twocol__body { flex: 1.6 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.op-twocol__body--text { gap: 18px; }
.op-rows--plain .op-row { display: block; padding: 14px 0; }
.op-note { font-size: 16px; color: var(--op-text-2); text-wrap: pretty; }

/* Hinweis zur Selbstständigkeit direkt unter der Einleitung: eigener kurzer
   Absatz, ruhiger als der Einleitungstext, mit Akzentlinie links. */
.op-intro__note { max-width: 700px; font-size: 16px; color: var(--op-text-2); border-left: 2px solid var(--op-accent); padding-left: 16px; text-wrap: pretty; }
