:root{
  --blue:#11458F;
  --orange:#EC661B;

  /* Neutrals (80%) */
  --n0:#FAFAFB;   /* background */
  --n1:#FFFFFF;   /* surface */
  --n2:#E6E8EC;   /* borders */
  --n3:#6B7280;   /* secondary text */
  --n4:#111827;   /* primary text */

  --radius:16px;
  --shadow: 0 10px 30px rgba(17,24,39,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--n0);
  color:var(--n4);
  line-height:1.55;
}

.container{max-width:1100px;margin:0 auto;padding:0 18px}
a{color:var(--blue)}
a:hover{opacity:.9}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--n2);
}
.header__inner{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:72px;
}
.brand{display:flex;flex-direction:column;gap:2px;text-decoration:none}
.brand__name{font-weight:800;letter-spacing:.2px;color:var(--blue);font-size:18px}
.brand__tagline{font-size:12px;color:var(--n3)}
.navwrap{margin-left:auto}
.header__cta{display:none}
@media (min-width: 860px){
  .header__cta{display:block}
}

/* Navigation */
.nav{
  list-style:none;
  display:flex;
  gap:10px;
  margin:0;
  padding:0;
  align-items:center;
}
.nav__link{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  color:var(--blue);
  font-weight:600;
}
.nav__link:hover{background:var(--n0)}
.nav__link.is-active{background:rgba(17,69,143,.10)}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
}
.btn--primary{
  background:var(--orange);            /* 5% Orange only on neutral */
  color:#fff;
  box-shadow: 0 10px 25px rgba(236,102,27,.18);
}
.btn--primary:hover{transform: translateY(-1px)}
.btn--ghost{
  background:transparent;
  border-color:var(--n2);
  color:var(--blue);
}

/* Main */
.main{padding:26px 0}
.content-surface{
  background:var(--n1);
  border:1px solid var(--n2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

/* Typography for content */
.content-surface h1{
  font-size: clamp(28px, 3vw, 40px);
  line-height:1.15;
  margin:0 0 10px 0;
  color:var(--n4);
  letter-spacing:-.3px;
}
.content-surface h2{
  font-size: clamp(22px, 2.2vw, 28px);
  margin:28px 0 10px;
  color:var(--blue); /* 15% Blue */
  letter-spacing:-.2px;
}
.content-surface h3{
  font-size: 18px;
  margin:22px 0 8px;
  color:var(--n4);
}
.content-surface p{
  margin: 0 0 14px 0;
  color: var(--n4);
}
.content-surface p strong{color:var(--n4)}
.content-surface ul, .content-surface ol{margin: 0 0 16px 18px}
.content-surface li{margin: 6px 0}

/* nice separators */
.content-surface hr{
  border:0;
  border-top:1px solid var(--n2);
  margin:22px 0;
}

/* Links inside content */
.content-surface a{
  color:var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Small “callout” card you can use via a quote element in content */
.content-surface blockquote{
  margin:18px 0;
  padding:14px 16px;
  border:1px solid var(--n2);
  border-left:6px solid rgba(17,69,143,.35);
  border-radius:14px;
  background: #fff;
  color: var(--n4);
}

/* Footer */
.footer{
  margin-top:26px;
  border-top:1px solid var(--n2);
  background:var(--n1);
}
.footer__inner{
  padding:18px 0;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.footer__left{color:var(--n4)}
.footer__right{color:var(--n3);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.footer__bottom{padding:10px 0 18px;color:var(--n3)}
.link{color:var(--blue);text-decoration:none;font-weight:600}
.link:hover{text-decoration:underline}
.sep{color:var(--n2)}
/* ===== TYPO3 Content Styling ===== */

/* Standard wrapper from our template */
.content-surface > *:first-child { margin-top: 0; }

/* TYPO3 content element spacing */
.content-surface .ce-element,
.content-surface .frame {
  margin: 0 0 18px 0;
}

/* Headings */
.content-surface h1, .content-surface h2, .content-surface h3 {
  font-weight: 800;
}
.content-surface h1 { margin: 0 0 12px; }
.content-surface h2 { margin: 26px 0 10px; }
.content-surface h3 { margin: 20px 0 8px; }

/* Make “header” content element look like a hero title when it is first */
.content-surface .ce-headline:first-child h1,
.content-surface .ce-headline:first-child h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.4px;
}

/* Text */
.content-surface p { max-width: 72ch; }

/* Links */
.content-surface a { font-weight: 650; }

/* Optional: call-to-action link style (use in editor: create link and add class "btn btn--primary") */
.content-surface a.btn { text-decoration: none; }

/* Simple “card” look for certain frames if TYPO3 outputs frame classes */
.content-surface .frame-frame1,
.content-surface .frame-frame2 {
  padding: 16px;
  border: 1px solid var(--n2);
  border-radius: 14px;
  background: var(--n1);
}
/* ===== Hero polish ===== */
.content-surface{
  padding: 30px;
}
.content-surface .ce-headline:first-child{
  margin-bottom: 8px;
}
.content-surface .ce-headline:first-child h1,
.content-surface .ce-headline:first-child h2{
  color: var(--blue);
}
.content-surface .ce-text:first-of-type p{
  font-size: 18px;
  color: var(--n3);
  margin-bottom: 18px;
}
/* ===== Universal TYPO3 Hero (works with frame / ce-* / plain) ===== */

/* First content element in the surface */
.content-surface > *:first-child{
  margin-top: 0 !important;
}

/* Make the first headline look like a hero */
.content-surface > *:first-child h1,
.content-surface > *:first-child h2{
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.4px;
  color: var(--blue);
  margin-top: 0;
}

/* Make the first paragraph feel like an intro */
.content-surface p:first-of-type{
  font-size: 18px;
  color: var(--n3);
  margin-top: 8px;
  margin-bottom: 18px;
  max-width: 72ch;
}

/* Give each TYPO3 content element nice spacing */
.content-surface .frame,
.content-surface [class*="ce-"],
.content-surface [class*="frame-type-"]{
  margin-bottom: 18px;
}
/* ===== TYPO3 content (frame-*) polish ===== */

/* Spacing */
.content-surface .frame{
  margin: 0 0 18px 0;
}

/* First header element as hero */
.content-surface .frame-type-header:first-of-type h1,
.content-surface .frame-type-header:first-of-type h2{
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.4px;
  color: var(--blue);
  margin: 0 0 10px 0;
}

/* First text block as intro */
.content-surface .frame-type-text:first-of-type p{
  font-size: 18px;
  color: var(--n3);
  margin-top: 6px;
  margin-bottom: 18px;
  max-width: 72ch;
}
/* ===== Buttons in Content ===== */
.content-surface a.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
}

.content-surface a.btn--primary{
  background: var(--orange);
  color:#fff;
  box-shadow: 0 10px 25px rgba(236,102,27,.18);
}
.content-surface a.btn--primary:hover{transform: translateY(-1px)}
.card a.btn--primary{ width: fit-content; }
.card:hover{
  transform: translateY(-2px);
  transition: transform .12s ease;
}
/* TEST */
.card { outline: 3px solid red !important; }
.card{
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(17,69,143,.25);
  box-shadow: 0 14px 34px rgba(17,24,39,.10);
}

/* Mobile/Touch: immer leicht “raised”, weil kein hover */
@media (hover: none){
  .card{
    box-shadow: 0 10px 26px rgba(17,24,39,.08);
  }
}
/* ===== Kursdetail ===== */
.course-hero{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin: 10px 0 18px;
}
@media (min-width: 860px){
  .course-hero{ grid-template-columns: 1.2fr .8fr; }
}

.course-box{
  background: var(--n1);
  border: 1px solid var(--n2);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}

.course-meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px 14px;
  margin-top: 10px;
}
.course-meta .item{ color: var(--n3); font-size: 13px; }
.course-meta .value{ color: var(--n4); font-weight: 800; margin-top: 2px; }

.course-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.course-cta .btn{ width: fit-content; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--n2);
  background: var(--n0);
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}
.content-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 980px){
  .content-grid{
    grid-template-columns: 1.35fr .65fr;
    align-items:start;
  }
  .sidebar .content-surface{
    position: sticky;
    top: 92px;
  }
}
/* Sidebar course list */
.course-list{ list-style:none; padding:0; margin:10px 0 0; display:flex; flex-direction:column; gap:10px; }
.course-list li{ padding:10px; border:1px solid var(--n2); border-radius:14px; background:var(--n1); }
.course-list__meta{ font-size:12px; color:var(--n3); margin-bottom:6px; }
.course-list a{ text-decoration:none; font-weight:800; color:var(--blue); }
.course-list a:hover{ text-decoration:underline; }

/* =========================================
   Container-Layout
   ========================================= */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .content-grid { grid-template-columns: 1fr; }
}
.content-surface {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.sidebar .content-surface {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.frame h1 { font-size: clamp(26px,3vw,38px); color: var(--blue); font-weight: 800; margin: 0 0 10px; }
.frame h2 { font-size: clamp(18px,2vw,24px); color: var(--blue); font-weight: 800; margin: 0 0 10px; }
.frame h3 { font-size: 17px; color: var(--n4); font-weight: 800; margin: 0 0 8px; }
.frame p  { color: var(--n4); margin: 0 0 12px; max-width: 72ch; }
.frame ul, .frame ol { margin: 0 0 14px 18px; color: var(--n4); }
.frame li { margin: 5px 0; }
.frame a  { color: var(--blue); }
.frame { margin-bottom: 4px; }
.frame.frame-indent {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E6E8EC;
  border-top: 5px solid var(--blue);
  box-shadow: 0 4px 20px rgba(17,24,39,.08);
  padding: 22px 26px;
  margin-bottom: 20px;
}
.frame.frame-indent h2 { margin-top: 0; }
.frame.frame-ruler-before {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E6E8EC;
  border-top: none !important;
  box-shadow: 0 4px 20px rgba(17,24,39,.08);
  padding: 22px 26px;
  margin-bottom: 20px;
}
.frame.frame-ruler-before h2 { margin-top: 0; color: var(--orange); }
.frame.frame-ruler-after {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E6E8EC;
  border-top: none !important;
  box-shadow: 0 4px 20px rgba(17,24,39,.08);
  padding: 22px 26px;
  margin-bottom: 20px;
}
.frame.frame-ruler-after h2 { margin-top: 0; color: #0F6E56; }
.sidebar .frame.frame-indent,
.sidebar .frame.frame-default {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E6E8EC;
  border-top: 5px solid var(--blue);
  box-shadow: 0 4px 20px rgba(17,24,39,.08);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.sidebar .frame.frame-ruler-before {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E6E8EC;
  border-top: none !important;
  box-shadow: 0 4px 20px rgba(17,24,39,.08);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.cards-row { display: grid; gap: 20px; align-items: stretch; margin-bottom: 20px; }
.cards-row--3 { grid-template-columns: repeat(3, 1fr); }
.cards-row--2 { grid-template-columns: repeat(2, 1fr); }
.card-col { display: flex; flex-direction: column; }
.card-col .frame { flex: 1; }
@media (max-width: 860px) {
  .cards-row--3, .cards-row--2 { grid-template-columns: 1fr; }
}

.cards-row .card-col .frame {
  height: 100%;
  box-sizing: border-box;
}

.content-grid--full {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}
.content-grid--full .content-area {
  width: 100% !important;
  max-width: 100% !important;
}
.content-area h1, .content-area h2, .content-area h3 { color: var(--blue); font-weight: 800; }
.content-area p { color: var(--n4); margin: 0 0 12px; }
.cards-row { align-items: stretch !important; }
.cards-row .card-col { display: flex; flex-direction: column; }
.cards-row .card-col .frame { flex: 1; }

.main .container {
  max-width: 1400px;
  padding: 0 32px;
}

.cards-row { gap: 12px !important; }

.frame.frame-ruler-before,
.frame.frame-ruler-after,
.frame.frame-default {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cards-row .frame.frame-ruler-before,
.cards-row .frame.frame-ruler-after,
.cards-row .frame.frame-default,
.cards-row .frame.frame-indent {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Grids immer volle Breite */
.cards-row--1 { grid-template-columns: 1fr; }
.frame.frame-ruler-before,
.frame.frame-ruler-after,
.frame.frame-default {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Grün: Linie unten statt oben */
.frame.frame-ruler-after {
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 12px !important;
}

/* Card-Header: Überschrift klar abgesetzt */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--n2);
}
.frame.frame-ruler-before .card-header { border-bottom-color: rgba(236,102,27,.25); }
.frame.frame-ruler-after  .card-header { border-bottom-color: rgba(15,110,86,.25); }
.frame.frame-indent       .card-header { border-bottom-color: rgba(17,69,143,.2); }

.card-title {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  flex: 1;
}
.card-body { font-size: 14px; color: var(--n3); }
.card-body p { margin: 0 0 8px; color: var(--n3); }

/* CTA-Button */
.card-cta {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--blue);
  color: var(--blue) !important;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.card-cta:hover { background: var(--blue); color: #fff !important; }
.frame.frame-ruler-before .card-cta { border-color: var(--orange); color: var(--orange) !important; }
.frame.frame-ruler-before .card-header .card-cta { border-color: rgba(255,255,255,0.8) !important; color: #fff !important; background: rgba(255,255,255,0.2) !important; }
.frame.frame-ruler-before .card-header .card-cta:hover { background: rgba(255,255,255,0.35) !important; }
.frame.frame-ruler-after  .card-header .card-cta { border-color: rgba(255,255,255,0.8) !important; color: #fff !important; background: rgba(255,255,255,0.2) !important; }
.frame.frame-ruler-after  .card-header .card-cta:hover { background: rgba(255,255,255,0.35) !important; }
.frame.frame-indent       .card-header .card-cta { border-color: rgba(255,255,255,0.8) !important; color: #fff !important; background: rgba(255,255,255,0.2) !important; }
.frame.frame-indent       .card-header .card-cta:hover { background: rgba(255,255,255,0.35) !important; }
.frame.frame-ruler-before .card-cta:hover { background: var(--orange); color: #fff !important; }
.frame.frame-ruler-after  .card-cta { border-color: #0F6E56; color: #0F6E56 !important; }
.frame.frame-ruler-after  .card-cta:hover { background: #0F6E56; color: #fff !important; }

/* Einheitliche Seitenbreite für alle Bereiche */
.container {
  max-width: 1400px !important;
  padding: 0 32px !important;
}

/* 1-Spalten-Grid volle Breite */
.cards-row--1 { grid-template-columns: 1fr !important; }
.cards-row--1 .card-col { width: 100%; }

/* Header: blauer Hintergrund für weißes Logo */
.header {
  background: var(--blue) !important;
  backdrop-filter: none !important;
  border-bottom: 2px solid rgba(255,255,255,.15) !important;
}
.brand__logo {
  height: 52px;
  width: auto;
  display: block;
}
.brand__tagline { color: rgba(255,255,255,.75) !important; font-size: 11px; }
.nav__link { color: #fff !important; }
.nav__link:hover { background: rgba(255,255,255,.12) !important; }
.nav__link.is-active { background: rgba(255,255,255,.18) !important; }
.header__cta .btn--primary {
  background: var(--orange) !important;
  box-shadow: 0 4px 16px rgba(236,102,27,.35) !important;
}

/* Logo: größer und mehr Luft */
.brand__logo {
  height: 64px !important;
  width: auto !important;
}
.header__inner {
  min-height: 88px !important;
  padding: 12px 0 !important;
}

/* Header: ruhigeres Dunkelblau statt knalligem Blau */
.header {
  background: #0D2E5A !important;
}

/* Navigation nach unten verschieben */
.navwrap { align-self: flex-end; padding-bottom: 10px; }
.header__cta { align-self: flex-end; padding-bottom: 8px; }

.footer-link { color: var(--n3) !important; text-decoration: none; }
.footer-link:hover { color: #fff !important; text-decoration: underline; }

.map-wrapper { border-radius: 12px; overflow: hidden; border: 1px solid #E6E8EC; }
.map-wrapper iframe { display: block; width: 100%; border: none; }

/* Header rechte Seite */
.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.header__social { display: flex; align-items: center; gap: 10px; }
.social-icon {
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  transition: color .15s;
}
.social-icon:hover { color: #fff !important; }

/* CTA Buttons Header */
.header__ctas { display: flex; align-items: center; gap: 8px; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all .15s;
}
.header-cta--outline {
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff !important;
}
.header-cta--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}
.header-cta--primary {
  background: var(--orange);
  color: #fff !important;
  border: 1.5px solid transparent;
}
.header-cta--primary:hover { background: #d45a15; }

@media (max-width: 1100px) {
  .header__social { display: none; }
}
@media (max-width: 860px) {
  .header__ctas { display: none; }
}

/* Zweistufige Kopfzeile */
.header { position: sticky; top: 0; z-index: 50; }

.header__topbar {
  background: #0D2E5A;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 6px 0;
}
.header__topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__tagline { font-size: 11px; color: rgba(255,255,255,.6); }
.header__topbar .header__social { display: flex; gap: 12px; }
.header__topbar .social-icon { color: rgba(255,255,255,.65); display: flex; }
.header__topbar .social-icon:hover { color: #fff !important; }

.header__main {
  background: #fff;
  border-bottom: 1px solid #E6E8EC;
  backdrop-filter: none !important;
}
.header__main .header__inner {
  display: flex;
  align-items: flex-end;
  min-height: 72px;
  padding-bottom: 0;
  gap: 16px;
}
.header__main .brand { padding-bottom: 8px; }
.brand__logo { height: 56px !important; width: auto; }

.header__right {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-left: auto;
}
.header__main .navwrap { align-self: flex-end; }
.header__main .nav__link { color: var(--blue) !important; }
.header__main .nav__link:hover { background: rgba(17,69,143,.08) !important; }
.header__main .nav__link.is-active { background: rgba(17,69,143,.12) !important; }

.header__ctas { display: flex; gap: 8px; padding-bottom: 10px; }
.header-cta {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: all .15s;
}
.header-cta--outline {
  border: 1.5px solid var(--blue);
  color: var(--blue) !important;
}
.header-cta--outline:hover { background: rgba(17,69,143,.08); }
.header-cta--primary {
  background: var(--orange); color: #fff !important;
  border: 1.5px solid transparent;
}
.header-cta--primary:hover { background: #d45a15; }

/* Neue Kopfzeile */
.header { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.12); }

.header__top {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #E6E8EC;
}
.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header__brand { display: flex; flex-direction: column; align-items: flex-start; }
.brand__logo { height: 80px !important; width: auto; display: block; }
.brand__tagline {
  font-size: 11px;
  color: var(--n3);
  letter-spacing: .3px;
  margin-top: 4px;
  color: #6B7280;
}
.header__top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__social { display: flex; align-items: center; gap: 12px; }
.header__top .social-icon { color: #6B7280; display: flex; transition: color .15s; }
.header__top .social-icon:hover { color: var(--blue) !important; }

.header__nav {
  background: linear-gradient(90deg, #0D2E5A 0%, #11458F 60%, #1A5CAD 100%);
  padding: 0;
}
.header__nav .container { display: flex; align-items: center; }
.header__nav .nav { gap: 4px; }
.header__nav .nav__link {
  color: rgba(255,255,255,.85) !important;
  padding: 12px 14px !important;
  border-radius: 0 !important;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  transition: all .15s;
}
.header__nav .nav__link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.1) !important;
  border-bottom-color: rgba(255,255,255,.4);
}
.header__nav .nav__link.is-active {
  color: #fff !important;
  background: rgba(255,255,255,.15) !important;
  border-bottom-color: var(--orange);
}

/* Gesamter Header: Verlauf von dunkel unten nach hell oben */
.header {
  background: linear-gradient(to top, #0D2E5A 0%, #1A4A8A 28%, #5A8EC0 52%, #C8DDF0 68%, #ffffff 82%) !important;
  backdrop-filter: none !important;
}
.header__top { background: transparent !important; border-bottom: none !important; }
.header__nav { background: transparent !important; }

/* Tagline sichtbar unter dem Logo */
.header__brand { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 0; }
.brand__tagline {
  display: block !important;
  font-size: 11px !important;
  color: #555 !important;
  letter-spacing: .4px;
  margin-top: 5px;
  font-style: italic;
}

/* Social Icons auf hellem Hintergrund */
.header__top .social-icon { color: #444 !important; }
.header__top .social-icon:hover { color: var(--blue) !important; }

/* CTA Buttons angepasst */
.header-cta--outline {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
}
.header-cta--outline:hover { background: rgba(17,69,143,.08) !important; }

/* Nav Links auf dunklem Hintergrund */
.header__nav .nav__link { color: rgba(255,255,255,.9) !important; }
.header__nav .nav__link:hover { color: #fff !important; background: rgba(255,255,255,.12) !important; }
.header__nav .nav__link.is-active { color: #fff !important; border-bottom-color: var(--orange) !important; }

/* Kompakte Kopfzeile mit präzisem Verlauf */
.brand__logo { height: 48px !important; }
.header__brand { padding: 8px 0 !important; }
.header__top { padding: 0 !important; }
.header__top-inner { min-height: unset !important; }
.header__nav .nav__link { padding: 8px 12px !important; }

/* Gradient: unten 1cm solid dunkel, dann 1cm Verlauf, oben weiß */
.header {
  background: linear-gradient(to top,
    #0D2E5A 0%,
    #0D2E5A 38%,
    #1A5AA0 52%,
    #90B8D8 64%,
    #ffffff 76%
  ) !important;
}

/* Header: links hell, rechts dunkel */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: linear-gradient(to right,
    #ffffff 0%,
    #ffffff 18%,
    #d0e4f5 32%,
    #4A85BB 55%,
    #0D2E5A 100%
  ) !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.15) !important;
}
.header__inner {
  display: flex !important;
  align-items: center !important;
  min-height: 80px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  gap: 20px;
}
.header__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}
.brand__logo { height: 58px !important; width: auto !important; }
.brand__tagline {
  display: block !important;
  font-size: 10px !important;
  color: #555 !important;
  letter-spacing: .4px;
  margin-top: 3px;
  font-style: italic;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header__social { display: flex; align-items: center; gap: 10px; }
.social-icon { color: rgba(255,255,255,.8) !important; display: flex; transition: color .15s; }
.social-icon:hover { color: #fff !important; }
.nav__link { color: rgba(255,255,255,.9) !important; }
.nav__link:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }
.nav__link.is-active { background: rgba(255,255,255,.18) !important; color: #fff !important; }
.header-cta--outline { border-color: rgba(255,255,255,.7) !important; color: #fff !important; }
.header-cta--outline:hover { background: rgba(255,255,255,.15) !important; border-color: #fff !important; }

/* Zweizeilige Kopfzeile */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: none !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.18) !important;
  backdrop-filter: none !important;
}

/* Zeile 1: Logo links (weiß) → Verlauf → dunkel rechts */
.header__toprow {
  background: linear-gradient(to right,
    #ffffff 0%,
    #ffffff 22%,
    #b8d4ee 38%,
    #3a72b0 54%,
    #0D2E5A 68%,
    #0D2E5A 100%
  );
  padding: 8px 0;
}
.header__toprow-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__brand { display: flex; flex-direction: column; align-items: flex-start; }
.brand__logo { height: 58px !important; width: auto !important; }
.brand__tagline {
  display: block !important;
  font-size: 10px !important;
  color: #666 !important;
  font-style: italic;
  margin-top: 3px;
  letter-spacing: .3px;
}
.header__top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__social { display: flex; align-items: center; gap: 10px; }
.social-icon { color: rgba(255,255,255,.8) !important; display: flex; transition: color .15s; }
.social-icon:hover { color: #fff !important; }
.header-cta--outline { border-color: rgba(255,255,255,.7) !important; color: #fff !important; }
.header-cta--outline:hover { background: rgba(255,255,255,.15) !important; }
.header-cta--primary { background: var(--orange) !important; color: #fff !important; }

/* Zeile 2: Navigation – solid dunkelblau */
.header__navrow {
  background: #0D2E5A;
  padding: 0;
}
.header__navrow .container { display: flex; }
.header__navrow .nav { gap: 0; }
.header__navrow .nav__link {
  color: rgba(255,255,255,.85) !important;
  padding: 10px 16px !important;
  border-radius: 0 !important;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  transition: all .15s;
}
.header__navrow .nav__link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.1) !important;
  border-bottom-color: rgba(255,255,255,.4);
}
.header__navrow .nav__link.is-active {
  color: #fff !important;
  background: rgba(255,255,255,.12) !important;
  border-bottom-color: var(--orange);
}

/* Header: CSS Grid, Logo überspannt beide Zeilen */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.18) !important;
  background: linear-gradient(to right,
    #ffffff 0%,
    #ffffff 11%,
    #ccdff2 18%,
    #4a85bb 28%,
    #0D2E5A 38%,
    #0D2E5A 100%
  ) !important;
  backdrop-filter: none !important;
}
.header__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.header__logo-wrap {
  grid-column: 1;
  grid-row: 1 / 3;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 28px 10px 0;
}
.brand__logo { height: 62px !important; width: auto !important; }
.brand__tagline {
  display: block !important;
  font-size: 10px !important;
  color: #666 !important;
  font-style: italic;
  margin-top: 4px;
  letter-spacing: .3px;
  white-space: nowrap;
}

/* Zeile 1: Social + CTA rechts */
.header__toprow {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 8px 0;
  background: transparent;
}
.header__social { display: flex; align-items: center; gap: 10px; }
.social-icon { color: rgba(255,255,255,.8) !important; display: flex; transition: color .15s; }
.social-icon:hover { color: #fff !important; }

/* Zeile 2: Navigation */
.header__navrow {
  grid-column: 2;
  grid-row: 2;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0;
}
.header__navrow .nav { gap: 0; }
.header__navrow .nav__link {
  color: rgba(255,255,255,.88) !important;
  padding: 9px 15px !important;
  border-radius: 0 !important;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  transition: all .15s;
}
.header__navrow .nav__link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.1) !important;
  border-bottom-color: rgba(255,255,255,.5);
}
.header__navrow .nav__link.is-active {
  color: #fff !important;
  background: rgba(255,255,255,.12) !important;
  border-bottom-color: var(--orange);
}

/* CTA Buttons */
.header-cta--outline { border-color: rgba(255,255,255,.7) !important; color: #fff !important; }
.header-cta--outline:hover { background: rgba(255,255,255,.15) !important; }
.header-cta--primary { background: var(--orange) !important; color: #fff !important; }

/* Gradient nur auf rechter Spalte, startet exakt am Logo-Rand */
.header { background: #ffffff !important; }
.header__logo-wrap { background: #ffffff !important; z-index: 1; }

.header__toprow,
.header__navrow {
  background: linear-gradient(to right,
    #ccdff2 0%,
    #4a85bb 22%,
    #0D2E5A 45%,
    #0D2E5A 100%
  ) !important;
}

/* Weicher Start weiß, schneller Verlauf, dann dunkelblau bis zum Rand */
.header__toprow,
.header__navrow {
  background: linear-gradient(to right,
    #ffffff 0%,
    #daeaf7 10%,
    #6ba3cc 22%,
    #0D2E5A 36%,
    #0D2E5A 100%
  ) !important;
}

/* Dunkelblau als Basis – läuft rechts bis zum Viewport-Rand */
.header { background: #0D2E5A !important; }
.header__logo-wrap { background: #ffffff !important; }

/* Gradient: startet weiß, wird sanft aber zügig dunkel */
.header__toprow,
.header__navrow {
  background: linear-gradient(to right,
    #ffffff 0%,
    #c8e0f2 6%,
    #5a93c5 17%,
    #0D2E5A 30%,
    #0D2E5A 100%
  ) !important;
}

/* Header: links vom Logo weiß, rechts dunkelblau – viewport-breit */
.header {
  background: linear-gradient(to right,
    #ffffff 0%,
    #ffffff calc(50% - 540px),
    #0D2E5A calc(50% - 300px),
    #0D2E5A 100%
  ) !important;
}
.header__logo-wrap { background: #ffffff !important; }

/* Gradient in der rechten Spalte – startet weiß, wird schnell dunkel */
.header__toprow,
.header__navrow {
  background: linear-gradient(to right,
    #ffffff 0%,
    #c8e0f2 6%,
    #5a93c5 17%,
    #0D2E5A 30%,
    #0D2E5A 100%
  ) !important;
}

/* Gradient: leicht nach links, sanfterer Übergang */
.header {
  background: linear-gradient(to right,
    #ffffff 0%,
    #ffffff calc(50% - 560px),
    #0D2E5A calc(50% - 260px),
    #0D2E5A 100%
  ) !important;
}
.header__toprow,
.header__navrow {
  background: linear-gradient(to right,
    #ffffff 0%,
    #daeef7 4%,
    #aed0ea 9%,
    #7aafd6 15%,
    #3d7ab5 21%,
    #163d6e 27%,
    #0D2E5A 34%,
    #0D2E5A 100%
  ) !important;
}

.header {
  background: linear-gradient(to right,
    #ffffff 0%,
    #ffffff calc(50% - 590px),
    #0D2E5A calc(50% - 230px),
    #0D2E5A 100%
  ) !important;
}
.header__toprow,
.header__navrow {
  background: linear-gradient(to right,
    #ffffff 0%,
    #e8f4fb 2%,
    #c5e0f0 6%,
    #9ac5e4 11%,
    #6aa5d4 17%,
    #3d7ab5 22%,
    #1a4d8a 28%,
    #0D2E5A 35%,
    #0D2E5A 100%
  ) !important;
}

.header {
  background: linear-gradient(to right,
    #ffffff 0%,
    #ffffff calc(50% - 610px),
    #0D2E5A calc(50% - 490px),
    #0D2E5A 100%
  ) !important;
}
.header__toprow,
.header__navrow {
  background: linear-gradient(to right,
    #ffffff 0%,
    #d0e8f5 3%,
    #8bbfdf 8%,
    #3d7ab5 13%,
    #0D2E5A 20%,
    #0D2E5A 100%
  ) !important;
}

.header__toprow,
.header__navrow {
  background: linear-gradient(to right,
    #ffffff 0%,
    #e2f0f9 2%,
    #c0ddf0 5%,
    #98c5e6 8%,
    #6daad8 11%,
    #4a8ec8 14%,
    #2e6db0 17%,
    #1a4f94 20%,
    #103876 23%,
    #0D2E5A 27%,
    #0D2E5A 100%
  ) !important;
}

/* === COLORED HEADER BAND DESIGN === */

/* Alte Rahmen entfernen */
.frame.frame-indent { border-top: none !important; }
.frame.frame-ruler-before { border-top: none !important; }
.frame.frame-ruler-after { border-bottom: none !important; }

/* Farbiger Header-Streifen – zieht bis an die Kartenkanten */
.frame .card-header {
  margin: -22px -26px 18px -26px !important;
  border-radius: 10px 10px 0 0 !important;
  padding: 12px 18px !important;
  border-bottom: none !important;
}
.frame.frame-indent .card-header      { background: var(--blue); }
.frame.frame-ruler-before .card-header { background: var(--orange); }
.frame.frame-ruler-after .card-header  { background: #0F6E56; }

/* Titel im Header: weiß, uppercase, fett */
.frame .card-title {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
}



/* === TAGS / CHIPS === */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  display: inline-block; padding: 4px 12px;
  border-radius: 20px; font-size: 12px; font-weight: 600;
  background: rgba(17,69,143,.1); color: var(--blue);
}
.tag--orange { background: rgba(236,102,27,.12); color: var(--orange); }
.tag--green  { background: rgba(15,110,86,.12); color: #0F6E56; }
.tag--gray   { background: #F0F1F4; color: #555; }

/* === GROSSE KENNZAHLEN === */
.stat { text-align: center; padding: 10px 0; }
.stat__number {
  display: block; font-size: 52px; font-weight: 900;
  color: var(--blue); line-height: 1;
}
.stat__label { display: block; font-size: 13px; color: #666; margin-top: 4px; }

/* === BENEFIT ITEMS MIT ICON === */
.benefit-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.benefit-item { display: flex; align-items: center; gap: 12px; }
.benefit-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(17,69,143,.08); display: flex;
  align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.benefit-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--blue); }
.benefit-text span { font-size: 12px; color: #777; }

/* === JOB LISTING === */
.job-list { display: flex; flex-direction: column; gap: 0; }
.job-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid #E6E8EC; gap: 16px;
}
.job-item:last-child { border-bottom: none; }
.job-item__title { font-size: 15px; font-weight: 700; color: var(--blue); }
.job-item__meta { font-size: 12px; color: #777; margin-top: 2px; }
.job-item__btn {
  flex-shrink: 0; padding: 6px 14px; border-radius: 8px;
  background: var(--blue); color: #fff !important; font-size: 12px;
  font-weight: 700; text-decoration: none; white-space: nowrap;
}

/* === GEHALT DISPLAY === */
.salary { text-align: center; padding: 8px 0 12px; }
.salary__amount {
  display: block; font-size: 44px; font-weight: 900;
  color: var(--blue); line-height: 1;
}
.salary__label { display: block; font-size: 12px; color: #777; margin-top: 2px; }
.salary__note { font-size: 13px; color: #555; margin-top: 12px; text-align: center; }

/* Keine extra Linie über farbigem Header-Band */
.frame.frame-ruler-before { border-top: none !important; }
.frame.frame-ruler-after  { border-bottom: none !important; }
.frame.frame-indent       { border-top: none !important; }

/* === FINALE BORDER-BEREINIGUNG für colored header bands === */
body .frame.frame-ruler-before,
body .cards-row .frame.frame-ruler-before { 
  border-top: none !important;
  border-bottom: none !important;
}
body .frame.frame-ruler-after,
body .cards-row .frame.frame-ruler-after {
  border-top: none !important;
  border-bottom: none !important;
}
body .frame.frame-indent,
body .cards-row .frame.frame-indent {
  border-top: none !important;
  border-bottom: none !important;
}

/* Overflow hidden: farbiges Header-Band deckt Rahmen lückenlos ab */
.frame.frame-indent,
.frame.frame-ruler-before,
.frame.frame-ruler-after {
  overflow: hidden !important;
}

/* Border durch Box-Shadow ersetzen – card-header überdeckt Frame-Rand vollständig */
.frame.frame-indent,
.frame.frame-ruler-before,
.frame.frame-ruler-after {
  border: none !important;
  box-shadow: 0 0 0 1px #E6E8EC !important;
  overflow: hidden !important;
}
.frame .card-header {
  border-radius: 12px 12px 0 0 !important;
}

/* === BORDER RESET FINAL === */
.frame.frame-ruler-before { border-top: none !important; border-bottom: none !important; }
.frame.frame-ruler-after  { border-top: none !important; border-bottom: none !important; }
.frame.frame-indent        { border-top: none !important; }
.frame.frame-indent, .frame.frame-ruler-before, .frame.frame-ruler-after {
  overflow: hidden !important;
  box-shadow: 0 0 0 1px #E6E8EC;
  border: none !important;
}
.frame .card-header { border-radius: 12px 12px 0 0 !important; border-bottom: none !important; }

/* TYPO3 fluid_styled_content Pseudo-Element Linien entfernen */
.frame-ruler-before:before { display: none !important; }
.frame-ruler-after:after   { display: none !important; }

/* HERO */
.tzj-hero {
  background: linear-gradient(135deg, #1A4A8A 0%, #0D2E5A 100%);
  border-radius: 16px; padding: 52px 48px;
  text-align: center; margin-bottom: 4px;
}
.tzj-hero__eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,.6); margin: 0 0 18px;
}
.tzj-hero__headline {
  font-size: clamp(22px,3.5vw,38px); font-weight: 900;
  color: #fff; line-height: 1.25; margin: 0 0 16px;
}
.tzj-hero__sub {
  color: rgba(255,255,255,.82); font-size: 16px;
  max-width: 640px; margin: 0 auto 32px; line-height: 1.6;
}
.tzj-hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tzj-hero__cta-primary {
  background: var(--orange); color: #fff !important; text-decoration: none;
  padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 15px;
  transition: background .15s;
}
.tzj-hero__cta-primary:hover { background: #d45a15; }
.tzj-hero__cta-secondary {
  background: rgba(255,255,255,.12); color: #fff !important; text-decoration: none;
  padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 1.5px solid rgba(255,255,255,.35); transition: background .15s;
}
.tzj-hero__cta-secondary:hover { background: rgba(255,255,255,.22); }

/* JOBS TEASER */
.tzj-jobs-teaser {
  background: #0D2E5A; border-radius: 16px;
  padding: 36px 40px; display: flex;
  align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.tzj-jobs-teaser__eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,.6); margin: 0 0 8px;
}
.tzj-jobs-teaser__headline {
  color: #fff; font-size: 22px; font-weight: 900; margin: 0 0 10px;
}
.tzj-jobs-teaser__text p:last-child { color: rgba(255,255,255,.78); font-size: 14px; margin: 0; line-height: 1.6; }
.tzj-jobs-teaser__cta {
  background: var(--orange); color: #fff !important; text-decoration: none;
  padding: 14px 28px; border-radius: 10px; font-weight: 700;
  font-size: 14px; white-space: nowrap; flex-shrink: 0;
  transition: background .15s;
}
.tzj-jobs-teaser__cta:hover { background: #d45a15; }

/* Hero Headline sichtbar */
.tzj-hero__headline { color: #ffffff !important; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.tzj-hero__eyebrow { color: rgba(255,255,255,.75) !important; }
.tzj-hero__sub { color: rgba(255,255,255,.88) !important; }

/* Scroll-Offset für Sticky Header */
main { scroll-margin-top: 120px; }
.frame, .cards-row { scroll-margin-top: 120px; }

/* Service-Karten: Overflow sichtbar */
.cards-row .card-col .frame { overflow: visible !important; }
.card-body { overflow: visible; }

/* Jobs Teaser: Headline explizit weiß */
.tzj-jobs-teaser__headline { color: #ffffff !important; }
.tzj-jobs-teaser__text p { color: rgba(255,255,255,.82) !important; }
.tzj-jobs-teaser__eyebrow { color: rgba(255,255,255,.6) !important; display: block; }

/* USP Karten: Titel nicht komplett uppercase */
.frame .card-title { text-transform: none !important; letter-spacing: .3px !important; font-size: 14px !important; }

/* Hero Eyebrow kürzer */
.tzj-hero__eyebrow { letter-spacing: 1px !important; }

/* Stat-Zahlen größer und kraftvoller */
.stat__number { font-size: 62px !important; }
.stat__label { font-size: 12px !important; letter-spacing: .3px; }

/* Karten-Rows enger */
.cards-row { margin-bottom: 8px !important; }
.content-area > * { margin-bottom: 8px; }

/* Service-Karten Hierarchie */
.card-main {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--blue) !important;
  line-height: 1.4;
  margin: 0 0 8px !important;
}
.frame.frame-ruler-before .card-main { color: var(--orange) !important; }
.frame.frame-ruler-after  .card-main { color: #0F6E56 !important; }

.card-sub {
  font-size: 13px !important;
  color: #555 !important;
  line-height: 1.65;
  margin: 0 0 12px !important;
}
.card-diff {
  font-size: 12px !important;
  color: #888 !important;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 14px !important;
  padding-top: 10px !important;
  border-top: 1px solid #f0f0f0 !important;
}

/* Infostreifen */
.info-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid #E6E8EC;
  border-radius: 12px;
  flex-wrap: wrap;
}
.info-strip__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.info-strip__item svg { color: #0F6E56; flex-shrink: 0; }

/* Karten: gleichmäßige Ausrichtung mit Flexbox */
.frame.frame-indent,
.frame.frame-ruler-before,
.frame.frame-ruler-after { display: flex !important; flex-direction: column !important; }
.card-body { display: flex !important; flex-direction: column !important; flex: 1 !important; }
.card-body .tags { margin-top: auto !important; padding-top: 16px; }
.card-body .card-diff { flex-shrink: 0; }

/* Icon */
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
}
.frame.frame-indent       .card-icon { background: rgba(17,69,143,.08); color: var(--blue); }
.frame.frame-ruler-after  .card-icon { background: rgba(15,110,86,.08); color: #0F6E56; }
.frame.frame-ruler-before .card-icon { background: rgba(236,102,27,.08); color: var(--orange); }

/* card-main Farbe zum Frame passend */
.frame.frame-ruler-after  .card-main { color: #0F6E56 !important; }
.frame.frame-ruler-before .card-main { color: var(--orange) !important; }

/* TEST: Weißer Header */
.header { background: #ffffff !important; box-shadow: 0 1px 0 #E6E8EC, 0 2px 12px rgba(0,0,0,.06) !important; }
.header__toprow, .header__navrow { background: #ffffff !important; }
.header__logo-wrap { background: #ffffff !important; }
.social-icon { color: #6B7280 !important; }
.social-icon:hover { color: var(--blue) !important; }
.header__navrow .nav__link { color: var(--blue) !important; }
.header__navrow .nav__link:hover { background: rgba(17,69,143,.06) !important; color: var(--blue) !important; }
.header__navrow .nav__link.is-active { background: rgba(17,69,143,.08) !important; border-bottom-color: var(--blue) !important; }
.header-cta--outline { border-color: var(--blue) !important; color: var(--blue) !important; }
.header-cta--outline:hover { background: rgba(17,69,143,.06) !important; }
.brand__tagline { color: #888 !important; }

/* Gehalt-Tabelle */
.salary-table {
  margin-top: 16px;
  border: 1px solid #E6E8EC;
  border-radius: 10px;
  overflow: hidden;
}
.salary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid #F0F1F4;
  font-size: 13px;
  color: #444;
}
.salary-row:last-child { border-bottom: none; }
.salary-row strong { color: var(--blue); font-weight: 700; white-space: nowrap; }
.salary-row--total {
  background: rgba(17,69,143,.04);
  font-weight: 600;
}
.salary-row--total strong { font-size: 15px; }




/* Aktive Seite im Header – orange Unterstrich + fett */
.header__navrow .nav__link.is-active {
  font-weight: 800 !important;
  color: var(--blue) !important;
  background: transparent !important;
  border-bottom: 3px solid var(--orange) !important;
  border-radius: 0 !important;
}

/* Logo Hover */
.header__logo-wrap {
  transition: opacity 0.2s ease;
}
.header__logo-wrap:hover { opacity: 0.75 !important; }

/* Aktive Seite im Header – orange Unterstrich + fett */
.header__navrow .nav__link.is-active {
  font-weight: 800 !important;
  color: var(--blue) !important;
  background: transparent !important;
  border-bottom: 3px solid var(--orange) !important;
  border-radius: 0 !important;
}

/* Logo Hover */
.header__logo-wrap {
  transition: opacity 0.2s ease;
}
.header__logo-wrap:hover { opacity: 0.75 !important; }

/* Hero Jobs-Link */
.tzj-hero__cta-jobs {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.tzj-hero__cta-jobs:hover {
  border-bottom-color: #fff;
}

/* Hero Jobs-Link – dauerhaft sichtbar */
.tzj-hero__cta-jobs {
  display: inline-block !important;
  margin-top: 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1.5px solid rgba(255,255,255,0.6) !important;
  padding-bottom: 2px !important;
  transition: border-color 0.2s !important;
}
.tzj-hero__cta-jobs:hover {
  border-bottom-color: #fff !important;
}
