:root {
  --tsv-green: #17973a;
  --tsv-green-dark: #0f6d29;
  --tsv-black: #080a09;
  --tsv-white: #ffffff;
  --tsv-light: #f5f6f5;
  --tsv-border: #dfe4df;
  --tsv-text: #1a1d1b;
  --tsv-muted: #5e655f;
  --tsv-shadow: 0 12px 32px rgba(0,0,0,.10);
}

.tsv-referee-active .entry-title,
.tsv-referee-active .page-title,
.tsv-referee-active .page-header,
.tsv-referee-active .post-header,
.tsv-referee-active .entry-header { display: none !important; }

.tsv-referee-active .site-content,
.tsv-referee-active .content-area,
.tsv-referee-active .entry-content,
.tsv-referee-active .container,
.tsv-referee-active .wrap { max-width: none; }

.tsv-referee-active .entry-content { margin: 0 !important; padding: 0 !important; }

.tsv-ref-page { width: 100vw; margin-left: calc(50% - 50vw); background: var(--tsv-white); color: var(--tsv-text); font-family: Arial, Helvetica, sans-serif; overflow: hidden; }
.tsv-ref-container { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }

.tsv-ref-hero {
  position: relative;
  background: linear-gradient(135deg, #070908 0%, #0d120f 100%);
  color: white;
  overflow: hidden;
}
.tsv-ref-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(23,151,58,.18), transparent 30%),
    linear-gradient(120deg, rgba(255,255,255,.025), transparent 45%);
  pointer-events: none;
}
.tsv-ref-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 46px;
  align-items: center;
  min-height: 560px;
  padding-top: 42px;
  padding-bottom: 42px;
}
.tsv-ref-hero__copy { max-width: 590px; color: white; padding: 18px 0; }
.tsv-ref-badge { display: inline-block; background: var(--tsv-green); color: white; font-size: 16px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; padding: 10px 18px; border-radius: 8px; margin-bottom: 22px; }
.tsv-ref-hero h1 { margin: 0 0 20px; color: #fff; font-size: clamp(44px, 5vw, 74px); line-height: 1.02; letter-spacing: -2px; text-wrap: balance; }
.tsv-ref-hero p { margin: 0 0 28px; font-size: 20px; line-height: 1.65; color: rgba(255,255,255,.92); max-width: 560px; }
.tsv-ref-hero__media {
  align-self: stretch;
  min-height: 470px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
  background: #111;
}
.tsv-ref-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.tsv-ref-cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.tsv-ref-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--tsv-green); color: white; text-decoration: none; font-weight: 700; border-radius: 10px; padding: 16px 24px; transition: .2s ease; }
.tsv-ref-button:hover { background: var(--tsv-green-dark); color: white; }
.tsv-ref-mail { color: white; text-decoration: none; font-weight: 700; opacity: .96; }
.tsv-ref-mail:hover { color: #9af2aa; }

.tsv-ref-section { padding: 58px 0; }
.tsv-ref-section--light { background: var(--tsv-light); }
.tsv-ref-center { text-align: center; max-width: 950px; margin: 0 auto; }
.tsv-ref-center h2 { font-size: clamp(34px, 4vw, 52px); margin: 0 0 12px; letter-spacing: -1px; }
.tsv-ref-center p { margin: 0 auto; font-size: 19px; line-height: 1.75; color: var(--tsv-muted); }
.tsv-ref-accent { width: 78px; height: 4px; border-radius: 999px; background: var(--tsv-green); margin: 0 auto 22px; }

.tsv-ref-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
.tsv-ref-card { background: white; border: 1px solid var(--tsv-border); border-radius: 16px; padding: 28px 22px; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.tsv-ref-icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: rgba(23,151,58,.11); color: var(--tsv-green); font-size: 30px; font-weight: 700; }
.tsv-ref-card h3 { margin: 0 0 12px; text-align: center; font-size: 30px; line-height: 1.12; }
.tsv-ref-card p { margin: 0; text-align: center; font-size: 16px; line-height: 1.65; color: var(--tsv-muted); }

.tsv-ref-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.tsv-ref-split--reverse { grid-template-columns: .95fr 1.05fr; }
.tsv-ref-copy h3 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 42px); letter-spacing: -1px; }
.tsv-ref-copy h3::after { content: ''; display: block; width: 72px; height: 4px; border-radius: 999px; background: var(--tsv-green); margin-top: 12px; }
.tsv-ref-copy p { margin: 0 0 22px; font-size: 18px; line-height: 1.75; color: var(--tsv-muted); }
.tsv-ref-image-wrap { border-radius: 18px; overflow: hidden; box-shadow: var(--tsv-shadow); background: #e9ece8; }
.tsv-ref-image-wrap img { width: 100%; display: block; height: auto; }

.tsv-ref-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.tsv-ref-step { text-align: center; background: white; border: 1px solid var(--tsv-border); border-radius: 14px; padding: 18px 12px; }
.tsv-ref-step strong { display: block; font-size: 30px; color: var(--tsv-green); margin-bottom: 10px; }
.tsv-ref-step span { display: block; font-size: 15px; line-height: 1.45; font-weight: 700; }

.tsv-ref-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.tsv-ref-point { text-align: center; }
.tsv-ref-point strong { display: block; color: var(--tsv-green); font-size: 30px; margin-bottom: 8px; }
.tsv-ref-point span { display: block; font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--tsv-text); }

.tsv-ref-cta-band {
  background: linear-gradient(135deg, #090b0a 0%, #101512 60%, #0b100d 100%);
  color: white;
  border-radius: 20px;
  padding: 34px 34px;
  box-shadow: var(--tsv-shadow);
  position: relative;
  overflow: hidden;
}
.tsv-ref-cta-band::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(87,201,109,.18);
  border-radius: 50%;
}
.tsv-ref-cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.tsv-ref-mail-icon { width: 102px; height: 102px; border-radius: 50%; border: 2px solid rgba(87,201,109,.55); display: grid; place-items: center; font-size: 42px; color: #6ae380; }
.tsv-ref-cta-copy h3 { margin: 0 0 10px; font-size: clamp(30px, 3vw, 44px); letter-spacing: -1px; }
.tsv-ref-cta-copy p { margin: 0; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.85); }
.tsv-ref-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.tsv-ref-footer { background: #070908; color: white; padding: 30px 0 20px; }
.tsv-ref-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 28px; align-items: start; }
.tsv-ref-brand { display: flex; gap: 18px; align-items: center; }
.tsv-ref-brand img { width: 72px; height: auto; }
.tsv-ref-brand h4 { margin: 0 0 6px; font-size: 34px; }
.tsv-ref-brand p { margin: 0; color: #5fd779; font-style: italic; }
.tsv-ref-footer-col strong { display: block; font-size: 18px; margin-bottom: 10px; }
.tsv-ref-footer-col a, .tsv-ref-footer-col span { color: rgba(255,255,255,.85); text-decoration: none; line-height: 1.8; }
.tsv-ref-footer-col a:hover { color: #87f09a; }
.tsv-ref-footer-bottom { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.72); font-size: 14px; }
.tsv-ref-footer-bottom a { color: rgba(255,255,255,.72); text-decoration: none; margin-left: 14px; }
.tsv-ref-footer-bottom a:hover { color: #87f09a; }

@media (max-width: 1080px) {
  .tsv-ref-benefits { grid-template-columns: repeat(2, 1fr); }
  .tsv-ref-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .tsv-ref-hero__media { min-height: 420px; }
  .tsv-ref-hero__media img { min-height: 420px; }
  .tsv-ref-split, .tsv-ref-split--reverse { grid-template-columns: 1fr; }
  .tsv-ref-steps, .tsv-ref-points { grid-template-columns: repeat(2, 1fr); }
  .tsv-ref-cta-grid { grid-template-columns: 1fr; }
  .tsv-ref-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .tsv-ref-container { width: min(100% - 24px, 1220px); }
  .tsv-ref-hero__grid { padding-top: 28px; padding-bottom: 28px; gap: 26px; }
  .tsv-ref-hero__media { min-height: 360px; order: -1; border-radius: 14px; }
  .tsv-ref-hero__media img { min-height: 360px; }
  .tsv-ref-hero h1 { font-size: 52px; }
  .tsv-ref-hero p { font-size: 18px; }
  .tsv-ref-section { padding: 42px 0; }
  .tsv-ref-center h2 { font-size: 38px; }
  .tsv-ref-center p, .tsv-ref-copy p, .tsv-ref-cta-copy p { font-size: 17px; }
  .tsv-ref-benefits { grid-template-columns: 1fr; }
  .tsv-ref-steps, .tsv-ref-points { grid-template-columns: 1fr 1fr; }
  .tsv-ref-footer-grid { grid-template-columns: 1fr; }
  .tsv-ref-brand h4 { font-size: 28px; }
  .tsv-ref-footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .tsv-ref-hero__media { min-height: 300px; }
  .tsv-ref-hero__media img { min-height: 300px; }
  .tsv-ref-badge { font-size: 14px; }
  .tsv-ref-hero h1 { font-size: 42px; }
  .tsv-ref-steps, .tsv-ref-points { grid-template-columns: 1fr; }
  .tsv-ref-mail-icon { width: 82px; height: 82px; font-size: 32px; }
  .tsv-ref-cta-band { padding: 26px 20px; }
}

/* Theme cleanup for The7 / WPBakery */
.tsv-referee-active #fancy-header,
.tsv-referee-active .fancy-header,
.tsv-referee-active .fancy-header-overlap,
.tsv-referee-active .page-title,
.tsv-referee-active .page-title-wrapper,
.tsv-referee-active .page-inner-title,
.tsv-referee-active .page-title.solid-bg,
.tsv-referee-active .page-title.bg-img-enabled,
.tsv-referee-active .title-area,
.tsv-referee-active .hero-top,
.tsv-referee-active .masthead-shadow-dec,
.tsv-referee-active .single .entry-title,
.tsv-referee-active .the7-title,
.tsv-referee-active .wf-float-left.page-title,
.tsv-referee-active .ph-wrap,
.tsv-referee-active .breadcrumbs,
.tsv-referee-active .page-top-line,
.tsv-referee-active .content .page-title,
.tsv-referee-active .dt-breadcrumb-for-mobile,
.tsv-referee-active .page-title-enabled .page-title,
.tsv-referee-active .page-title-enabled #fancy-header {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

.tsv-referee-active #main,
.tsv-referee-active .content,
.tsv-referee-active .content-area,
.tsv-referee-active .wf-wrap,
.tsv-referee-active .wf-container-main,
.tsv-referee-active .wf-container,
.tsv-referee-active .page-content,
.tsv-referee-active .entry-content,
.tsv-referee-active .page-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Feinschliff v1.0.2: Vereinsname in der Hauptüberschrift zusammenhalten */
.tsv-ref-nowrap { white-space: nowrap; }

/* Feinschliff: mehr Zeilenabstand bei längeren Abschnittsüberschriften */
.tsv-ref-copy h3 {
  line-height: 1.22;
}
