/*
Theme Name: GFK Tage Fürth
Theme URI: https://gfk-tage-fuerth.de
Author: Impact Institut
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: gfk-tage
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #1A50D4;
  --blue-dk:   #1338A8;
  --blue-lt:   #EBF0FC;
  --white:     #FFFFFF;
  --off:       #F4F7FF;
  --dark:      #111827;
  --mid:       #4B5563;
  --light:     #9CA3AF;
  --border:    #E9EDF7;
  --box:       1160px;   /* max-width for boxed layout */
  --box-pad:   2.5rem;
}

html { scroll-behavior: smooth; }

body {
  background: #EAEEF8; /* page background behind the box */
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 17px;      /* base size bumped up */
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   BOXED WRAPPER
   ============================================================ */
.site-box {
  max-width: var(--box);
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 80px rgba(0,0,0,.10);
  overflow: hidden;  /* clips waves cleanly */
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--box-pad);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #E5E7EB;
  transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.07); }

.nav-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem; font-weight: 800;
  letter-spacing: -.01em; text-transform: uppercase;
  color: var(--blue);
}
.nav-menu { display: flex; gap: 2rem; list-style: none; }
.nav-menu a {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem; font-weight: 400; letter-spacing: .05em;
  color: var(--mid); transition: color .2s;
}
.nav-menu a:hover, .nav-menu a.current { color: var(--blue); }
.nav-cta {
  font-family: 'Nunito', sans-serif;
  font-size: .8rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--white);
  background: var(--blue); padding: .6rem 1.5rem;
  border-radius: 50px; transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--blue-dk); transform: translateY(-1px); }

/* ============================================================
   SECTION PADDING & INNER
   ============================================================ */
.section-wrap { padding: 5rem var(--box-pad); }
.section-wrap.bg-off { background: var(--off); }
.section-inner { max-width: 100%; }

.section-tag {
  font-family: 'Nunito', sans-serif;
  font-size: .72rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .8rem;
}
.section-tag::after {
  content: ''; flex: 0 0 32px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.section-heading {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; color: var(--dark);
  margin-bottom: 2.5rem;
}
.section-heading span { color: var(--blue); }

/* ============================================================
   CLEAN WAVE — single divider, no double stripe
   ============================================================ */
.wave-to-blue {
  display: block; width: 100%; line-height: 0;
  background: var(--white);   /* section above is white */
}
.wave-to-blue svg { display: block; width: 100%; }

.wave-to-white {
  display: block; width: 100%; line-height: 0;
  background: var(--blue);
}
.wave-to-white svg { display: block; width: 100%; }

.wave-off-to-blue {
  display: block; width: 100%; line-height: 0;
  background: var(--off);
}
.wave-off-to-blue svg { display: block; width: 100%; }

/* ============================================================
   BLUE STATS BAND
   ============================================================ */
.blue-band {
  background: var(--blue);
  padding: 3.5rem var(--box-pad);
  color: white;
}
.blue-band-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; text-align: center;
}
.bb-num {
  font-family: 'Nunito', sans-serif;
  font-size: 3.4rem; font-weight: 900; line-height: 1;
}
.bb-label {
  font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; opacity: .72; margin-top: .4rem;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 4rem var(--box-pad) 3.5rem;
  background: var(--white);
}
.page-hero-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.page-hero-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue-lt); color: var(--blue);
  font-family: 'Nunito', sans-serif;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; border-radius: 50px;
  padding: .35rem 1rem; margin-bottom: 1.2rem;
}
.page-hero-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}
.page-hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.02em; line-height: 1.05;
  color: var(--dark); margin-bottom: .8rem;
}
.page-hero h1 span { color: var(--blue); }
.page-hero-sub {
  font-size: 1rem; color: var(--mid);
  max-width: 520px; line-height: 1.72; font-weight: 400;
}
.page-hero-meta { display: flex; gap: .7rem; flex-wrap: wrap; }
.meta-chip {
  background: var(--blue); color: white;
  font-family: 'Nunito', sans-serif;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .5rem 1.2rem; border-radius: 50px;
}
.meta-chip.outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue-lt);
}

/* ============================================================
   DAY HEADERS
   ============================================================ */
.day-header {
  display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem;
}
.day-badge {
  background: var(--blue); color: white;
  font-family: 'Nunito', sans-serif;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: .45rem 1.2rem;
  border-radius: 50px; white-space: nowrap;
}
.day-badge.d2 { background: var(--dark); }
.day-title-txt {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.01em;
}
.day-line { flex: 1; height: 2px; background: var(--blue-lt); border-radius: 2px; }
.day-line.d2 { background: #E5E7EB; }

.arrival-bar { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.arr-chip {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 8px; padding: .5rem 1rem;
  font-size: .82rem; color: var(--mid);
}
.arr-chip strong { color: var(--dark); font-weight: 600; }

/* ============================================================
   WORKSHOP CARDS
   ============================================================ */
.ws-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-bottom: 3rem;
}
.ws-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: 16px; padding: 1.8rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ws-card:hover {
  border-color: var(--blue); transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,80,212,.1);
}
.ws-card.day2:hover {
  border-color: var(--dark); box-shadow: 0 12px 32px rgba(17,24,39,.08);
}
.ws-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .6rem; }
.ws-time {
  font-family: 'Nunito', sans-serif;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}
.ws-card.day2 .ws-time { color: var(--dark); }
.ws-badge {
  font-family: 'Nunito', sans-serif;
  font-size: .65rem; font-weight: 800;
  background: var(--blue-lt); color: var(--blue);
  padding: .2rem .65rem; border-radius: 50px;
}
.ws-card.day2 .ws-badge { background: #F3F4F6; color: var(--dark); }
.ws-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.08rem; font-weight: 800;
  line-height: 1.3; color: var(--dark); margin-bottom: .7rem;
}
.ws-desc { font-size: .88rem; color: var(--mid); line-height: 1.75; margin-bottom: 1.2rem; }
.ws-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem; border-top: 1px solid #F0F0F5;
}
.ws-person { display: flex; align-items: center; gap: .55rem; }
.ws-av {
  width: 30px; height: 30px; border-radius: 50%;
  overflow: hidden; background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif; font-size: .65rem; font-weight: 800; color: var(--blue);
  flex-shrink: 0;
}
.ws-av img { width: 100%; height: 100%; object-fit: cover; }
.ws-card.day2 .ws-av { background: #F3F4F6; color: var(--dark); }
.ws-person-name { font-size: .82rem; font-weight: 500; color: var(--mid); }
.ws-tag {
  font-family: 'Nunito', sans-serif; font-size: .64rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--off); color: var(--mid); padding: .2rem .65rem; border-radius: 50px;
}

/* ============================================================
   TRAINER CARDS
   ============================================================ */
.trainer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.trainer-card {
  background: white; border: 2px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.trainer-card:hover {
  border-color: var(--blue); transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,80,212,.1);
}
.trainer-photo { width: 100%; aspect-ratio: 1/1; overflow: hidden; background: var(--blue-lt); }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.trainer-card:hover .trainer-photo img { transform: scale(1.04); }
.trainer-body { padding: 1.4rem; }
.trainer-name {
  font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 900;
  color: var(--dark); margin-bottom: .4rem;
}
.trainer-bio {
  font-size: .84rem; color: var(--mid); line-height: 1.68;
  display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
}
.trainer-tag {
  display: inline-flex; margin-top: .9rem;
  font-family: 'Nunito', sans-serif; font-size: .64rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-lt);
  padding: .25rem .7rem; border-radius: 50px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; max-width: 680px; margin: 0 auto 3rem;
}
.price-card {
  border: 2px solid var(--border); border-radius: 20px;
  padding: 2.5rem 2rem; text-align: center;
  background: white; transition: border-color .2s, box-shadow .2s;
}
.price-card:hover { border-color: var(--blue); box-shadow: 0 12px 32px rgba(26,80,212,.1); }
.price-card.featured { border-color: var(--blue); background: var(--blue); color: white; }
.price-label {
  font-family: 'Nunito', sans-serif; font-size: .72rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase; color: var(--mid); margin-bottom: .8rem;
}
.price-card.featured .price-label { color: rgba(255,255,255,.7); }
.price-amount {
  font-family: 'Nunito', sans-serif; font-size: 3.5rem; font-weight: 900;
  line-height: 1; color: var(--dark); margin-bottom: .3rem;
}
.price-card.featured .price-amount { color: white; }
.price-per { font-size: .82rem; color: var(--light); margin-bottom: 1.2rem; }
.price-card.featured .price-per { color: rgba(255,255,255,.6); }
.price-features { list-style: none; text-align: left; margin-bottom: 1.8rem; }
.price-features li {
  font-size: .88rem; color: var(--mid); padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .5rem;
}
.price-card.featured .price-features li { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.15); }
.price-features li::before { content: '✓'; font-weight: 700; color: var(--blue); flex-shrink: 0; }
.price-card.featured .price-features li::before { color: white; }
.btn-price {
  display: block; width: 100%; font-family: 'Nunito', sans-serif;
  font-size: .82rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .9rem 1.5rem;
  border-radius: 50px; border: none; cursor: pointer;
  background: var(--blue); color: white; transition: background .2s, transform .15s;
}
.btn-price:hover { background: var(--blue-dk); transform: translateY(-1px); }
.price-card.featured .btn-price { background: white; color: var(--blue); }
.price-card.featured .btn-price:hover { background: var(--blue-lt); }

/* ============================================================
   ABOUT / PERSON BLOCKS
   ============================================================ */
.about-body { font-size: .97rem; color: var(--mid); line-height: 1.85; max-width: 680px; }
.about-body p + p { margin-top: 1rem; }
.about-body strong { color: var(--dark); font-weight: 600; }

.person-block {
  display: flex; gap: 2rem; align-items: flex-start;
  background: white; border: 2px solid var(--border);
  border-radius: 16px; padding: 2rem; margin-bottom: 1.2rem;
}
.person-photo {
  width: 100px; height: 100px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0; background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif; font-size: 1.4rem; font-weight: 900; color: var(--blue);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-family: 'Nunito', sans-serif; font-size: 1.1rem; font-weight: 900; color: var(--dark); margin-bottom: .3rem; }
.person-role {
  font-family: 'Nunito', sans-serif; font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .7rem;
}
.person-bio { font-size: .88rem; color: var(--mid); line-height: 1.7; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--blue); padding: 5.5rem var(--box-pad);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.cta-inner { max-width: 600px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-eyebrow {
  font-family: 'Nunito', sans-serif; font-size: .72rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1rem;
}
.cta-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900; text-transform: uppercase; letter-spacing: -.02em;
  color: white; line-height: 1.08; margin-bottom: 1.2rem;
}
.cta-sub { font-size: .97rem; color: rgba(255,255,255,.72); margin-bottom: 2.4rem; line-height: 1.7; }
.btn-cta {
  font-family: 'Nunito', sans-serif; font-size: .88rem; font-weight: 900;
  letter-spacing: .06em; text-transform: uppercase; color: var(--blue);
  background: white; border: none; padding: 1.1rem 2.8rem; border-radius: 50px;
  display: inline-block; cursor: pointer;
  transition: background .2s, transform .15s; box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-cta:hover { background: var(--blue-lt); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,.45);
  padding: 2.5rem var(--box-pad);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: 'Nunito', sans-serif; font-size: .9rem; font-weight: 800;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: .76rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-social { display: flex; gap: .8rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; color: rgba(255,255,255,.5); transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--blue); color: white; }
.footer-copy {
  font-size: .74rem; color: rgba(255,255,255,.25); text-align: center;
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.06);
}

/* ============================================================
   FADE-IN
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  :root { --box-pad: 2rem; }
}
@media (max-width: 900px) {
  :root { --box-pad: 1.4rem; }
  .nav-menu { display: none; }
  .section-wrap { padding: 3.5rem var(--box-pad); }
  .ws-grid { grid-template-columns: 1fr; }
  .trainer-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .blue-band-inner { gap: 1rem; }
  .page-hero-inner { flex-direction: column; }
  .person-block { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
}
@media (max-width: 600px) {
  .trainer-grid { grid-template-columns: 1fr; }
  .blue-band-inner { grid-template-columns: 1fr; }
}
