/* ============================================================
   RICARDO CASTRO — Design System
   Inspired by: Transform Fitness (Framer Template)
   Colors: Dark Athletic + Ricardo Red
   Fonts: Anton (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Phosphor Icons ── */
.audience-icon i.ph,
.process-icon i.ph,
.location-icon i.ph,
.angebot-icon i.ph,
.service-visual i.ph {
  color: var(--accent);
  font-size: 1.4rem;
  display: block;
}
.footer-contact-list li i.ph {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── CSS Variables ── */
:root {
  --bg:            #0A0A0A;
  --surface:       #141414;
  --surface-2:     #1C1C1C;
  --accent:        #C8102E;
  --accent-hover:  #E8192E;
  --accent-dim:    rgba(200, 16, 46, 0.12);
  --accent-glow:   rgba(200, 16, 46, 0.35);
  --text:          #FFFFFF;
  --text-muted:    #9A9A9A;
  --text-subtle:   #606060;
  --border:        rgba(255, 255, 255, 0.07);
  --border-accent: rgba(200, 16, 46, 0.4);
  --nav-h:         88px;
  --max-w:         1200px;
  --radius:        4px;
  --radius-lg:     12px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
.anton { font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: 0.02em; }

h1, h2, h3 { font-family: 'Anton', sans-serif; font-weight: 400; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; }

h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { line-height: 1.75; color: var(--text-muted); }

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--dark { background: var(--bg); }
.section--surface { background: var(--surface); }
.section--surface2 { background: var(--surface-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  position: relative;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-inverse {
  background: #fff;
  color: var(--accent);
  border: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-inverse:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0;
  clip-path: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--accent);
  border-radius: 0;
  padding-bottom: 2px;
}
.btn-ghost:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

.btn-red-solid {
  background: var(--accent);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  clip-path: none;
  border-radius: var(--radius);
}
.btn-red-solid:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }

/* ── Divider ── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ── Section Header ── */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 1.25rem; }
.section-header .heading-xl { margin-bottom: 1rem; }
.section-header > p {
  max-width: 560px;
  margin-top: 0.5rem;
}
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #0A0A0A;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-logo .logo-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
}
.nav-logo .logo-title {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}
.nav-logo .logo-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.2rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.mobile-menu a:hover { color: var(--accent); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.55) 60%,
    rgba(10,10,10,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.8s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero h1 .highlight {
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* hero-scroll removed */

/* ── Credential Badge ── */
.credential-badge {
  position: fixed;
  right: 2rem;
  top: 66%;
  z-index: 200;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-left: 3px solid var(--accent);
  padding: 0.9rem 1.15rem;
  max-width: 170px;
  pointer-events: none;
  opacity: 0;
  /* JS controls transform + opacity via rAF + scroll */
  transition: opacity 0.45s ease;
}
.credential-badge .cb-line {
  display: block;
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.65;
}
.credential-badge .cb-accent {
  color: var(--accent);
  margin-top: 0.25rem;
}

/* ── Tilt Root ── */
#tilt-root {
  will-change: transform;
  backface-visibility: hidden;
}

/* Stats bar */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 620px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Anton', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ══════════════════════════════════════════
   AUDIENCE / FOR WHOM
══════════════════════════════════════════ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.audience-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.audience-card:hover { background: var(--surface-2); }
.audience-card:hover::before { transform: scaleX(1); }

.audience-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.audience-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.audience-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Probleme & Herausforderungen ── */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Translucent cards so the section background photo shows through the whole grid */
.challenge-grid .audience-card {
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.challenge-grid .audience-card:hover { background: rgba(30, 30, 30, 0.68); }

/* Subtle photographic background behind the section */
#herausforderungen { position: relative; overflow: hidden; }
#herausforderungen::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  height: 140%;
  background: url('../scrape/images/herausforderungen-bg.webp') center / cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  #herausforderungen::before { transform: none; }
}
#herausforderungen > .container { position: relative; z-index: 1; }

.challenge-grid .audience-card { padding: 2.75rem 2.25rem 2.5rem; }

/* Stronger icon anchor for each problem */
.challenge-grid .audience-icon {
  width: 54px;
  height: 54px;
  font-size: 1.45rem;
  margin-bottom: 1.5rem;
}

/* Problem title = primary focal point of each card */
.challenge-grid .audience-card > h3 {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

/* The pain line — secondary, muted */
.challenge-grid .audience-card > p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.challenge-grid .solution {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.challenge-grid .solution-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
/* The solution = the payoff, brightest text in the card */
.challenge-grid .solution p { color: var(--text); font-size: 0.95rem; line-height: 1.65; }

@media (max-width: 760px) {
  .challenge-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   SERVICES / ANGEBOT PREVIEW
══════════════════════════════════════════ */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.service-item:first-child { border-top: 1px solid var(--border); }

/* anchor variant — reset link styles */
a.service-item,
a.location-card { color: inherit; text-decoration: none; }


.service-num {
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 28px;
  padding-top: 3px;
}

.service-text h3 {
  font-size: 1.05rem;
  color: var(--text-muted);
  transition: color var(--transition);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-text p { font-size: 0.82rem; color: var(--text-subtle); }

.service-item.active .service-text h3,
.service-item:hover .service-text h3 { color: #fff; }

.service-arrow {
  margin-left: auto;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
}
.service-item.active .service-arrow,
.service-item:hover .service-arrow { opacity: 1; transform: translateX(0); }

.service-visual {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
}

/* ══════════════════════════════════════════
   PROCESS / HOW IT WORKS
══════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.process-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.process-num {
  font-family: 'Anton', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(200, 16, 46, 0.12);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  pointer-events: none;
  transition: color var(--transition);
}
.process-card:hover .process-num { color: rgba(200, 16, 46, 0.22); }

.process-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.process-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.process-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   ÜBER MICH / ABOUT TEASER
══════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 600px;
}

.about-image {
  position: relative;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.about-layout:hover .about-image img { transform: scale(1.04); }

.about-content {
  background: var(--surface);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-tag { margin-bottom: 1rem; }

.about-content blockquote {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.2);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.about-content blockquote cite {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-style: normal;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.testimonial-card .quote-mark {
  font-family: 'Anton', sans-serif;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1.5rem;
}
.stars span { color: var(--accent); font-size: 0.9rem; }

/* ══════════════════════════════════════════
   LOCATIONS
══════════════════════════════════════════ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
}
.location-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.location-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.location-card h4 {
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.location-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Partner gym logos */
.partner-gyms { margin-top: 3.5rem; text-align: center; }
.partner-gyms-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 1.5rem;
}
.partner-gyms-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}
.partner-logo {
  height: 78px;
  flex: 0 1 210px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.partner-logo:hover { transform: translateY(-3px); }
.partner-logo--light { background: #fff; }
.partner-logo--dark { background: #0d0d0d; border-color: rgba(255, 255, 255, 0.12); }
.partner-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-banner {
  background: var(--accent);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'RC';
  position: absolute;
  font-family: 'Anton', sans-serif;
  font-size: 20rem;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  padding: 0.9rem 2.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: var(--transition);
  display: inline-block;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand .logo-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.footer-brand .logo-name .logo-accent { color: var(--accent); }
.footer-brand .logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.88rem; max-width: 260px; }

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: #fff; }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-contact-list li span { color: var(--accent); font-size: 0.9rem; flex-shrink: 0; padding-top: 2px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.78rem; color: var(--text-subtle); }

.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ══════════════════════════════════════════
   PAGE HERO  (sub-pages)
══════════════════════════════════════════ */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.45) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}
.page-hero-content .label { margin-bottom: 0.5rem; }
.page-hero-content h1 { margin-bottom: 0; }

/* ══════════════════════════════════════════
   ANGEBOT / SERVICE CARDS
══════════════════════════════════════════ */
.angebot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.angebot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.angebot-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.angebot-card:hover { border-color: var(--border-accent); transform: translateY(-6px); }
.angebot-card:hover::after { transform: scaleX(1); }

.angebot-card.featured {
  border-color: var(--border-accent);
  background: var(--surface-2);
}
.angebot-card.featured::after { transform: scaleX(1); }

.featured-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.angebot-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.angebot-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.angebot-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  margin-bottom: 2rem;
}
.angebot-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.angebot-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   TEXT PAGES (Datenschutz / Impressum)
══════════════════════════════════════════ */
.text-page { padding: 4rem 0 5rem; }
.text-page h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: #fff;
}
.text-page p, .text-page li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.text-page ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.text-page a { color: var(--accent); text-decoration: underline; }
.text-page .contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.text-page .contact-box p { margin-bottom: 0.3rem; }

/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATION
══════════════════════════════════════════ */
.reveal {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .services-layout { grid-template-columns: 1fr; gap: 2rem; }
  .service-visual { position: static; aspect-ratio: 16/9; }
  .angebot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .section { padding: 4rem 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-image { height: 340px; }
  .about-content { padding: 2.5rem 1.5rem; }
  .angebot-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.6rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { height: 45vh; min-height: 300px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .angebot-grid { grid-template-columns: 1fr; }
  .cta-banner::before { display: none; }
}

/* ══════════════════════════════════════════
   TESTIMONIAL SLIDER (tslider)
══════════════════════════════════════════ */

/* Outer wrapper — arrows are positioned relative to this */
.tslider-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4rem;
  box-sizing: border-box;
}

/* The actual scrolling container — always hidden */
.tslider {
  overflow: hidden;
  width: 100%;
}

.tslider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.tslide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.tslide-inner {
  display: grid;
  grid-template-columns: 38% 1fr;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.tslide-portrait {
  position: relative;
  z-index: 2;
}
.tslide-portrait img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: 6px 0 0 6px;
}

.tslide-content {
  padding: 3rem 2.5rem;
  border-radius: 0 6px 6px 0;
  position: relative;
  z-index: 1;
  margin-left: -4px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tslide-content p {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  opacity: 0.92;
}

.tslide-divider {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.5);
  margin: 1.5rem 0 1rem;
}

.tslide-author {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.8;
}

/* Arrow buttons — absolutely positioned on desktop */
.tslider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #C8102E;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  z-index: 10;
  transition: background 0.2s;
}
.tslider-btn:hover { background: #E8192E; }
.tslider-prev { left: 0; }
.tslider-next { right: 0; }

/* Nav row: contains prev + dots + next */
.tslider-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
}

/* Dot indicators */
.tslider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 0.5rem;
}
.tslider-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(200,16,46,0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}
.tslider-dot.active {
  background: #C8102E;
  width: 48px;
}

/* ── MOBILE: stack portrait above card, arrows flanking dots below ── */
@media (max-width: 768px) {
  .tslider-wrap {
    padding: 0 1rem;
    max-width: 100%;
  }
  .tslide {
    padding: 0;
  }
  .tslide-inner {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .tslide-portrait img {
    height: 260px;
    border-radius: 6px 6px 0 0;
    object-position: center 15%;
  }
  .tslide-content {
    margin-left: 0;
    padding: 1.5rem 1.25rem;
    border-radius: 0 0 6px 6px;
    min-height: unset;
  }
  .tslide-content p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .tslide-author {
    font-size: 0.85rem;
  }

  /* Arrows: static instead of absolutely positioned */
  .tslider-btn {
    position: static;
    transform: none;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .tslider-nav-row {
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .tslider-dots {
    flex-wrap: wrap;
    margin-top: 0;
    padding-bottom: 0;
    gap: 6px;
  }
}

/* ══════════════════════════════════════════
   WILL DURANT QUOTE SECTION
══════════════════════════════════════════ */
.quote-section {
  background: #C8102E;
  padding: 5rem 0;
  text-align: center;
}

.quote-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

.quote-marks {
  font-family: 'Anton', sans-serif;
  font-size: 9rem;
  line-height: 0.6;
  color: rgba(255,255,255,0.15);
  margin-bottom: 1rem;
  display: block;
}

.quote-text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 2rem;
  border: none;
  padding: 0;
}

.quote-author {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-style: normal;
}

@media (max-width: 768px) {
  .quote-section { padding: 3.5rem 0; }
  .quote-marks { font-size: 6rem; }
  .quote-text { font-size: 1.65rem; }
}

/* ══════════════════════════════════════════
   HAMBURGER BUTTON
══════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(200,16,46,0.12); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
}

/* ══════════════════════════════════════════
   HIDE CREDENTIAL BADGE ON MOBILE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .credential-badge { display: none; }
}

/* ══════════════════════════════════════════
   HERO MOBILE — center on Ricardo
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-bg {
    background-position: 65% center !important;
  }
}

/* ══════════════════════════════════════════
   CONTACT FORM (in CTA banner)
══════════════════════════════════════════ */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cf-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.cf-group input,
.cf-group textarea {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}

.cf-group input::placeholder,
.cf-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.cf-group input:focus,
.cf-group textarea:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.18);
}

@media (max-width: 600px) {
  .cf-row { grid-template-columns: 1fr; }
  .contact-form { padding: 0 0.25rem; }
}


