
:root{
  --bg:#f6f4f1;--surface:#fff;--surface2:#fcfbf8;--line:#ddd7d0;--muted:#66707a;
  --blue:#5B879B;--blue-soft:#dce8ed;--red:#9C2126;--red-dark:#7f1b1f;--sand:#f2e6e3;
  --shadow:0 10px 30px rgba(20,32,45,.08);--radius:24px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--bg);color:#16202a;line-height:1.5}
a{text-decoration:none;color:inherit}
.container{max-width:1180px;margin:0 auto;padding:0 24px}
header{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);background:rgba(252,251,248,.95);backdrop-filter:blur(10px)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0}
.logo-wrap{display:flex;height:96px;align-items:center;border:1px solid #e2e8f0;background:#fff;padding:0 24px;border-radius:20px;box-shadow:var(--shadow)}
.logo-wrap img{height:80px;width:auto;object-fit:contain;display:block}
.desktop-nav{display:flex;gap:22px;flex-wrap:wrap}
.nav-link{font-size:14px;font-weight:600;color:#5d6770;transition:.2s}
.nav-link:hover,.nav-link.active{color:var(--red)}
.contact-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:var(--red);color:#fff;padding:11px 16px;font-size:14px;font-weight:700;transition:.2s}
.contact-btn:hover{background:var(--red-dark)}
.mobile-nav{display:none;gap:10px;overflow:auto;padding:12px 0}
.mobile-nav .nav-link{white-space:nowrap;border:1px solid #e2e8f0;background:#fff;border-radius:999px;padding:10px 14px}
.hero{background:linear-gradient(135deg,var(--blue-soft),#fff,var(--sand))}
.hero-grid,.grid-2,.info-grid,.contact-grid,.candidate-layout{display:grid;gap:24px}
.hero-grid{grid-template-columns:1fr 1fr;padding:64px 0 96px}
.grid-2{grid-template-columns:1.1fr .9fr}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:0 !important}
.contact-grid{grid-template-columns:.9fr 1.1fr}
.candidate-layout{grid-template-columns:1.15fr .85fr}
.badge{display:inline-flex;width:max-content;border-radius:999px;border:1px solid #c8d9e1;background:#fff;padding:10px 14px;font-size:14px;font-weight:700;color:var(--blue);box-shadow:0 4px 12px rgba(0,0,0,.04)}
h1{margin:20px 0 0;font-size:clamp(38px,6vw,64px);line-height:1.05}
h2{margin:0;font-size:clamp(28px,4vw,44px);line-height:1.12}
h3{margin:0}
.lead{margin-top:24px;max-width:760px;font-size:20px;line-height:1.7;color:#5f6972}
.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;padding:14px 20px;font-size:14px;font-weight:700;transition:.2s;border:none;cursor:pointer}
.btn-primary{background:var(--red);color:#fff;box-shadow:var(--shadow)}
.btn-primary:hover{background:var(--red-dark);transform:translateY(-2px)}
.btn-secondary{border:1px solid #c8d9e1;background:#fff;color:var(--blue)}
.btn-secondary:hover{border-color:var(--blue);transform:translateY(-2px)}
.section{padding:64px 0}
.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}
.panel{padding:28px}
.kicker{font-size:13px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--blue)}
.hero-side{display:grid;gap:16px}
.two-col-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dark{background:#0f1720;color:#fff}
.red{background:var(--red);color:#fff}
.red p,.red .subtle,.dark p,.dark .subtle{color:#edf2f7}
.value-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:32px;margin-bottom:72px !important}
.value-card{background:var(--bg);padding:20px;border-radius:18px;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.03);border:1px solid #f0ece8}
.info-card{padding:28px;border-radius:24px}
.info-blue{background:var(--blue-soft)}
.info-red{background:#f3e3e1}
.topic-item{border-radius:16px;border:1px solid #374151;background:#1f2937;color:#f8fafc;padding:14px 16px;font-size:14px}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}
.team-card{background:#fff;padding:24px;border-radius:24px;box-shadow:var(--shadow);font-size:18px;font-weight:700;line-height:1.6}
.lecture-grid{display:grid;gap:16px}
.lecture-card{background:#fff;border-radius:24px;padding:24px;box-shadow:var(--shadow)}
.lecture-date{font-size:14px;font-weight:700;color:var(--blue)}
.lecture-card h3{margin:8px 0 0;font-size:19px;line-height:1.45}
.lecture-card p{margin:8px 0 0;font-size:14px;line-height:1.7;color:#5f6972}
.contact-section{background:linear-gradient(90deg,var(--blue),#3f6476);color:#fff}
.contact-box{margin-top:32px;border-radius:24px;background:rgba(255,255,255,.12);padding:24px;backdrop-filter:blur(6px)}
.form-card{background:#fff;color:#16202a;border-radius:24px;padding:28px;box-shadow:0 20px 40px rgba(10,20,30,.18)}
.form-card input,.form-card textarea{width:100%;border:1px solid #cbd5e1;border-radius:16px;padding:14px 16px;font:inherit}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-card textarea{resize:vertical}
.checkbox{display:flex;gap:12px;align-items:flex-start;background:#f8fafc;border-radius:18px;padding:14px;color:#5f6972;font-size:14px;line-height:1.6}
.legal-note{border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:24px;padding:18px;font-size:14px;line-height:1.8}
.legal-card{margin-top:24px;background:var(--surface2);border-radius:24px;padding:28px;box-shadow:var(--shadow);border:1px solid #e5e7eb}
.legal-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:24px}
.footer{border-top:1px solid #e2e8f0;background:#fff}
.footer-row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:28px 0;color:#66707a;font-size:14px}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
.candidate-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.candidate-card{display:block;width:100%;background:#fff;padding:20px;border-radius:24px;text-align:left;box-shadow:var(--shadow);transition:.2s;outline:none;border:2px solid transparent}
.candidate-card:hover{transform:translateY(-2px)}
.candidate-card.active{border-color:var(--red)}
.candidate-head{display:flex;gap:16px;align-items:flex-start}
.candidate-thumb{height:80px;width:80px;border-radius:18px;border:1px solid #e2e8f0;object-fit:cover;flex:0 0 auto}
.candidate-meta h3{margin:4px 0 0;font-size:22px;line-height:1.2}
.rank{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue)}
.location{margin-top:6px;font-size:14px;color:#6b7280}
.candidate-card p{margin:16px 0 0;font-size:14px;line-height:1.8;color:#5f6972}
.open-profile{margin-top:14px;font-size:14px;font-weight:700;color:var(--red)}
.profile-card{position:sticky;top:112px;height:max-content;background:#fff;padding:28px;border-radius:28px;box-shadow:var(--shadow)}
.profile-top{display:flex;gap:20px;align-items:flex-start}
.profile-top img{height:112px;width:112px;border-radius:24px;border:1px solid #e2e8f0;object-fit:cover}
.pill{display:inline-flex;border-radius:999px;background:var(--blue-soft);padding:6px 12px;font-size:12px;font-weight:700;color:var(--blue)}
.type-pill{display:inline-flex;margin-top:12px;border-radius:999px;border:1px solid #e2e8f0;padding:6px 12px;font-size:12px;font-weight:700;color:#5b6470}
.profile-box{margin-top:24px;border-radius:20px;background:var(--surface2);padding:20px}
.profile-box p{margin:12px 0 0;font-size:14px;line-height:1.8;color:#4d5660}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tag{display:inline-flex;border-radius:999px;background:#f3e3e1;padding:8px 12px;font-size:12px;font-weight:700;color:var(--red)}
.note{margin-top:24px;border:1px solid #e2e8f0;border-radius:20px;padding:18px;font-size:14px;line-height:1.8;color:#5f6972}
.page-intro{max-width:760px}
.page-grid{display:grid;gap:24px}
.image-help{margin-top:20px;padding:18px;border-radius:20px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:14px;line-height:1.7}
.small-muted{font-size:14px;color:#6b7280}
@media (max-width:1100px){
  .hero-grid,.grid-2,.info-grid,.contact-grid,.candidate-layout{grid-template-columns:1fr}
  .profile-card{position:static}
  .value-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:800px){
  .desktop-nav,.desktop-contact{display:none}
  .mobile-nav{display:flex}
  .hero-grid,.candidate-grid,.team-grid,.form-grid,.legal-grid,.two-col-cards,.value-grid,.info-grid{grid-template-columns:1fr}
  .logo-wrap{height:84px;padding:0 18px}
  .logo-wrap img{height:66px}
  .lead{font-size:18px}
}

.post-list{display:grid;gap:24px;margin-top:32px}
.post-card{background:#fff;border-radius:24px;padding:28px;box-shadow:var(--shadow)}
.post-date{font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--blue)}
.post-card h2{margin-top:10px}
.post-card p{font-size:15px;line-height:1.85;color:#4b5563}
.post-card img{width:100%;max-width:720px;height:auto;border-radius:20px;display:block;margin:18px 0}
.inline-link{color:var(--red);font-weight:700}


.homepage-hero{padding:34px 0 28px}
.homepage-hero .container{max-width:1180px;margin:0 auto;padding:0 24px}
.homepage-hero-frame{
  position:relative;
  min-height:560px;
  overflow:hidden;
  border-radius:32px;
  box-shadow:var(--shadow);
  background:#0e3a62;
}
.homepage-hero-frame::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url('../images/startbanner-team.png');
  background-size:cover;
  background-position:center top;
}
.homepage-hero-frame::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(7,38,71,.72) 0%, rgba(7,38,71,.52) 22%, rgba(7,38,71,.14) 48%, rgba(7,38,71,0) 74%),
    linear-gradient(0deg, rgba(7,38,71,.86) 0%, rgba(7,38,71,.58) 12%, rgba(7,38,71,.22) 22%, rgba(7,38,71,0) 28%);
}
.homepage-hero-inner{
  position:relative;
  z-index:2;
  min-height:560px;
  display:flex;
  align-items:flex-end;
  padding:48px 54px;
}
.homepage-hero-copy{
  max-width:760px;
  color:#fff;
}
.homepage-hero-copy h1{
  margin:0;
  color:#fff;
  font-size:clamp(54px,6.8vw,86px);
  line-height:1.02;
}
.homepage-hero-lead{
  margin:16px 0 0;
  color:#eef6f8;
  font-size:22px;
  line-height:1.55;
}
.homepage-hero-sub{
  margin-top:24px;
  color:#e0ebf1;
  font-size:18px;
  line-height:1.7;
}
.homepage-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:30px;
}
.homepage-hero-actions .btn-primary{
  padding:16px 24px;
}
.homepage-hero-actions .btn-secondary{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.92);
  padding:16px 24px;
}
.homepage-hero-actions .btn-secondary:hover{
  background:rgba(255,255,255,.08);
  transform:translateY(-2px);
}
.homepage-feature-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:24px;
}
.homepage-feature-card{
  background:#fff;
  border-radius:24px;
  padding:30px 30px 26px;
  box-shadow:var(--shadow);
}

.homepage-feature-card h3{
  margin:0 0 10px;
  font-size:22px;
  color:#16324f;
}
.homepage-feature-card p{
  margin:0;
  color:#4b5563;
  font-size:15px;
  line-height:1.85;
}
.homepage-feature-link{
  display:inline-block;
  margin-top:20px;
  color:#b32627;
  font-weight:700;
  font-size:15px;
}
@media (max-width: 1100px){
  .homepage-hero-frame,.homepage-hero-inner{min-height:520px}
  .homepage-hero-inner{padding:40px 34px}
}
@media (max-width: 900px){
  .homepage-feature-grid{grid-template-columns:1fr}
  .homepage-hero-frame,.homepage-hero-inner{min-height:460px}
  .homepage-hero-copy h1{font-size:clamp(42px,11vw,66px)}
  .homepage-hero-lead{font-size:18px}
  .homepage-hero-sub{font-size:16px}
  .homepage-hero-inner{padding:30px 22px}
}
  .homepage-hero-frame,.homepage-hero-inner{min-height:520px}
  .homepage-hero-copy h1{font-size:clamp(42px,11vw,66px)}
  .homepage-hero-lead{font-size:18px}
  .homepage-hero-sub{font-size:16px}
  .homepage-hero-inner{padding:34px 24px}
}

.vortrag-info-box{
  margin-top:40px;
  background:#ffffff;
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
}
.vortrag-info-grid{
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:24px;
  align-items:center;
}
.vortrag-info-text p{
  margin:0 0 12px;
  font-size:16px;
  line-height:1.7;
}
.vortrag-info-link{
  color:#b32627;
  font-weight:700;
}
.vortrag-qr{
  text-align:center;
}
.vortrag-qr img{
  width:160px;
}
.vortrag-qr small{
  display:block;
  margin-top:10px;
  color:#6b7280;
  font-size:13px;
}
@media (max-width:900px){
  .vortrag-info-grid{
    grid-template-columns:1fr;
    text-align:left;
  }
  .vortrag-qr{
    margin-top:10px;
  }
}

.values-grid{
  margin-bottom:28px;
}

.values-grid{
  margin-bottom:50px !important;
}

.section-two-columns{
  margin-top:20px;
}


/* spacing between value cards and next section */
.values-grid{
  margin-bottom: 60px !important;
}

/* ensure next section also has breathing room */
.section-two-columns{
  margin-top: 10px;
}


.team-link{color:inherit;transition:.2s;display:block}
.team-link:hover{transform:translateY(-2px)}
.team-link span{display:block;margin-top:12px;color:var(--red);font-size:14px;font-weight:700}
.list-table-wrap{margin-top:28px;overflow:auto;background:#fff;border-radius:24px;box-shadow:var(--shadow);border:1px solid #e5e7eb}
.list-table{width:100%;border-collapse:collapse;min-width:680px}
.list-table th,.list-table td{padding:14px 18px;text-align:left;border-bottom:1px solid #edf0f2;vertical-align:top}
.list-table th{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);background:#f8fafc}
.list-table td:first-child{font-weight:800;color:var(--red);width:90px}
.list-table tr:last-child td{border-bottom:none}

/* Instagram-Verknüpfung */
.header-actions{display:flex;align-items:center;gap:12px}
.social-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;border:1px solid #e2e8f0;background:#fff;color:var(--red);box-shadow:0 4px 14px rgba(20,32,45,.06);transition:.2s}
.social-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.social-icon:hover{background:var(--red);color:#fff;border-color:var(--red);transform:translateY(-2px)}
.mobile-social-link{display:inline-flex !important;align-items:center;gap:7px;color:var(--red) !important}
.mobile-social-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.footer-social-link{display:inline-flex;align-items:center;gap:7px;color:var(--red)}
.footer-social-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.footer-social-link:hover{color:var(--red-dark)}

/* Responsive Optimierung v1.3.0: Desktop, Tablet, Smartphone */
img, svg, video, canvas { max-width: 100%; height: auto; }
main { overflow-x: hidden; }

@media (min-width: 1101px) {
  .desktop-nav { align-items:center; justify-content:flex-end; }
  .header-actions { flex:0 0 auto; }
}

@media (max-width: 1180px) {
  .container { max-width: 100%; padding-left: 22px; padding-right: 22px; }
  .desktop-nav { gap: 14px; }
  .nav-link { font-size: 13px; }
  .logo-wrap { height: 86px; padding: 0 18px; }
  .logo-wrap img { height: 68px; }
  .contact-btn { padding: 10px 14px; }
  .social-icon { width: 40px; height: 40px; }
  .homepage-hero-frame,
  .homepage-hero-inner { min-height: 520px; }
}

@media (max-width: 1024px) {
  .header-row { gap: 16px; padding: 12px 0 10px; }
  .desktop-nav,
  .desktop-contact { display: none; }
  .mobile-nav { display: flex; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .mobile-nav::after { content: ''; flex: 0 0 1px; }
  .hero-grid,
  .grid-2,
  .info-grid,
  .contact-grid,
  .candidate-layout,
  .vortrag-info-grid { grid-template-columns: 1fr !important; }
  .team-grid,
  .homepage-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 44px !important; }
  .section { padding: 52px 0; }
  .hero-grid { padding: 48px 0 68px; }
  .profile-card { position: static; }
  .homepage-hero { padding: 24px 0; }
  .homepage-hero-inner { padding: 38px 30px; }
  .homepage-hero-copy { max-width: 680px; }
  .homepage-hero-copy h1 { font-size: clamp(44px, 8vw, 68px); }
  .homepage-hero-lead { font-size: 20px; }
  .post-card,
  .panel,
  .legal-card,
  .form-card,
  .vortrag-info-box { padding: 24px; }
}

@media (max-width: 760px) {
  :root { --radius: 20px; }
  .container,
  .homepage-hero .container { padding-left: 16px; padding-right: 16px; }
  header { position: sticky; }
  .header-row { align-items: center; }
  .logo-wrap { height: 70px; padding: 0 12px; border-radius: 16px; }
  .logo-wrap img { height: 54px; }
  .header-actions { gap: 8px; }
  .social-icon { width: 38px; height: 38px; border-radius: 13px; }
  .mobile-nav { gap: 8px; padding: 10px 0 12px; margin-left: -2px; margin-right: -2px; }
  .mobile-nav .nav-link { padding: 9px 12px; font-size: 13px; }
  h1 { font-size: clamp(34px, 10vw, 48px); line-height: 1.08; }
  h2 { font-size: clamp(26px, 8vw, 36px); }
  .lead { font-size: 17px; line-height: 1.65; margin-top: 18px; }
  .badge { font-size: 12px; padding: 8px 12px; }
  .section { padding: 42px 0; }
  .hero-grid { padding: 40px 0 52px; gap: 18px; }
  .actions,
  .homepage-hero-actions { gap: 10px; }
  .btn,
  .homepage-hero-actions .btn-primary,
  .homepage-hero-actions .btn-secondary { width: 100%; padding: 14px 16px; text-align: center; }
  .team-grid,
  .candidate-grid,
  .homepage-feature-grid,
  .form-grid,
  .legal-grid,
  .two-col-cards,
  .value-grid,
  .info-grid { grid-template-columns: 1fr !important; }
  .team-card,
  .candidate-card,
  .homepage-feature-card,
  .lecture-card,
  .info-card,
  .value-card,
  .post-card,
  .panel,
  .legal-card,
  .form-card,
  .vortrag-info-box,
  .contact-box { padding: 20px; }
  .candidate-head { gap: 12px; }
  .candidate-thumb { width: 64px; height: 64px; border-radius: 15px; }
  .candidate-meta h3 { font-size: 19px; }
  .candidate-card p { font-size: 14px; line-height: 1.7; }
  .profile-top { flex-direction: column; gap: 14px; }
  .profile-top img { width: 96px; height: 96px; border-radius: 20px; }
  .homepage-hero-frame { border-radius: 24px; min-height: 520px; }
  .homepage-hero-frame::before { background-position: 58% top; }
  .homepage-hero-frame::after {
    background:
      linear-gradient(0deg, rgba(7,38,71,.90) 0%, rgba(7,38,71,.74) 32%, rgba(7,38,71,.28) 60%, rgba(7,38,71,.08) 100%);
  }
  .homepage-hero-inner { min-height: 520px; padding: 28px 20px; align-items: flex-end; }
  .homepage-hero-copy h1 { font-size: clamp(38px, 11vw, 54px); }
  .homepage-hero-lead { font-size: 17px; line-height: 1.55; }
  .homepage-hero-sub { font-size: 15px; line-height: 1.65; }
  .list-table-wrap { border-radius: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .list-table { min-width: 620px; font-size: 14px; }
  .list-table th,
  .list-table td { padding: 12px 14px; }
  .footer-row { align-items: flex-start; flex-direction: column; padding: 24px 0; }
  .footer-links { gap: 12px 16px; }
}

@media (max-width: 520px) {
  .container,
  .homepage-hero .container { padding-left: 14px; padding-right: 14px; }
  .header-row { gap: 10px; }
  .logo-wrap { height: 60px; padding: 0 9px; max-width: calc(100vw - 74px); }
  .logo-wrap img { height: 45px; }
  .social-icon-header { width: 36px; height: 36px; }
  .mobile-nav { padding-bottom: 10px; }
  h1 { font-size: clamp(31px, 11vw, 42px); }
  h2 { font-size: clamp(24px, 8vw, 32px); }
  .section { padding: 34px 0; }
  .homepage-hero { padding: 16px 0 20px; }
  .homepage-hero-frame,
  .homepage-hero-inner { min-height: 500px; }
  .homepage-hero-inner { padding: 24px 16px; }
  .homepage-hero-copy h1 { font-size: clamp(34px, 12vw, 46px); }
  .homepage-hero-lead { font-size: 16px; }
  .homepage-hero-sub { font-size: 14px; margin-top: 16px; }
  .candidate-head { align-items: center; }
  .rank { letter-spacing: .11em; }
  .lecture-card h3 { font-size: 17px; }
  .form-card input,
  .form-card textarea { padding: 13px 14px; border-radius: 14px; }
  .footer-links { flex-direction: column; gap: 10px; }
}

/* v1.5: editor-friendly posts */
.vtas-posts-section { background: #f7f8f9; }
.single-post-card { max-width: 920px; margin: 0 auto; }
.single-post-card .post-content { margin-top: 22px; line-height: 1.75; }
.single-post-card img, .post-card img { max-width: 100%; height: auto; border-radius: 18px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }


/* v1.6: Smartphone-Menü als ausklappbares Hamburger-Menü */
.mobile-menu-toggle{
  display:none;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  border:1px solid #d8dee6;
  border-radius:14px;
  background:#fff;
  color:#16202a;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(20,32,45,.06);
}
.mobile-menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .2s ease, opacity .2s ease;
}
.mobile-menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.mobile-menu-toggle.is-open span:nth-child(2){opacity:0}
.mobile-menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width:1024px){
  .desktop-nav,
  .desktop-contact{display:none !important}
  .header-row{position:relative;gap:12px;padding:10px 0;min-height:82px}
  .logo-wrap{margin:0 auto;box-shadow:none;border:0;background:transparent;padding:0;height:72px;max-width:calc(100vw - 132px)}
  .logo-wrap img{height:64px;max-width:100%;object-fit:contain}
  .header-actions{position:absolute;right:0;top:50%;transform:translateY(-50%);gap:8px}
  .mobile-menu-toggle{display:inline-flex;order:2}
  .social-icon-header{display:inline-flex;order:1}
  .mobile-nav{display:none !important;overflow:visible;padding:8px 0 14px;margin:0;gap:0;flex-direction:column;border-top:1px solid var(--line);background:rgba(252,251,248,.98)}
  .mobile-nav.is-open{display:flex !important}
  .mobile-nav .nav-link{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;padding:15px 4px;color:#16202a;font-size:16px;font-weight:500;white-space:normal}
  .mobile-nav .nav-link.active{color:var(--red);font-weight:800}
  .mobile-nav .nav-link:last-child{border-bottom:0}
  .mobile-social-link{justify-content:flex-start !important;gap:9px;color:var(--red) !important}
}
@media (max-width:760px){
  .header-row{min-height:78px}
  .logo-wrap{height:66px;max-width:calc(100vw - 124px)}
  .logo-wrap img{height:58px}
  .mobile-menu-toggle{width:42px;height:42px;border-radius:13px}
  .social-icon-header{width:42px;height:42px;border-radius:13px}
}
@media (max-width:520px){
  .header-row{min-height:70px;justify-content:center}
  .logo-wrap{height:62px;max-width:calc(100vw - 112px)}
  .logo-wrap img{height:54px}
  .mobile-menu-toggle{width:40px;height:40px;border-radius:12px}
  .mobile-menu-toggle span{width:21px}
  .social-icon-header{width:40px;height:40px;border-radius:12px}
  .mobile-nav .nav-link{font-size:15.5px;padding:14px 2px}
}
@media (max-width:390px){
  .social-icon-header{display:none}
  .logo-wrap{max-width:calc(100vw - 64px)}
  .logo-wrap img{height:50px}
}


/* WordPress editable menu compatibility */
.desktop-nav .menu,
.mobile-nav .menu{list-style:none;margin:0;padding:0;display:contents}
.desktop-nav .menu-item,
.mobile-nav .menu-item{list-style:none;margin:0;padding:0}
.desktop-nav .current-menu-item > a,
.mobile-nav .current-menu-item > a{color:var(--red);font-weight:800}
.wp-block-button.btn .wp-block-button__link,
.wp-block-button.btn-primary .wp-block-button__link{background:var(--red);color:#fff;border-radius:999px;font-weight:800;padding:12px 18px}
.wp-block-button.btn-secondary .wp-block-button__link{background:#fff;color:var(--blue);border:1px solid var(--line);border-radius:999px;font-weight:800;padding:12px 18px}
.wp-block-group.post-card,.wp-block-group.homepage-feature-card,.wp-block-group.value-card,.wp-block-group.team-card,.wp-block-group.candidate-card{box-sizing:border-box}


/* v2.0: echte Gutenberg-Cover-Startseite */
.homepage-hero-cover{
  position:relative;
  overflow:hidden;
  border-radius:32px;
  box-shadow:var(--shadow);
  padding:0 !important;
}
.homepage-hero-cover .wp-block-cover__image-background{
  object-position:center top;
}
.homepage-hero-cover .wp-block-cover__inner-container{
  width:100%;
  min-height:560px;
  display:flex;
  align-items:flex-end;
  padding:48px 54px;
  z-index:2;
}
.homepage-hero-cover::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  /* Nur ein dezenter Lesbarkeits-Verlauf; das Foto bleibt hell. */
  background:
    linear-gradient(90deg, rgba(7,38,71,.30) 0%, rgba(7,38,71,.18) 26%, rgba(7,38,71,.04) 54%, rgba(7,38,71,0) 78%),
    linear-gradient(0deg, rgba(7,38,71,.36) 0%, rgba(7,38,71,.14) 20%, rgba(7,38,71,0) 42%);
}
.homepage-hero-cover .wp-block-cover__background{
  opacity:0 !important;
}
.homepage-hero-cover .homepage-hero-copy h1,
.homepage-hero-cover .homepage-hero-copy p{
  text-shadow:0 2px 10px rgba(0,0,0,.28);
}
.homepage-hero-copy{
  position:relative;
  z-index:3;
}
.homepage-feature-grid.wp-block-columns{
  align-items:stretch !important;
}
.homepage-feature-grid.wp-block-columns .homepage-feature-card{
  flex-basis:auto !important;
}
@media (max-width: 900px){
  .homepage-hero-cover,
  .homepage-hero-cover .wp-block-cover__inner-container{min-height:460px !important}
  .homepage-hero-cover .wp-block-cover__inner-container{padding:30px 22px}
}


/* v2.5: Sicherheitskorrektur für Seitenbreiten in Gutenberg-Inhalten */
main > .wp-block-group.section > .wp-block-group {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
main > .wp-block-group.section > .wp-block-group.container {
  max-width: 1180px;
}
@media (max-width:1180px){
  main > .wp-block-group.section > .wp-block-group {
    max-width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (max-width:760px){
  main > .wp-block-group.section > .wp-block-group {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width:520px){
  main > .wp-block-group.section > .wp-block-group {
    padding-left: 14px;
    padding-right: 14px;
  }
}
\n\n/* v2.6: Kandidierenden-Karten als echte Gutenberg-Blöcke */\n.candidate-grid.wp-block-group{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px;}\n.candidate-card.wp-block-group{background:#fff;padding:20px;border-radius:24px;text-align:left;box-shadow:var(--shadow);transition:.2s;border:2px solid transparent;}\n.candidate-card.wp-block-group:hover{transform:translateY(-2px)}\n.candidate-card .candidate-head{display:flex !important;gap:16px;align-items:flex-start;margin:0 !important;}\n.candidate-card figure.candidate-thumb{height:80px;width:80px;min-width:80px;margin:0 !important;border-radius:18px;border:1px solid #e2e8f0;overflow:hidden;flex:0 0 auto;}\n.candidate-card figure.candidate-thumb img{width:100%;height:100%;object-fit:cover;display:block;}\n.candidate-card .candidate-meta{margin:0 !important;}\n.candidate-card .rank{margin:0 !important;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue);line-height:1.4;}\n.candidate-card .candidate-meta h3{margin:4px 0 0 !important;font-size:22px;line-height:1.2;color:#16202a;}\n.candidate-card .location{margin:6px 0 0 !important;font-size:14px;color:#6b7280;}\n.candidate-card > p:not(.open-profile){margin:16px 0 0;font-size:14px;line-height:1.8;color:#5f6972;}\n.candidate-card .open-profile{margin:14px 0 0 !important;font-size:14px;font-weight:700;}\n.candidate-card .open-profile a{color:var(--red);text-decoration:none;}\n.candidate-card .open-profile a:hover{text-decoration:underline;}\n@media (max-width:760px){.candidate-grid.wp-block-group{grid-template-columns:1fr !important;}.candidate-card figure.candidate-thumb{width:64px;height:64px;min-width:64px;border-radius:15px;}.candidate-card .candidate-meta h3{font-size:19px;}}\n

/* v2.7: Bildstile für Fokus, Format und quadratische Übersichten */
.wp-block-image.is-style-vtas-square-cover,
.wp-block-image.is-style-vtas-square-contain{aspect-ratio:1/1;overflow:hidden;border-radius:18px;background:#f6f4f1;}
.wp-block-image.is-style-vtas-square-cover img,
.wp-block-image.is-style-vtas-square-contain img{width:100%!important;height:100%!important;display:block;}
.wp-block-image.is-style-vtas-square-cover img{object-fit:cover;}
.wp-block-image.is-style-vtas-square-contain img{object-fit:contain;}
.wp-block-image.is-style-vtas-focus-top img{object-position:center top;object-fit:cover;}
.wp-block-image.is-style-vtas-focus-center img{object-position:center center;object-fit:cover;}
.wp-block-image.is-style-vtas-focus-bottom img{object-position:center bottom;object-fit:cover;}
.candidate-card figure.candidate-thumb,
.candidate-card .wp-block-image.candidate-thumb,
.candidate-grid .candidate-thumb{width:80px!important;height:80px!important;min-width:80px!important;aspect-ratio:1/1!important;overflow:hidden!important;border-radius:18px;flex:0 0 80px!important;}
.candidate-card figure.candidate-thumb img,
.candidate-card .wp-block-image.candidate-thumb img,
.candidate-grid .candidate-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center;display:block;}
@media (max-width:760px){.candidate-card figure.candidate-thumb,.candidate-card .wp-block-image.candidate-thumb,.candidate-grid .candidate-thumb{width:64px!important;height:64px!important;min-width:64px!important;flex-basis:64px!important;border-radius:15px;}}
.wp-block-cover.is-style-vtas-hero-panorama{min-height:420px!important;}
.wp-block-cover.is-style-vtas-hero-panorama .wp-block-cover__image-background{object-fit:cover;object-position:center center;}
.wp-block-cover.is-style-vtas-hero-standard{min-height:560px!important;}
.wp-block-cover.is-style-vtas-hero-tall{min-height:680px!important;}
@media (max-width:900px){.wp-block-cover.is-style-vtas-hero-panorama{min-height:340px!important;}.wp-block-cover.is-style-vtas-hero-standard{min-height:460px!important;}.wp-block-cover.is-style-vtas-hero-tall{min-height:560px!important;}}


/* v2.8: Kandidierenden-Karten gleich hoch */
.candidate-grid,
.candidate-grid.wp-block-group{align-items:stretch;}
.candidate-grid > .candidate-card,
.candidate-grid.wp-block-group > .candidate-card.wp-block-group{height:100%;}
.candidate-card,
.candidate-card.wp-block-group{display:flex;flex-direction:column;height:100%;}
.candidate-card .open-profile,
.candidate-card.wp-block-group .open-profile{margin-top:auto !important;}


/* v2.9: Fokuspunktfähige Kandidierendenbilder + echte gleiche Kartenhöhen */
.candidate-grid,
.candidate-grid.wp-block-group{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-auto-rows:1fr;
  align-items:stretch !important;
}
.candidate-grid > .candidate-card,
.candidate-grid.wp-block-group > .candidate-card.wp-block-group{
  height:100% !important;
  min-height:250px;
  display:flex !important;
  flex-direction:column !important;
}
.candidate-card .open-profile,
.candidate-card.wp-block-group .open-profile{
  margin-top:auto !important;
  padding-top:18px;
}
.candidate-card .candidate-head{
  flex:0 0 auto;
}
.candidate-card > p:not(.open-profile){
  flex:0 0 auto;
}
.candidate-card .wp-block-cover.candidate-thumb{
  width:80px !important;
  height:80px !important;
  min-width:80px !important;
  min-height:80px !important;
  flex:0 0 80px !important;
  padding:0 !important;
  border-radius:18px !important;
  border:1px solid #e2e8f0;
  overflow:hidden;
  background:#f6f4f1;
  margin:0 !important;
}
.candidate-card .wp-block-cover.candidate-thumb .wp-block-cover__inner-container{display:none;}
.candidate-card .wp-block-cover.candidate-thumb .wp-block-cover__image-background{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center;
}
.candidate-card .wp-block-cover.candidate-thumb .wp-block-cover__background{opacity:0 !important;}
@media (max-width:760px){
  .candidate-grid,
  .candidate-grid.wp-block-group{grid-template-columns:1fr !important;grid-auto-rows:auto;}
  .candidate-grid > .candidate-card,
  .candidate-grid.wp-block-group > .candidate-card.wp-block-group{min-height:0;}
  .candidate-card .wp-block-cover.candidate-thumb{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;flex-basis:64px!important;border-radius:15px!important;}
}


/* v3.0: mobile cards consistent width + candidate cards equal height */
.candidate-grid,
.candidate-grid.wp-block-group{
  align-items:stretch !important;
  grid-auto-rows:1fr;
}
.candidate-grid > .candidate-card,
.candidate-grid.wp-block-group > .candidate-card.wp-block-group{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  height:100% !important;
  align-self:stretch;
}
.candidate-card,
.candidate-card.wp-block-group{
  display:grid !important;
  grid-template-rows:auto 1fr auto;
  align-content:start;
}
.candidate-card > .open-profile,
.candidate-card.wp-block-group > .open-profile{
  margin-top:auto !important;
}

@media (max-width:760px){
  html, body { overflow-x:hidden; }
  .value-grid,
  .info-grid,
  .two-col-cards,
  .homepage-feature-grid,
  .team-grid,
  .candidate-grid,
  .vortrag-info-grid {
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  .value-grid > *,
  .info-grid > *,
  .two-col-cards > *,
  .homepage-feature-grid > *,
  .team-grid > *,
  .candidate-grid > *,
  .vortrag-info-grid > * {
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    justify-self:stretch !important;
    box-sizing:border-box;
  }
  .value-card,
  .info-card,
  .homepage-feature-card,
  .team-card,
  .candidate-card,
  .vortrag-info-box {
    width:100% !important;
    max-width:none !important;
  }
}


/* v3.1: Werte-Kacheln sauber an Containerbreite anpassen */
.value-grid,
.value-grid.wp-block-group{
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  width:100%;
  max-width:100%;
  align-items:stretch;
}
.value-grid > *,
.value-grid.wp-block-group > *{
  min-width:0 !important;
  max-width:100% !important;
  width:100% !important;
  box-sizing:border-box;
}
.value-card,
.value-card.wp-block-group{
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
}
.value-card p{
  margin:0;
  max-width:100%;
  overflow-wrap:anywhere;
  hyphens:auto;
}
@media (max-width:1100px){
  .value-grid,
  .value-grid.wp-block-group{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;}
}
@media (max-width:760px){
  .value-grid,
  .value-grid.wp-block-group{grid-template-columns:1fr !important;}
}


/* v3.2: Weniger Leerraum in Kandidierenden-Karten zwischen Beschreibung und Link */
.candidate-card,
.candidate-card.wp-block-group{
  display:flex !important;
  flex-direction:column;
  align-content:stretch;
}
.candidate-card > p:not(.open-profile),
.candidate-card.wp-block-group > p:not(.open-profile){
  margin:16px 0 10px !important;
  flex:0 0 auto;
}
.candidate-card > .open-profile,
.candidate-card.wp-block-group > .open-profile{
  margin-top:6px !important;
  padding-top:0 !important;
}


/* v3.3: Kandidierenden-Karten kompakter + Hover-Effekt für Profil-Link */
.candidate-grid,
.candidate-grid.wp-block-group{
  grid-auto-rows:auto !important;
}
.candidate-grid > .candidate-card,
.candidate-grid.wp-block-group > .candidate-card.wp-block-group{
  min-height:0 !important;
}
.candidate-card,
.candidate-card.wp-block-group{
  padding:18px 20px 16px !important;
}
.candidate-card > p:not(.open-profile),
.candidate-card.wp-block-group > p:not(.open-profile){
  margin:14px 0 10px !important;
}
.candidate-card > .open-profile,
.candidate-card.wp-block-group > .open-profile{
  margin-top:auto !important;
  padding-top:10px !important;
  margin-bottom:0 !important;
}
.candidate-card .open-profile a,
.candidate-card.wp-block-group .open-profile a{
  color:#5f6972 !important;
  text-decoration:none;
  transition:color .2s ease, transform .2s ease;
  display:inline-block;
}
.candidate-card .open-profile a:hover,
.candidate-card.wp-block-group .open-profile a:hover,
.candidate-card .open-profile a:focus-visible,
.candidate-card.wp-block-group .open-profile a:focus-visible{
  color:var(--red) !important;
  text-decoration:underline;
  transform:translateX(2px);
}


/* v3.5: Kontaktseite an helle Seitengestaltung angleichen */
.contact-section{
  background:transparent !important;
  color:#16202a !important;
}
.contact-section .lead,
.contact-section p{
  color:#5f6972;
}
.contact-section .kicker{
  color:var(--blue);
}
.contact-section h1,
.contact-section h2,
.contact-section h3{
  color:#16202a;
}
.contact-box{
  background:#fff !important;
  color:#16202a !important;
  border:1px solid #e5e7eb;
  box-shadow:var(--shadow);
  backdrop-filter:none !important;
}
.contact-box p{
  color:#4b5563;
}


/* v3.6: Startseiten-Hero-Buttons näher an der Vorlage */
.homepage-hero-actions{
  gap:18px;
  align-items:center;
}
.homepage-hero-actions .wp-block-button.btn,
.homepage-hero-actions .btn{
  margin:0;
}
.homepage-hero-actions .wp-block-button.btn .wp-block-button__link,
.homepage-hero-actions .wp-block-button.btn-primary .wp-block-button__link,
.homepage-hero-actions .btn-primary{
  background:var(--red) !important;
  color:#fff !important;
  border:2px solid var(--red) !important;
  border-radius:20px !important;
  padding:18px 28px !important;
  min-height:58px;
  min-width:210px;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
  box-shadow:none !important;
  text-decoration:none;
}
.homepage-hero-actions .wp-block-button.btn-secondary .wp-block-button__link,
.homepage-hero-actions .btn-secondary{
  background:transparent !important;
  color:#fff !important;
  border:2px solid rgba(255,255,255,.96) !important;
  border-radius:20px !important;
  padding:18px 28px !important;
  min-height:58px;
  min-width:210px;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
  box-shadow:none !important;
  text-decoration:none;
}
.homepage-hero-actions .wp-block-button.btn-primary .wp-block-button__link:hover,
.homepage-hero-actions .btn-primary:hover{
  background:var(--red-dark) !important;
  border-color:var(--red-dark) !important;
  transform:translateY(-1px);
}
.homepage-hero-actions .wp-block-button.btn-secondary .wp-block-button__link:hover,
.homepage-hero-actions .btn-secondary:hover{
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  border-color:#fff !important;
  transform:translateY(-1px);
}
@media (max-width:760px){
  .homepage-hero-actions .wp-block-button.btn .wp-block-button__link,
  .homepage-hero-actions .wp-block-button.btn-primary .wp-block-button__link,
  .homepage-hero-actions .wp-block-button.btn-secondary .wp-block-button__link,
  .homepage-hero-actions .btn-primary,
  .homepage-hero-actions .btn-secondary{
    min-width:0;
    width:100%;
    padding:16px 18px !important;
    border-radius:18px !important;
  }
}


/* v3.7: Kandidierenden-Profilseiten – großes fokussierbares Profilbild */
.profile-image-card{
  padding:0 !important;
  overflow:hidden;
}
.profile-image-cover{
  width:100%;
  min-height:360px !important;
  border-radius:28px;
  overflow:hidden;
  padding:0 !important;
  background:#f6f4f1;
}
.profile-image-cover .wp-block-cover__inner-container{
  display:none;
}
.profile-image-cover .wp-block-cover__background{
  opacity:0 !important;
}
.profile-image-cover .wp-block-cover__image-background{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center;
}
@media (max-width:1100px){
  .profile-image-cover{min-height:420px !important;}
}
@media (max-width:760px){
  .profile-image-cover{min-height:340px !important;border-radius:24px;}
}


/* v3.8: Kandidierenden-Profilbilder endgültig als große fokussierbare Cover-Karte */
.profile-card.profile-image-card{
  padding:0 !important;
  overflow:hidden !important;
  background:#fff;
  border-radius:28px;
  box-shadow:var(--shadow);
}
.profile-card.profile-image-card .profile-top,
.profile-card.profile-image-card .pill,
.profile-card.profile-image-card .type-pill,
.profile-card.profile-image-card h3,
.profile-card.profile-image-card p:not(.has-background){
  display:none !important;
}
.profile-card.profile-image-card .profile-image-cover{
  width:100% !important;
  min-height:420px !important;
  border-radius:28px !important;
  margin:0 !important;
}
.profile-card.profile-image-card .profile-image-cover .wp-block-cover__image-background{
  object-fit:cover !important;
  object-position:center center;
}
@media (max-width:1100px){
  .profile-card.profile-image-card .profile-image-cover{min-height:520px !important;}
}
@media (max-width:760px){
  .profile-card.profile-image-card .profile-image-cover{min-height:380px !important;border-radius:24px !important;}
}


/* v3.9: Neue Kandidierenden-Profilseiten */
.candidate-profile-modern .candidate-profile-grid{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);
  gap:42px;
  align-items:start;
}
.candidate-profile-main{min-width:0;}
.profile-text-card{padding:30px;border-radius:28px;background:#fff;box-shadow:var(--shadow);}
.profile-text-card p{font-size:15px;line-height:1.85;color:#374151;}
.profile-separator{border:0;border-top:1px solid #ece7e1;margin:24px 0 !important;}
.profile-focus-block{margin-top:26px;}
.profile-portrait-card{
  position:sticky;
  top:130px;
  background:#fff;
  padding:18px;
  border-radius:32px;
  box-shadow:var(--shadow);
}
.profile-portrait-cover{
  overflow:hidden;
  border-radius:28px !important;
  box-shadow:none;
  padding:0 !important;
}
.profile-portrait-cover .wp-block-cover__inner-container{display:none;}
.profile-portrait-cover .wp-block-cover__background{opacity:0 !important;}
.profile-portrait-cover .wp-block-cover__image-background{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center top;
}
@media (max-width:1000px){
  .candidate-profile-modern .candidate-profile-grid{grid-template-columns:1fr;gap:28px;}
  .profile-portrait-card{position:static;max-width:560px;}
  .profile-portrait-cover{min-height:460px !important;}
}
@media (max-width:760px){
  .profile-text-card{padding:22px;border-radius:24px;}
  .profile-portrait-card{padding:14px;border-radius:26px;}
  .profile-portrait-cover{min-height:390px !important;border-radius:22px !important;}
}


/* v4.0: Kandidierendenprofile mobil/inhaltlich optimiert */
.candidate-profile-modern .candidate-profile-grid{
  grid-template-columns:minmax(0, 1fr) !important;
  max-width:980px;
}
.candidate-profile-main{width:100%;}
.profile-portrait-card{display:none !important;}
.profile-text-card{overflow:hidden;}
.profile-inline-portrait{
  float:right;
  width:230px !important;
  min-width:230px !important;
  max-width:42%;
  min-height:300px !important;
  margin:0 0 18px 28px !important;
  padding:0 !important;
  border-radius:24px !important;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(20,32,45,.10);
}
.profile-inline-portrait .wp-block-cover__inner-container{display:none;}
.profile-inline-portrait .wp-block-cover__background{opacity:0 !important;}
.profile-inline-portrait .wp-block-cover__image-background{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center top;
}
.profile-focus-block{clear:both;}
.profile-actions{clear:both;align-items:center;}
.profile-actions .wp-block-buttons{margin:0;}
@media (max-width:760px){
  .candidate-profile-modern .section,
  .candidate-profile-modern{padding-top:32px;}
  .candidate-profile-modern .candidate-profile-grid{gap:18px;}
  .candidate-profile-modern .page-intro h2{font-size:clamp(30px,9vw,42px);}
  .candidate-profile-modern .page-intro .lead{font-size:17px;line-height:1.5;}
  .profile-text-card{padding:20px;border-radius:24px;}
  .profile-inline-portrait{
    width:124px !important;
    min-width:124px !important;
    max-width:38%;
    min-height:168px !important;
    margin:2px 0 12px 16px !important;
    border-radius:18px !important;
  }
  .profile-text-card p{font-size:14px;line-height:1.75;}
  .profile-separator{margin:18px 0 !important;}
  .profile-focus-block{margin-top:20px;}
  .tags{gap:8px;align-items:flex-start;}
  .tags p{margin:0 !important;}
  .tag{font-size:12px;padding:7px 10px;}
  .profile-actions{display:grid !important;grid-template-columns:1fr;gap:12px;margin-top:24px;}
  .profile-actions .wp-block-buttons,
  .profile-actions .wp-block-button,
  .profile-actions .wp-block-button__link{width:100%;}
  .profile-actions .wp-block-button__link{text-align:center;}
}
@media (max-width:420px){
  .profile-inline-portrait{
    width:112px !important;
    min-width:112px !important;
    min-height:154px !important;
    margin-left:14px !important;
  }
}


/* v4.2: stabile Profilbilder als Bild-Block statt fehleranfälligem Cover-Block */
figure.profile-inline-portrait.wp-block-image,
.profile-inline-portrait.wp-block-image{
  float:right;
  width:230px !important;
  min-width:230px !important;
  max-width:42%;
  height:300px !important;
  min-height:0 !important;
  margin:0 0 18px 28px !important;
  padding:0 !important;
  border-radius:24px !important;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(20,32,45,.10);
  background:#f6f4f1;
}
figure.profile-inline-portrait.wp-block-image img,
.profile-inline-portrait.wp-block-image img{
  width:100% !important;
  height:100% !important;
  display:block;
  object-fit:cover;
  object-position:center top;
  margin:0 !important;
}
@media (max-width:760px){
  figure.profile-inline-portrait.wp-block-image,
  .profile-inline-portrait.wp-block-image{
    width:124px !important;
    min-width:124px !important;
    max-width:38%;
    height:168px !important;
    margin:2px 0 12px 16px !important;
    border-radius:18px !important;
  }
}
@media (max-width:420px){
  figure.profile-inline-portrait.wp-block-image,
  .profile-inline-portrait.wp-block-image{
    width:112px !important;
    min-width:112px !important;
    height:154px !important;
    margin-left:14px !important;
  }
}


/* v4.3: Profilseiten-Buttons aufräumen + Tag-Bereich ordnen */
.profile-focus-block .tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
  align-items:flex-start;
  margin-top:14px;
}
.profile-focus-block .tags p{margin:0 !important;}
.profile-focus-block .tag{
  padding:9px 14px;
  border-radius:999px;
  background:#f5e7e5;
  color:var(--red);
  font-size:12px;
  font-weight:700;
  letter-spacing:.01em;
}
.profile-actions{
  clear:both;
  display:flex !important;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:flex-start;
  margin-top:28px;
}
.profile-actions .wp-block-buttons{
  display:flex;
  margin:0 !important;
  width:auto !important;
}
.profile-actions .wp-block-button{
  width:auto !important;
  margin:0 !important;
}
.profile-actions .wp-block-button__link{
  width:auto !important;
  min-width:168px;
  padding:14px 24px !important;
  border-radius:999px !important;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  transition:transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.profile-actions .wp-block-button.btn-secondary .wp-block-button__link{
  background:#fff !important;
  color:var(--blue) !important;
  border:1px solid #c9d8df !important;
  box-shadow:0 4px 14px rgba(20,32,45,.05) !important;
}
.profile-actions .wp-block-button.btn-secondary .wp-block-button__link:hover,
.profile-actions .wp-block-button.btn-secondary .wp-block-button__link:focus-visible{
  border-color:var(--blue) !important;
  color:var(--blue) !important;
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(20,32,45,.08) !important;
}
.profile-actions .wp-block-button.btn-primary .wp-block-button__link{
  background:var(--red) !important;
  color:#fff !important;
  border:1px solid var(--red) !important;
  box-shadow:0 10px 22px rgba(156,33,38,.16) !important;
}
.profile-actions .wp-block-button.btn-primary .wp-block-button__link:hover,
.profile-actions .wp-block-button.btn-primary .wp-block-button__link:focus-visible{
  background:var(--red-dark) !important;
  border-color:var(--red-dark) !important;
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(127,27,31,.22) !important;
}
@media (max-width:760px){
  .profile-focus-block .tags{gap:10px; margin-top:12px;}
  .profile-focus-block .tag{padding:8px 12px; font-size:12px;}
  .profile-actions{gap:12px; margin-top:24px;}
  .profile-actions .wp-block-buttons,
  .profile-actions .wp-block-button{width:auto !important;}
  .profile-actions .wp-block-button__link{
    width:auto !important;
    min-width:0;
    padding:13px 20px !important;
  }
}
@media (max-width:420px){
  .profile-actions{flex-direction:column; align-items:stretch;}
  .profile-actions .wp-block-buttons,
  .profile-actions .wp-block-button,
  .profile-actions .wp-block-button__link{width:100% !important;}
}


/* v4.4: Schatten als Standard + auswählbare Schatten-Stufen */
:root{
  --shadow-soft:0 6px 18px rgba(20,32,45,.08);
  --shadow-medium:0 12px 28px rgba(20,32,45,.12);
  --shadow-strong:0 18px 38px rgba(20,32,45,.16);
}
/* Standard-Schatten für die wiederkehrenden Website-Elemente */
.card,
.panel,
.logo-wrap,
.social-icon,
.contact-btn,
.homepage-feature-card,
.value-card,
.info-card,
.team-card,
.lecture-card,
.post-card,
.form-card,
.legal-card,
.contact-box,
.candidate-card,
.candidate-card.wp-block-group,
.profile-box,
.profile-text-card,
.profile-inline-portrait,
.profile-actions .wp-block-button__link,
.list-table-wrap,
.vortrag-info-box{
  box-shadow:var(--shadow-soft);
}
.homepage-hero-cover,
.homepage-hero-frame{
  box-shadow:var(--shadow-medium);
}
/* WordPress-Shadow-Preset-Klassen zuverlässig abbilden */
.has-leicht-shadow{box-shadow:var(--shadow-soft) !important;}
.has-mittel-shadow{box-shadow:var(--shadow-medium) !important;}
.has-stark-shadow{box-shadow:var(--shadow-strong) !important;}
.has-kein-schatten-shadow{box-shadow:none !important;}
/* Zusätzliche Stil-Klassen, falls der Editor sie über Block-Stile ausgibt */
.is-style-shadow-soft{box-shadow:var(--shadow-soft) !important;}
.is-style-shadow-medium{box-shadow:var(--shadow-medium) !important;}
.is-style-shadow-strong{box-shadow:var(--shadow-strong) !important;}
.is-style-shadow-none{box-shadow:none !important;}
/* Schatten wirken ruhiger mit vorhandenen Hover-Effekten */
.candidate-card:hover,
.candidate-card.wp-block-group:hover,
.homepage-feature-card:hover,
.team-link:hover .team-card{
  box-shadow:var(--shadow-medium);
}


/* v4.6 – frei positionierbarer Wahl-Sticker als Overlay-Bild */
.homepage-hero-cover .wp-block-cover__inner-container{position:relative;}
.homepage-election-sticker{
  position:absolute;
  left:var(--vtas-sticker-x, 76%);
  top:var(--vtas-sticker-y, 68%);
  width:var(--vtas-sticker-size, 340px);
  max-width:min(42vw, 520px);
  z-index:6;
  display:block;
  transform:translate(-50%, -50%) rotate(var(--vtas-sticker-rotation, -7deg));
  transform-origin:center center;
  transition:transform .2s ease, filter .2s ease;
}
.homepage-election-sticker:hover,
.homepage-election-sticker:focus-visible{
  transform:translate(-50%, -50%) rotate(var(--vtas-sticker-rotation, -7deg)) scale(1.02);
  filter:drop-shadow(0 8px 16px rgba(20,32,45,.18));
}
.homepage-election-sticker__image{
  width:100%;
  height:auto;
  display:block;
}
@media (max-width:900px){
  .homepage-election-sticker{max-width:min(45vw, 330px);}
}
@media (max-width:620px){
  .homepage-election-sticker{
    position:static;
    width:min(var(--vtas-sticker-size, 300px), 78vw);
    max-width:78vw;
    margin:18px 0 0 auto;
    transform:rotate(var(--vtas-sticker-rotation, -7deg));
  }
  .homepage-election-sticker:hover,
  .homepage-election-sticker:focus-visible{transform:rotate(var(--vtas-sticker-rotation, -7deg)) scale(1.02);}
  .homepage-hero-cover .wp-block-cover__inner-container{display:flex;flex-direction:column;}
}


/* v4.7 – Fallback-Fix: Sticker sichtbar über Hero platzieren */
.homepage-hero-cover{position:relative !important; overflow:hidden;}
.homepage-hero-cover > .homepage-election-sticker{position:absolute;}


/* v4.8 – Sticker bleibt beim Mouseover scharf: kein Scale/Filter-Hover */
.homepage-election-sticker{
  transition:opacity .18s ease !important;
  will-change:auto !important;
  backface-visibility:hidden;
}
.homepage-election-sticker:hover,
.homepage-election-sticker:focus-visible{
  transform:translate(-50%, -50%) rotate(var(--vtas-sticker-rotation, -7deg)) !important;
  filter:none !important;
}
@media (max-width:620px){
  .homepage-election-sticker:hover,
  .homepage-election-sticker:focus-visible{
    transform:rotate(var(--vtas-sticker-rotation, -7deg)) !important;
    filter:none !important;
  }
}


/* v4.9: Startseiten-Buttons einheitlicher und weniger klobig */
.homepage-hero-actions{
  gap:14px !important;
  align-items:center !important;
}
.homepage-hero-actions .wp-block-button.btn,
.homepage-hero-actions .wp-block-button.btn-primary,
.homepage-hero-actions .wp-block-button.btn-secondary{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.homepage-hero-actions .wp-block-button__link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:52px !important;
  min-width:220px !important;
  padding:14px 24px !important;
  border-radius:18px !important;
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  text-align:center !important;
  box-shadow:none !important;
  text-decoration:none !important;
  transition:background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
}
.homepage-hero-actions .wp-block-button.btn-primary .wp-block-button__link{
  background:var(--red) !important;
  border:2px solid var(--red) !important;
  color:#fff !important;
}
.homepage-hero-actions .wp-block-button.btn-secondary .wp-block-button__link{
  background:rgba(255,255,255,.08) !important;
  border:2px solid rgba(255,255,255,.92) !important;
  color:#fff !important;
}
.homepage-hero-actions .wp-block-button.btn-primary .wp-block-button__link:hover,
.homepage-hero-actions .wp-block-button.btn-primary .wp-block-button__link:focus-visible{
  background:var(--red-dark) !important;
  border-color:var(--red-dark) !important;
  transform:translateY(-1px);
}
.homepage-hero-actions .wp-block-button.btn-secondary .wp-block-button__link:hover,
.homepage-hero-actions .wp-block-button.btn-secondary .wp-block-button__link:focus-visible{
  background:rgba(255,255,255,.16) !important;
  border-color:#fff !important;
  color:#fff !important;
  transform:translateY(-1px);
}
@media (max-width:760px){
  .homepage-hero-actions{gap:10px !important;}
  .homepage-hero-actions .wp-block-button,
  .homepage-hero-actions .wp-block-button__link{
    width:100% !important;
    min-width:0 !important;
  }
  .homepage-hero-actions .wp-block-button__link{
    min-height:50px !important;
    padding:13px 18px !important;
    border-radius:16px !important;
  }
}


/* v5.0: Profilseiten-Buttons analog zur Startseite vereinheitlicht */
.profile-actions{
  gap:14px !important;
  align-items:center !important;
  display:flex !important;
  flex-wrap:wrap !important;
  margin-top:28px !important;
}
.profile-actions .wp-block-buttons,
.profile-actions .wp-block-button.btn,
.profile-actions .wp-block-button.btn-primary,
.profile-actions .wp-block-button.btn-secondary{
  margin:0 !important;
  padding:0 !important;
  width:auto !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.profile-actions .wp-block-button__link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:52px !important;
  min-width:180px !important;
  padding:14px 24px !important;
  border-radius:18px !important;
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  text-align:center !important;
  box-shadow:none !important;
  text-decoration:none !important;
  transition:background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
}
.profile-actions .wp-block-button.btn-primary .wp-block-button__link{
  background:var(--red) !important;
  border:2px solid var(--red) !important;
  color:#fff !important;
}
.profile-actions .wp-block-button.btn-secondary .wp-block-button__link{
  background:#fff !important;
  border:2px solid #c9d8df !important;
  color:var(--blue) !important;
}
.profile-actions .wp-block-button.btn-primary .wp-block-button__link:hover,
.profile-actions .wp-block-button.btn-primary .wp-block-button__link:focus-visible{
  background:var(--red-dark) !important;
  border-color:var(--red-dark) !important;
  color:#fff !important;
  transform:translateY(-1px);
}
.profile-actions .wp-block-button.btn-secondary .wp-block-button__link:hover,
.profile-actions .wp-block-button.btn-secondary .wp-block-button__link:focus-visible{
  background:#f8fbfc !important;
  border-color:var(--blue) !important;
  color:var(--blue) !important;
  transform:translateY(-1px);
}
@media (max-width:760px){
  .profile-actions{gap:10px !important;}
  .profile-actions .wp-block-buttons,
  .profile-actions .wp-block-button,
  .profile-actions .wp-block-button__link{
    width:100% !important;
    min-width:0 !important;
  }
  .profile-actions .wp-block-button__link{
    min-height:50px !important;
    padding:13px 18px !important;
    border-radius:16px !important;
  }
}


/* v5.1: Aktuelles-Designs, Datum, Vorlagen und Bild-/Slider-Styles */
.post-list{gap:24px;}
.post-list-featured{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;}
.post-list-featured .post-card-large{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:0;align-items:stretch;overflow:hidden;}
.post-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;}
.post-list-compact{display:grid;grid-template-columns:1fr;gap:16px;}
.post-card{overflow:hidden;border:1px solid rgba(221,215,208,.85);}
.post-card h2{font-size:clamp(22px,2.4vw,32px);line-height:1.18;margin:10px 0 0;}
.post-card h2 a{color:#16202a;text-decoration:none;transition:color .18s ease;}
.post-card h2 a:hover{color:var(--red);}
.post-card-content{padding:0;}
.post-card-image{display:block;margin:-28px -28px 20px;overflow:hidden;background:#e9eef1;}
.post-card-image img{display:block;width:100%;height:260px;object-fit:cover;margin:0;border-radius:0;max-width:none;transition:transform .25s ease;}
.post-card:hover .post-card-image img{transform:scale(1.025);}
.post-card-large .post-card-image{margin:0;}
.post-card-large .post-card-image img{height:100%;min-height:360px;}
.post-card-large .post-card-content{padding:34px;}
.post-card-large .post-date{font-size:14px;}
.post-card-large h2{font-size:clamp(32px,4vw,48px);}
.post-card-grid{display:flex;flex-direction:column;height:100%;}
.post-card-grid .post-card-content{display:flex;flex-direction:column;flex:1;}
.post-card-grid .post-read-more{margin-top:auto;display:inline-flex;}
.post-list-compact .post-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:0;padding:0;}
.post-list-compact .post-card-image{margin:0;}
.post-list-compact .post-card-image img{height:100%;min-height:170px;}
.post-list-compact .post-card-content{padding:24px;}
.post-list-compact .post-card:not(:has(.post-card-image)){grid-template-columns:1fr;}
.post-date{display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:var(--blue-soft);color:var(--blue);padding:7px 11px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.vtas-template-slider,
.wp-block-group.is-style-vtas-image-slider,
.wp-block-gallery.is-style-vtas-slider{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 4px 18px;margin:24px 0;-webkit-overflow-scrolling:touch;}
.vtas-template-slider > *,
.wp-block-group.is-style-vtas-image-slider > *,
.wp-block-gallery.is-style-vtas-slider > *{flex:0 0 min(78vw,520px);scroll-snap-align:start;margin:0 !important;}
.vtas-template-slider img,
.wp-block-group.is-style-vtas-image-slider img,
.wp-block-gallery.is-style-vtas-slider img{width:100%;height:320px;object-fit:cover;border-radius:24px;box-shadow:var(--shadow);display:block;}
.wp-block-group.is-style-vtas-image-highlight,
.vtas-image-highlight{background:#fff;border-radius:28px;padding:18px;box-shadow:var(--shadow);border:1px solid rgba(221,215,208,.85);}
.wp-block-group.is-style-vtas-image-highlight img,
.vtas-image-highlight img{width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:22px;display:block;}
.wp-block-group.is-style-vtas-news-note,
.vtas-news-note{background:linear-gradient(135deg,#fff,#f7f1ef);border:1px solid rgba(156,33,38,.14);border-left:6px solid var(--red);border-radius:24px;padding:24px;box-shadow:var(--shadow);}
.wp-block-group.is-style-vtas-news-note h3,
.vtas-news-note h3{margin:0 0 8px;color:#16202a;}
@media (max-width:1024px){
  .post-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .post-list-featured .post-card-large{grid-template-columns:1fr;}
  .post-card-large .post-card-image img{height:320px;min-height:0;}
}
@media (max-width:760px){
  .post-list-featured,.post-list-grid{grid-template-columns:1fr;}
  .post-list-compact .post-card{grid-template-columns:1fr;}
  .post-card-image{margin:-20px -20px 18px;}
  .post-card-image img{height:220px;}
  .post-card-large .post-card-content{padding:22px;}
  .post-card-large .post-card-image img{height:230px;}
  .vtas-template-slider > *,
  .wp-block-group.is-style-vtas-image-slider > *,
  .wp-block-gallery.is-style-vtas-slider > *{flex-basis:82vw;}
  .vtas-template-slider img,
  .wp-block-group.is-style-vtas-image-slider img,
  .wp-block-gallery.is-style-vtas-slider img{height:240px;border-radius:20px;}
}


/* v5.2: Aktuelles greift auch, wenn WordPress „Aktuelles“ als Beitragsseite nutzt */
.vtas-posts-section .post-date{
  display:inline-flex;
  width:max-content;
  border-radius:999px;
  background:var(--blue-soft);
  color:#315d72;
  padding:7px 11px;
  letter-spacing:.12em;
}
.post-list-featured .post-card:not(.post-card-large),
.post-list-grid .post-card{
  display:flex;
  flex-direction:column;
}
.post-list-featured .post-card:not(.post-card-large) .post-card-content,
.post-list-grid .post-card .post-card-content{
  display:flex;
  flex-direction:column;
  flex:1;
}
.post-read-more{margin-top:auto;}


/* v5.5 – Aktuelles: editierbare Einleitung + einspaltige Karten */
.vtas-posts-section{background:transparent;}
.vtas-news-stream{display:grid;gap:22px;align-items:stretch;margin-top:0;}
.vtas-news-stream-featured{grid-template-columns:1fr;}
.vtas-news-stream-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.vtas-news-stream-compact{grid-template-columns:1fr;}
.vtas-news-item{display:flex;gap:24px;align-items:stretch;background:#fff;border:1px solid rgba(221,215,208,.85);border-radius:26px;box-shadow:var(--shadow);padding:22px;transition:transform .18s ease, box-shadow .18s ease;overflow:hidden;}
.vtas-news-item:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(15,23,42,.12);}
.vtas-news-media{display:flex;align-items:center;justify-content:center;flex:0 0 260px;max-width:260px;min-width:260px;background:linear-gradient(180deg,#f6f9fb 0%,#eef3f6 100%);border-radius:20px;padding:16px;overflow:hidden;text-decoration:none;}
.vtas-news-media-image{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;margin:0;border-radius:16px;}
.vtas-news-body{display:flex;flex-direction:column;flex:1;min-width:0;justify-content:center;}
.vtas-news-date{display:inline-flex;align-items:center;align-self:flex-start;border-radius:999px;background:var(--blue-soft);color:var(--blue);padding:7px 12px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.vtas-news-title{margin:14px 0 0;font-size:clamp(28px,3.5vw,46px);line-height:1.1;}
.vtas-news-title a{color:#16202a;text-decoration:none;transition:color .18s ease;}
.vtas-news-title a:hover{color:var(--red);}
.vtas-news-excerpt{margin:14px 0 0;font-size:16px;line-height:1.85;color:#536170;max-width:72ch;}
.vtas-news-actions{margin:16px 0 0;}
.vtas-news-link{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:#16202a;text-decoration:none;transition:color .18s ease;}
.vtas-news-link:hover,.vtas-news-link:focus-visible{color:var(--red);}
.vtas-news-empty{background:#fff;border-radius:24px;box-shadow:var(--shadow);padding:26px;}
.vtas-news-stream-featured .vtas-news-item.is-first{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);padding:0;overflow:hidden;}
.vtas-news-stream-featured .vtas-news-item.is-first .vtas-news-media{max-width:none;min-width:0;width:100%;height:100%;border-radius:0;padding:24px;}
.vtas-news-stream-featured .vtas-news-item.is-first .vtas-news-media-image{max-height:430px;width:100%;}
.vtas-news-stream-featured .vtas-news-item.is-first .vtas-news-body{padding:30px;}
.vtas-news-stream-featured .vtas-news-item:not(.is-first){display:flex;}
.vtas-news-stream-grid .vtas-news-item{display:flex;flex-direction:column;padding:20px;}
.vtas-news-stream-grid .vtas-news-media{max-width:none;min-width:0;width:100%;padding:16px;}
.vtas-news-stream-grid .vtas-news-media-image{max-height:280px;}
.vtas-news-stream-grid .vtas-news-title{font-size:clamp(24px,2.8vw,34px);}
@media (max-width:1100px){
  .vtas-news-stream-grid{grid-template-columns:1fr;}
}
@media (max-width:860px){
  .vtas-news-item,
  .vtas-news-stream-featured .vtas-news-item.is-first{display:flex;flex-direction:column;}
  .vtas-news-media,
  .vtas-news-stream-featured .vtas-news-item.is-first .vtas-news-media{max-width:none;min-width:0;flex-basis:auto;width:100%;padding:14px;}
  .vtas-news-media-image{max-height:360px;}
  .vtas-news-stream-featured .vtas-news-item.is-first .vtas-news-body{padding:0;}
  .vtas-news-item{padding:18px;gap:18px;}
  .vtas-news-title{font-size:clamp(24px,7vw,36px);}
  .vtas-news-excerpt{font-size:15px;line-height:1.75;}
}


/* v5.5 – Aktuelles Einleitung sauber begrenzen */
.vtas-news-intro-section{padding-bottom:18px;}
.vtas-news-intro-section + .vtas-posts-section{padding-top:24px;}
.vtas-news-intro-section .section{padding:0 !important;}
.vtas-news-intro-section .container{padding-left:0;padding-right:0;}
.vtas-news-intro-section .page-intro{max-width:900px;margin:0;}
.vtas-news-intro-section .lead{margin-bottom:0;}


/* v5.6 – Beiträge wie Kandidierendenprofile gestalten */
.vtas-news-stream,
.vtas-news-stream-featured,
.vtas-news-stream-grid,
.vtas-news-stream-compact{display:grid;grid-template-columns:1fr;gap:28px;align-items:stretch;}
.vtas-news-item,
.vtas-news-stream-featured .vtas-news-item.is-first,
.vtas-news-stream-grid .vtas-news-item,
.vtas-news-stream-featured .vtas-news-item:not(.is-first){
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(240px,300px);
  gap:28px;
  align-items:start;
  background:#fff;
  border:1px solid rgba(221,215,208,.85);
  border-radius:30px;
  box-shadow:var(--shadow);
  padding:30px;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
}
.vtas-news-item:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(15,23,42,.12);}
.vtas-news-body{display:flex;flex-direction:column;justify-content:flex-start;min-width:0;}
.vtas-news-date{display:inline-flex;align-items:center;align-self:flex-start;border-radius:999px;background:var(--blue-soft);color:var(--blue);padding:7px 12px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.vtas-news-title{margin:18px 0 0;font-size:clamp(34px,4vw,56px);line-height:1.08;color:#16202a;}
.vtas-news-title a{color:inherit;text-decoration:none;transition:color .18s ease;}
.vtas-news-title a:hover{color:var(--red);}
.vtas-news-separator{border-top:1px solid #ece7e1;margin:18px 0 0;}
.vtas-news-excerpt{margin:24px 0 0;font-size:15px;line-height:1.9;color:#374151;max-width:72ch;}
.vtas-news-actions{margin:24px 0 0;}
.vtas-news-link{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:#16202a;text-decoration:none;transition:color .18s ease;}
.vtas-news-link:hover,.vtas-news-link:focus-visible{color:var(--red);}
.vtas-news-media{display:flex;align-items:flex-start;justify-content:center;background:#f6f9fb;border-radius:26px;padding:14px;overflow:hidden;text-decoration:none;box-shadow:0 8px 22px rgba(20,32,45,.08);min-height:unset;max-width:none;min-width:0;}
.vtas-news-media-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;margin:0;border-radius:22px;}
.vtas-news-item:not(:has(.vtas-news-media)){grid-template-columns:1fr;}
@media (max-width:900px){
  .vtas-news-item,
  .vtas-news-stream-featured .vtas-news-item.is-first,
  .vtas-news-stream-grid .vtas-news-item,
  .vtas-news-stream-featured .vtas-news-item:not(.is-first){grid-template-columns:1fr;gap:20px;padding:22px;}
  .vtas-news-title{font-size:clamp(28px,7vw,40px);}
  .vtas-news-media{max-width:420px;}
}

.single-post-card.post-profile-layout{
  display:grid;
  grid-template-columns:minmax(0,1.28fr) minmax(250px,300px);
  gap:30px;
  align-items:start;
  max-width:1180px;
  margin:0 auto;
}
.single-post-card .post-profile-main{min-width:0;}
.post-profile-title{margin:14px 0 0;font-size:clamp(34px,4vw,58px);line-height:1.08;color:#16202a;}
.post-profile-separator{border-top:1px solid #ece7e1;margin:18px 0 22px;}
.post-profile-media{position:sticky;top:120px;align-self:start;}
.post-profile-media-card{background:#fff;padding:18px;border-radius:30px;box-shadow:var(--shadow);}
.post-profile-image{display:block;width:100%;height:auto;border-radius:24px;object-fit:contain;margin:0;}
.single-post-card .post-content{font-size:15px;line-height:1.9;color:#374151;}
.single-post-card .post-content > *:first-child{margin-top:0;}
.single-post-card .post-content img{display:block;width:100%;height:auto;max-width:100%;border-radius:22px;margin:18px 0;object-fit:contain;}
@media (max-width:980px){
  .single-post-card.post-profile-layout{grid-template-columns:1fr;gap:22px;}
  .post-profile-media{position:static;max-width:420px;}
}
@media (max-width:760px){
  .single-post-card .profile-text-card{padding:22px;border-radius:24px;}
  .post-profile-media-card{padding:14px;border-radius:24px;}
  .post-profile-title{font-size:clamp(28px,10vw,42px);}
}


/* v5.7 – Einzelbeiträge an Profilseiten-/Aktuelles-Layout angleichen */
.single-news-section{padding-top:54px;}
.single-news-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:30px;
  align-items:start;
  max-width:1180px;
  margin:0 auto;
}
.single-news-layout.has-post-image{
  grid-template-columns:minmax(0,1.25fr) minmax(260px,340px);
}
.single-news-main.profile-text-card{
  padding:32px;
  border-radius:30px;
  box-shadow:var(--shadow);
  background:#fff;
  overflow:hidden;
}
.single-news-layout.no-post-image .single-news-main{
  max-width:980px;
  margin:0 auto;
  width:100%;
}
.single-news-date{margin-bottom:0;}
.single-news-title{
  margin:18px 0 0;
  font-size:clamp(34px,4.2vw,56px);
  line-height:1.08;
  color:#16202a;
  letter-spacing:-.03em;
}
.single-news-separator{border-top:1px solid #ece7e1;margin:22px 0 24px;}
.single-news-content{font-size:16px;line-height:1.9;color:#374151;}
.single-news-content > *:first-child{margin-top:0;}
.single-news-content p{margin:0 0 18px;}
.single-news-content img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  border-radius:24px;
  margin:22px 0;
  box-shadow:0 8px 22px rgba(20,32,45,.08);
}
.single-news-media{position:sticky;top:128px;align-self:start;}
.single-news-media-card{background:#fff;padding:18px;border-radius:30px;box-shadow:var(--shadow);}
.single-news-image{display:block;width:100%;height:auto;border-radius:24px;object-fit:contain;margin:0;}
.single-news-back{margin:28px 0 0 !important;}
.single-news-back a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #c9d8df;
  border-radius:999px;
  background:#fff;
  color:var(--blue);
  padding:12px 20px;
  font-weight:800;
  text-decoration:none;
  transition:color .18s ease,border-color .18s ease,transform .18s ease;
}
.single-news-back a:hover,.single-news-back a:focus-visible{color:var(--red);border-color:var(--red);transform:translateY(-1px);}
@media (max-width:980px){
  .single-news-layout.has-post-image{grid-template-columns:1fr;}
  .single-news-media{position:static;max-width:460px;}
}
@media (max-width:760px){
  .single-news-section{padding-top:34px;}
  .single-news-main.profile-text-card{padding:22px;border-radius:24px;}
  .single-news-title{font-size:clamp(30px,10vw,42px);}
  .single-news-content{font-size:15px;line-height:1.8;}
  .single-news-media-card{padding:14px;border-radius:24px;}
}


/* v5.9 – Startseiten-Hero: Textabstände und Position einstellbar */
.homepage-hero-cover .homepage-hero-copy{
  max-width:var(--vtas-hero-text-max-width, 620px) !important;
  transform:translate(var(--vtas-hero-text-x, 0px), var(--vtas-hero-text-y, 0px));
  will-change:transform;
}
.homepage-hero-cover .homepage-hero-copy h1{
  font-size:clamp(34px, var(--vtas-hero-heading-size, 58px), 86px) !important;
}
.homepage-hero-cover .homepage-hero-lead{
  margin-top:var(--vtas-hero-lead-space, 12px) !important;
}
.homepage-hero-cover .homepage-hero-sub{
  margin-top:var(--vtas-hero-sub-space, 12px) !important;
}
.homepage-hero-cover .homepage-hero-sub p{
  margin-top:0 !important;
  margin-bottom:var(--vtas-hero-paragraph-gap, 6px) !important;
}
.homepage-hero-cover .homepage-hero-sub p:last-child{margin-bottom:0 !important;}
.homepage-hero-cover .homepage-hero-actions{
  margin-top:var(--vtas-hero-button-space, 20px) !important;
}
.homepage-hero-copy.is-style-vtas-hero-text-compact .homepage-hero-lead{margin-top:8px !important;line-height:1.35;}
.homepage-hero-copy.is-style-vtas-hero-text-compact .homepage-hero-sub{margin-top:8px !important;line-height:1.45;}
.homepage-hero-copy.is-style-vtas-hero-text-compact .homepage-hero-sub p{margin-bottom:4px !important;}
.homepage-hero-copy.is-style-vtas-hero-text-compact .homepage-hero-actions{margin-top:14px !important;}
.homepage-hero-copy.is-style-vtas-hero-text-airy .homepage-hero-lead{margin-top:18px !important;line-height:1.6;}
.homepage-hero-copy.is-style-vtas-hero-text-airy .homepage-hero-sub{margin-top:24px !important;line-height:1.75;}
.homepage-hero-copy.is-style-vtas-hero-text-airy .homepage-hero-sub p{margin-bottom:10px !important;}
.homepage-hero-copy.is-style-vtas-hero-position-down{transform:translate(var(--vtas-hero-text-x, 0px), calc(var(--vtas-hero-text-y, 0px) + 40px));}
.homepage-hero-copy.is-style-vtas-hero-position-left{transform:translate(calc(var(--vtas-hero-text-x, 0px) - 40px), var(--vtas-hero-text-y, 0px));}
.homepage-hero-copy.is-style-vtas-hero-position-box{
  background:rgba(8,32,50,.34);
  border:1px solid rgba(255,255,255,.18);
  border-radius:24px;
  padding:24px;
  backdrop-filter:blur(3px);
}
p.is-style-vtas-text-compact{line-height:1.45 !important;margin-top:.35em !important;margin-bottom:.35em !important;}
p.is-style-vtas-text-airy{line-height:1.85 !important;margin-top:.9em !important;margin-bottom:.9em !important;}
h1.is-style-vtas-heading-compact,h2.is-style-vtas-heading-compact,h3.is-style-vtas-heading-compact{line-height:1.02 !important;letter-spacing:-.03em;}
@media (max-width:760px){
  .homepage-hero-cover .homepage-hero-copy{transform:none !important;max-width:100% !important;}
  .homepage-hero-cover .homepage-hero-copy h1{font-size:clamp(34px, 12vw, 48px) !important;}
}


/* v6.0 – separate mobile Hero-Anordnung */
@media (max-width:760px){
  .homepage-hero-cover,
  .homepage-hero-cover .wp-block-cover__inner-container{
    min-height:var(--vtas-hero-mobile-height, 540px) !important;
  }
  .homepage-hero-cover .wp-block-cover__image-background{
    object-position:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
  }
  .homepage-hero-cover .wp-block-cover__inner-container{
    align-items:flex-start !important;
    justify-content:flex-start !important;
    padding:22px 18px !important;
    display:flex !important;
    flex-direction:column !important;
  }
  .homepage-hero-cover .homepage-hero-copy{
    max-width:var(--vtas-hero-mobile-text-max-width, 315px) !important;
    width:min(100%, var(--vtas-hero-mobile-text-max-width, 315px)) !important;
    transform:translate(var(--vtas-hero-mobile-text-x, 0px), var(--vtas-hero-mobile-text-y, 58px)) !important;
    z-index:7;
  }
  .homepage-hero-cover .homepage-hero-copy h1{
    font-size:clamp(28px, var(--vtas-hero-mobile-heading-size, 34px), 52px) !important;
    line-height:1.02 !important;
  }
  .homepage-hero-cover .homepage-hero-lead{font-size:15px !important;line-height:1.42 !important;}
  .homepage-hero-cover .homepage-hero-sub{font-size:14px !important;line-height:1.42 !important;}
  .homepage-hero-cover .homepage-hero-actions{gap:10px !important;}
  .homepage-hero-cover .homepage-hero-actions .wp-block-button__link{min-height:46px !important;padding:12px 16px !important;}
}
@media (max-width:620px){
  .homepage-hero-cover .wp-block-cover__inner-container{position:relative !important;}
  .homepage-election-sticker,
  .homepage-hero-cover > .homepage-election-sticker{
    position:absolute !important;
    left:var(--vtas-sticker-mobile-x, 77%) !important;
    top:var(--vtas-sticker-mobile-y, 85%) !important;
    width:var(--vtas-sticker-mobile-size, 170px) !important;
    max-width:72vw !important;
    margin:0 !important;
    z-index:6;
    transform:translate(-50%, -50%) rotate(var(--vtas-sticker-mobile-rotation, -7deg)) !important;
  }
  .homepage-election-sticker:hover,
  .homepage-election-sticker:focus-visible{
    transform:translate(-50%, -50%) rotate(var(--vtas-sticker-mobile-rotation, -7deg)) !important;
    filter:none !important;
  }
}


/* v6.1 – Kandidierenden-Übersicht: Teasertexte vereinheitlichen */
.candidate-card > p:not(.open-profile),
.candidate-card.wp-block-group > p:not(.open-profile){
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:calc(1.75em * 2);
  line-height:1.75 !important;
}


/* v6.2 – Team-Tabellen: bessere Spaltenbreiten und alphabetische Darstellung */
.list-table-wrap{overflow-x:auto;}
.list-table{table-layout:fixed;width:100%;}
.list-table th:nth-child(1),
.list-table td:nth-child(1){
  width:38%;
  min-width:260px;
  white-space:nowrap;
}
.list-table th:nth-child(2),
.list-table td:nth-child(2){
  width:18%;
  min-width:120px;
  white-space:nowrap;
}
.list-table th:nth-child(3),
.list-table td:nth-child(3){
  width:44%;
  min-width:240px;
}
.list-table td:first-child{font-weight:800;color:var(--red-dark);}
@media (max-width:760px){
  .list-table{min-width:760px;}
  .list-table th:nth-child(1),
  .list-table td:nth-child(1){min-width:260px;}
  .list-table th:nth-child(2),
  .list-table td:nth-child(2){min-width:110px;}
  .list-table th:nth-child(3),
  .list-table td:nth-child(3){min-width:260px;}
}


/* v6.3: Gutenberg-sichere Team-Tabellen */
.wp-block-table.list-table{
  width:100%;
  overflow:auto;
  background:#fff;
  border-radius:24px;
  box-shadow:var(--shadow);
  border:1px solid #e5e7eb;
  margin:28px 0 0;
}
.wp-block-table.list-table table{
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
  min-width:760px;
}
.wp-block-table.list-table th,
.wp-block-table.list-table td{
  padding:14px 18px;
  text-align:left;
  border-bottom:1px solid #edf0f2;
  vertical-align:top;
}
.wp-block-table.list-table th{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--blue);
  background:#f8fafc;
}
.wp-block-table.list-table th:nth-child(1),
.wp-block-table.list-table td:nth-child(1){width:38%;min-width:260px;}
.wp-block-table.list-table th:nth-child(2),
.wp-block-table.list-table td:nth-child(2){width:16%;min-width:110px;}
.wp-block-table.list-table th:nth-child(3),
.wp-block-table.list-table td:nth-child(3){width:46%;min-width:260px;}
.wp-block-table.list-table td:first-child{font-weight:800;color:var(--red-dark);}
.wp-block-table.list-table tr:last-child td{border-bottom:none;}
@media (max-width:760px){
  .wp-block-table.list-table{border-radius:18px;-webkit-overflow-scrolling:touch;}
  .wp-block-table.list-table table{min-width:720px;font-size:14px;}
  .wp-block-table.list-table th,.wp-block-table.list-table td{padding:12px 14px;}
}


/* v6.4 – Robustes VT-AS-Tabellenlayout auch nach Gutenberg-Wiederherstellung */
.list-table-wrap,
.wp-block-table.list-table,
.wp-block-table:has(table),
.entry-content .wp-block-table{
  overflow-x:auto !important;
  background:#fff !important;
  border-radius:24px !important;
  box-shadow:var(--shadow) !important;
  border:1px solid #d7e0e7 !important;
  margin-top:28px !important;
  -webkit-overflow-scrolling:touch;
}
.list-table-wrap table,
.wp-block-table.list-table table,
.wp-block-table table,
.entry-content table{
  width:100% !important;
  min-width:760px !important;
  table-layout:fixed !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  background:#fff !important;
  border:none !important;
  margin:0 !important;
}
.list-table-wrap table th,
.list-table-wrap table td,
.wp-block-table.list-table table th,
.wp-block-table.list-table table td,
.wp-block-table table th,
.wp-block-table table td,
.entry-content table th,
.entry-content table td{
  padding:15px 20px !important;
  text-align:left !important;
  vertical-align:top !important;
  border-top:none !important;
  border-left:none !important;
  border-right:none !important;
  border-bottom:1px solid #edf0f2 !important;
  color:#16202a;
  font-size:16px;
  line-height:1.55;
}
.list-table-wrap table th,
.wp-block-table.list-table table th,
.wp-block-table table th,
.entry-content table th{
  background:#f8fafc !important;
  color:#5a7f98 !important;
  font-size:12px !important;
  line-height:1.3 !important;
  font-weight:800 !important;
  letter-spacing:.2em !important;
  text-transform:uppercase !important;
  border-bottom:3px solid #16202a !important;
}
.list-table-wrap table th:nth-child(1),
.list-table-wrap table td:nth-child(1),
.wp-block-table.list-table table th:nth-child(1),
.wp-block-table.list-table table td:nth-child(1),
.wp-block-table table th:nth-child(1),
.wp-block-table table td:nth-child(1),
.entry-content table th:nth-child(1),
.entry-content table td:nth-child(1){
  width:38% !important;
  min-width:280px !important;
}
.list-table-wrap table th:nth-child(2),
.list-table-wrap table td:nth-child(2),
.wp-block-table.list-table table th:nth-child(2),
.wp-block-table.list-table table td:nth-child(2),
.wp-block-table table th:nth-child(2),
.wp-block-table table td:nth-child(2),
.entry-content table th:nth-child(2),
.entry-content table td:nth-child(2){
  width:16% !important;
  min-width:110px !important;
}
.list-table-wrap table th:nth-child(3),
.list-table-wrap table td:nth-child(3),
.wp-block-table.list-table table th:nth-child(3),
.wp-block-table.list-table table td:nth-child(3),
.wp-block-table table th:nth-child(3),
.wp-block-table table td:nth-child(3),
.entry-content table th:nth-child(3),
.entry-content table td:nth-child(3){
  width:46% !important;
  min-width:300px !important;
}
.list-table-wrap table td:first-child,
.wp-block-table.list-table table td:first-child,
.wp-block-table table td:first-child,
.entry-content table td:first-child{
  font-weight:800 !important;
  color:var(--red-dark) !important;
}
.list-table-wrap table tbody tr:last-child td,
.wp-block-table.list-table table tbody tr:last-child td,
.wp-block-table table tbody tr:last-child td,
.entry-content table tbody tr:last-child td{
  border-bottom:none !important;
}
@media (max-width:760px){
  .list-table-wrap,
  .wp-block-table.list-table,
  .wp-block-table:has(table),
  .entry-content .wp-block-table{border-radius:18px !important;}
  .list-table-wrap table,
  .wp-block-table.list-table table,
  .wp-block-table table,
  .entry-content table{min-width:720px !important;font-size:14px !important;}
  .list-table-wrap table th,
  .list-table-wrap table td,
  .wp-block-table.list-table table th,
  .wp-block-table.list-table table td,
  .wp-block-table table th,
  .wp-block-table table td,
  .entry-content table th,
  .entry-content table td{padding:12px 14px !important;font-size:14px !important;}
}


/* v6.5 – Tabellen: doppelten weißen Außenrand entfernen */
.list-table-wrap,
.wp-block-table.list-table,
.wp-block-table:has(table),
.entry-content .wp-block-table{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
  overflow-x:auto !important;
}
.list-table-wrap table,
.wp-block-table.list-table table,
.wp-block-table table,
.entry-content table{
  background:#fff !important;
  border:1px solid #d7e0e7 !important;
  border-radius:24px !important;
  box-shadow:var(--shadow) !important;
  overflow:hidden !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
}
.list-table-wrap table th:first-child,
.wp-block-table.list-table table th:first-child,
.wp-block-table table th:first-child,
.entry-content table th:first-child{
  border-top-left-radius:24px !important;
}
.list-table-wrap table th:last-child,
.wp-block-table.list-table table th:last-child,
.wp-block-table table th:last-child,
.entry-content table th:last-child{
  border-top-right-radius:24px !important;
}
.list-table-wrap table tr:last-child td:first-child,
.wp-block-table.list-table table tr:last-child td:first-child,
.wp-block-table table tr:last-child td:first-child,
.entry-content table tr:last-child td:first-child{
  border-bottom-left-radius:24px !important;
}
.list-table-wrap table tr:last-child td:last-child,
.wp-block-table.list-table table tr:last-child td:last-child,
.wp-block-table table tr:last-child td:last-child,
.entry-content table tr:last-child td:last-child{
  border-bottom-right-radius:24px !important;
}
@media (max-width:760px){
  .list-table-wrap table,
  .wp-block-table.list-table table,
  .wp-block-table table,
  .entry-content table{border-radius:18px !important;}
  .list-table-wrap table th:first-child,
  .wp-block-table.list-table table th:first-child,
  .wp-block-table table th:first-child,
  .entry-content table th:first-child{border-top-left-radius:18px !important;}
  .list-table-wrap table th:last-child,
  .wp-block-table.list-table table th:last-child,
  .wp-block-table table th:last-child,
  .entry-content table th:last-child{border-top-right-radius:18px !important;}
}


/* v6.6 – Team-Startbereich auf volle Content-Breite ziehen */
body.page-template-template-team-php .page-intro,
body.page-template-template-team .page-intro,
.vtas-team-hero,
.team-page-intro{
  max-width:1180px !important;
  width:100%;
}
body.page-template-template-team-php .page-intro:has(figure.wp-block-image),
body.page-template-template-team .page-intro:has(figure.wp-block-image),
.vtas-team-hero{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:42px;
  align-items:center;
}
body.page-template-template-team-php .page-intro:has(figure.wp-block-image) > .kicker,
body.page-template-template-team .page-intro:has(figure.wp-block-image) > .kicker,
body.page-template-template-team-php .page-intro:has(figure.wp-block-image) > h1,
body.page-template-template-team .page-intro:has(figure.wp-block-image) > h1,
body.page-template-template-team-php .page-intro:has(figure.wp-block-image) > h2,
body.page-template-template-team .page-intro:has(figure.wp-block-image) > h2,
body.page-template-template-team-php .page-intro:has(figure.wp-block-image) > p,
body.page-template-template-team .page-intro:has(figure.wp-block-image) > p{
  grid-column:1;
}
body.page-template-template-team-php .page-intro:has(figure.wp-block-image) > figure.wp-block-image,
body.page-template-template-team .page-intro:has(figure.wp-block-image) > figure.wp-block-image,
.vtas-team-hero > figure.wp-block-image{
  grid-column:2;
  grid-row:1 / span 4;
  align-self:center;
  justify-self:end;
  width:100%;
  max-width:420px;
  margin:0 !important;
}
body.page-template-template-team-php .page-intro figure.wp-block-image img,
body.page-template-template-team .page-intro figure.wp-block-image img,
.vtas-team-hero figure.wp-block-image img{
  width:100%;
  height:auto;
  display:block;
  border-radius:22px;
  box-shadow:var(--shadow);
}
body.page-template-template-team-php .page-intro .lead,
body.page-template-template-team .page-intro .lead,
.vtas-team-hero .lead{
  max-width:620px;
}
@media (max-width:860px){
  body.page-template-template-team-php .page-intro:has(figure.wp-block-image),
  body.page-template-template-team .page-intro:has(figure.wp-block-image),
  .vtas-team-hero{
    grid-template-columns:1fr;
    gap:24px;
  }
  body.page-template-template-team-php .page-intro:has(figure.wp-block-image) > figure.wp-block-image,
  body.page-template-template-team .page-intro:has(figure.wp-block-image) > figure.wp-block-image,
  .vtas-team-hero > figure.wp-block-image{
    grid-column:1;
    grid-row:auto;
    justify-self:start;
    max-width:520px;
  }
}


/* v6.7 – Team-Hero: Beitragsbild sauber neben Überschrift */
body.page-template-template-team-php .page-intro,
body.page-template-template-team .page-intro,
.team-page-intro{
  max-width:1180px !important;
  width:100% !important;
  margin-left:0 !important;
}
body.page-template-template-team-php .page-intro.team-featured-hero,
body.page-template-template-team .page-intro.team-featured-hero,
.page-intro.team-featured-hero{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(280px,380px) !important;
  gap:42px !important;
  align-items:center !important;
}
.page-intro.team-featured-hero > .kicker,
.page-intro.team-featured-hero > h1,
.page-intro.team-featured-hero > h2,
.page-intro.team-featured-hero > p,
.page-intro.team-featured-hero > .lead{
  grid-column:1 !important;
  max-width:720px;
}
.page-intro.team-featured-hero > .team-hero-featured-image{
  grid-column:2 !important;
  grid-row:1 / span 4 !important;
  width:100% !important;
  max-width:380px !important;
  margin:0 !important;
  justify-self:end !important;
  align-self:center !important;
}
.team-hero-featured-image img,
.team-hero-featured-img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  border-radius:24px !important;
  box-shadow:var(--shadow) !important;
  object-fit:contain !important;
}
.page-intro.team-no-featured-image{
  max-width:1180px !important;
}
.page-intro.team-no-featured-image > h1,
.page-intro.team-no-featured-image > h2,
.page-intro.team-no-featured-image > p,
.page-intro.team-no-featured-image > .lead{
  max-width:820px;
}
@media (max-width:900px){
  body.page-template-template-team-php .page-intro.team-featured-hero,
  body.page-template-template-team .page-intro.team-featured-hero,
  .page-intro.team-featured-hero{
    grid-template-columns:1fr !important;
    gap:22px !important;
  }
  .page-intro.team-featured-hero > .team-hero-featured-image{
    grid-column:1 !important;
    grid-row:auto !important;
    justify-self:start !important;
    max-width:520px !important;
  }
}


/* v6.8 – Team-Hero final: sauberes Beitragsbild neben Überschrift */
.vtas-team-hero-section{
  padding-bottom:36px;
}
.vtas-team-hero-layout{
  width:100%;
  max-width:1180px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,380px);
  gap:48px;
  align-items:center;
}
.vtas-team-hero-layout.no-team-image{
  display:block;
  max-width:1180px;
}
.vtas-team-hero-copy{min-width:0;}
.vtas-team-hero-copy h1{
  margin:14px 0 0;
  max-width:760px;
  font-size:clamp(42px,5vw,72px);
  line-height:1.08;
  color:#16202a;
}
.vtas-team-hero-copy .lead{
  max-width:680px;
  margin-top:24px;
  font-size:clamp(19px,2vw,26px);
  line-height:1.65;
  color:#5f6972;
}
.vtas-team-hero-image{
  margin:0;
  justify-self:end;
  width:100%;
  max-width:380px;
}
.vtas-team-hero-img{
  display:block;
  width:100%;
  height:auto;
  border-radius:24px;
  box-shadow:var(--shadow);
  object-fit:contain;
}
/* Alte Team-Intro-Regeln neutralisieren, falls gespeicherte Klassen noch vorhanden sind */
body.page-template-template-team-php .page-intro.team-featured-hero,
body.page-template-template-team .page-intro.team-featured-hero,
.page-intro.team-featured-hero,
body.page-template-template-team-php .page-intro:has(figure.wp-block-image),
body.page-template-template-team .page-intro:has(figure.wp-block-image){
  display:block !important;
  max-width:1180px !important;
  margin-left:0 !important;
}
@media (max-width:900px){
  .vtas-team-hero-layout{grid-template-columns:1fr;gap:24px;}
  .vtas-team-hero-image{justify-self:start;max-width:520px;}
  .vtas-team-hero-copy h1{font-size:clamp(36px,10vw,54px);}
}


/* v6.9 – Team-Hero Schriftgröße an übrige Seiten angleichen */
.vtas-team-hero-section{
  padding-top:64px;
  padding-bottom:42px;
}
.vtas-team-hero-layout{
  max-width:1180px;
  margin:0 auto;
  grid-template-columns:minmax(0,760px) minmax(240px,360px);
  gap:54px;
  align-items:center;
}
.vtas-team-hero-layout.no-team-image{
  max-width:1180px;
  margin:0 auto;
}
.vtas-team-hero-copy h1{
  font-size:clamp(42px,4.3vw,58px) !important;
  line-height:1.12;
  max-width:760px;
}
.vtas-team-hero-copy .lead{
  font-size:clamp(19px,1.7vw,24px) !important;
  line-height:1.65;
  max-width:720px;
}
.vtas-team-hero-image{max-width:360px;}
@media (max-width:900px){
  .vtas-team-hero-section{padding-top:42px;padding-bottom:32px;}
  .vtas-team-hero-layout{grid-template-columns:1fr;gap:24px;}
  .vtas-team-hero-copy h1{font-size:clamp(34px,9vw,46px) !important;}
  .vtas-team-hero-copy .lead{font-size:18px !important;}
  .vtas-team-hero-image{max-width:420px;justify-self:start;}
}


/* v7.0 – Team-Hero exakt an normale H2-Größe angleichen */
.vtas-team-hero-copy h1,
.vtas-team-hero-copy h2{
  margin:14px 0 0 !important;
  font-size:clamp(28px,4vw,44px) !important;
  line-height:1.12 !important;
  max-width:760px;
  color:#16202a;
}
.vtas-team-hero-copy .lead{
  font-size:clamp(17px,1.6vw,21px) !important;
  line-height:1.7 !important;
  max-width:720px;
}
@media (max-width:900px){
  .vtas-team-hero-copy h1,
  .vtas-team-hero-copy h2{
    font-size:clamp(26px,8vw,36px) !important;
  }
}


/* v7.1 – Teamseite: leeren Abstand zwischen Hero und Karten reduzieren */
.vtas-team-hero-section{
  padding-top:44px !important;
  padding-bottom:18px !important;
}
.vtas-team-hero-layout{
  gap:34px !important;
}
.vtas-team-hero-copy .lead{
  margin-bottom:0 !important;
}
body.page-template-template-team-php .vtas-team-hero-section + .section,
body.page-template-template-team .vtas-team-hero-section + .section{
  padding-top:18px !important;
}
body.page-template-template-team-php .team-grid,
body.page-template-template-team .team-grid{
  margin-top:0 !important;
}
@media (max-width:900px){
  .vtas-team-hero-section{
    padding-top:32px !important;
    padding-bottom:14px !important;
  }
  body.page-template-template-team-php .vtas-team-hero-section + .section,
  body.page-template-template-team .vtas-team-hero-section + .section{
    padding-top:14px !important;
  }
}


/* v7.2 – Unterteamseiten: Beitragsbild neben Überschrift wie auf der Teamseite */
.vtas-subteam-hero-section{
  padding-top:56px;
  padding-bottom:28px;
}
.vtas-subteam-hero-layout{
  width:100%;
}
.vtas-subteam-hero-layout.no-team-image .vtas-team-hero-copy{
  max-width:860px;
}
.vtas-subteam-hero-section + .section{
  padding-top:24px;
}
@media (max-width:900px){
  .vtas-subteam-hero-section{padding-top:38px;padding-bottom:22px;}
  .vtas-subteam-hero-section + .section{padding-top:18px;}
}


/* v7.3 – Team-Übersichtskarten gleich hoch */
.team-grid,
.wp-block-group.team-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
  grid-auto-rows:1fr;
}
.team-grid > p,
.wp-block-group.team-grid > p{
  display:flex !important;
  height:100%;
  margin:0 !important;
}
.team-grid .team-card,
.wp-block-group.team-grid .team-card{
  display:flex !important;
  flex-direction:column;
  justify-content:space-between;
  width:100%;
  height:100%;
  min-height:172px;
  box-sizing:border-box;
}
.team-grid .team-card span,
.wp-block-group.team-grid .team-card span{
  display:inline-block;
  margin-top:auto;
  padding-top:18px;
}
@media (max-width:1050px){
  .team-grid,
  .wp-block-group.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:700px){
  .team-grid,
  .wp-block-group.team-grid{grid-template-columns:1fr;grid-auto-rows:auto;}
  .team-grid .team-card,
  .wp-block-group.team-grid .team-card{min-height:0;}
}


/* v7.5 – Beitragsbild-Hero für normale Inhaltsseiten nur bei gesetztem Beitragsbild */
body:not(.page-template-template-team-php) .vtas-team-hero-section.vtas-subteam-hero-section + .section{
  padding-top:24px;
}
body:not(.page-template-template-team-php) .vtas-team-hero-layout.no-team-image .vtas-team-hero-copy{
  max-width:860px;
}

/* v7.6 – Aktuelles: Abstand zwischen Einleitung und Beitragskarten reduzieren */
body.blog .vtas-news-intro-section,
body.page-template-template-aktuelles-php .vtas-news-intro-section,
body.page-template-template-aktuelles .vtas-news-intro-section{
  padding-top:34px !important;
  padding-bottom:10px !important;
}
body.blog .vtas-news-intro-section + .vtas-posts-section,
body.page-template-template-aktuelles-php .vtas-news-intro-section + .vtas-posts-section,
body.page-template-template-aktuelles .vtas-news-intro-section + .vtas-posts-section{
  padding-top:8px !important;
}
body.blog .vtas-posts-section,
body.page-template-template-aktuelles-php .vtas-posts-section,
body.page-template-template-aktuelles .vtas-posts-section{
  padding-top:20px !important;
}
body.blog .vtas-news-intro-section .container > *:last-child,
body.page-template-template-aktuelles-php .vtas-news-intro-section .container > *:last-child,
body.page-template-template-aktuelles .vtas-news-intro-section .container > *:last-child{
  margin-bottom:0 !important;
}
@media (max-width:760px){
  body.blog .vtas-news-intro-section,
  body.page-template-template-aktuelles-php .vtas-news-intro-section,
  body.page-template-template-aktuelles .vtas-news-intro-section{padding-top:22px !important;padding-bottom:6px !important;}
  body.blog .vtas-posts-section,
  body.page-template-template-aktuelles-php .vtas-posts-section,
  body.page-template-template-aktuelles .vtas-posts-section{padding-top:14px !important;}
}


/* v7.7 – Aktuelles: Intro wirklich kompakt setzen */
.vtas-news-intro-section{
  padding-top:24px !important;
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}
.vtas-news-intro-section .container{
  padding-top:0 !important;
  padding-bottom:0 !important;
}
.vtas-news-intro-section p,
.vtas-news-intro-section .wp-block-paragraph{
  margin-top:0 !important;
  margin-bottom:0 !important;
}
.vtas-news-intro-section + .vtas-posts-section,
.vtas-posts-section{
  padding-top:12px !important;
  margin-top:0 !important;
}
.vtas-news-stream{
  margin-top:0 !important;
}
@media (max-width:760px){
  .vtas-news-intro-section{padding-top:18px !important;padding-bottom:0 !important;}
  .vtas-news-intro-section + .vtas-posts-section,
  .vtas-posts-section{padding-top:10px !important;}
}


/* v7.8 – Aktuelles: Einleitung und Beitragsliste in einem kompakten Abschnitt */
.vtas-aktuelles-combined-section{
  padding-top:42px !important;
}
.vtas-news-intro-inline{
  max-width:980px;
  margin:0 auto 28px !important;
  text-align:center;
}
.vtas-news-intro-inline > *{
  margin-top:0 !important;
  margin-bottom:0 !important;
}
.vtas-news-intro-inline p{
  margin:0 !important;
  line-height:1.65;
}
.vtas-aktuelles-combined-section .vtas-news-stream{
  margin-top:0 !important;
}
@media (max-width:760px){
  .vtas-aktuelles-combined-section{padding-top:28px !important;}
  .vtas-news-intro-inline{margin-bottom:20px !important;text-align:left;}
}


/* v7.9 – Startseite: Hero-Bild vollständig in der Breite anzeigen */
.homepage-hero-cover{
  background:#eaf2f5 !important;
}
.homepage-hero-cover .wp-block-cover__image-background{
  object-fit:contain !important;
  object-position:center center !important;
  width:100% !important;
  height:100% !important;
  background:#eaf2f5 !important;
}
.homepage-hero-cover::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:linear-gradient(180deg, #eaf2f5 0%, #f4f1ed 100%);
  pointer-events:none;
}
.homepage-hero-cover::after{
  z-index:1;
}
.homepage-hero-cover .wp-block-cover__inner-container{
  position:relative;
  z-index:2;
}
@media (max-width:760px){
  .homepage-hero-cover .wp-block-cover__image-background{
    object-fit:contain !important;
    object-position:center center !important;
  }
}


/* v8.0 – Startseitenbild flexibel zuschneiden/wechseln ohne Streifen */
.homepage-hero-cover{
  min-height:var(--vtas-hero-desktop-height, 640px) !important;
  background:transparent !important;
}
.homepage-hero-cover .wp-block-cover__image-background{
  object-fit:var(--vtas-hero-fit-mode, cover) !important;
  object-position:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
  width:100% !important;
  height:100% !important;
  background:transparent !important;
}
.homepage-hero-cover::before{display:none !important;}
.homepage-hero-cover .wp-block-cover__inner-container{
  min-height:var(--vtas-hero-desktop-height, 640px) !important;
}
@media (max-width:760px){
  .homepage-hero-cover,
  .homepage-hero-cover .wp-block-cover__inner-container{
    min-height:var(--vtas-hero-mobile-height, 540px) !important;
  }
  .homepage-hero-cover .wp-block-cover__image-background{
    object-fit:var(--vtas-hero-fit-mode, cover) !important;
    object-position:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
  }
}


/* v8.1 – Startseitenbild: Zoom-Regler und keine sichtbaren Streifen */
.homepage-hero-cover{
  background:#dfeaf0 !important;
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
}
.homepage-hero-cover .wp-block-cover__inner-container{
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
}
.homepage-hero-cover .wp-block-cover__image-background{
  object-fit:cover !important;
  object-position:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  transform:scale(var(--vtas-hero-desktop-image-zoom, 1.12)) !important;
  transform-origin:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
}
.homepage-hero-cover::before{display:none !important;}
@media (max-width:760px){
  .homepage-hero-cover,
  .homepage-hero-cover .wp-block-cover__inner-container{
    min-height:var(--vtas-hero-mobile-height, 560px) !important;
  }
  .homepage-hero-cover .wp-block-cover__image-background{
    object-fit:cover !important;
    object-position:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
    transform:scale(var(--vtas-hero-mobile-image-zoom, 1.18)) !important;
    transform-origin:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
  }
}


/* v8.2 – Startseitenbild: echter Zoom + echte Bildbereich-Höhe */
.homepage-hero-cover{
  height:var(--vtas-hero-desktop-height, 700px) !important;
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
  max-height:none !important;
  overflow:hidden !important;
  background:transparent !important;
}
.homepage-hero-cover .wp-block-cover__inner-container{
  height:var(--vtas-hero-desktop-height, 700px) !important;
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
  max-height:none !important;
}
.homepage-hero-cover .wp-block-cover__image-background{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  width:calc(100% * var(--vtas-hero-desktop-image-zoom, 1.12)) !important;
  height:calc(100% * var(--vtas-hero-desktop-image-zoom, 1.12)) !important;
  min-width:calc(100% * var(--vtas-hero-desktop-image-zoom, 1.12)) !important;
  min-height:calc(100% * var(--vtas-hero-desktop-image-zoom, 1.12)) !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
  transform:translate(-50%, -50%) !important;
  transform-origin:center center !important;
  background:transparent !important;
}
@media (max-width:760px){
  .homepage-hero-cover,
  .homepage-hero-cover .wp-block-cover__inner-container{
    height:var(--vtas-hero-mobile-height, 560px) !important;
    min-height:var(--vtas-hero-mobile-height, 560px) !important;
  }
  .homepage-hero-cover .wp-block-cover__image-background{
    width:calc(100% * var(--vtas-hero-mobile-image-zoom, 1.18)) !important;
    height:calc(100% * var(--vtas-hero-mobile-image-zoom, 1.18)) !important;
    min-width:calc(100% * var(--vtas-hero-mobile-image-zoom, 1.18)) !important;
    min-height:calc(100% * var(--vtas-hero-mobile-image-zoom, 1.18)) !important;
    object-position:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
    transform:translate(-50%, -50%) !important;
  }
}


/* v8.3 – Startseiten-Buttons separat positionierbar */
.homepage-hero-cover .homepage-hero-actions{
  transform:translate(var(--vtas-hero-button-x, 0px), var(--vtas-hero-button-y, 0px)) !important;
  will-change:transform;
}
@media (max-width:620px){
  .homepage-hero-cover .homepage-hero-actions{
    transform:translate(var(--vtas-hero-mobile-button-x, 0px), var(--vtas-hero-mobile-button-y, 0px)) !important;
  }
}


/* v8.4 – Startseiten-Buttons: Regler wirklich auf Position anwenden */
.homepage-hero-cover .homepage-hero-copy .homepage-hero-actions,
.homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
  position:relative !important;
  left:var(--vtas-hero-button-x, 0px) !important;
  top:var(--vtas-hero-button-y, 0px) !important;
  transform:none !important;
  margin-top:var(--vtas-hero-button-space, 20px) !important;
}
@media (max-width:760px){
  .homepage-hero-cover .homepage-hero-copy .homepage-hero-actions,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
    left:var(--vtas-hero-mobile-button-x, 0px) !important;
    top:var(--vtas-hero-mobile-button-y, 0px) !important;
    transform:none !important;
  }
}


/* v8.5 – Startseiten-Hero: Bild oben bündig, kein oberer Randstreifen, Buttons im unteren Bereich frei positionierbar */
.homepage-hero-cover{
  position:relative !important;
  overflow:hidden !important;
  height:var(--vtas-hero-desktop-height, 700px) !important;
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
  background:transparent !important;
}
.homepage-hero-cover .wp-block-cover__image-background{
  position:absolute !important;
  inset:0 !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:var(--vtas-hero-fit-mode, cover) !important;
  object-position:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
  transform:scale(var(--vtas-hero-desktop-image-zoom, 1.12)) !important;
  transform-origin:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
  background:transparent !important;
}
.homepage-hero-cover .wp-block-cover__inner-container{
  position:relative !important;
  z-index:3 !important;
  height:var(--vtas-hero-desktop-height, 700px) !important;
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
}
.homepage-hero-cover::before{display:none !important;}
.homepage-hero-cover::after{
  z-index:2 !important;
  pointer-events:none !important;
}
.homepage-hero-cover .homepage-hero-copy .homepage-hero-actions,
.homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
  position:absolute !important;
  left:calc(50% + var(--vtas-hero-button-x, 0px)) !important;
  right:auto !important;
  top:auto !important;
  bottom:34px !important;
  transform:translateX(-50%) translateY(var(--vtas-hero-button-y, 0px)) !important;
  margin:0 !important;
  z-index:9 !important;
  width:auto !important;
  max-width:calc(100% - 64px) !important;
  justify-content:center !important;
}
@media (max-width:760px){
  .homepage-hero-cover{
    height:var(--vtas-hero-mobile-height, 560px) !important;
    min-height:var(--vtas-hero-mobile-height, 560px) !important;
  }
  .homepage-hero-cover .wp-block-cover__inner-container{
    height:var(--vtas-hero-mobile-height, 560px) !important;
    min-height:var(--vtas-hero-mobile-height, 560px) !important;
  }
  .homepage-hero-cover .wp-block-cover__image-background{
    object-fit:var(--vtas-hero-fit-mode, cover) !important;
    object-position:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
    transform:scale(var(--vtas-hero-mobile-image-zoom, 1.18)) !important;
    transform-origin:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
  }
  .homepage-hero-cover .homepage-hero-copy .homepage-hero-actions,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
    left:calc(50% + var(--vtas-hero-mobile-button-x, 0px)) !important;
    bottom:24px !important;
    transform:translateX(-50%) translateY(var(--vtas-hero-mobile-button-y, 0px)) !important;
    max-width:calc(100% - 32px) !important;
    width:calc(100% - 32px) !important;
  }
}


/* v8.6 – Robuster Startseiten-Hero: Bild als eigene Hintergrundschicht */
.homepage-hero-cover{
  position:relative !important;
  overflow:hidden !important;
  height:var(--vtas-hero-desktop-height, 700px) !important;
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
  background:transparent !important;
  isolation:isolate !important;
}
.homepage-hero-cover > .wp-block-cover__background,
.homepage-hero-cover .wp-block-cover__background{
  display:none !important;
  opacity:0 !important;
}
.homepage-hero-cover > .wp-block-cover__image-background,
.homepage-hero-cover .wp-block-cover__image-background{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.homepage-hero-cover::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  border-radius:inherit !important;
  background-image:var(--vtas-hero-bg-image) !important;
  background-repeat:no-repeat !important;
  background-size:var(--vtas-hero-fit-mode, cover) !important;
  background-position:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
  transform:scale(var(--vtas-hero-desktop-image-zoom, 1.12)) !important;
  transform-origin:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
}
.homepage-hero-cover::after{
  z-index:1 !important;
  pointer-events:none !important;
}
.homepage-hero-cover .wp-block-cover__inner-container{
  position:relative !important;
  z-index:3 !important;
  height:var(--vtas-hero-desktop-height, 700px) !important;
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
}
.homepage-hero-cover .homepage-hero-copy .homepage-hero-actions,
.homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
  position:absolute !important;
  left:calc(50% + var(--vtas-hero-button-x, 0px)) !important;
  right:auto !important;
  top:auto !important;
  bottom:34px !important;
  transform:translateX(-50%) translateY(var(--vtas-hero-button-y, 0px)) !important;
  margin:0 !important;
  z-index:9 !important;
  width:auto !important;
  max-width:calc(100% - 64px) !important;
  justify-content:center !important;
}
@media (max-width:760px){
  .homepage-hero-cover{
    height:var(--vtas-hero-mobile-height, 560px) !important;
    min-height:var(--vtas-hero-mobile-height, 560px) !important;
  }
  .homepage-hero-cover::before{
    background-size:var(--vtas-hero-fit-mode, cover) !important;
    background-position:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
    transform:scale(var(--vtas-hero-mobile-image-zoom, 1.18)) !important;
    transform-origin:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
  }
  .homepage-hero-cover .wp-block-cover__inner-container{
    height:var(--vtas-hero-mobile-height, 560px) !important;
    min-height:var(--vtas-hero-mobile-height, 560px) !important;
  }
  .homepage-hero-cover .homepage-hero-copy .homepage-hero-actions,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
    left:calc(50% + var(--vtas-hero-mobile-button-x, 0px)) !important;
    bottom:24px !important;
    transform:translateX(-50%) translateY(var(--vtas-hero-mobile-button-y, 0px)) !important;
    max-width:calc(100% - 32px) !important;
    width:calc(100% - 32px) !important;
  }
}


/* v8.7 – Cache-bust + Hero wirklich oben bündig */
.home .homepage-hero-cover,
.front-page .homepage-hero-cover,
body.home .homepage-hero-cover,
body.front-page .homepage-hero-cover,
.homepage-hero-cover{
  background:transparent !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  height:var(--vtas-hero-desktop-height, 700px) !important;
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
}
.homepage-hero-cover::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  border-radius:inherit !important;
  background-image:var(--vtas-hero-bg-image, url('../images/startbanner-team.png')) !important;
  background-repeat:no-repeat !important;
  background-size:var(--vtas-hero-fit-mode, cover) !important;
  background-position:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
  transform:scale(var(--vtas-hero-desktop-image-zoom, 1.12)) !important;
  transform-origin:var(--vtas-hero-desktop-image-x, 50%) var(--vtas-hero-desktop-image-y, 50%) !important;
  pointer-events:none !important;
}
.homepage-hero-cover > .wp-block-cover__image-background,
.homepage-hero-cover .wp-block-cover__image-background{
  opacity:0 !important;
  visibility:hidden !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  position:absolute !important;
  inset:0 !important;
}
.homepage-hero-cover .wp-block-cover__inner-container{
  height:var(--vtas-hero-desktop-height, 700px) !important;
  min-height:var(--vtas-hero-desktop-height, 700px) !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  display:flex !important;
  align-items:center !important;
  position:relative !important;
  z-index:3 !important;
}
@media (max-width:760px){
  .homepage-hero-cover{
    height:var(--vtas-hero-mobile-height, 560px) !important;
    min-height:var(--vtas-hero-mobile-height, 560px) !important;
  }
  .homepage-hero-cover::before{
    background-size:var(--vtas-hero-fit-mode, cover) !important;
    background-position:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
    transform:scale(var(--vtas-hero-mobile-image-zoom, 1.18)) !important;
    transform-origin:var(--vtas-hero-mobile-image-x, 63%) var(--vtas-hero-mobile-image-y, 0%) !important;
  }
  .homepage-hero-cover .wp-block-cover__inner-container{
    height:var(--vtas-hero-mobile-height, 560px) !important;
    min-height:var(--vtas-hero-mobile-height, 560px) !important;
  }
}


/* v8.8: Hero-Buttons auf Desktop sicher nebeneinander */
@media (min-width: 761px){
  .homepage-hero-cover .homepage-hero-actions,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:16px !important;
    width:auto !important;
    max-width:calc(100% - 64px) !important;
  }
  .homepage-hero-cover .homepage-hero-actions .wp-block-button,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button{
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
    flex:0 0 auto !important;
  }
  .homepage-hero-cover .homepage-hero-actions .wp-block-button__link,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link{
    white-space:nowrap !important;
  }
}


/* v8.9: Hero-Text wieder verschiebbar, Buttons auf Desktop nebeneinander */
.homepage-hero-cover .wp-block-cover__inner-container{
  position:relative !important;
}
.homepage-hero-cover .homepage-hero-copy{
  position:static !important;
  transform:none !important;
  max-width:var(--vtas-hero-text-max-width, 620px) !important;
  color:#fff !important;
}
.homepage-hero-cover .homepage-hero-copy > h1,
.homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
.homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
  transform:translate(var(--vtas-hero-text-x, 0px), var(--vtas-hero-text-y, 0px)) !important;
}
.homepage-hero-cover .homepage-hero-actions.wp-block-buttons,
.homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons{
  position:absolute !important;
  left:calc(50% + var(--vtas-hero-button-x, 0px)) !important;
  right:auto !important;
  top:auto !important;
  bottom:34px !important;
  transform:translateX(-50%) translateY(var(--vtas-hero-button-y, 0px)) !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:16px !important;
  width:max-content !important;
  min-width:max-content !important;
  max-width:calc(100% - 56px) !important;
  margin:0 !important;
  z-index:20 !important;
}
.homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button,
.homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons .wp-block-button{
  display:inline-flex !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
}
.homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link,
.homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons .wp-block-button__link{
  width:auto !important;
  min-width:220px !important;
  white-space:nowrap !important;
}
@media (max-width:760px){
  .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
    transform:translate(var(--vtas-hero-mobile-text-x, 0px), var(--vtas-hero-mobile-text-y, 0px)) !important;
  }
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons{
    left:calc(50% + var(--vtas-hero-mobile-button-x, 0px)) !important;
    bottom:24px !important;
    transform:translateX(-50%) translateY(var(--vtas-hero-mobile-button-y, 0px)) !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    width:calc(100% - 32px) !important;
    min-width:0 !important;
    max-width:calc(100% - 32px) !important;
  }
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link{
    width:100% !important;
    min-width:0 !important;
  }
}


/* v9.0 final: Hero-Text live verschiebbar + Desktop-Buttons immer nebeneinander */
.homepage-hero-cover .wp-block-cover__inner-container{
  position:relative !important;
  overflow:visible !important;
}
.homepage-hero-cover .homepage-hero-copy{
  position:relative !important;
  z-index:5 !important;
  max-width:var(--vtas-hero-text-max-width, 620px) !important;
  transform:translate(var(--vtas-hero-text-x, 0px), var(--vtas-hero-text-y, 0px)) !important;
}
.homepage-hero-cover .homepage-hero-copy > h1,
.homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
.homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
  transform:none !important;
}
.homepage-hero-cover .homepage-hero-copy h1{
  font-size:var(--vtas-hero-heading-size, 58px) !important;
}
.homepage-hero-cover .homepage-hero-lead{
  margin-top:var(--vtas-hero-lead-space, 12px) !important;
}
.homepage-hero-cover .homepage-hero-sub{
  margin-top:var(--vtas-hero-sub-space, 12px) !important;
}
.homepage-hero-cover .homepage-hero-sub p{
  margin-bottom:var(--vtas-hero-paragraph-gap, 6px) !important;
}
@media (min-width:761px){
  .homepage-hero-cover .homepage-hero-actions,
  .homepage-hero-cover .homepage-hero-copy .homepage-hero-actions,
  .homepage-hero-cover .wp-block-buttons.homepage-hero-actions{
    position:absolute !important;
    z-index:30 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:16px !important;
    left:calc(50% + var(--vtas-hero-button-x, 0px)) !important;
    right:auto !important;
    top:auto !important;
    bottom:34px !important;
    transform:translateX(-50%) translateY(var(--vtas-hero-button-y, 0px)) !important;
    width:auto !important;
    max-width:calc(100% - 64px) !important;
    min-width:0 !important;
    margin:0 !important;
  }
  .homepage-hero-cover .homepage-hero-actions > .wp-block-button,
  .homepage-hero-cover .wp-block-buttons.homepage-hero-actions > .wp-block-button{
    display:block !important;
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
  }
  .homepage-hero-cover .homepage-hero-actions .wp-block-button__link{
    width:auto !important;
    min-width:220px !important;
    max-width:none !important;
    white-space:nowrap !important;
  }
}
@media (max-width:760px){
  .homepage-hero-cover .homepage-hero-copy{
    max-width:var(--vtas-hero-mobile-text-max-width, 315px) !important;
    transform:translate(var(--vtas-hero-mobile-text-x, 0px), var(--vtas-hero-mobile-text-y, 58px)) !important;
  }
  .homepage-hero-cover .homepage-hero-copy h1{
    font-size:var(--vtas-hero-mobile-heading-size, 34px) !important;
  }
  .homepage-hero-cover .homepage-hero-actions,
  .homepage-hero-cover .homepage-hero-copy .homepage-hero-actions,
  .homepage-hero-cover .wp-block-buttons.homepage-hero-actions{
    position:absolute !important;
    z-index:30 !important;
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    left:calc(50% + var(--vtas-hero-mobile-button-x, 0px)) !important;
    bottom:24px !important;
    transform:translateX(-50%) translateY(var(--vtas-hero-mobile-button-y, 0px)) !important;
    width:calc(100% - 32px) !important;
    max-width:calc(100% - 32px) !important;
    gap:10px !important;
    margin:0 !important;
  }
  .homepage-hero-cover .homepage-hero-actions > .wp-block-button,
  .homepage-hero-cover .homepage-hero-actions .wp-block-button__link{
    width:100% !important;
    min-width:0 !important;
  }
}


/* v9.1: Hero-Text wirklich separat positionierbar + Buttonbereich nach unten erweiterbar */
.homepage-hero-cover .wp-block-cover__inner-container{
  position:relative !important;
  display:block !important;
  overflow:visible !important;
}
@media (min-width:761px){
  .homepage-hero-cover .homepage-hero-copy{
    position:absolute !important;
    left:calc(44px + var(--vtas-hero-text-x, 0px)) !important;
    top:calc(47% + var(--vtas-hero-text-y, 0px)) !important;
    transform:translateY(-50%) !important;
    max-width:var(--vtas-hero-text-max-width, 620px) !important;
    width:min(var(--vtas-hero-text-max-width, 620px), calc(100% - 88px)) !important;
    margin:0 !important;
    z-index:12 !important;
  }
  .homepage-hero-cover .homepage-hero-actions,
  .homepage-hero-cover .homepage-hero-copy .homepage-hero-actions,
  .homepage-hero-cover .wp-block-buttons.homepage-hero-actions{
    position:absolute !important;
    left:calc(50% + var(--vtas-hero-button-x, 0px)) !important;
    right:auto !important;
    top:auto !important;
    bottom:32px !important;
    transform:translateX(-50%) translateY(var(--vtas-hero-button-y, 0px)) !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:18px !important;
    width:max-content !important;
    min-width:0 !important;
    max-width:calc(100% - 64px) !important;
    margin:0 !important;
    z-index:40 !important;
  }
  .homepage-hero-cover .homepage-hero-actions > .wp-block-button,
  .homepage-hero-cover .wp-block-buttons.homepage-hero-actions > .wp-block-button{
    display:inline-flex !important;
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    float:none !important;
  }
  .homepage-hero-cover .homepage-hero-actions .wp-block-button__link{
    display:inline-flex !important;
    width:auto !important;
    min-width:220px !important;
    max-width:none !important;
    white-space:nowrap !important;
  }
}
@media (max-width:760px){
  .homepage-hero-cover .homepage-hero-copy{
    position:absolute !important;
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px)) !important;
    top:calc(30px + var(--vtas-hero-mobile-text-y, 58px)) !important;
    transform:none !important;
    max-width:var(--vtas-hero-mobile-text-max-width, 315px) !important;
    width:min(var(--vtas-hero-mobile-text-max-width, 315px), calc(100% - 36px)) !important;
    margin:0 !important;
    z-index:12 !important;
  }
}


/* v9.2: Hero-Text lesbar breit, trotzdem verschiebbar; Buttons relativ zum ganzen Hero */
@media (min-width: 761px){
  body .homepage-hero-cover .wp-block-cover__inner-container{
    position:relative !important;
    display:block !important;
    overflow:visible !important;
    height:var(--vtas-hero-desktop-height, 700px) !important;
    min-height:var(--vtas-hero-desktop-height, 700px) !important;
  }
  body .homepage-hero-cover .homepage-hero-copy{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:100% !important;
    margin:0 !important;
    padding-left:calc(44px + var(--vtas-hero-text-x, 0px)) !important;
    padding-top:calc(210px + var(--vtas-hero-text-y, 0px)) !important;
    padding-right:44px !important;
    box-sizing:border-box !important;
    transform:none !important;
    z-index:12 !important;
    pointer-events:none !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
    width:min(max(560px, var(--vtas-hero-text-max-width, 660px)), calc(100% - 88px)) !important;
    max-width:min(max(560px, var(--vtas-hero-text-max-width, 660px)), calc(100% - 88px)) !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    transform:none !important;
    pointer-events:auto !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1{
    margin-top:0 !important;
    margin-bottom:0 !important;
    white-space:normal !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead{
    margin-top:var(--vtas-hero-lead-space, 12px) !important;
    white-space:normal !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
    margin-top:var(--vtas-hero-sub-space, 12px) !important;
    white-space:normal !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons,
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
    position:absolute !important;
    left:calc(50% + var(--vtas-hero-button-x, 0px)) !important;
    right:auto !important;
    top:auto !important;
    bottom:34px !important;
    transform:translateX(-50%) translateY(var(--vtas-hero-button-y, 0px)) !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:18px !important;
    width:max-content !important;
    max-width:calc(100% - 64px) !important;
    margin:0 !important;
    padding:0 !important;
    z-index:40 !important;
    pointer-events:auto !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons > .wp-block-button,
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons > .wp-block-button{
    display:inline-flex !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    flex:0 0 auto !important;
    margin:0 !important;
  }
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link{
    width:auto !important;
    min-width:220px !important;
    max-width:none !important;
    white-space:nowrap !important;
  }
}


/* v9.3: Startseiten-Text als einzeln positionierbare Ebenen */
.homepage-hero-cover .wp-block-cover__inner-container{
  position:relative !important;
}
@media (min-width: 761px){
  body .homepage-hero-cover .homepage-hero-copy{
    position:static !important;
    inset:auto !important;
    width:auto !important;
    height:auto !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    pointer-events:none !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p{
    position:absolute !important;
    display:block !important;
    z-index:22 !important;
    margin:0 !important;
    width:min(var(--vtas-hero-text-max-width, 660px), calc(100% - 88px)) !important;
    max-width:min(var(--vtas-hero-text-max-width, 660px), calc(100% - 88px)) !important;
    min-width:420px !important;
    white-space:normal !important;
    pointer-events:auto !important;
    transform:none !important;
    overflow:visible !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1{
    left:calc(44px + var(--vtas-hero-text-x, 0px) + var(--vtas-hero-title-x, 0px)) !important;
    top:calc(205px + var(--vtas-hero-text-y, 0px) + var(--vtas-hero-title-y, 0px)) !important;
    font-size:var(--vtas-hero-heading-size, 58px) !important;
    line-height:1.05 !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead{
    left:calc(44px + var(--vtas-hero-text-x, 0px) + var(--vtas-hero-lead-x, 0px)) !important;
    top:calc(275px + var(--vtas-hero-text-y, 0px) + var(--vtas-hero-lead-y, 0px)) !important;
    line-height:1.35 !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
    display:contents !important;
    margin:0 !important;
    padding:0 !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1){
    left:calc(44px + var(--vtas-hero-text-x, 0px) + var(--vtas-hero-sub1-x, 0px)) !important;
    top:calc(315px + var(--vtas-hero-text-y, 0px) + var(--vtas-hero-sub1-y, 0px)) !important;
    line-height:1.35 !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2){
    left:calc(44px + var(--vtas-hero-text-x, 0px) + var(--vtas-hero-sub2-x, 0px)) !important;
    top:calc(355px + var(--vtas-hero-text-y, 0px) + var(--vtas-hero-sub2-y, 0px)) !important;
    line-height:1.35 !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons,
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
    position:absolute !important;
    left:calc(50% + var(--vtas-hero-button-x, 0px)) !important;
    bottom:34px !important;
    transform:translateX(-50%) translateY(var(--vtas-hero-button-y, 0px)) !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:18px !important;
    width:max-content !important;
    max-width:calc(100% - 64px) !important;
    z-index:50 !important;
    pointer-events:auto !important;
  }
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons > .wp-block-button{
    flex:0 0 auto !important;
    width:auto !important;
    display:inline-flex !important;
  }
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link{
    width:auto !important;
    min-width:220px !important;
    white-space:nowrap !important;
  }
}
@media (max-width: 760px){
  body .homepage-hero-cover .homepage-hero-copy{
    position:static !important;
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    padding:0 !important;
    margin:0 !important;
    transform:none !important;
    pointer-events:none !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p{
    position:absolute !important;
    z-index:22 !important;
    margin:0 !important;
    width:min(var(--vtas-hero-mobile-text-max-width, 315px), calc(100% - 36px)) !important;
    max-width:min(var(--vtas-hero-mobile-text-max-width, 315px), calc(100% - 36px)) !important;
    min-width:0 !important;
    white-space:normal !important;
    pointer-events:auto !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1{
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-title-x, 0px)) !important;
    top:calc(42px + var(--vtas-hero-mobile-text-y, 58px) + var(--vtas-hero-mobile-title-y, 0px)) !important;
    font-size:var(--vtas-hero-mobile-heading-size, 34px) !important;
    line-height:1.05 !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead{
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-lead-x, 0px)) !important;
    top:calc(112px + var(--vtas-hero-mobile-text-y, 58px) + var(--vtas-hero-mobile-lead-y, 0px)) !important;
    line-height:1.35 !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{display:contents !important;}
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1){
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-sub1-x, 0px)) !important;
    top:calc(172px + var(--vtas-hero-mobile-text-y, 58px) + var(--vtas-hero-mobile-sub1-y, 0px)) !important;
    line-height:1.35 !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2){
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-sub2-x, 0px)) !important;
    top:calc(212px + var(--vtas-hero-mobile-text-y, 58px) + var(--vtas-hero-mobile-sub2-y, 0px)) !important;
    line-height:1.35 !important;
  }
}


/* v9.4: final robuste Hero-Ebenen: Text verschiebbar, Buttons getrennt */
.homepage-hero-cover .wp-block-cover__inner-container{
  position:relative !important;
  overflow:hidden !important;
}
.homepage-hero-cover .homepage-hero-copy{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
  z-index:20 !important;
  pointer-events:none !important;
}
@media (min-width: 761px){
  .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p{
    position:absolute !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    width:min(var(--vtas-hero-text-max-width, 660px), calc(100% - 88px)) !important;
    max-width:min(var(--vtas-hero-text-max-width, 660px), calc(100% - 88px)) !important;
    min-width:min(520px, calc(100% - 88px)) !important;
    white-space:normal !important;
    overflow:visible !important;
    transform:none !important;
    z-index:22 !important;
    pointer-events:auto !important;
  }
  .homepage-hero-cover .homepage-hero-copy > h1{
    left:calc(44px + var(--vtas-hero-text-x, 0px) + var(--vtas-hero-title-x, 0px)) !important;
    top:calc(150px + var(--vtas-hero-text-y, 0px) + var(--vtas-hero-title-y, 0px)) !important;
    font-size:var(--vtas-hero-heading-size, 58px) !important;
    line-height:1.05 !important;
  }
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead{
    left:calc(44px + var(--vtas-hero-text-x, 0px) + var(--vtas-hero-lead-x, 0px)) !important;
    top:calc(220px + var(--vtas-hero-text-y, 0px) + var(--vtas-hero-lead-y, 0px)) !important;
    line-height:1.35 !important;
  }
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
    display:contents !important;
    margin:0 !important;
    padding:0 !important;
  }
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1){
    left:calc(44px + var(--vtas-hero-text-x, 0px) + var(--vtas-hero-sub1-x, 0px)) !important;
    top:calc(260px + var(--vtas-hero-text-y, 0px) + var(--vtas-hero-sub1-y, 0px)) !important;
    line-height:1.35 !important;
  }
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2){
    left:calc(44px + var(--vtas-hero-text-x, 0px) + var(--vtas-hero-sub2-x, 0px)) !important;
    top:calc(300px + var(--vtas-hero-text-y, 0px) + var(--vtas-hero-sub2-y, 0px)) !important;
    line-height:1.35 !important;
  }
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons{
    position:absolute !important;
    left:calc(50% + var(--vtas-hero-button-x, 0px)) !important;
    right:auto !important;
    top:auto !important;
    bottom:34px !important;
    transform:translateX(-50%) translateY(var(--vtas-hero-button-y, 0px)) !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:18px !important;
    width:max-content !important;
    max-width:calc(100% - 64px) !important;
    margin:0 !important;
    padding:0 !important;
    z-index:60 !important;
    pointer-events:auto !important;
  }
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons > .wp-block-button{
    display:inline-flex !important;
    width:auto !important;
    flex:0 0 auto !important;
    margin:0 !important;
  }
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link{
    min-width:220px !important;
    width:auto !important;
    white-space:nowrap !important;
  }
}
@media (max-width: 760px){
  .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p{
    position:absolute !important;
    margin:0 !important;
    width:min(var(--vtas-hero-mobile-text-max-width, 315px), calc(100% - 36px)) !important;
    max-width:min(var(--vtas-hero-mobile-text-max-width, 315px), calc(100% - 36px)) !important;
    white-space:normal !important;
    z-index:22 !important;
    pointer-events:auto !important;
  }
  .homepage-hero-cover .homepage-hero-copy > h1{
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-title-x, 0px)) !important;
    top:calc(42px + var(--vtas-hero-mobile-text-y, 58px) + var(--vtas-hero-mobile-title-y, 0px)) !important;
    font-size:var(--vtas-hero-mobile-heading-size, 34px) !important;
    line-height:1.05 !important;
  }
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead{
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-lead-x, 0px)) !important;
    top:calc(112px + var(--vtas-hero-mobile-text-y, 58px) + var(--vtas-hero-mobile-lead-y, 0px)) !important;
  }
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{display:contents !important;}
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1){
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-sub1-x, 0px)) !important;
    top:calc(172px + var(--vtas-hero-mobile-text-y, 58px) + var(--vtas-hero-mobile-sub1-y, 0px)) !important;
  }
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2){
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-sub2-x, 0px)) !important;
    top:calc(212px + var(--vtas-hero-mobile-text-y, 58px) + var(--vtas-hero-mobile-sub2-y, 0px)) !important;
  }
}

/* v9.5: Mobile Hero repariert – Desktop bleibt unverändert */
@media (max-width: 760px){
  body .homepage-hero-cover,
  .homepage-hero-cover{
    overflow:hidden !important;
  }

  /* Mobile Textposition nicht von alten Desktop-/Einzel-Reglern zerdrücken lassen. */
  body .homepage-hero-cover .homepage-hero-copy > h1,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p,
  .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p{
    position:absolute !important;
    left:18px !important;
    right:auto !important;
    width:calc(100% - 36px) !important;
    max-width:calc(100% - 36px) !important;
    min-width:0 !important;
    margin:0 !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    hyphens:none !important;
    text-align:left !important;
    z-index:30 !important;
  }

  body .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > h1{
    top:calc(var(--vtas-hero-mobile-height, 560px) - 330px) !important;
    font-size:clamp(30px, 9vw, 42px) !important;
    line-height:1.05 !important;
  }

  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead{
    top:calc(var(--vtas-hero-mobile-height, 560px) - 268px) !important;
    font-size:15px !important;
    line-height:1.35 !important;
  }

  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
    display:contents !important;
  }

  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1),
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1){
    top:calc(var(--vtas-hero-mobile-height, 560px) - 220px) !important;
    font-size:14px !important;
    line-height:1.35 !important;
  }

  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2),
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2){
    top:calc(var(--vtas-hero-mobile-height, 560px) - 184px) !important;
    font-size:14px !important;
    line-height:1.35 !important;
  }

  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons{
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    left:18px !important;
    right:18px !important;
    bottom:24px !important;
    width:auto !important;
    max-width:none !important;
    transform:none !important;
    margin:0 !important;
    z-index:45 !important;
  }

  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons > .wp-block-button,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons > .wp-block-button,
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
}

/* v9.6: Mobile Hero hart zurücksetzen – Bild füllt Fläche, Text sauber lesbar */
@media (max-width: 760px){
  body .homepage-hero-cover,
  .homepage-hero-cover{
    position:relative !important;
    height:var(--vtas-hero-mobile-height, 560px) !important;
    min-height:var(--vtas-hero-mobile-height, 560px) !important;
    overflow:hidden !important;
    background:#123047 !important;
    border-radius:24px !important;
  }
  body .homepage-hero-cover::before,
  .homepage-hero-cover::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    background-image:var(--vtas-hero-bg-image) !important;
    background-repeat:no-repeat !important;
    background-size:cover !important;
    background-position:var(--vtas-hero-mobile-image-x, 55%) var(--vtas-hero-mobile-image-y, 26%) !important;
    transform:scale(var(--vtas-hero-mobile-image-zoom, 1.06)) !important;
    transform-origin:var(--vtas-hero-mobile-image-x, 55%) var(--vtas-hero-mobile-image-y, 26%) !important;
    z-index:0 !important;
    opacity:1 !important;
  }
  body .homepage-hero-cover::after,
  .homepage-hero-cover::after{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    background:linear-gradient(90deg, rgba(4,24,43,.66) 0%, rgba(4,24,43,.42) 38%, rgba(4,24,43,.05) 75%), linear-gradient(0deg, rgba(4,24,43,.64) 0%, rgba(4,24,43,0) 42%) !important;
    z-index:1 !important;
    pointer-events:none !important;
  }
  body .homepage-hero-cover > .wp-block-cover__image-background,
  body .homepage-hero-cover .wp-block-cover__image-background,
  .homepage-hero-cover > .wp-block-cover__image-background,
  .homepage-hero-cover .wp-block-cover__image-background{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
  }
  body .homepage-hero-cover .wp-block-cover__inner-container,
  .homepage-hero-cover .wp-block-cover__inner-container{
    position:relative !important;
    z-index:5 !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
  }
  body .homepage-hero-cover .homepage-hero-copy,
  .homepage-hero-cover .homepage-hero-copy{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    pointer-events:none !important;
    z-index:10 !important;
    overflow:visible !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p,
  .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p{
    position:absolute !important;
    left:20px !important;
    right:auto !important;
    width:calc(100% - 40px) !important;
    max-width:calc(100% - 40px) !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    color:#fff !important;
    text-align:left !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    hyphens:none !important;
    z-index:12 !important;
    text-shadow:0 2px 16px rgba(0,0,0,.45) !important;
    pointer-events:auto !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > h1{
    top:230px !important;
    font-size:clamp(32px, 10vw, 44px) !important;
    line-height:1.05 !important;
    letter-spacing:-.03em !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead{
    top:286px !important;
    font-size:15px !important;
    line-height:1.35 !important;
    max-width:310px !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
    display:contents !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1),
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1){
    top:330px !important;
    font-size:14px !important;
    line-height:1.35 !important;
    max-width:300px !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2),
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2){
    top:360px !important;
    font-size:14px !important;
    line-height:1.35 !important;
    max-width:300px !important;
  }
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons{
    position:absolute !important;
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    left:20px !important;
    right:20px !important;
    bottom:24px !important;
    top:auto !important;
    width:auto !important;
    max-width:none !important;
    transform:translateY(var(--vtas-hero-mobile-button-y, 0px)) !important;
    margin:0 !important;
    padding:0 !important;
    z-index:50 !important;
    pointer-events:auto !important;
  }
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons > .wp-block-button,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons > .wp-block-button,
  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons .wp-block-button__link{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
  body .homepage-hero-cover > .homepage-election-sticker,
  .homepage-hero-cover > .homepage-election-sticker{
    width:min(190px, 48vw) !important;
    left:auto !important;
    right:18px !important;
    bottom:92px !important;
    top:auto !important;
    transform:rotate(var(--vtas-sticker-rotation, -7deg)) !important;
    z-index:48 !important;
  }
}


/* v9.7: Mobile Startbild vollständig in voller Breite anzeigen */
@media (max-width: 760px){
  body .homepage-hero-cover,
  .homepage-hero-cover{
    background:#d7e0e6 !important;
  }
  body .homepage-hero-cover::before,
  .homepage-hero-cover::before{
    background-size:100% auto !important;
    background-position:top center !important;
    transform:none !important;
    transform-origin:top center !important;
  }
  body .homepage-hero-cover::after,
  .homepage-hero-cover::after{
    background:linear-gradient(180deg, rgba(4,24,43,0) 0%, rgba(4,24,43,0) 34%, rgba(4,24,43,.58) 58%, rgba(4,24,43,.68) 100%) !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > h1{
    top:calc(220px + var(--vtas-hero-mobile-text-y, 0px)) !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead{
    top:calc(272px + var(--vtas-hero-mobile-text-y, 0px)) !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1),
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1){
    top:calc(324px + var(--vtas-hero-mobile-text-y, 0px)) !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2),
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2){
    top:calc(354px + var(--vtas-hero-mobile-text-y, 0px)) !important;
  }
}


/* v9.8: Mobile Verlauf umkehren + mobile Vertikalregler wirksam machen */
@media (max-width: 760px){
  body .homepage-hero-cover,
  .homepage-hero-cover{
    background:#d7e0e6 !important;
  }
  body .homepage-hero-cover::before,
  .homepage-hero-cover::before{
    background-size:100% auto !important;
    background-position:top center !important;
    background-repeat:no-repeat !important;
    transform:none !important;
    transform-origin:top center !important;
  }
  /* Verlauf oben stärker, damit die Überschrift lesbar bleibt; unten weicher. */
  body .homepage-hero-cover::after,
  .homepage-hero-cover::after{
    background:linear-gradient(180deg,
      rgba(4,24,43,.72) 0%,
      rgba(4,24,43,.56) 24%,
      rgba(4,24,43,.24) 48%,
      rgba(4,24,43,.10) 70%,
      rgba(4,24,43,.30) 100%) !important;
  }

  body .homepage-hero-cover .homepage-hero-copy > h1,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p,
  .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p{
    position:absolute !important;
    width:min(var(--vtas-hero-mobile-text-max-width, 315px), calc(100% - 36px)) !important;
    max-width:min(var(--vtas-hero-mobile-text-max-width, 315px), calc(100% - 36px)) !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    z-index:50 !important;
  }

  body .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > h1{
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-title-x, 0px)) !important;
    top:calc(218px + var(--vtas-hero-mobile-text-y, 0px) + var(--vtas-hero-mobile-title-y, 0px)) !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead{
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-lead-x, 0px)) !important;
    top:calc(270px + var(--vtas-hero-mobile-text-y, 0px) + var(--vtas-hero-mobile-lead-y, 0px)) !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub{
    display:contents !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1),
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(1){
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-sub1-x, 0px)) !important;
    top:calc(322px + var(--vtas-hero-mobile-text-y, 0px) + var(--vtas-hero-mobile-sub1-y, 0px)) !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2),
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p:nth-of-type(2){
    left:calc(18px + var(--vtas-hero-mobile-text-x, 0px) + var(--vtas-hero-mobile-sub2-x, 0px)) !important;
    top:calc(352px + var(--vtas-hero-mobile-text-y, 0px) + var(--vtas-hero-mobile-sub2-y, 0px)) !important;
  }

  body .homepage-hero-cover .homepage-hero-actions.wp-block-buttons,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons,
  .homepage-hero-cover .homepage-hero-actions.wp-block-buttons,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-actions.wp-block-buttons{
    left:calc(18px + var(--vtas-hero-mobile-button-x, 0px)) !important;
    right:18px !important;
    bottom:24px !important;
    transform:translateY(var(--vtas-hero-mobile-button-y, 0px)) !important;
    z-index:55 !important;
  }
}


/* v9.9: Mobile Bildfarben unverfälscht + Wahlsticker-Regler wieder wirksam */
@media (max-width: 760px){
  body .homepage-hero-cover,
  .homepage-hero-cover{
    background:#d7e0e6 !important;
    overflow:hidden !important;
  }
  /* Verlauf liegt hinter dem Bild; dadurch bleiben die Bildfarben sauber. */
  body .homepage-hero-cover::after,
  .homepage-hero-cover::after{
    z-index:0 !important;
    background:linear-gradient(180deg,
      rgba(4,24,43,.62) 0%,
      rgba(4,24,43,.32) 28%,
      rgba(4,24,43,.06) 56%,
      rgba(4,24,43,.22) 100%) !important;
  }
  body .homepage-hero-cover::before,
  .homepage-hero-cover::before{
    z-index:1 !important;
    background-size:100% auto !important;
    background-position:top center !important;
    background-repeat:no-repeat !important;
    transform:none !important;
    transform-origin:top center !important;
  }
  body .homepage-hero-cover .wp-block-cover__inner-container,
  .homepage-hero-cover .wp-block-cover__inner-container{
    z-index:5 !important;
  }
  body .homepage-hero-cover .homepage-hero-copy > h1,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  body .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p,
  .homepage-hero-cover .homepage-hero-copy > h1,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-lead,
  .homepage-hero-cover .homepage-hero-copy > .homepage-hero-sub > p{
    text-shadow:0 2px 18px rgba(0,0,0,.72), 0 0 3px rgba(0,0,0,.35) !important;
  }
  body .homepage-hero-cover > .homepage-election-sticker,
  .homepage-hero-cover > .homepage-election-sticker{
    position:absolute !important;
    left:var(--vtas-sticker-mobile-x, 77%) !important;
    top:var(--vtas-sticker-mobile-y, 85%) !important;
    right:auto !important;
    bottom:auto !important;
    width:var(--vtas-sticker-mobile-size, 170px) !important;
    max-width:78vw !important;
    transform:translate(-50%, -50%) rotate(var(--vtas-sticker-mobile-rotation, -7deg)) !important;
    transform-origin:center center !important;
    z-index:60 !important;
    pointer-events:auto !important;
  }
  body .homepage-hero-cover > .homepage-election-sticker:hover,
  body .homepage-hero-cover > .homepage-election-sticker:focus-visible,
  .homepage-hero-cover > .homepage-election-sticker:hover,
  .homepage-hero-cover > .homepage-election-sticker:focus-visible{
    transform:translate(-50%, -50%) rotate(var(--vtas-sticker-mobile-rotation, -7deg)) !important;
    filter:none !important;
  }
}

/* v10.0 – Kandidierenden-Übersicht: Originaltexte vollständig anzeigen */
.candidate-card > p:not(.open-profile),
.candidate-card.wp-block-group > p:not(.open-profile){
  display:block !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:initial !important;
  overflow:visible !important;
  min-height:0 !important;
}


/* v10.2: Team-Tabellen – Spaltenbreiten per Customizer steuerbar */
.list-table-wrap table th:nth-child(1),
.list-table-wrap table td:nth-child(1),
.wp-block-table.list-table table th:nth-child(1),
.wp-block-table.list-table table td:nth-child(1),
.wp-block-table table th:nth-child(1),
.wp-block-table table td:nth-child(1),
.entry-content table th:nth-child(1),
.entry-content table td:nth-child(1){
  width:var(--vtas-table-name-width, 38%) !important;
  min-width:var(--vtas-table-name-min-width, 280px) !important;
}
.list-table-wrap table th:nth-child(2),
.list-table-wrap table td:nth-child(2),
.wp-block-table.list-table table th:nth-child(2),
.wp-block-table.list-table table td:nth-child(2),
.wp-block-table table th:nth-child(2),
.wp-block-table table td:nth-child(2),
.entry-content table th:nth-child(2),
.entry-content table td:nth-child(2){
  width:var(--vtas-table-info-width, 16%) !important;
  min-width:var(--vtas-table-info-min-width, 110px) !important;
}
.list-table-wrap table th:nth-child(3),
.list-table-wrap table td:nth-child(3),
.wp-block-table.list-table table th:nth-child(3),
.wp-block-table.list-table table td:nth-child(3),
.wp-block-table table th:nth-child(3),
.wp-block-table table td:nth-child(3),
.entry-content table th:nth-child(3),
.entry-content table td:nth-child(3){
  width:var(--vtas-table-place-width, 46%) !important;
  min-width:var(--vtas-table-place-min-width, 300px) !important;
}

/* v10.3: Team-Tabellen auf Smartphone als gut lesbare Karten darstellen */
@media (max-width: 760px){
  .list-table-wrap,
  .wp-block-table.list-table{
    overflow:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    margin-top:22px !important;
  }

  .list-table-wrap table,
  .wp-block-table.list-table table{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    table-layout:auto !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    background:transparent !important;
    font-size:15px !important;
  }

  .list-table-wrap table thead,
  .wp-block-table.list-table table thead{
    display:none !important;
  }

  .list-table-wrap table tbody,
  .wp-block-table.list-table table tbody{
    display:grid !important;
    gap:14px !important;
    width:100% !important;
  }

  .list-table-wrap table tr,
  .wp-block-table.list-table table tr{
    display:block !important;
    width:100% !important;
    background:#fff !important;
    border:1px solid rgba(31,42,55,.08) !important;
    border-radius:20px !important;
    box-shadow:var(--shadow) !important;
    overflow:hidden !important;
  }

  .list-table-wrap table th,
  .list-table-wrap table td,
  .wp-block-table.list-table table th,
  .wp-block-table.list-table table td{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:18px !important;
    width:auto !important;
    min-width:0 !important;
    padding:12px 16px !important;
    border:0 !important;
    border-bottom:1px solid rgba(31,42,55,.08) !important;
    text-align:right !important;
    line-height:1.55 !important;
    color:#1f2937 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
  }

  .list-table-wrap table td:last-child,
  .wp-block-table.list-table table td:last-child{
    border-bottom:0 !important;
  }

  .list-table-wrap table td::before,
  .wp-block-table.list-table table td::before{
    flex:0 0 88px !important;
    min-width:88px !important;
    text-align:left !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.14em !important;
    text-transform:uppercase !important;
    color:var(--blue) !important;
    line-height:1.55 !important;
    content:"";
  }

  .list-table-wrap table td:nth-child(1),
  .wp-block-table.list-table table td:nth-child(1){
    font-weight:800 !important;
    color:var(--red-dark) !important;
    font-size:16px !important;
  }
  .list-table-wrap table td:nth-child(1)::before,
  .wp-block-table.list-table table td:nth-child(1)::before{content:"Name";}

  .list-table-wrap table td:nth-child(2)::before,
  .wp-block-table.list-table table td:nth-child(2)::before{content:"Angabe";}

  .list-table-wrap table td:nth-child(3)::before,
  .wp-block-table.list-table table td:nth-child(3)::before{content:"Ort";}
}


/* v10.4: Mobile Tabellen wieder als kompakte, schöne Scroll-Tabelle statt Karten */
@media (max-width: 760px){
  .list-table-wrap,
  .wp-block-table.list-table,
  .entry-content .wp-block-table{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    background:#fff !important;
    border:1px solid rgba(31,42,55,.10) !important;
    border-radius:20px !important;
    box-shadow:var(--shadow) !important;
    margin-top:18px !important;
  }
  .list-table-wrap table,
  .wp-block-table.list-table table,
  .entry-content .wp-block-table table{
    display:table !important;
    width:100% !important;
    min-width:620px !important;
    table-layout:fixed !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    background:#fff !important;
    font-size:14px !important;
  }
  .list-table-wrap table thead,
  .wp-block-table.list-table table thead,
  .entry-content .wp-block-table table thead{display:table-header-group !important;}
  .list-table-wrap table tbody,
  .wp-block-table.list-table table tbody,
  .entry-content .wp-block-table table tbody{display:table-row-group !important;}
  .list-table-wrap table tr,
  .wp-block-table.list-table table tr,
  .entry-content .wp-block-table table tr{
    display:table-row !important;
    width:auto !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
  }
  .list-table-wrap table th,
  .list-table-wrap table td,
  .wp-block-table.list-table table th,
  .wp-block-table.list-table table td,
  .entry-content .wp-block-table table th,
  .entry-content .wp-block-table table td{
    display:table-cell !important;
    width:auto !important;
    padding:12px 14px !important;
    border:0 !important;
    border-bottom:1px solid rgba(31,42,55,.10) !important;
    border-right:1px solid rgba(31,42,55,.08) !important;
    text-align:left !important;
    vertical-align:top !important;
    line-height:1.45 !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    color:#1f2937 !important;
  }
  .list-table-wrap table th:last-child,
  .list-table-wrap table td:last-child,
  .wp-block-table.list-table table th:last-child,
  .wp-block-table.list-table table td:last-child,
  .entry-content .wp-block-table table th:last-child,
  .entry-content .wp-block-table table td:last-child{border-right:0 !important;}
  .list-table-wrap table td::before,
  .wp-block-table.list-table table td::before,
  .entry-content .wp-block-table table td::before{content:none !important;display:none !important;}
  .list-table-wrap table th,
  .wp-block-table.list-table table th,
  .entry-content .wp-block-table table th{
    background:#f7f9fb !important;
    color:var(--blue) !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.16em !important;
    text-transform:uppercase !important;
  }
  .list-table-wrap table td:first-child,
  .wp-block-table.list-table table td:first-child,
  .entry-content .wp-block-table table td:first-child{
    color:var(--red-dark) !important;
    font-weight:800 !important;
  }
  .list-table-wrap table th:nth-child(1),
  .list-table-wrap table td:nth-child(1),
  .wp-block-table.list-table table th:nth-child(1),
  .wp-block-table.list-table table td:nth-child(1),
  .entry-content .wp-block-table table th:nth-child(1),
  .entry-content .wp-block-table table td:nth-child(1){width:44% !important;min-width:230px !important;}
  .list-table-wrap table th:nth-child(2),
  .list-table-wrap table td:nth-child(2),
  .wp-block-table.list-table table th:nth-child(2),
  .wp-block-table.list-table table td:nth-child(2),
  .entry-content .wp-block-table table th:nth-child(2),
  .entry-content .wp-block-table table td:nth-child(2){width:18% !important;min-width:100px !important;}
  .list-table-wrap table th:nth-child(3),
  .list-table-wrap table td:nth-child(3),
  .wp-block-table.list-table table th:nth-child(3),
  .wp-block-table.list-table table td:nth-child(3),
  .entry-content .wp-block-table table th:nth-child(3),
  .entry-content .wp-block-table table td:nth-child(3){width:38% !important;min-width:220px !important;}
}

/* v10.4: Eingefügte Bilder im Seiteninhalt wieder sichtbar und sauber begrenzt */
.entry-content figure.wp-block-image,
main figure.wp-block-image:not(.profile-inline-portrait):not(.team-hero-featured-image),
.wp-block-image:not(.profile-inline-portrait):not(.team-hero-featured-image){
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  max-width:100% !important;
}
.entry-content figure.wp-block-image img,
main figure.wp-block-image:not(.profile-inline-portrait):not(.team-hero-featured-image) img,
.wp-block-image:not(.profile-inline-portrait):not(.team-hero-featured-image) img{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  max-width:100% !important;
  height:auto !important;
}


/* v10.5: Mobile Team-Tabellen als normale, schmale Tabelle auf voller Breite */
@media (max-width: 760px){
  .list-table-wrap,
  .wp-block-table.list-table,
  .entry-content .wp-block-table.list-table{
    width:100% !important;
    max-width:100% !important;
    overflow-x:visible !important;
    overflow-y:visible !important;
    border-radius:16px !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .list-table-wrap table,
  .wp-block-table.list-table table,
  .entry-content .wp-block-table.list-table table{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    table-layout:fixed !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    font-size:var(--vtas-table-mobile-body-font, 11px) !important;
  }
  .list-table-wrap table th,
  .list-table-wrap table td,
  .wp-block-table.list-table table th,
  .wp-block-table.list-table table td,
  .entry-content .wp-block-table.list-table table th,
  .entry-content .wp-block-table.list-table table td{
    display:table-cell !important;
    padding:var(--vtas-table-mobile-padding-y, 8px) var(--vtas-table-mobile-padding-x, 7px) !important;
    line-height:1.35 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
    hyphens:auto !important;
    vertical-align:top !important;
  }
  .list-table-wrap table th,
  .wp-block-table.list-table table th,
  .entry-content .wp-block-table.list-table table th{
    font-size:var(--vtas-table-mobile-head-font, 10px) !important;
    letter-spacing:.10em !important;
    white-space:nowrap !important;
  }
  .list-table-wrap table th:nth-child(1),
  .list-table-wrap table td:nth-child(1),
  .wp-block-table.list-table table th:nth-child(1),
  .wp-block-table.list-table table td:nth-child(1),
  .entry-content .wp-block-table.list-table table th:nth-child(1),
  .entry-content .wp-block-table.list-table table td:nth-child(1){
    width:var(--vtas-table-mobile-name-width, 42%) !important;
    min-width:0 !important;
  }
  .list-table-wrap table th:nth-child(2),
  .list-table-wrap table td:nth-child(2),
  .wp-block-table.list-table table th:nth-child(2),
  .wp-block-table.list-table table td:nth-child(2),
  .entry-content .wp-block-table.list-table table th:nth-child(2),
  .entry-content .wp-block-table.list-table table td:nth-child(2){
    width:var(--vtas-table-mobile-info-width, 18%) !important;
    min-width:0 !important;
  }
  .list-table-wrap table th:nth-child(3),
  .list-table-wrap table td:nth-child(3),
  .wp-block-table.list-table table th:nth-child(3),
  .wp-block-table.list-table table td:nth-child(3),
  .entry-content .wp-block-table.list-table table th:nth-child(3),
  .entry-content .wp-block-table.list-table table td:nth-child(3){
    width:var(--vtas-table-mobile-place-width, 40%) !important;
    min-width:0 !important;
  }
}

/* v10.6: Mobile Tabellen final als echte kompakte Tabellen, getrennt nach Team- und Kandidierenden-Liste */
@media (max-width: 760px){
  .list-table-wrap,
  .wp-block-table.list-table,
  .entry-content .wp-block-table.list-table{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    overflow-x:visible !important;
    overflow-y:visible !important;
    background:#fff !important;
    border:1px solid rgba(31,42,55,.10) !important;
    border-radius:16px !important;
    box-shadow:var(--shadow) !important;
    margin:16px 0 0 !important;
    padding:0 !important;
  }
  .list-table-wrap table,
  .wp-block-table.list-table table,
  .entry-content .wp-block-table.list-table table{
    display:table !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    table-layout:fixed !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    background:#fff !important;
    font-size:var(--vtas-table-mobile-body-font, 10px) !important;
    line-height:1.28 !important;
  }
  .list-table-wrap table thead,
  .wp-block-table.list-table table thead,
  .entry-content .wp-block-table.list-table table thead{display:table-header-group !important;}
  .list-table-wrap table tbody,
  .wp-block-table.list-table table tbody,
  .entry-content .wp-block-table.list-table table tbody{display:table-row-group !important;}
  .list-table-wrap table tr,
  .wp-block-table.list-table table tr,
  .entry-content .wp-block-table.list-table table tr{
    display:table-row !important;
    width:auto !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
  }
  .list-table-wrap table th,
  .list-table-wrap table td,
  .wp-block-table.list-table table th,
  .wp-block-table.list-table table td,
  .entry-content .wp-block-table.list-table table th,
  .entry-content .wp-block-table.list-table table td{
    display:table-cell !important;
    width:auto !important;
    min-width:0 !important;
    padding:var(--vtas-table-mobile-padding-y, 6px) var(--vtas-table-mobile-padding-x, 5px) !important;
    border:0 !important;
    border-right:1px solid rgba(31,42,55,.08) !important;
    border-bottom:1px solid rgba(31,42,55,.10) !important;
    text-align:left !important;
    vertical-align:top !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
    hyphens:auto !important;
    color:#1f2937 !important;
    line-height:1.28 !important;
  }
  .list-table-wrap table th:last-child,
  .list-table-wrap table td:last-child,
  .wp-block-table.list-table table th:last-child,
  .wp-block-table.list-table table td:last-child,
  .entry-content .wp-block-table.list-table table th:last-child,
  .entry-content .wp-block-table.list-table table td:last-child{border-right:0 !important;}
  .list-table-wrap table td::before,
  .wp-block-table.list-table table td::before,
  .entry-content .wp-block-table.list-table table td::before{content:none !important;display:none !important;}
  .list-table-wrap table th,
  .wp-block-table.list-table table th,
  .entry-content .wp-block-table.list-table table th{
    background:#f7f9fb !important;
    color:var(--blue) !important;
    font-size:var(--vtas-table-mobile-head-font, 9px) !important;
    font-weight:800 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
    white-space:normal !important;
  }
  .list-table-wrap table td:first-child,
  .wp-block-table.list-table table td:first-child,
  .entry-content .wp-block-table.list-table table td:first-child{
    color:var(--red-dark) !important;
    font-weight:800 !important;
  }

  /* Team-Unterseiten: Name / Angabe / Ort */
  body:not(.page-template-template-kandidierende) .list-table-wrap table th:nth-child(1),
  body:not(.page-template-template-kandidierende) .list-table-wrap table td:nth-child(1),
  body:not(.page-template-template-kandidierende) .wp-block-table.list-table table th:nth-child(1),
  body:not(.page-template-template-kandidierende) .wp-block-table.list-table table td:nth-child(1){width:var(--vtas-table-mobile-name-width, 46%) !important;}
  body:not(.page-template-template-kandidierende) .list-table-wrap table th:nth-child(2),
  body:not(.page-template-template-kandidierende) .list-table-wrap table td:nth-child(2),
  body:not(.page-template-template-kandidierende) .wp-block-table.list-table table th:nth-child(2),
  body:not(.page-template-template-kandidierende) .wp-block-table.list-table table td:nth-child(2){width:var(--vtas-table-mobile-info-width, 17%) !important;}
  body:not(.page-template-template-kandidierende) .list-table-wrap table th:nth-child(3),
  body:not(.page-template-template-kandidierende) .list-table-wrap table td:nth-child(3),
  body:not(.page-template-template-kandidierende) .wp-block-table.list-table table th:nth-child(3),
  body:not(.page-template-template-kandidierende) .wp-block-table.list-table table td:nth-child(3){width:var(--vtas-table-mobile-place-width, 37%) !important;}

  /* Kandidierenden-Seite: Platz / Name / Angabe */
  body.page-template-template-kandidierende .list-table-wrap table th:nth-child(1),
  body.page-template-template-kandidierende .list-table-wrap table td:nth-child(1),
  body.page-template-template-kandidierende .wp-block-table.list-table table th:nth-child(1),
  body.page-template-template-kandidierende .wp-block-table.list-table table td:nth-child(1){width:var(--vtas-candidate-list-mobile-place-width, 14%) !important;}
  body.page-template-template-kandidierende .list-table-wrap table th:nth-child(2),
  body.page-template-template-kandidierende .list-table-wrap table td:nth-child(2),
  body.page-template-template-kandidierende .wp-block-table.list-table table th:nth-child(2),
  body.page-template-template-kandidierende .wp-block-table.list-table table td:nth-child(2){width:var(--vtas-candidate-list-mobile-name-width, 48%) !important;}
  body.page-template-template-kandidierende .list-table-wrap table th:nth-child(3),
  body.page-template-template-kandidierende .list-table-wrap table td:nth-child(3),
  body.page-template-template-kandidierende .wp-block-table.list-table table th:nth-child(3),
  body.page-template-template-kandidierende .wp-block-table.list-table table td:nth-child(3){width:var(--vtas-candidate-list-mobile-info-width, 38%) !important;}
}


/* v10.7: Mobile Tabellen als gut lesbare Listen – Daten bleiben eine einzige Tabelle im Editor */
@media (max-width: 760px){
  .wp-block-table.list-table,
  .list-table-wrap,
  .entry-content .wp-block-table.list-table{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    padding:0 !important;
    margin:18px 0 0 !important;
  }
  .wp-block-table.list-table table.vtas-mobile-list-table,
  .list-table-wrap table.vtas-mobile-list-table,
  .entry-content .wp-block-table.list-table table.vtas-mobile-list-table{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    table-layout:auto !important;
    border:0 !important;
    border-collapse:separate !important;
    background:transparent !important;
    box-shadow:none !important;
    font-size:inherit !important;
  }
  table.vtas-mobile-list-table thead,
  table.vtas-mobile-list-table colgroup{
    display:none !important;
  }
  table.vtas-mobile-list-table tbody{
    display:block !important;
    width:100% !important;
  }
  table.vtas-mobile-list-table tr{
    display:block !important;
    width:100% !important;
    padding:12px 14px !important;
    margin:0 !important;
    background:#fff !important;
    border:0 !important;
    border-bottom:1px solid rgba(31,42,55,.10) !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
  table.vtas-mobile-list-table tr:first-child{
    border-top-left-radius:18px !important;
    border-top-right-radius:18px !important;
    border-top:1px solid rgba(31,42,55,.08) !important;
  }
  table.vtas-mobile-list-table tr:last-child{
    border-bottom-left-radius:18px !important;
    border-bottom-right-radius:18px !important;
    border-bottom:1px solid rgba(31,42,55,.08) !important;
  }
  table.vtas-mobile-list-table td,
  table.vtas-mobile-list-table th{
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    text-align:left !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
    hyphens:auto !important;
    line-height:1.45 !important;
  }
  table.vtas-mobile-list-table td::before,
  table.vtas-mobile-list-table th::before{
    content:none !important;
    display:none !important;
  }

  /* Team-Tabellen: Name groß, darunter Angabe · Ort */
  table.vtas-mobile-team-list td:nth-child(1){
    color:var(--red-dark) !important;
    font-weight:850 !important;
    font-size:15px !important;
    line-height:1.35 !important;
    margin-bottom:4px !important;
  }
  table.vtas-mobile-team-list td:nth-child(2),
  table.vtas-mobile-team-list td:nth-child(3){
    display:inline !important;
    color:#4b5563 !important;
    font-size:13px !important;
    line-height:1.45 !important;
    font-weight:500 !important;
  }
  table.vtas-mobile-team-list td:nth-child(2)::after{
    content:" · " !important;
    color:#9aa4af !important;
    font-weight:700 !important;
  }

  /* Kandidierenden-Liste 21–72: Platz · Name, darunter Angabe */
  table.vtas-mobile-candidate-list tr{
    position:relative !important;
    padding-left:56px !important;
    min-height:54px !important;
  }
  table.vtas-mobile-candidate-list td:nth-child(1){
    position:absolute !important;
    left:14px !important;
    top:13px !important;
    width:30px !important;
    height:30px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:999px !important;
    background:rgba(176,32,39,.09) !important;
    color:var(--red-dark) !important;
    font-weight:900 !important;
    font-size:13px !important;
    line-height:1 !important;
  }
  table.vtas-mobile-candidate-list td:nth-child(2){
    color:#16202a !important;
    font-weight:850 !important;
    font-size:15px !important;
    line-height:1.35 !important;
    margin-bottom:3px !important;
  }
  table.vtas-mobile-candidate-list td:nth-child(3){
    color:#4b5563 !important;
    font-size:13px !important;
    line-height:1.45 !important;
    font-weight:500 !important;
  }
}


/* v10.8: Mobile Kandidierendenliste 21–72 als echte Zwei-Spalten-Liste
   links Listenplatz, rechts Name + darunter Angabe/Ort */
@media (max-width: 760px){
  body.page-template-template-kandidierende .list-table-wrap,
  body.page-template-template-kandidierende figure.wp-block-table.list-table,
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    margin-top:18px !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table,
  body.page-template-template-kandidierende figure.wp-block-table.list-table table,
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    table-layout:auto !important;
    border:0 !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table thead,
  body.page-template-template-kandidierende figure.wp-block-table.list-table table thead,
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table thead{
    display:none !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody,
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody,
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody{
    display:block !important;
    width:100% !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody tr,
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody tr,
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody tr{
    display:grid !important;
    grid-template-columns:46px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    column-gap:12px !important;
    row-gap:2px !important;
    align-items:start !important;
    width:100% !important;
    margin:0 !important;
    padding:12px 14px !important;
    background:#fff !important;
    border:0 !important;
    border-bottom:1px solid rgba(31,42,55,.10) !important;
    box-shadow:none !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody tr:first-child,
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody tr:first-child{
    border-top-left-radius:18px !important;
    border-top-right-radius:18px !important;
    border-top:1px solid rgba(31,42,55,.08) !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody tr:last-child,
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody tr:last-child{
    border-bottom-left-radius:18px !important;
    border-bottom-right-radius:18px !important;
    border-bottom:1px solid rgba(31,42,55,.08) !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody td,
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody td,
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody td{
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    background:transparent !important;
    text-align:left !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
    hyphens:auto !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody td::before,
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody td::before{
    content:none !important;
    display:none !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody td:nth-child(1),
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody td:nth-child(1),
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody td:nth-child(1){
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
    align-self:center !important;
    width:40px !important;
    height:40px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:999px !important;
    background:rgba(176,32,39,.09) !important;
    color:var(--red-dark) !important;
    font-weight:900 !important;
    font-size:15px !important;
    line-height:1 !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody td:nth-child(2),
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody td:nth-child(2),
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody td:nth-child(2){
    grid-column:2 !important;
    grid-row:1 !important;
    color:#16202a !important;
    font-weight:850 !important;
    font-size:15px !important;
    line-height:1.35 !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody td:nth-child(3),
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody td:nth-child(3),
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody td:nth-child(3){
    grid-column:2 !important;
    grid-row:2 !important;
    color:#4b5563 !important;
    font-size:13px !important;
    line-height:1.4 !important;
    font-weight:500 !important;
  }
}


/* v10.9: Kandidierendenliste mobil kompakter – kleinere Nummern und Namen */
@media (max-width: 760px){
  body.page-template-template-kandidierende .list-table-wrap table tbody tr,
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody tr,
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody tr{
    grid-template-columns:38px minmax(0,1fr) !important;
    column-gap:10px !important;
    row-gap:1px !important;
    padding:10px 12px !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody td:nth-child(1),
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody td:nth-child(1),
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody td:nth-child(1){
    width:32px !important;
    height:32px !important;
    font-size:12px !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody td:nth-child(2),
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody td:nth-child(2),
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody td:nth-child(2){
    font-size:13px !important;
    line-height:1.25 !important;
    letter-spacing:-0.01em !important;
  }
  body.page-template-template-kandidierende .list-table-wrap table tbody td:nth-child(3),
  body.page-template-template-kandidierende figure.wp-block-table.list-table table tbody td:nth-child(3),
  body.page-template-template-kandidierende .entry-content figure.wp-block-table.list-table table tbody td:nth-child(3){
    font-size:12px !important;
    line-height:1.35 !important;
  }
}


/* v11.0: Teamtabellen mobil auf volle nutzbare Bildschirmbreite ziehen */
@media (max-width: 760px){
  body:not(.page-template-template-kandidierende) .list-table-wrap,
  body:not(.page-template-template-kandidierende) figure.wp-block-table.list-table,
  body:not(.page-template-template-kandidierende) .entry-content figure.wp-block-table.list-table{
    width:calc(100vw - 20px) !important;
    max-width:calc(100vw - 20px) !important;
    margin-left:calc(50% - 50vw + 10px) !important;
    margin-right:0 !important;
    padding:0 !important;
  }
  body:not(.page-template-template-kandidierende) .wp-block-table.list-table table.vtas-mobile-team-list,
  body:not(.page-template-template-kandidierende) .list-table-wrap table.vtas-mobile-team-list,
  body:not(.page-template-template-kandidierende) .entry-content .wp-block-table.list-table table.vtas-mobile-team-list{
    width:100% !important;
    max-width:100% !important;
  }
  body:not(.page-template-template-kandidierende) table.vtas-mobile-team-list tr{
    width:100% !important;
    box-sizing:border-box !important;
    padding:10px 12px !important;
  }
  body:not(.page-template-template-kandidierende) table.vtas-mobile-team-list td:nth-child(1){
    font-size:14px !important;
    line-height:1.28 !important;
  }
  body:not(.page-template-template-kandidierende) table.vtas-mobile-team-list td:nth-child(2),
  body:not(.page-template-template-kandidierende) table.vtas-mobile-team-list td:nth-child(3){
    font-size:12.5px !important;
  }
}

/* v11.1: Mobile Teamlisten – Name darf die komplette Breite nutzen */
@media (max-width: 760px){
  body:not(.page-template-template-kandidierende) .list-table-wrap table.vtas-mobile-team-list tbody tr,
  body:not(.page-template-template-kandidierende) figure.wp-block-table.list-table table.vtas-mobile-team-list tbody tr,
  body:not(.page-template-template-kandidierende) .entry-content figure.wp-block-table.list-table table.vtas-mobile-team-list tbody tr{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  body:not(.page-template-template-kandidierende) .list-table-wrap table.vtas-mobile-team-list tbody td,
  body:not(.page-template-template-kandidierende) figure.wp-block-table.list-table table.vtas-mobile-team-list tbody td,
  body:not(.page-template-template-kandidierende) .entry-content figure.wp-block-table.list-table table.vtas-mobile-team-list tbody td{
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }
  body:not(.page-template-template-kandidierende) .list-table-wrap table.vtas-mobile-team-list tbody td:nth-child(1),
  body:not(.page-template-template-kandidierende) figure.wp-block-table.list-table table.vtas-mobile-team-list tbody td:nth-child(1),
  body:not(.page-template-template-kandidierende) .entry-content figure.wp-block-table.list-table table.vtas-mobile-team-list tbody td:nth-child(1){
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    hyphens:none !important;
    font-size:14px !important;
    line-height:1.28 !important;
  }
  body:not(.page-template-template-kandidierende) .list-table-wrap table.vtas-mobile-team-list tbody td:nth-child(2),
  body:not(.page-template-template-kandidierende) figure.wp-block-table.list-table table.vtas-mobile-team-list tbody td:nth-child(2),
  body:not(.page-template-template-kandidierende) .entry-content figure.wp-block-table.list-table table.vtas-mobile-team-list tbody td:nth-child(2),
  body:not(.page-template-template-kandidierende) .list-table-wrap table.vtas-mobile-team-list tbody td:nth-child(3),
  body:not(.page-template-template-kandidierende) figure.wp-block-table.list-table table.vtas-mobile-team-list tbody td:nth-child(3),
  body:not(.page-template-template-kandidierende) .entry-content figure.wp-block-table.list-table table.vtas-mobile-team-list tbody td:nth-child(3){
    display:inline !important;
    width:auto !important;
    max-width:none !important;
  }
}


/* v11.2: Mobile Teamtabellen vereinheitlichen – volle Breite, keine inneren Rahmen */
@media (max-width: 760px){
  .list-table-wrap:has(table.vtas-mobile-team-list),
  figure.wp-block-table.list-table:has(table.vtas-mobile-team-list),
  .entry-content figure.wp-block-table.list-table:has(table.vtas-mobile-team-list){
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:18px 0 0 !important;
    background:#fff !important;
    border:1px solid rgba(31,42,55,.10) !important;
    border-radius:22px !important;
    overflow:hidden !important;
    box-shadow:none !important;
    padding:0 !important;
  }

  table.vtas-mobile-team-list,
  table.vtas-mobile-team-list tbody{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    border:0 !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  table.vtas-mobile-team-list tr{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:14px 16px !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid rgba(31,42,55,.10) !important;
    box-shadow:none !important;
    border-radius:0 !important;
  }
  table.vtas-mobile-team-list tr:first-child{
    border-top:0 !important;
    border-top-left-radius:0 !important;
    border-top-right-radius:0 !important;
  }
  table.vtas-mobile-team-list tr:last-child{
    border-bottom:0 !important;
    border-bottom-left-radius:0 !important;
    border-bottom-right-radius:0 !important;
  }

  table.vtas-mobile-team-list td,
  table.vtas-mobile-team-list th{
    display:block !important;
    float:none !important;
    clear:both !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    text-align:left !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
    hyphens:auto !important;
    vertical-align:top !important;
  }
  table.vtas-mobile-team-list td:empty{display:none !important;}

  table.vtas-mobile-team-list td:nth-child(1){
    color:var(--red-dark) !important;
    font-weight:850 !important;
    font-size:14px !important;
    line-height:1.35 !important;
    margin-bottom:5px !important;
  }
  table.vtas-mobile-team-list td:nth-child(2),
  table.vtas-mobile-team-list td:nth-child(3){
    display:inline !important;
    width:auto !important;
    max-width:none !important;
    font-size:12px !important;
    line-height:1.45 !important;
    font-weight:500 !important;
    color:#4b5563 !important;
  }
  table.vtas-mobile-team-list td:nth-child(2)::after{
    content:" · " !important;
    color:#9aa4af !important;
    font-weight:700 !important;
  }
}


/* v11.7: Teamtabellen klickbar sortierbar */
.list-table-wrap table.vtas-sortable-table th.vtas-sortable-heading,
figure.wp-block-table.list-table table.vtas-sortable-table th.vtas-sortable-heading,
table.vtas-sortable-table th.vtas-sortable-heading{
  cursor:pointer !important;
  user-select:none !important;
  position:relative !important;
  padding-right:32px !important;
}
.list-table-wrap table.vtas-sortable-table th.vtas-sortable-heading::after,
figure.wp-block-table.list-table table.vtas-sortable-table th.vtas-sortable-heading::after,
table.vtas-sortable-table th.vtas-sortable-heading::after{
  content:"↕";
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:12px;
  letter-spacing:0;
  color:#8aa2b2;
  opacity:.9;
}
.list-table-wrap table.vtas-sortable-table th.vtas-sortable-heading.is-sorted-asc::after,
figure.wp-block-table.list-table table.vtas-sortable-table th.vtas-sortable-heading.is-sorted-asc::after,
table.vtas-sortable-table th.vtas-sortable-heading.is-sorted-asc::after{content:"↑"; color:var(--red-dark);}
.list-table-wrap table.vtas-sortable-table th.vtas-sortable-heading.is-sorted-desc::after,
figure.wp-block-table.list-table table.vtas-sortable-table th.vtas-sortable-heading.is-sorted-desc::after,
table.vtas-sortable-table th.vtas-sortable-heading.is-sorted-desc::after{content:"↓"; color:var(--red-dark);}
.list-table-wrap table.vtas-sortable-table th.vtas-sortable-heading:hover,
figure.wp-block-table.list-table table.vtas-sortable-table th.vtas-sortable-heading:hover,
table.vtas-sortable-table th.vtas-sortable-heading:hover{
  color:var(--red-dark) !important;
  background:#f3f7fa !important;
}
.list-table-wrap table.vtas-sortable-table th.vtas-sortable-heading:focus-visible,
figure.wp-block-table.list-table table.vtas-sortable-table th.vtas-sortable-heading:focus-visible,
table.vtas-sortable-table th.vtas-sortable-heading:focus-visible{
  outline:2px solid rgba(176,32,39,.35) !important;
  outline-offset:-2px !important;
}
@media (max-width:760px){
  table.vtas-mobile-team-list.vtas-sortable-table thead{display:none !important;}
}

/* v11.9.2: Mobile Sortierleiste für Teamtabellen */
.vtas-mobile-sort-controls{
  display:none;
}
@media (max-width:760px){
  .vtas-mobile-sort-controls{
    display:flex !important;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    width:100%;
    margin:18px 0 10px;
  }
  .vtas-mobile-sort-label{
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#5a7f98;
    margin-right:2px;
  }
  .vtas-mobile-sort-controls button{
    appearance:none;
    border:1px solid rgba(31,42,55,.16);
    background:#fff;
    color:#16202a;
    border-radius:999px;
    padding:7px 10px;
    font-size:12px;
    line-height:1;
    font-weight:750;
    cursor:pointer;
    box-shadow:none;
  }
  .vtas-mobile-sort-controls button.is-active{
    border-color:rgba(176,32,39,.35);
    color:var(--red-dark);
    background:rgba(176,32,39,.06);
  }
  .vtas-mobile-sort-controls button.is-active::after{
    content:" ↑";
    font-weight:900;
  }
  .vtas-mobile-sort-controls button.is-active[data-direction="desc"]::after{
    content:" ↓";
  }
  .vtas-mobile-sort-controls button:focus-visible{
    outline:2px solid rgba(176,32,39,.35);
    outline-offset:2px;
  }
  body.page-template-template-kandidierende .vtas-mobile-sort-controls{
    display:none !important;
  }
}


/* v11.9.3: Mobile Tabellen und Sortierleiste vereinheitlicht */
@media (max-width:760px){
  .vtas-mobile-list-table-wrap,
  .vtas-mobile-team-list-wrap,
  .vtas-mobile-candidate-list-wrap,
  .vtas-has-mobile-sort{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:18px 0 0 !important;
    background:#fff !important;
    border:1px solid rgba(31,42,55,.10) !important;
    border-radius:22px !important;
    overflow:hidden !important;
    box-shadow:none !important;
    padding:0 !important;
  }

  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px !important;
    align-items:stretch !important;
    width:100% !important;
    margin:0 !important;
    padding:14px !important;
    background:#f7f9fb !important;
    border-bottom:1px solid rgba(31,42,55,.08) !important;
    box-sizing:border-box !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-label{
    grid-column:1 / -1;
    margin:0 0 2px 0 !important;
    font-size:11px !important;
    line-height:1.2 !important;
    font-weight:800 !important;
    letter-spacing:.11em !important;
    text-transform:uppercase !important;
    color:#5a7f98 !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button{
    appearance:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:36px !important;
    margin:0 !important;
    padding:8px 10px !important;
    border:1px solid rgba(31,42,55,.14) !important;
    border-radius:12px !important;
    background:#fff !important;
    color:#16202a !important;
    font-size:12px !important;
    line-height:1.15 !important;
    font-weight:750 !important;
    box-shadow:none !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button.is-active{
    border-color:rgba(176,32,39,.35) !important;
    background:rgba(176,32,39,.07) !important;
    color:var(--red-dark) !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button.is-active::after{
    content:" ↑" !important;
    font-weight:900 !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button.is-active[data-direction="desc"]::after{
    content:" ↓" !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button:focus-visible{
    outline:2px solid rgba(176,32,39,.35) !important;
    outline-offset:1px !important;
  }

  table.vtas-mobile-list-table,
  table.vtas-mobile-list-table tbody{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    border:0 !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  table.vtas-mobile-list-table thead,
  table.vtas-mobile-list-table colgroup{
    display:none !important;
  }
  table.vtas-mobile-list-table tr{
    width:100% !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid rgba(31,42,55,.10) !important;
    border-radius:0 !important;
    box-shadow:none !important;
    box-sizing:border-box !important;
  }
  table.vtas-mobile-list-table tr:last-child{
    border-bottom:0 !important;
  }
  table.vtas-mobile-list-table td,
  table.vtas-mobile-list-table th{
    max-width:100% !important;
    box-sizing:border-box !important;
    background:transparent !important;
  }

  table.vtas-mobile-team-list tr{
    display:block !important;
    padding:14px 16px !important;
  }
  table.vtas-mobile-team-list td,
  table.vtas-mobile-team-list th{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    text-align:left !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
    hyphens:auto !important;
    line-height:1.4 !important;
  }
  table.vtas-mobile-team-list td:empty{display:none !important;}
  table.vtas-mobile-team-list td:nth-child(1){
    margin-bottom:4px !important;
    color:var(--red-dark) !important;
    font-size:15px !important;
    font-weight:850 !important;
    line-height:1.32 !important;
  }
  table.vtas-mobile-team-list td:nth-child(2),
  table.vtas-mobile-team-list td:nth-child(3){
    display:inline !important;
    width:auto !important;
    color:#4b5563 !important;
    font-size:13px !important;
    font-weight:500 !important;
    line-height:1.45 !important;
  }
  table.vtas-mobile-team-list td:nth-child(2)::after{
    content:" · " !important;
    color:#9aa4af !important;
    font-weight:700 !important;
  }

  table.vtas-mobile-candidate-list tr{
    display:grid !important;
    grid-template-columns:38px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    column-gap:10px !important;
    row-gap:2px !important;
    align-items:center !important;
    padding:14px 16px !important;
  }
  table.vtas-mobile-candidate-list td,
  table.vtas-mobile-candidate-list th{
    display:block !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    text-align:left !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
    hyphens:auto !important;
  }
  table.vtas-mobile-candidate-list td:nth-child(1){
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:32px !important;
    height:32px !important;
    align-self:center !important;
    border-radius:999px !important;
    background:rgba(176,32,39,.09) !important;
    color:var(--red-dark) !important;
    font-size:12px !important;
    font-weight:900 !important;
    line-height:1 !important;
  }
  table.vtas-mobile-candidate-list td:nth-child(2){
    grid-column:2 !important;
    grid-row:1 !important;
    color:#16202a !important;
    font-size:15px !important;
    font-weight:850 !important;
    line-height:1.32 !important;
  }
  table.vtas-mobile-candidate-list td:nth-child(3){
    grid-column:2 !important;
    grid-row:2 !important;
    color:#4b5563 !important;
    font-size:13px !important;
    font-weight:500 !important;
    line-height:1.42 !important;
  }
}

@media (max-width:380px){
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button:last-child{
    grid-column:1 / -1 !important;
  }
}


/* v11.9.4: Fix für schmale mobile Teamtabellen und robuste Sortierbuttons */
@media (max-width:760px){
  body:not(.page-template-template-kandidierende) .vtas-has-mobile-sort,
  body:not(.page-template-template-kandidierende) .vtas-mobile-team-list-wrap{
    border-radius:20px !important;
    overflow:hidden !important;
    background:#fff !important;
  }

  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    align-items:stretch !important;
    width:100% !important;
    margin:0 !important;
    padding:14px !important;
    background:#f7f9fb !important;
    border-bottom:1px solid rgba(31,42,55,.08) !important;
    box-sizing:border-box !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-label{
    flex:0 0 100% !important;
    display:block !important;
    margin:0 0 2px !important;
    color:#5a7f98 !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button,
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button:last-child{
    flex:1 1 0 !important;
    min-width:0 !important;
    max-width:none !important;
    grid-column:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:34px !important;
    height:auto !important;
    padding:8px 6px !important;
    border-radius:999px !important;
    overflow:visible !important;
    text-indent:0 !important;
    white-space:nowrap !important;
    color:#16202a !important;
    font-size:12px !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    text-align:center !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button:empty{
    display:none !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button.is-active{
    color:var(--red-dark) !important;
    border-color:rgba(176,32,39,.35) !important;
    background:rgba(176,32,39,.07) !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button.is-active::after{
    display:inline !important;
    content:" ↑" !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button.is-active[data-direction="desc"]::after{
    content:" ↓" !important;
  }

  body:not(.page-template-template-kandidierende) table.vtas-mobile-team-list tr{
    padding:14px 16px !important;
  }
  body:not(.page-template-template-kandidierende) table.vtas-mobile-team-list td:nth-child(1){
    display:block !important;
    width:100% !important;
    border:0 !important;
    color:var(--red-dark) !important;
    font-size:15px !important;
    line-height:1.32 !important;
  }
  body:not(.page-template-template-kandidierende) table.vtas-mobile-team-list td:nth-child(2),
  body:not(.page-template-template-kandidierende) table.vtas-mobile-team-list td:nth-child(3){
    display:inline !important;
    width:auto !important;
    border:0 !important;
    color:#4b5563 !important;
    font-size:13px !important;
    line-height:1.45 !important;
  }
}


/* v11.9.5: Mobile Sortierleiste fix – keine überbreiten Buttons mehr */
@media (max-width:760px){
  body:not(.page-template-template-kandidierende) .vtas-has-mobile-sort,
  body:not(.page-template-template-kandidierende) .vtas-mobile-team-list-wrap,
  body:not(.page-template-template-kandidierende) .list-table-wrap.vtas-has-mobile-sort,
  body:not(.page-template-template-kandidierende) figure.wp-block-table.list-table.vtas-has-mobile-sort{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow:row !important;
    gap:8px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:14px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    background:#f7f9fb !important;
    border-bottom:1px solid rgba(31,42,55,.08) !important;
  }

  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-label{
    grid-column:1 / -1 !important;
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 0 2px !important;
    padding:0 !important;
    font-size:11px !important;
    line-height:1.2 !important;
    font-weight:800 !important;
    letter-spacing:.11em !important;
    text-transform:uppercase !important;
    color:#5a7f98 !important;
  }

  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button,
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button:last-child{
    grid-column:auto !important;
    flex:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:36px !important;
    height:auto !important;
    margin:0 !important;
    padding:8px 4px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    border-radius:999px !important;
    white-space:nowrap !important;
    text-overflow:clip !important;
    text-indent:0 !important;
    font-size:12px !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    text-align:center !important;
  }

  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button.is-active::after{
    content:"↑" !important;
    display:inline !important;
    margin-left:2px !important;
    font-weight:900 !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button.is-active[data-direction="desc"]::after{
    content:"↓" !important;
  }
}

@media (max-width:360px){
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:6px !important;
    padding:12px !important;
  }
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button,
  body:not(.page-template-template-kandidierende) .vtas-mobile-sort-controls button:last-child{
    font-size:11px !important;
    padding-left:3px !important;
    padding-right:3px !important;
  }
}
