/*
Theme Name: Tropical Motion
Theme URI: https://tropicalmotion.com.br
Author: Tropical Motion Studios
Description: Block-Theme für tropicalmotion.com.br. Fast schwarz, Gold als einzige Farbe, Archivo mit Breitenachse.
Version: 0.1.24
Requires at least: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: tropicalmotion
*/

/* ---------- Schrift ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('assets/fonts/archivo-latin-wdth-wght.woff2') format('woff2');
}

:root {
  --preto: #0D0D0F;
  --preto-2: #15161A;
  --linha: #24262C;
  --branco: #FFFFFF;
  --cinza: #9BA0A8;
  --cinza-2: #6A6F77;
  --ouro: #FFDD00; /* Gelb nach a2t2.de, seit 0.1.5 */
  --pad: clamp(18px, 5vw, 72px);
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--preto);
  color: var(--branco);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
}
body a { color: inherit; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.tm-main .wrap,
.tm-main.wrap { padding-inline: var(--pad); }

/* Knopf, überall gleich */
body .tm-btn .wp-block-button__link,
body .tm-btn-link {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ouro); color: var(--preto); text-decoration: none; border-radius: 0; border: 0;
  font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 28px; min-height: 44px;
}
body .tm-btn .wp-block-button__link:hover,
body .tm-btn-link:hover { background: var(--branco); color: var(--preto); }

/* ---------- Kopfleiste ---------- */
body .top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(13, 13, 15, 0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; gap: 12px clamp(14px, 2.2vw, 30px); flex-wrap: wrap;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--linha);
}
body.admin-bar .top { top: 32px; }
@media (max-width: 782px) { body.admin-bar .top { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .top { top: 0; } }

body .top .logo { margin: 0; line-height: 1; }
body .top .logo a {
  display: inline-block;
  font-size: clamp(15px, 1.6vw, 19px); font-weight: 900; letter-spacing: 0.02em;
  font-variation-settings: 'wdth' 112; text-transform: uppercase;
  background: var(--ouro); color: var(--preto); padding: 5px 10px 6px; text-decoration: none;
}
body .top .wp-block-navigation { margin-left: auto; }
body .top .wp-block-navigation__container,
body .top .wp-block-navigation ul { display: flex; flex-wrap: wrap; gap: 8px clamp(12px, 1.8vw, 26px); margin: 0; padding: 0; list-style: none; }
body .top .wp-block-navigation a {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--cinza);
}
body .top .wp-block-navigation a:hover,
body .top .wp-block-navigation .is-cta a { color: var(--ouro); }

/* ---------- Showreel-Kopf ---------- */
body .wp-block-cover.hero {
  position: relative; background: var(--preto-2);
  min-height: clamp(460px, 74vh, 760px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: clamp(60px, 9vw, 110px) var(--pad);
  overflow: hidden; margin: 0;
}
body .hero .wp-block-cover__inner-container {
  display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%;
}
body .hero .hero__still {
  margin: 0 0 8px; color: #33373E; font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
}
body .hero h1 {
  margin: 0 auto; color: var(--ouro); text-transform: uppercase;
  font-size: clamp(38px, 9.4vw, 132px); font-weight: 800; line-height: 0.86; letter-spacing: -0.035em;
  font-variation-settings: 'wdth' 118;
  max-width: 14ch; text-wrap: balance;
}
body .hero .hero__sub { margin: 0; font-size: clamp(15px, 1.8vw, 22px); font-weight: 600; color: var(--branco); letter-spacing: 0.01em; }
body .hero .wp-block-buttons { justify-content: center; margin-top: 14px; }

/* ---------- Aussage ---------- */
body .claim { padding-block: clamp(70px, 10vw, 140px); }
body .claim .claim__lead {
  margin: 0 0 22px; color: var(--ouro); text-transform: uppercase;
  font-size: clamp(14px, 1.5vw, 18px); font-weight: 800; letter-spacing: 0.06em;
}
body .claim p { margin: 0 0 16px; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.6; color: var(--branco); max-width: 62ch; font-weight: 400; }
body .claim p.dim { color: var(--cinza); font-size: clamp(15px, 1.4vw, 18px); }
body .claim p.claim__kicker { margin-top: 26px; font-size: clamp(19px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.01em; }

/* ---------- Riesenwort als Sektionstitel ---------- */
body .big-title {
  margin: 0; text-align: center; color: var(--ouro); text-transform: uppercase;
  padding: clamp(48px, 7vw, 96px) var(--pad) 0;
  font-size: clamp(46px, 12vw, 168px); font-weight: 900; line-height: 0.82; letter-spacing: -0.045em;
  font-variation-settings: 'wdth' 122;
}
body .after-title { margin-top: clamp(30px, 4vw, 52px); }

/* ---------- Filterreihe ---------- */
body .filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; padding: 26px var(--pad) 30px; }
body .filters button {
  background: none; border: 0; color: var(--branco); cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 16px; min-height: 44px; border-right: 1px solid var(--linha);
}
body .filters button:last-child { border-right: 0; }
body .filters button[aria-pressed="true"], body .filters button:hover { color: var(--ouro); }

/* ---------- Projektraster ---------- */
body .grid { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { body .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { body .grid { grid-template-columns: 1fr; } }
body .tile {
  position: relative; aspect-ratio: 4 / 3; background: var(--preto-2);
  border-top: 1px solid var(--linha); border-right: 1px solid var(--linha);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; text-decoration: none; overflow: hidden; color: var(--branco);
}
body .tile[hidden] { display: none; }
body .tile:hover { background: #1B1D22; }
body .tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
body .tile:has(.tile__img)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,15,.88) 0%, rgba(13,13,15,0) 60%); }
body .tile:hover .tile__img { transform: scale(1.03); }
body .tile__mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #33373E; font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
body .tile__meta { position: relative; z-index: 1; }
body .tile em { font-style: normal; display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ouro); }
body .tile strong { display: block; font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; padding-top: 6px; }
body .tile__txt { display: block; font-size: 14px; color: var(--cinza); padding-top: 4px; }

/* ---------- Leitsatz unter dem Riesenwort (Leistungen, Ablauf) ---------- */
body .lead { margin-top: clamp(30px, 4vw, 52px); padding-bottom: clamp(36px, 4.4vw, 60px); text-align: center; }
body .lead .lead__title {
  margin: 0 auto; max-width: 22ch; text-wrap: balance;
  font-size: clamp(24px, 3.4vw, 48px); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em;
  text-transform: uppercase; font-variation-settings: 'wdth' 110;
}
body .lead .lead__title em { font-style: normal; color: var(--ouro); }
body .lead .lead__txt { margin: 20px auto 0; max-width: 60ch; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; color: var(--cinza); }

/* Wortweise von unten einblenden (edgardavey-Effekt), nur mit JS und ohne "weniger Bewegung" */
html.tm-js .rise .rise__w { display: inline-block; opacity: 0; transform: translateY(0.6em); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 45ms); }
html.tm-js .rise.is-in .rise__w { opacity: 1; transform: none; }

/* ---------- Leistungen ---------- */
body .svc { border-top: 1px solid var(--linha); }
body .svc .svc__row {
  display: flex; gap: clamp(14px, 4vw, 64px); align-items: baseline; flex-wrap: wrap;
  padding: clamp(28px, 3.4vw, 46px) var(--pad);
  border-bottom: 1px solid var(--linha); margin: 0;
}
body .svc p { margin: 0; }
body .svc .svc__name { flex: 1 1 280px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; font-variation-settings: 'wdth' 108; line-height: 1.1; }
body .svc .svc__txt { flex: 1.4 1 340px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.65; color: var(--cinza); max-width: 58ch; }
body .svc .svc__row:hover .svc__name { color: var(--ouro); }
body .svc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding-block: clamp(30px, 4vw, 52px); }
body .svc-cta .svc-cta__txt { margin: 0; font-size: clamp(20px, 2.2vw, 30px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; font-variation-settings: 'wdth' 108; }

/* ---------- Ablauf: gestapelte Karten beim Scrollen ---------- */
body .steps {
  --head: 76px;       /* Höhe der Kopfleiste */
  --stack: 84px;      /* Versatz je Karte, so bleibt die Nummer der vorigen sichtbar */
  display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(60px, 8vw, 120px);
}
body.admin-bar .steps { --head: 108px; }
/*
  Gleich lange Unterkanten: jede Karte bekommt unten so viel Außenabstand, wie die
  folgenden Karten tiefer kleben, die nächste Karte hebt ihn oben wieder auf.
  So stoßen alle Karten gleichzeitig an das Ende des Stapels und scrollen gemeinsam weg,
  statt ineinanderzurutschen. Im normalen Fluss ändert sich der Abstand nicht.
*/
body .steps .step { min-height: 300px; }
body .steps .step:nth-child(1) { margin-bottom: calc(3 * var(--stack)); }
body .steps .step:nth-child(2) { margin-top: calc(-3 * var(--stack)); margin-bottom: calc(2 * var(--stack)); }
body .steps .step:nth-child(3) { margin-top: calc(-2 * var(--stack)); margin-bottom: var(--stack); }
body .steps .step:nth-child(4) { margin-top: calc(-1 * var(--stack)); }
@media (max-width: 640px) { body .steps { --head: 118px; --stack: 58px; } }
body .steps .step {
  position: sticky; top: calc(var(--head) + 16px + (var(--n, 1) - 1) * var(--stack));
  margin: 0 auto; width: 100%; max-width: 1100px;
  background: var(--preto-2); border: 1px solid var(--linha);
  padding: 24px clamp(22px, 3.2vw, 44px) clamp(30px, 3.4vw, 44px);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.45);
  transform-origin: 50% 0; transition: transform .4s ease, filter .4s ease;
}
body .steps .step:nth-child(1) { --n: 1; }
body .steps .step:nth-child(2) { --n: 2; }
body .steps .step:nth-child(3) { --n: 3; }
body .steps .step:nth-child(4) { --n: 4; }
body .steps .step:nth-child(5) { --n: 5; }
body .steps .step.is-covered { transform: scale(0.97); filter: brightness(0.6); }
body .step .step__no {
  margin: 0; display: flex; align-items: center; gap: 16px;
  font-size: clamp(22px, 2.4vw, 34px); font-weight: 900; letter-spacing: -0.02em; color: var(--ouro); font-variation-settings: 'wdth' 112;
  padding-bottom: 18px; border-bottom: 1px solid var(--linha);
}
body .step h3 { margin: clamp(18px, 2.4vw, 30px) 0 12px; font-size: clamp(26px, 3.4vw, 50px); font-weight: 900; line-height: 0.95; text-transform: uppercase; letter-spacing: -0.03em; font-variation-settings: 'wdth' 116; }
body .step p.step__txt { margin: 0; max-width: 62ch; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.65; color: var(--cinza); }

/* ---------- Fallbeispiel ---------- */
body .case { display: flex; gap: clamp(24px, 4vw, 60px); flex-wrap: wrap; padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--linha); }
body .case .case__video { flex: 1 1 340px; aspect-ratio: 16 / 9; background: var(--preto-2); border: 1px solid var(--linha); display: flex; align-items: center; justify-content: center; margin: 0; }
body .case .case__video p { margin: 0; color: #33373E; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
body .case .case__body { flex: 1 1 340px; margin: 0; }
body .case h3 { margin: 0 0 24px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.08; }
body .case .case__dl { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 14px 20px; }
body .case .case__dl p { margin: 0; }
body .case .dt { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ouro); padding-top: 3px; }
body .case .dd { font-size: 16px; line-height: 1.6; color: var(--branco); }
body .case .dd.dim { color: var(--cinza); }

/* ---------- Zahlen auf Gold ---------- */
body .nums { background: var(--ouro); color: var(--preto); padding: clamp(36px, 4.6vw, 64px) var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 32px; }
@media (max-width: 900px) { body .nums { grid-template-columns: repeat(2, 1fr); } }
body .nums > * { margin: 0; }
body .nums p { margin: 0; }
body .nums .num__big { font-size: clamp(30px, 3.6vw, 52px); font-weight: 900; line-height: 0.95; letter-spacing: -0.04em; font-variation-settings: 'wdth' 112; }
body .nums .num__label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 10px; }

/* ---------- Kunden ---------- */
body .clients { padding-block: clamp(44px, 6vw, 80px); }
body .clients .clients__label { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cinza-2); }
body .clients .clients__list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 3.6vw, 50px); }
body .clients .clients__list li { margin: 0; font-size: clamp(19px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; color: var(--branco); font-variation-settings: 'wdth' 106; }
body .clients .clients__txt { margin: 22px 0 0; font-size: 15px; line-height: 1.65; color: var(--cinza); max-width: 66ch; }

/* ---------- FAQ ---------- */
body .faq { border-top: 1px solid var(--linha); }
body .faq details { border-bottom: 1px solid var(--linha); margin: 0; }
body .faq summary {
  cursor: pointer; list-style: none; padding: clamp(22px, 2.4vw, 30px) var(--pad);
  font-size: clamp(17px, 1.8vw, 23px); font-weight: 700; display: flex; gap: 18px; align-items: baseline; min-height: 44px;
}
body .faq summary::-webkit-details-marker { display: none; }
body .faq summary::after { content: '+'; margin-left: auto; color: var(--ouro); font-weight: 800; font-size: 26px; line-height: 1; }
body .faq details[open] summary::after { content: '–'; }
body .faq summary:hover { color: var(--ouro); }
body .faq details p { margin: 0; padding: 0 var(--pad) clamp(24px, 2.6vw, 32px); font-size: 16px; line-height: 1.7; color: var(--cinza); max-width: calc(68ch + 2 * var(--pad)); }

/* ---------- Kontakt ---------- */
body .contact { padding-block: clamp(56px, 7vw, 100px); display: flex; gap: clamp(28px, 4vw, 70px); flex-wrap: wrap; border-top: 1px solid var(--linha); }
body .contact .contact__left { flex: 1 1 320px; margin: 0; }
body .contact h2 { margin: 0 0 18px; font-size: clamp(32px, 4.4vw, 62px); font-weight: 900; line-height: 0.92; text-transform: uppercase; letter-spacing: -0.035em; font-variation-settings: 'wdth' 114; color: var(--ouro); }
body .contact .contact__txt { margin: 0 0 26px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--cinza); max-width: 42ch; }
body .contact .contact__note { margin: 22px 0 0; font-size: 13px; color: var(--cinza-2); }
body .contact .contact__form { flex: 1 1 340px; margin: 0; }

/* Contact Form 7 */
body .contact form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
body .contact form p { margin: 0; }
body .contact .field { display: flex; flex-direction: column; gap: 7px; }
body .contact .field label { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cinza); }
body .contact .wpcf7-form-control-wrap { display: block; }
body .contact .field input, body .contact .field textarea {
  width: 100%; background: var(--preto-2); border: 1px solid var(--linha); color: var(--branco); border-radius: 0;
  font-family: inherit; font-size: 16px; padding: 14px; min-height: 44px;
}
body .contact .field textarea { min-height: 120px; height: 140px; resize: vertical; }
body .contact .field input:focus, body .contact .field textarea:focus { border-color: var(--ouro); outline: none; }
body .contact input[type="submit"] {
  width: 100%; background: var(--ouro); color: var(--preto); border: 0; border-radius: 0; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 17px 20px; min-height: 48px;
}
body .contact input[type="submit"]:hover { background: var(--branco); }
body .contact .form__legal { font-size: 12px; line-height: 1.5; color: var(--cinza-2); }
body .contact .wpcf7-spinner { display: none; }
body .contact .wpcf7 form.submitting .wpcf7-spinner { display: inline-block; }
body .contact .wpcf7-not-valid-tip { color: var(--ouro); font-size: 13px; padding-top: 6px; }
body .contact .wpcf7-response-output { margin: 0; padding: 14px; border: 1px solid var(--linha); font-size: 14px; color: var(--branco); }
body .contact .wpcf7 form.init .wpcf7-response-output { display: none; }
body .contact .wpcf7 form.sent .wpcf7-response-output { border-color: var(--ouro); }
body .contact .tm-hinweis { padding: 20px; border: 1px dashed var(--linha); color: var(--cinza); font-size: 14px; }

/* ---------- Fußzeile ---------- */
body .foot { border-top: 1px solid var(--linha); padding: 34px var(--pad) 56px; display: flex; gap: 14px clamp(20px, 3vw, 40px); flex-wrap: wrap; align-items: center; }
body .foot p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cinza-2); }
body .foot a { text-decoration: none; }
body .foot a:hover { color: var(--ouro); }
body .foot .brand { color: var(--branco); }
body .foot .push { margin-left: auto; }

/* ---------- Unterseiten (Projekt, Seite) ---------- */
body .single { padding-block: clamp(56px, 8vw, 110px); }
body .single .single__cat { margin: 0 0 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ouro); }
body .single .single__cat a { text-decoration: none; }
body .single .single__title {
  margin: 0; color: var(--ouro); text-transform: uppercase;
  font-size: clamp(36px, 7vw, 104px); font-weight: 900; line-height: 0.88; letter-spacing: -0.04em;
  font-variation-settings: 'wdth' 118; max-width: 16ch;
}
body .single .single__lead { margin: 22px 0 0; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.6; color: var(--cinza); max-width: 62ch; }
body .single .single__lead p { margin: 0; }
body .single .single__content { margin-top: clamp(36px, 5vw, 64px); }
body .single .single__content > * { max-width: 72ch; }
body .single .single__content > .wp-block-embed,
body .single .single__content > .wp-block-video,
body .single .single__content > .wp-block-image,
body .single .single__content > .alignwide,
body .single .single__content > .alignfull { max-width: none; }
body .single .single__content p, body .single .single__content li { font-size: 17px; line-height: 1.7; color: var(--branco); }
body .single .single__content h2, body .single .single__content h3 { text-transform: uppercase; font-weight: 800; letter-spacing: -0.02em; margin: 2em 0 .6em; }
body .single .single__content h2 { color: var(--ouro); font-size: clamp(24px, 2.6vw, 36px); }
body .single .single__content a { color: var(--ouro); }
body .single .wp-block-embed { margin: 0 0 32px; }
body .single .single__back { margin: clamp(40px, 6vw, 72px) 0 0; }
body .single .single__back a { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--cinza); }
body .single .single__back a:hover { color: var(--ouro); }

/* ---------- YouTube mit Vorschaubild (lädt erst beim Klick) ---------- */
body .tm-yt-block { margin: 0 0 32px; }
body .tm-yt-block .wp-block-embed__wrapper::before,
.wp-embed-responsive .wp-has-aspect-ratio.tm-yt-block .wp-block-embed__wrapper::before { display: none; content: none; padding: 0; }
body .tm-yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  background: var(--preto-2); overflow: hidden; text-decoration: none;
}
body .tm-yt__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease, opacity .3s ease; opacity: .88; }
body .tm-yt__play {
  position: absolute; left: 50%; top: 50%; width: clamp(64px, 9vw, 104px); aspect-ratio: 1;
  transform: translate(-50%, -50%); background: var(--ouro); transition: background .2s ease, transform .3s ease;
}
body .tm-yt__play::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 0.9em 0 0.9em 1.5em; border-color: transparent transparent transparent var(--preto);
  font-size: clamp(12px, 1.5vw, 18px);
}
body a.tm-yt:hover .tm-yt__img, body a.tm-yt:focus-visible .tm-yt__img { transform: scale(1.03); opacity: 1; }
body a.tm-yt:hover .tm-yt__play, body a.tm-yt:focus-visible .tm-yt__play { background: var(--branco); }
body a.tm-yt:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }
body .tm-yt__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) {
  body .tm-yt__img, body .tm-yt__play { transition: none; }
  body a.tm-yt:hover .tm-yt__img { transform: none; }
}

/* ---------- Leistungen als Bildflächen, die sich beim Scrollen überdecken (nach a2t2.de) ---------- */
body .reveal-stack { position: relative; }
body .reveal-stack > .svc-intro,
body .reveal-stack > .svc-panel { position: sticky; top: 0; margin: 0; }
body .svc-intro {
  background: var(--ouro); color: var(--preto);
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: clamp(90px, 10vw, 140px) var(--pad) clamp(60px, 8vw, 110px);
}
body .svc-intro .big-title { color: var(--preto); padding: 0; }
body .svc-intro p { margin: 0; }
body .svc-intro .svc-intro__lead {
  margin-top: clamp(26px, 3.4vw, 46px); font-size: clamp(22px, 2.8vw, 40px); font-weight: 900; line-height: 1;
  text-transform: uppercase; letter-spacing: -0.03em; font-variation-settings: 'wdth' 112;
}
body .svc-intro .svc-intro__txt { margin-top: 18px; max-width: 58ch; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; }

body .svc-panel {
  height: 100vh; height: 100svh; overflow: hidden; background: var(--preto-2);
  display: flex; align-items: center;
}
body .svc-panel .svc-panel__img { position: absolute; inset: 0; margin: 0; }
body .svc-panel .svc-panel__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .svc-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(13,13,15,.92) 0%, rgba(13,13,15,.7) 38%, rgba(13,13,15,.15) 72%, rgba(13,13,15,0) 100%);
}
body .svc-panel:nth-of-type(odd)::after {
  background: linear-gradient(270deg, rgba(13,13,15,.92) 0%, rgba(13,13,15,.7) 38%, rgba(13,13,15,.15) 72%, rgba(13,13,15,0) 100%);
}
body .svc-panel .svc-panel__body { position: relative; z-index: 1; width: min(840px, 64vw); padding: 0 var(--pad); margin: 0; box-sizing: border-box; }
body .svc-panel:nth-of-type(odd) .svc-panel__body { margin-left: auto; }
body .svc-panel p { margin: 0; }
body .svc-panel .svc-panel__title {
  margin: 14px 0 20px; color: var(--branco); text-transform: uppercase;
  font-size: clamp(32px, 4.6vw, 78px); font-weight: 900; line-height: 0.88; letter-spacing: -0.04em; font-variation-settings: 'wdth' 112;
}
body .svc-panel .svc-panel__txt { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255,255,255,.86); max-width: 46ch; }
@media (max-width: 700px) {
  body .svc-panel { align-items: flex-end; padding-bottom: 12vh; }
  body .svc-panel::after, body .svc-panel:nth-of-type(odd)::after { background: linear-gradient(0deg, rgba(13,13,15,.95) 0%, rgba(13,13,15,.75) 45%, rgba(13,13,15,.1) 100%); }
  body .svc-panel:nth-of-type(odd) .svc-panel__body { margin-left: 0; }
  body .svc-panel .svc-panel__body { width: 100%; }
  body .svc-panel .svc-panel__title { font-size: clamp(28px, 8.4vw, 52px); }
}

/* Textseite je Fläche, unabhängig von der Reihenfolge */
body .svc-panel.txt-right .svc-panel__body { margin-left: auto; }
body .svc-panel.txt-left .svc-panel__body { margin-left: 0; }
body .svc-panel.shift-left .svc-panel__img img { transform: scale(1.1) translateX(-4.2%); }
body .svc-panel.shift-mais .svc-panel__img img { transform: scale(1.06) translateX(-2.6%); }
@media (max-width: 700px) { body .svc-panel.shift-left .svc-panel__img img, body .svc-panel.shift-mais .svc-panel__img img { transform: none; } }
/* YouTube-Fläche: Bild ist schon im richtigen Ausschnitt gerechnet (16:9, Wort links oben), daher kein Zoom. Auf dem Handy Ausschnitt nach links. */
@media (max-width: 700px) { body .svc-panel.foco-yt .svc-panel__img img { object-position: 23% center; } }
body .svc-panel.shift-mais.txt-right::after { background: linear-gradient(270deg, rgba(13,13,15,.95) 0%, rgba(13,13,15,.88) 34%, rgba(13,13,15,.45) 62%, rgba(13,13,15,.05) 100%); }
body .svc-panel.txt-right::after { background: linear-gradient(270deg, rgba(13,13,15,.92) 0%, rgba(13,13,15,.7) 38%, rgba(13,13,15,.15) 72%, rgba(13,13,15,0) 100%); }
body .svc-panel.txt-left::after { background: linear-gradient(90deg, rgba(13,13,15,.92) 0%, rgba(13,13,15,.7) 38%, rgba(13,13,15,.15) 72%, rgba(13,13,15,0) 100%); }
@media (max-width: 700px) {
  body .svc-panel.txt-right .svc-panel__body, body .svc-panel.txt-left .svc-panel__body { margin-left: 0; }
  body .svc-panel.txt-right::after, body .svc-panel.txt-left::after { background: linear-gradient(0deg, rgba(13,13,15,.95) 0%, rgba(13,13,15,.75) 45%, rgba(13,13,15,.1) 100%); }
}

/* ---------- Sobre: schiebt sich über die letzte Leistung (Aufbau nach edgardavey.com) ---------- */
body .about {
  position: relative; z-index: 2; margin: 0; background: var(--preto);
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 110px);
  box-shadow: 0 -30px 60px rgba(0,0,0,.55);
}
body .about > * { margin-top: 0; }
body .about .about__kicker { margin: 0 0 18px; padding: 0 var(--pad); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ouro); }
body .about .about__title {
  margin: 0; padding: 0 var(--pad); text-transform: uppercase; color: var(--branco);
  font-size: clamp(38px, 6.4vw, 104px); font-weight: 900; line-height: .88; letter-spacing: -.045em; font-variation-settings: 'wdth' 118;
}
body .about .about__title em { font-style: normal; color: var(--ouro); display: block; }

body .about .marquee {
  list-style: none; margin: clamp(40px, 5vw, 70px) 0; padding: 22px 0; display: flex; gap: 0; width: max-content;
  border-block: 1px solid var(--linha);
}
body .about .marquee li {
  margin: 0; padding: 0 clamp(22px, 3vw, 44px); white-space: nowrap;
  font-size: clamp(20px, 2.4vw, 34px); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase;
  color: var(--cinza); font-variation-settings: 'wdth' 112;
}
body .about .marquee li::after { content: "•"; color: var(--ouro); margin-left: clamp(22px, 3vw, 44px); }
body .about { overflow: hidden; }
body .about .marquee.is-running { animation: tm-marquee 55s linear infinite; }
body .about .marquee.is-running:hover { animation-play-state: paused; }
@keyframes tm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

body .about .about__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px);
  padding: 0 var(--pad); align-items: end;
}
body .about .about__photo {
  margin: 0; aspect-ratio: 4 / 5; background: var(--preto-2); border: 1px solid var(--linha);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
body .about .about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .about .about__photo .wp-block-image { margin: 0; width: 100%; height: 100%; }
body .about .about__photo-hint { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #3a3e45; }
body .about .about__facts { margin: 0; }
body .about .about__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; margin: 0; }
body .about .about__stat { margin: 0; border-top: 1px solid var(--linha); padding-top: 16px; }
body .about .about__stat p { margin: 0; }
body .about .about__num { font-size: clamp(34px, 4.4vw, 66px); font-weight: 900; line-height: .9; letter-spacing: -.04em; color: var(--ouro); font-variation-settings: 'wdth' 114; }
body .about .about__label { padding-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cinza); }
body .about .about__txt { margin: clamp(30px, 4vw, 48px) 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--branco); max-width: 56ch; }
@media (max-width: 860px) {
  body .about .about__grid { grid-template-columns: 1fr; }
  body .about .about__photo { max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  body .reveal-stack > .svc-intro, body .reveal-stack > .svc-panel { position: relative; }
  body .about .marquee { width: auto; flex-wrap: wrap; row-gap: 12px; padding-inline: var(--pad); }
}

/* ---------- Aufblenden beim Scrollen ---------- */
html.tm-js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.tm-js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.tm-js .reveal { opacity: 1; transform: none; }
  html.tm-js .rise .rise__w { opacity: 1; transform: none; }
  body .steps .step.is-covered { transform: none; filter: none; }
}

/* 0.1.8: Verläufe über den Leistungsbildern vorerst ganz aus (Olis Versuch ohne Verlauf). Zum Zurückholen diese Regel löschen. */
body .svc-panel::after { display: none; }

/* 0.1.8: Schrift auf den Leistungsbildern schwarz statt weiß (ohne Verlauf) */
body .svc-panel .svc-panel__title { color: var(--preto); }
body .svc-panel .svc-panel__txt { color: rgba(13,13,15,.86); }

/* 0.1.10: Text links mit doppeltem Randabstand */
body .svc-panel.txt-left .svc-panel__body { padding-left: calc(var(--pad) * 2); }
/* Weiße Schrift für dunkle Bilder (Motion design) */
body .svc-panel.txt-branco .svc-panel__title { color: var(--branco); }
body .svc-panel.txt-branco .svc-panel__txt { color: rgba(255,255,255,.9); }
/* Bild mit weißem Grund rechts neben den Text, ohne Überlappung (Vídeo explicativo) */
body .svc-panel.img-direita { background: #fff; }
body .svc-panel.img-direita .svc-panel__img { left: min(840px, 64vw); }
body .svc-panel.img-direita .svc-panel__img img { object-fit: contain; object-position: 50% 100%; }
@media (max-width: 700px) {
  body .svc-panel.txt-left .svc-panel__body { padding-left: var(--pad); }
  body .svc-panel.img-direita .svc-panel__img { left: 0; bottom: 45%; }
}
/* YouTube-Fläche: auf schmaleren Bildschirmen Bildfassung mit kleinerem Wort, damit Wort und Text nicht zusammenstoßen */
@media (min-width: 701px) and (max-width: 1599px) {
  body .svc-panel.foco-yt .svc-panel__img { background: url(assets/img/servico-youtube-gelb-klein.jpg) center / cover no-repeat; }
  body .svc-panel.foco-yt .svc-panel__img img { visibility: hidden; }
}

/* 0.1.11: Logo als Bild statt gelbem Namensfeld */
body .top .logo a { background: none; padding: 0; display: block; line-height: 0; }
body .top .logo img { display: block; height: 50px; width: auto; }
@media (max-width: 600px) { body .top .logo img { height: 40px; } }
body .foot .brand { line-height: 0; }
body .foot .brand img { display: block; width: clamp(150px, 16vw, 200px); height: auto; }

/* 0.1.12: Motion design (txt-branco) Text rechts in der dunkelgrünen Fläche, schmaler als die anderen Flächen, damit er auch auf 16:10-Bildschirmen in der Fläche bleibt */
@media (min-width: 701px) {
  body .svc-panel.txt-branco .svc-panel__body { margin-left: auto; width: min(760px, 44vw); padding-left: var(--pad); padding-right: calc(var(--pad) * 1.5); }
}

/* 0.1.13: Video-Vorschau in den Kacheln (über dem Standbild, blendet beim Abspielen ein) */
body .tile__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
body .tile.is-playing .tile__vid { opacity: 1; }
body .tile.is-playing .tile__img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { body .tile__vid { display: none; } }

/* ---------- 0.1.15: Showreel-Kopf mit drei Videobahnen und Scroll-Effekt ---------- */
/* Die Bühne bleibt unter der Kopfleiste stehen, die mittlere Bahn wächst, der Titel steigt an einer Kante auf. */
body .tm-hero { position: relative; height: 230vh; background: var(--preto); }
body .tm-hero__palco {
  position: sticky; top: var(--tm-top, 0px);
  height: calc(100vh - var(--tm-top, 0px)); height: calc(100svh - var(--tm-top, 0px));
  overflow: hidden; background: var(--preto);
}
body .tm-hero__painel { position: absolute; top: 0; bottom: 0; overflow: hidden; background: #000; }
body .tm-hero__painel--esq { left: 0; width: 27%; }
body .tm-hero__painel--meio { left: 27%; width: 42%; }
body .tm-hero__painel--dir { left: 69%; width: 31%; }
body .tm-hero__painel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body .tm-hero__painel--esq video { object-position: 50% 50%; } /* seit 0.1.24: Art Düsseldorf */
body .tm-hero__painel--dir video { object-position: 50% 50%; } /* seit 0.1.24: Ripley hochkant */
body .tm-hero__painel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  box-shadow: inset 2px 0 0 rgba(237, 231, 218, .55), inset -2px 0 0 rgba(237, 231, 218, .55);
}
body .tm-hero__intro {
  position: absolute; left: 48%; top: 50%; z-index: 5; margin: 0; transform: translate(-50%, -50%);
  font-size: 40px; font-weight: 900; font-variation-settings: 'wdth' 125; letter-spacing: .04em; line-height: 1;
  text-transform: uppercase; color: var(--ouro); white-space: nowrap; pointer-events: none;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .75), 0 0 2px rgba(0, 0, 0, .6);
}
body .tm-hero__mascara { position: absolute; left: 0; right: 0; top: 0; height: 50%; z-index: 5; overflow: hidden; pointer-events: none; }
body .tm-hero__titulo {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center;
  font-size: clamp(40px, 8.4vw, 150px); font-weight: 900; font-variation-settings: 'wdth' 125;
  line-height: .86; letter-spacing: -.01em; text-transform: uppercase; color: var(--ouro);
  text-shadow: 0 0 40px rgba(255, 160, 0, .25);
  visibility: hidden; will-change: transform;
}
body .tm-hero__dica {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 5; transform: translateX(-50%);
  font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(237, 231, 218, .7);
}
body .tm-hero__dica::after {
  content: ""; display: block; width: 1px; height: 28px; margin: 10px auto 0; background: currentColor;
  transform-origin: top; animation: tm-desce 1.6s ease-in-out infinite;
}
@keyframes tm-desce { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
body .tm-hero__grao {
  position: absolute; inset: -50%; z-index: 6; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: tm-grao .9s steps(6) infinite;
}
@keyframes tm-grao {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
/* Ohne Skript: Endzustand zeigen */
html:not(.tm-js) body .tm-hero { height: auto; }
html:not(.tm-js) body .tm-hero__palco { position: relative; }
html:not(.tm-js) body .tm-hero__painel--esq, html:not(.tm-js) body .tm-hero__painel--dir { display: none; }
html:not(.tm-js) body .tm-hero__painel--meio { left: 0; width: 100%; }
html:not(.tm-js) body .tm-hero__titulo { visibility: visible; }
@media (max-width: 760px) {
  body .tm-hero { height: 190vh; }
  body .tm-hero__painel--esq, body .tm-hero__painel--dir { display: none; }
  body .tm-hero__painel--meio { left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body .tm-hero { height: auto; }
  body .tm-hero__palco { position: relative; }
  body .tm-hero__grao, body .tm-hero__dica::after { animation: none; }
  body .tm-hero__painel--esq, body .tm-hero__painel--dir, body .tm-hero__intro, body .tm-hero__dica { display: none; }
  body .tm-hero__painel--meio { left: 0; width: 100%; }
  body .tm-hero__titulo { visibility: visible; }
}



/* Gelber Kontaktbalken neben der Aussage (Vorbild edgardavey.com), seit 0.1.18, neu gebaut in 0.1.20 */
body .claim-cta {
  display: flex; justify-content: center; align-items: center;
  padding: clamp(26px, 3vw, 38px) clamp(24px, 2.6vw, 36px);
  background: var(--ouro); color: var(--preto); text-decoration: none; text-align: center;
  border-radius: 12px; overflow: hidden;
}
body .claim-cta__slot { display: flex; flex-direction: column; align-items: center; gap: 18px; }
body .claim-cta__q {
  font-size: clamp(24px, 2.6vw, 38px); font-weight: 900; line-height: 1; text-transform: uppercase;
  letter-spacing: -0.02em; font-variation-settings: 'wdth' 112;
}
body .claim-cta__go {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
}
body .claim-cta__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--preto); flex: none; }
body .claim-cta:focus-visible { outline-color: var(--branco); }

/* Handy und Tablet: beides zentriert untereinander, reagiert nur auf Tippen */
body .claim.has-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 901px) {
  body .claim.has-cta { grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(32px, 5vw, 80px); align-items: center; }
}

/* Rechner mit Maus: einzeilig, eine Zeile sichtbar, beim Überfahren rollt "Fale comigo" von unten herein */
@media (hover: hover) and (pointer: fine) {
  body .claim-cta { --cta-pad: clamp(24px, 2.4vw, 36px); padding: var(--cta-pad); justify-self: start; }
  body .claim-cta__slot { display: grid; gap: 0; overflow: hidden; }
  body .claim-cta__q, body .claim-cta__go {
    grid-area: 1 / 1; justify-self: center; align-self: center; white-space: nowrap;
    font-size: clamp(20px, 1.8vw, 32px); font-weight: 900; line-height: 1.1; letter-spacing: -0.015em;
    font-variation-settings: 'wdth' 112; text-transform: uppercase;
    transition: transform .55s cubic-bezier(.7,0,.2,1);
  }
  body .claim-cta__go { gap: .45em; transform: translateY(105%); }
  body .claim-cta__dot { width: .42em; height: .42em; }
  body .claim-cta:hover .claim-cta__q, body .claim-cta:focus-visible .claim-cta__q { transform: translateY(-105%); }
  body .claim-cta:hover .claim-cta__go, body .claim-cta:focus-visible .claim-cta__go { transform: none; }
}
/* Breiter Bildschirm mit Maus: Balken rechts, gleich viel Abstand zum Text und zum rechten Rand */
@media (hover: hover) and (pointer: fine) and (min-width: 1200px) {
  body .tm-main .claim.has-cta.wrap { padding-right: 0; }
  body .claim.has-cta { grid-template-columns: fit-content(58%) minmax(0, 1fr); gap: 0; }
  body .claim.has-cta .claim-cta { justify-self: center; }
}

/* Einfahren wie bei edgardavey.com: leicht verkleinert und tiefer, dann auf volle Größe */
html.tm-js .claim.reveal .claim-cta { opacity: 0; transform: translateY(20px) scale(.9); transform-origin: 50% 100%; transition: opacity .8s ease .2s, transform .9s cubic-bezier(.2,.8,.2,1) .2s; }
html.tm-js .claim.reveal.is-in .claim-cta { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.tm-js .claim.reveal .claim-cta { opacity: 1; transform: none; transition: none; }
  body .claim-cta__q, body .claim-cta__go { transition: none !important; }
}

/* Webseiten-Hinweis als eigener Abschnitt vor den Fragen, seit 0.1.22 */
body .sites-cta { padding-block: clamp(30px, 4vw, 60px) clamp(60px, 8vw, 120px); }
body .sites-cta .sites-cta__txt {
  margin: 0; max-width: 22ch;
  font-size: clamp(30px, 4.2vw, 64px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  text-transform: uppercase; font-variation-settings: 'wdth' 112; color: var(--branco);
}
body .sites-cta .sites-cta__q { display: block; }
body .sites-cta .sites-cta__hl {
  background: var(--ouro); color: var(--preto); padding: 0 .14em; border-radius: 4px; white-space: nowrap;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
