/* Tagteam Wachstum – Landingpages im Theme "tagteam" (Twenty Twenty-Five Child) */

.tt-page,
.ttw-form {
  --asphalt: var(--wp--preset--color--base, #333333);
  --mercury: var(--wp--preset--color--contrast, #e6e6e6);
  --headline2: clamp(40px, 6vw, 90px);
  --headline3: clamp(28px, 3vw, 35px);
  --headline4: clamp(22px, 2.2vw, 30px);
  --headline5: clamp(19px, 1.8vw, 25px);
  --headline6: clamp(17px, 1.4vw, 20px);
  color: var(--mercury);
}

/* ---------- Landingpages ---------- */

.tt-page {
  max-width: var(--wp--style--global--wide-size, 1200px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-bottom: 2rem;
}
.tt-page * { box-sizing: border-box; }
.tt-page h1, .tt-page h2, .tt-page h3, .tt-page p, .tt-page ul { margin-top: 0; }
.tt-page > section,
.tt-page section.tt-section { padding-right: 0; margin-bottom: 6rem; }
.tt-page p,
.tt-page li { font-size: 1.15rem; line-height: 1.6; }
.tt-page p + p { margin-top: 1rem; }
.tt-page ul { padding-left: 1.4rem; }
.tt-page li + li { margin-top: 0.4rem; }
.tt-page a:not(.tt-btn) { text-decoration: underline; text-underline-offset: 3px; }
.tt-page h2 {
  font-size: var(--headline3);
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.tt-page h3 {
  font-size: var(--headline6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.tt-lead { font-size: var(--headline5) !important; line-height: 1.45 !important; max-width: 52rem; }
.tt-kicker {
  display: inline-block;
  font-size: 0.9rem !important;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ef3f3f, #407aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.tt-hero { padding: 6rem 0 2rem; }
.tt-hero h1 {
  font-size: var(--headline2);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 2rem;
  max-width: 60rem;
}
@media (width < 768px) {
  .tt-hero { padding-top: 4rem; }
  .tt-hero h1 { font-size: 40px; }
}

.tt-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.tt-btn {
  display: inline-block;
  border: 1px solid var(--mercury);
  padding: 0.9rem 2.5rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 4px;
  font-size: var(--headline6);
  transition: all 0.35s ease;
}
.tt-btn:hover { background: var(--mercury); color: var(--asphalt) !important; }
.tt-btn--fill { background: linear-gradient(to right bottom, #ef3f3f, #407aed); border-color: transparent; }
.tt-btn--fill:hover { background: var(--mercury); }

/* Karten mit Verlaufsrahmen wie im Theme */
.tt-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tt-card {
  padding: 2px;
  background: linear-gradient(to right bottom, #ef3f3f, #407aed);
}
.tt-card > div { background: var(--asphalt); height: 100%; padding: 2rem; }
.tt-card i { font-size: 2rem; margin-bottom: 1.25rem; display: block; }
.tt-card p { font-size: 1.05rem; }

.tt-steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tt-steps > div { background: rgba(230, 230, 230, 0.08); padding: 2rem; }
.tt-steps > div::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(to right bottom, #ef3f3f, #407aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tt-split { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: center; }
@media (width < 900px) { .tt-split { grid-template-columns: 1fr; } }
.tt-split img { width: 100%; height: auto; display: block; filter: grayscale(1) contrast(1.15); }

.tt-table-wrap { overflow-x: auto; }
.tt-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.tt-table th,
.tt-table td { text-align: left; padding: 1rem; border-bottom: 1px solid rgba(230, 230, 230, 0.2); vertical-align: top; font-size: 1.05rem; line-height: 1.5; }
.tt-table th { text-transform: uppercase; letter-spacing: 1px; font-size: 0.95rem; }

.tt-quote {
  border-left: 4px solid;
  border-image: linear-gradient(to bottom, #ef3f3f, #407aed) 1;
  padding: 0.5rem 0 0.5rem 2rem;
  font-size: var(--headline5) !important;
  line-height: 1.45 !important;
}

.tt-logos { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tt-logos span { border: 1px solid rgba(230, 230, 230, 0.35); padding: 0.6rem 1.2rem; font-size: 1rem; }

details.tt-faq { border-bottom: 1px solid rgba(230, 230, 230, 0.2); }
details.tt-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-weight: 700;
  font-size: 1.2rem;
  position: relative;
}
details.tt-faq summary::-webkit-details-marker { display: none; }
details.tt-faq summary::after { content: "+"; position: absolute; right: 0.5rem; top: 1rem; font-size: 1.6rem; font-weight: 400; }
details.tt-faq[open] summary::after { content: "–"; }
details.tt-faq > div { padding: 0 0 1.5rem; }

.tt-highlight {
  background: linear-gradient(to right bottom, #ef3f3f, #407aed);
  padding: 3rem;
  text-align: center;
}
.tt-highlight h2 { margin-bottom: 1rem; }
.tt-highlight p { max-width: 46rem; margin-left: auto; margin-right: auto; }
.tt-code {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  border: 2px dashed var(--mercury);
  font-size: var(--headline4);
  font-weight: 700;
  letter-spacing: 4px;
}

.tt-todo { background: #f6d365; color: #333 !important; padding: 0 0.3rem; }
.tt-todo * { color: #333 !important; }

/* Kontaktformular (Contact Form 7) unter den Landingpages */
.ttw-form {
  max-width: var(--wp--style--global--wide-size, 1200px) !important;
  margin: 2rem auto 4rem !important;
  padding: clamp(2rem, 6vw, 6rem) clamp(1.25rem, 6vw, 7rem);
  background: linear-gradient(to bottom, #ef3f3f, #407aed);
  text-align: center;
}
.ttw-form h2 { font-size: var(--headline2); line-height: 1.05; text-transform: uppercase; margin: 0 0 1rem; }
.ttw-form > p { font-size: var(--headline5); font-weight: 700; text-transform: uppercase; max-width: 46rem; margin: 0 auto 1rem; }
.ttw-form > p.ttw-hint { font-size: 1rem; font-weight: 400; text-transform: none; opacity: 0.9; margin-bottom: 2.5rem; }
.ttw-form .wpcf7 { text-align: left; max-width: 60rem; margin: 0 auto; }
.ttw-form .ttw-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
.ttw-form .ttw-extra label { display: flex; flex-direction: column-reverse; gap: 0.4rem; font-size: 0.95rem; }
.ttw-form .ttw-extra input,
.ttw-form .ttw-extra select {
  width: 100%;
  height: 3rem;
  border: 1px solid var(--mercury);
  background: transparent;
  padding: 0 1rem;
  font: inherit;
  color: inherit;
}
.ttw-form .ttw-extra select option { color: #333; }

.tt-page a.tt-btn { text-decoration: none !important; }
.ttw-form .ttw-extra label { flex-direction: column; }
