/*
Theme Name: train2survive
Theme URI: https://www.train2survive.de/
Author: LYFE X | Prof. Dr. mult. Mario Staller
Description: Schlankes WordPress-Theme für train2survive – Prosoziales Krav Maga.
Version: 1.0.9
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: train2survive
*/

:root {
  --t2s-orange: #ef7d23;
  --t2s-orange-deep: #d8640c;
  --t2s-blue: #079fda;
  --t2s-ink: #181817;
  --t2s-paper: #f5f3ee;
  --t2s-white: #fff;
  --t2s-muted: #6d6a64;
  --t2s-border: #d8d4cb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--t2s-paper);
  color: var(--t2s-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(24, 24, 23, 0.12);
  background: rgba(245, 243, 238, 0.94);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1440px, calc(100% - 64px));
  height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 36px;
}
.brand img { width: 190px; max-height: 64px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; justify-content: center; gap: clamp(18px, 2.3vw, 38px); font-size: .92rem; font-weight: 660; }
.site-nav a { transition: color 160ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--t2s-orange-deep); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 20px; }
.lyfe-mark { width: 76px; height: 42px; object-fit: contain; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button-small { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.button-dark { background: var(--t2s-ink); color: var(--t2s-white); }
.button-orange { background: var(--t2s-orange); color: var(--t2s-ink); }
.button-light { background: var(--t2s-white); color: var(--t2s-ink); }

.hero {
  width: min(1440px, calc(100% - 64px));
  min-height: 760px;
  margin: 0 auto;
  padding: 72px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  gap: clamp(52px, 6vw, 104px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--t2s-orange-deep);
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.04; letter-spacing: -.045em; }
h1 { max-width: 800px; margin-bottom: 22px; font-size: clamp(3.5rem, 6.4vw, 6.8rem); font-weight: 880; }
.hero-lead { max-width: 700px; margin: 0; color: #4f4d48; font-size: clamp(1.08rem, 1.55vw, 1.36rem); line-height: 1.55; }
.access-grid { margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.access-card { position: relative; min-height: 284px; padding: 26px; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; }
.access-regular { background: var(--t2s-orange); }
.access-therapy { border: 1px solid #a9dced; background: #dff4fb; }
.card-icon { width: 42px; height: 42px; margin-bottom: 30px; display: grid; place-items: center; border: 1px solid rgba(24, 24, 23, .2); border-radius: 50%; }
.card-icon svg { width: 21px; height: 21px; }
.tze-pictogram {
  display: block;
  background: currentColor;
  -webkit-mask: var(--tze-icon) center / contain no-repeat;
  mask: var(--tze-icon) center / contain no-repeat;
}
.card-icon-therapy .tze-pictogram { width: 27px; height: 21px; }
.card-kicker { margin: 0 0 5px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.access-card h2 { margin-bottom: 10px; font-size: 1.55rem; }
.access-card > p:not(.card-kicker) { margin: 0 0 24px; font-size: .94rem; line-height: 1.5; }
.access-card > a { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 800; }
.access-card > a svg { width: 17px; height: 17px; transition: transform 160ms ease; }
.access-card > a:hover svg { transform: translateX(4px); }
.hero-visual { position: relative; min-height: 650px; margin: 0; border-radius: 24px 24px 110px 24px; overflow: hidden; background: #222; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .76)); }
.hero-visual > img { width: 100%; height: 650px; object-fit: cover; object-position: 50% 50%; filter: saturate(.96) contrast(1.02); }
.hero-visual figcaption { position: absolute; z-index: 2; right: 36px; bottom: 34px; left: 36px; color: white; }
.hero-visual figcaption span { display: block; margin-bottom: 3px; color: #ffb26f; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-visual figcaption strong { font-size: 1.08rem; }

.concept-section {
  padding: 110px max(32px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  color: white;
  background: var(--t2s-ink);
}
.section-heading h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(2.5rem, 4.3vw, 4.7rem); }
.concept-copy { align-self: end; max-width: 620px; }
.concept-copy > p { margin: 0 0 34px; color: #cfcdc7; font-size: 1.18rem; }
.principles { display: flex; flex-wrap: wrap; gap: 12px; }
.principles span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #474641; border-radius: 999px; font-size: .86rem; }
.principles svg { width: 15px; height: 15px; color: var(--t2s-orange); }

.locations-section { width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 112px 0 118px; }
.locations-heading { margin-bottom: 46px; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.locations-heading h2 { font-size: clamp(2.5rem, 4vw, 4.25rem); }
.locations-heading > p { max-width: 390px; margin: 0 0 6px; color: var(--t2s-muted); }
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.location-card { padding: 30px; border: 1px solid #cfcbc2; border-radius: 14px; background: rgba(255, 255, 255, .42); }
.location-title { min-height: 82px; display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.location-title h3 { margin-bottom: 7px; font-size: 1.44rem; }
.location-addresses { display: grid; gap: 4px; }
.location-title p { margin: 0; display: flex; align-items: start; gap: 7px; color: var(--t2s-muted); font-size: .84rem; }
.location-title p svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; }
.location-address-text { display: grid; line-height: 1.35; }
.location-address-text strong { color: var(--t2s-ink); font-size: .86rem; }
.therapy-badge { white-space: nowrap; padding: 6px 10px; border-radius: 999px; color: #096887; background: #dff4fb; font-size: .72rem; font-weight: 800; }
.schedule { margin-top: 22px; border-top: 1px solid var(--t2s-border); }
.schedule-row { min-height: 48px; display: grid; grid-template-columns: 42px 115px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid var(--t2s-border); font-size: .9rem; }
.schedule-row.has-venue { grid-template-columns: 42px 105px minmax(120px, 1fr) auto; }
.schedule-row strong { color: var(--t2s-orange-deep); }
.schedule-group { color: var(--t2s-muted); text-align: right; }
.schedule-venue { max-width: 155px; overflow: hidden; padding: 4px 9px; border-radius: 999px; color: #096887; background: #dff4fb; font-size: .72rem; font-weight: 750; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.schedule-venue.is-flexible { border: 1px dashed #aaa59b; color: var(--t2s-muted); background: transparent; }
.fine-print { margin: 14px 0 0; color: var(--t2s-muted); font-size: .76rem; }

.therapy-section {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto 20px;
  padding: 64px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 44px;
  align-items: center;
  border-radius: 26px;
  background: var(--t2s-blue);
}
.therapy-symbol { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; color: white; }
.therapy-symbol svg { width: 42px; height: 42px; }
.therapy-symbol .tze-pictogram { width: 60px; height: 47px; }
.therapy-section .eyebrow { color: #053746; }
.therapy-section h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.3vw, 3.5rem); }
.therapy-section p:not(.eyebrow) { max-width: 780px; margin: 0; color: #053746; }

.membership-section { width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 90px 0 112px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 18px; }
.price-panel, .contact-panel { min-height: 390px; padding: 46px; border-radius: 20px; }
.price-panel { background: #e6e2da; }
.price-line { margin: 46px 0 24px; }
.price-line strong { display: block; font-size: clamp(4.5rem, 7vw, 7rem); line-height: .85; letter-spacing: -.08em; }
.price-line span { color: var(--t2s-muted); font-weight: 700; }
.price-panel > p:not(.eyebrow) { max-width: 400px; color: var(--t2s-muted); }
.membership-cta { margin-top: 30px; }
.contact-panel { display: grid; grid-template-columns: 60px 1fr; gap: 28px; color: white; background: var(--t2s-ink); }
.contact-panel > svg { width: 42px; height: 42px; color: var(--t2s-orange); }
.contact-panel h2 { margin-bottom: 16px; font-size: clamp(2.4rem, 4vw, 4rem); }
.contact-panel p:not(.eyebrow) { max-width: 660px; margin: 0; color: #cfcdc7; }
.contact-actions { margin-top: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }

.site-footer {
  padding: 46px max(32px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 48px;
  border-top: 1px solid #d0cbc3;
  background: #ebe8e1;
}
.footer-brand img { width: 185px; max-height: 70px; object-fit: contain; object-position: left; }
.footer-brand p, .footer-meta p { color: var(--t2s-muted); font-size: .84rem; }
.footer-meta-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .85rem; font-weight: 700; }
.footer-lyfe { width: 90px; max-height: 48px; }

.legal-header {
  border-bottom: 1px solid rgba(24, 24, 23, .12);
  background: var(--t2s-paper);
}
.legal-header-inner {
  width: min(1100px, calc(100% - 64px));
  min-height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.legal-brand img { width: 170px; max-height: 64px; object-fit: contain; object-position: left center; }
.legal-home-link { font-size: .92rem; font-weight: 760; }
.legal-home-link:hover, .legal-home-link:focus-visible { color: var(--t2s-orange-deep); }
.legal-lyfe { width: 78px; max-height: 42px; justify-self: end; }
.basic-page { width: min(900px, calc(100% - 40px)); min-height: 64vh; margin: 0 auto; padding: 72px 0 92px; }
.basic-page h1 { margin: 0 0 42px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.basic-page h2 { margin: 42px 0 12px; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.2; }
.basic-page h3 { margin: 30px 0 10px; font-size: 1.15rem; }
.basic-page p, .basic-page li { color: #46443f; }
.basic-page ul { padding-left: 1.25rem; }
.basic-page a { color: var(--t2s-orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.basic-page .t2s-email-button { margin-top: 6px; color: var(--t2s-white); text-decoration: none; }
.legal-footer {
  padding: 34px max(32px, calc((100vw - 1100px) / 2));
  display: flex;
  align-items: center;
	justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px 32px;
  border-top: 1px solid #d0cbc3;
  background: #ebe8e1;
  color: var(--t2s-muted);
  font-size: .86rem;
}
.legal-footer p { margin: 0; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; color: var(--t2s-ink); }

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: 190px 1fr; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-visual { min-height: 560px; }
  .hero-visual > img { height: 560px; }
  .concept-section { gap: 50px; }
  .therapy-section { grid-template-columns: 80px 1fr; }
  .therapy-section .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
  .header-inner, .hero, .locations-section, .therapy-section, .membership-section { width: min(100% - 32px, 1440px); }
  .header-inner { height: 76px; grid-template-columns: 1fr auto; gap: 16px; }
  .brand img { width: 150px; max-height: 54px; }
  .lyfe-mark { width: 58px; }
  .header-actions .button { display: none; }
  .hero { min-height: auto; padding: 44px 0 64px; gap: 42px; }
  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-lead { font-size: 1.06rem; }
  .access-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .access-card { min-height: 250px; }
  .hero-visual, .hero-visual > img { min-height: 430px; height: 430px; }
  .hero-visual { border-radius: 18px 18px 70px 18px; }
  .hero-visual figcaption { right: 24px; bottom: 24px; left: 24px; }
  .concept-section { padding: 76px 16px; grid-template-columns: 1fr; gap: 38px; }
  .locations-section { padding: 78px 0; }
  .locations-heading { align-items: start; flex-direction: column; }
  .locations-grid { grid-template-columns: 1fr; }
  .location-card { padding: 22px; }
  .location-title { min-height: auto; }
  .schedule-row { grid-template-columns: 36px 102px 1fr; font-size: .82rem; }
  .schedule-row.has-venue { grid-template-columns: 36px 102px 1fr; padding: 8px 0; }
  .schedule-row.has-venue .schedule-venue { grid-column: 2 / -1; justify-self: end; }
  .therapy-section { padding: 36px 24px; grid-template-columns: 1fr; gap: 26px; }
  .therapy-symbol { width: 68px; height: 68px; }
  .therapy-section .button { grid-column: 1; }
  .membership-section { padding: 66px 0 80px; grid-template-columns: 1fr; }
  .price-panel, .contact-panel { min-height: 0; padding: 32px 24px; }
  .contact-panel { grid-template-columns: 1fr; }
  .site-footer { padding: 40px 16px; grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .legal-header-inner { width: calc(100% - 32px); min-height: 76px; grid-template-columns: 1fr auto; gap: 16px; }
  .legal-brand img { width: 145px; }
  .legal-home-link { display: none; }
  .legal-lyfe { width: 62px; }
  .basic-page { padding: 52px 0 70px; }
  .legal-footer { padding: 30px 20px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
