:root {
  --tsv-green: #168c32;
  --tsv-green-dark: #0d6924;
  --tsv-black: #0b0d0c;
  --tsv-white: #ffffff;
  --tsv-light: #f5f6f5;
  --tsv-border: #dfe4df;
  --tsv-shadow: 0 10px 30px rgba(0,0,0,.10);
}

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

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

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

.tsv-second-team-page {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--tsv-white);
  color: #171a18;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.tsv-team-container { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }

.tsv-team-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  background-image: var(--tsv-hero);
  background-size: cover;
  background-position: center 42%;
}

.tsv-team-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.10) 75%, rgba(0,0,0,.15) 100%);
}

.tsv-team-hero__content { position: relative; z-index: 1; padding-bottom: 58px; }
.tsv-team-hero h1 { margin: 0 0 16px; color: white; font-size: clamp(42px, 5.3vw, 80px); line-height: .98; letter-spacing: -2px; max-width: 780px; }
.tsv-team-hero h1 .tsv-no-break { white-space: nowrap; }
.tsv-league-badge { display: inline-block; background: var(--tsv-green); color: white; font-size: clamp(18px, 2vw, 28px); font-weight: 800; padding: 12px 20px; border-radius: 3px; box-shadow: var(--tsv-shadow); }

.tsv-team-section { padding: 54px 0; }
.tsv-intro-section { background: var(--tsv-white); }
.tsv-intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: start; }
.tsv-intro-copy h2, .tsv-section-title { font-size: clamp(28px, 3vw, 40px); margin: 0 0 18px; }
.tsv-intro-copy h2::before, .tsv-section-title::before { content: ''; display: inline-block; width: 6px; height: 30px; margin-right: 12px; background: var(--tsv-green); vertical-align: -3px; border-radius: 4px; }
.tsv-intro-copy p { font-size: 18px; line-height: 1.75; margin: 0; max-width: 720px; }

.tsv-side-stack { display: grid; gap: 18px; }
.tsv-training-card { display: flex; gap: 18px; align-items: center; background: linear-gradient(135deg, #121513, #222723); color: white; padding: 28px 30px; border-radius: 12px; box-shadow: var(--tsv-shadow); }
.tsv-training-icon { width: 64px; height: 64px; display: grid; place-items: center; border: 3px solid var(--tsv-green); border-radius: 50%; color: var(--tsv-green); font-size: 36px; line-height: 1; flex: 0 0 auto; }
.tsv-training-card strong, .tsv-training-card span { display: block; }
.tsv-training-card strong { font-size: 22px; margin-bottom: 6px; }
.tsv-training-card div span { font-size: 17px; color: #e5e9e6; }

.tsv-staff-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tsv-staff-mini-card { background: white; border: 1px solid var(--tsv-border); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.tsv-staff-mini-card__body { display: grid; grid-template-columns: 155px 1fr; min-height: 205px; }
.tsv-staff-mini-photo { background: #eceeee; overflow: hidden; }
.tsv-staff-mini-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.tsv-staff-mini-info { padding: 20px 18px; border-left: 5px solid var(--tsv-green); display: flex; flex-direction: column; justify-content: center; }
.tsv-staff-mini-info h3 { margin: 0 0 8px; font-size: 22px; }
.tsv-staff-mini-info p { margin: 0 0 14px; color: var(--tsv-green); font-weight: 700; }
.tsv-staff-mini-info a { color: #242824; text-decoration: none; font-weight: 600; }
.tsv-staff-mini-info a:hover { color: var(--tsv-green); }

.tsv-team-strip { margin-top: 18px; border-radius: 12px; overflow: hidden; box-shadow: var(--tsv-shadow); }
.tsv-team-strip img { width: 100%; height: 320px; object-fit: cover; object-position: center 38%; display: block; }

.tsv-sponsors-section { background: var(--tsv-light); }
.tsv-sponsor-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tsv-sponsor-card { min-height: 115px; padding: 16px; background: white; border: 1px solid var(--tsv-border); border-radius: 8px; display: grid; place-items: center; }
.tsv-sponsor-card img { width: 100%; max-width: 160px; max-height: 82px; object-fit: contain; display: block; }
.tsv-sponsor-dark { background: #090909; }

.tsv-team-contact { background: linear-gradient(135deg, #080a09, #161a17); color: white; padding: 34px 0; }
.tsv-contact-grid { display: grid; grid-template-columns: 1.1fr 1.2fr .8fr; gap: 30px; align-items: center; }
.tsv-contact-grid div { display: flex; flex-direction: column; gap: 6px; }
.tsv-contact-grid strong { font-size: 18px; }
.tsv-contact-grid a, .tsv-contact-grid span { color: #dce4de; text-decoration: none; }
.tsv-contact-grid a:hover { color: #57c96d; }

@media (max-width: 1000px) {
  .tsv-team-hero { min-height: 430px; }
  .tsv-intro-grid { grid-template-columns: 1fr; }
  .tsv-contact-grid { grid-template-columns: 1fr 1fr; }
  .tsv-sponsor-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .tsv-staff-mini-grid { grid-template-columns: 1fr; }
  .tsv-staff-mini-card__body { grid-template-columns: 130px 1fr; }
  .tsv-team-strip img { height: 250px; }
}

@media (max-width: 640px) {
  .tsv-team-container { width: min(100% - 24px, 1220px); }
  .tsv-team-hero { min-height: 360px; background-position: 54% center; }
  .tsv-team-hero__content { padding-bottom: 30px; }
  .tsv-team-hero h1 { font-size: 42px; letter-spacing: -1px; }
  .tsv-team-section { padding: 40px 0; }
  .tsv-intro-copy p { font-size: 16px; }
  .tsv-training-card { padding: 22px; }
  .tsv-training-icon { width: 54px; height: 54px; font-size: 30px; }
  .tsv-staff-mini-card__body { grid-template-columns: 115px 1fr; min-height: 180px; }
  .tsv-staff-mini-info h3 { font-size: 20px; }
  .tsv-sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .tsv-contact-grid { grid-template-columns: 1fr; }
}

/* Strong theme-header cleanup for The7 / WPBakery pages using the shortcode */
.tsv-second-team-active #fancy-header,
.tsv-second-team-active .fancy-header,
.tsv-second-team-active .fancy-header-overlap,
.tsv-second-team-active .page-title,
.tsv-second-team-active .page-title-wrapper,
.tsv-second-team-active .page-inner-title,
.tsv-second-team-active .page-title.solid-bg,
.tsv-second-team-active .page-title.bg-img-enabled,
.tsv-second-team-active .title-area,
.tsv-second-team-active .hero-top,
.tsv-second-team-active .masthead-shadow-dec,
.tsv-second-team-active .single .entry-title,
.tsv-second-team-active .the7-title,
.tsv-second-team-active .wf-float-left.page-title,
.tsv-second-team-active .ph-wrap,
.tsv-second-team-active .breadcrumbs,
.tsv-second-team-active .page-top-line,
.tsv-second-team-active .content .page-title,
.tsv-second-team-active .dt-breadcrumb-for-mobile,
.tsv-second-team-active .page-title-enabled .page-title,
.tsv-second-team-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-second-team-active #main,
.tsv-second-team-active .content,
.tsv-second-team-active .content-area,
.tsv-second-team-active .wf-wrap,
.tsv-second-team-active .wf-container-main,
.tsv-second-team-active .wf-container,
.tsv-second-team-active .page-content,
.tsv-second-team-active .entry-content,
.tsv-second-team-active .page-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* v1.0.2: Link zum vollständigen PDF-Spielplan */
.tsv-complete-schedule {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.tsv-complete-schedule__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--tsv-green);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(22, 140, 50, .25);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.tsv-complete-schedule__button:hover,
.tsv-complete-schedule__button:focus {
  background: var(--tsv-green-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 27px rgba(13, 105, 36, .30);
}

.tsv-complete-schedule__icon {
  font-size: 21px;
  line-height: 1;
}

@media (max-width: 640px) {
  .tsv-complete-schedule__button {
    width: 100%;
  }
}
