/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Anthrazit (minimal heller) */
  --bg-900: #0e1412;
  --bg-800: #161e1b;
  --panel:  #1b2622;

  /* Textfarben */
  --text-100: #ffffff;
  --text-300: #e8f1ef;
  --text-600: #b3ccc4;

  /* Innovation Green */
--acc-400: #7afac6;   /* helleres Akzent-Grün */
--acc-500: #46f1ad;   /* Buttons / Highlights */

  /* Radius & Abstände */
  --radius: 12px;
  --space-xs: 6px;
  --space-s: 10px;
  --space-m: 16px;
  --space-l: 24px;
  --space-xl: 56px;

  /* Layout */
  --container: 1120px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-900);
  color: var(--text-300);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
}

/* Layout-Helpers */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-l);
}

.center {
  text-align: center;
}

/* Headings */
h1,
h2,
h3 {
  margin: 0 0 var(--space-s);
}

h1 {
  font-family: Outfit, Inter, sans-serif;
}

/* Fokus sichtbar & konsistent */
:focus-visible {
  outline: 2px solid var(--acc-500);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Besserer Sprung bei Ankern (Sticky Header) */
.section,
[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* =========================================================
   HEADER & NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  background: linear-gradient(
    180deg,
    rgba(17, 19, 23, 0.95),
    rgba(17, 19, 23, 0.7)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-300);
}

.brand span {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  color: var(--text-300);
  padding: 10px 12px;
  border-radius: 10px;
}

.site-nav a:hover {
  background: rgba(54, 245, 163, 0.08);
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  color: var(--text-300);
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .hamburger {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--bg-800);
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    flex-direction: column;
  }

  .site-nav.open {
    display: flex;
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #46f1ad, #7afac6);
  color: #062015;
  font-weight: 700;
  font-family: Outfit, Inter, sans-serif;
  transition: transform 0.15s ease, opacity 0.15s ease;
  will-change: transform;
}

.nav-cta {
  background: transparent;
  color: #40ffb0;              /* dein Grün */
  border: 1px solid #40ffb0;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: rgba(64, 255, 176, 0.1);
  transform: translateY(-1px);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn.ghost {
  background: transparent;
  color: var(--text-300);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 96px 0 56px;
  text-align: center;
  background:
    radial-gradient(
      600px 220px at 20% 0%,
      rgba(58, 142, 255, 0.16),
      transparent 60%
    ),
    radial-gradient(
      600px 220px at 80% 10%,
      rgba(185, 193, 200, 0.12),
      transparent 60%
    ),
    var(--bg-900);
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(32px, 6vw, 56px);
  color: var(--text-100);
}

.lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-600);
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 560px) {
  .hero {
    padding: 72px 0 44px;
  }

  .lead {
    padding: 0 8px;
  }
}

/* =========================================================
   SECTIONS & LAYOUT
   ========================================================= */
.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-900), var(--bg-800));
}

.section-invert {
  position: relative;
  padding-top: 72px;
  background:
    radial-gradient(
      800px 260px at 50% -80px,
      rgba(58, 142, 255, 0.14),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-800), var(--bg-900));
}

.section-invert::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
}

/* 2-Spalten-Grid (About + Formular) */
.grid-2 {
  display: grid;
  gap: 40px;
  align-items: center;
}

/* Desktop: zwei Spalten */
@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Mobile: Inhalt mittig */
@media (max-width: 768px) {
  .grid-2 {
    text-align: center;
  }
}

/* Listen */
.list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-600);
}

.list.mini {
  font-size: 0.95rem;
}

/* =========================================================
   ABOUT
   ========================================================= */
/* About-Bild */
.about-image {
  width: 100%;
  max-width: 320px;          /* minimal größer für Desktop */
  height: auto;
  border-radius: 14px;
  justify-self: center;
  margin: 0 auto;
}

/* About-Text – Desktop: volle Breite, clean */
.about-block {
  max-width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;                /* wichtig für Glow-Layer */
}

/* Mobile: Inhalt kompakter halten */
@media (max-width: 768px) {
  .about-block {
    max-width: 720px;        /* etwas cleaner als 760px */
    margin: 0 auto;
    text-align: center;      /* moderner Look auf Mobile */
  }

  .about-image {
    max-width: 260px;
  }
}

/* Abstände zwischen Absätzen */
.about-section {
  margin-top: 48px;
}

.about-section h2 {
  margin-bottom: 20px;
}

/* Mehr Abstand zwischen About-Abschnitten */
.about-section h3 {
  margin-top: 48px;
}

.about-section p {
  color: #cfdad6;
  margin-top: 12px;
}

.about-section:first-of-type {
  margin-top: 0;
}


/* =========================================================
   CARDS & TEAM
   ========================================================= */
.card {
  background: linear-gradient(180deg, #13201c, #0f1714);
  border: 1px solid rgba(90, 247, 184, 0.18);
  box-shadow: 0 0 0 1px rgba(90, 247, 184, 0.06);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin: 6px 0 8px;
  font-family: Outfit, Inter, sans-serif;
  color: var(--text-100);
}

.card p {
  color: var(--text-600);
}

.card.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Platzhalter-Bilder */
.ph-img {
  max-width: 520px; 
  width: 100%;
  margin: 0 auto;
  height: auto;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Studio / Team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.member .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 10px;
  position: relative;
}

.member .avatar::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(58, 142, 255, 0.35);
}

.member-icon {
  filter: drop-shadow(0 0 4px rgba(108, 176, 255, 0.25));
}

.member .role {
  margin: 0 0 10px;
  color: var(--text-600);
  font-weight: 600;
}

.trust-note {
  color: var(--text-600);
  font-size: 14px;
}

/* =========================================================
   FITNESS-BEREICH
   ========================================================= */
.fit-cards {
  display: grid;
  gap: 18px;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .fit-cards {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.coach-bullets {
  margin-bottom: 50px;
}

/* Coaching-Bild freistehend */
.coaching-figure {
  max-width: 640px;
  margin: 32px auto 0;
  border-radius: 16px;
  overflow: hidden;
}

.coaching-claim {
  margin-top: 10px;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Trainings- & Ernährungs-Tabellen */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
}

/* Zentrierung für Überschriften + Texte */
.center-block {
  text-align: center;
}

/* Zentrierte Bullet-Listen */
.center-list {
  list-style: disc;             /* Punkte aktivieren */
  list-style-position: inside;  /* Punkte + Text bündig */
  padding: 0;
  margin: 0 auto;
  text-align: center;
}
.center-list li {
  margin-bottom: 6px;
}

.plan-table thead th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-100);
  background: rgba(255, 255, 255, 0.04);
}

.plan-table th,
.plan-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
}

.plan-table td {
  color: var(--text-600);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Mobile-Anpassung */
@media (max-width: 600px) {

  /* Gib der Übung-Spalte mehr Platz */
  .plan-table th:nth-child(2),
  .plan-table td:nth-child(2) {
    width: 40%;                   /* mehr Platz für „Übung“ */
  }

  /* Andere Spalten schmaler */
  .plan-table th:nth-child(1),
  .plan-table td:nth-child(1) {
    width: 30%;
  }

  .plan-table th:nth-child(3),
  .plan-table td:nth-child(3) {
    width: 30%;
  }
}

.card .hint {
  margin-top: 12px;
  color: var(--text-600);
  font-size: 14px;
}

.fit-figure {
  text-align: center;
}

.fit-actions {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   IT-BEREICH
   ========================================================= */
.it-box {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.it-box h3 {
  margin-bottom: 12px;
}

.it-box ul {
  text-align: left;
  margin-left: 0;
  padding-left: 20px;
  margin: 0 0 12px 0;
}

/* Listeneinträge sauber ausrichten */
.it-box li {
  text-align: left;
}

.it-box ul li::marker {
  color: #5af7b8;
}

.it-box .tagline {
  opacity: 0.8;
  font-size: 0.95rem;
}

.it-actions {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
/* Layout für IT-Bereich */
.it-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 24px;
}

.it-image-wrap {
  display: flex;
  justify-content: center;
}

/* Bild größer & modern */
.it-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  justify-self: end;
}

/* Mobile: alles untereinander */
@media (max-width: 768px) {
  .it-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .it-image {
    margin: 0 auto;
    justify-self: center;
  }
}


/* =========================================================
   FORMULARE / KONTAKT
   ========================================================= */
.contact-form {
  max-width: 780px;
  margin-inline: auto;
}

.form-grid {
  display: grid;
  gap: 20px;
  align-items: flex-start;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

label {
  color: var(--text-300);
  font-weight: 600;
}

/* Form-Controls */
input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
}

input,
textarea,
select {
  background: var(--bg-800);
  color: var(--text-300);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #1fd18a;
  box-shadow: 0 0 0 3px rgba(31, 209, 138, 0.2);
}

select {
  appearance: none;
  background-image: none;
}

.error {
  min-height: 18px;
  color: #ff8d8d;
  font-size: 13px;
  margin: 0;
}

.error:empty {
  display: none;
}

.form-status {
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(0);
}

.form-status.success {
  color: #8fff8f;
  opacity: 1;
  transform: translateY(4px);
}

.form-status.error {
  color: #ff8d8d;
  opacity: 1;
  transform: translateY(4px);
}

.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 14px;
  color: var(--text-600);
}

/* alternative Kontaktwege (Icons) */
.alt-contact {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-600);
  opacity: 0.85;
}

.alt-contact span {
  display: block;
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.social-icons img {
  width: 26px;
  height: 26px;
  filter: invert(1);
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial .quote {
  color: var(--text-300);
  margin-bottom: 10px;
}

.testimonial .person {
  color: var(--text-600);
  font-size: 0.9rem;
  font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-900);
  color: var(--text-600);
  padding: 12px 0;
}

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* Newsletter */
.newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 360px;
}

.newsletter label {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.newsletter-row {
  display: flex;
  gap: 8px;
}

.newsletter-row input {
  width: 200px;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-800);
  color: var(--text-300);
}

.newsletter-row button {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  background: linear-gradient(90deg, var(--acc-500), var(--acc-400));
  color: #06101e;
  cursor: pointer;
}

.newsletter-row button:hover {
  opacity: 0.9;
}

.newsletter-status {
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
}

/* Impressum & Datenschutz */
.legal-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 12px;
  opacity: 0.8;
}

/* Copyright */
.copyright {
  font-size: 12px;
  opacity: 0.7;
}

.site-credit {
  font-size: 11px;
  color: var(--text-600);
  opacity: 0.6;
  margin-top: 2px;
  text-align: center;
}

/* Mobile Footer-Stack (zur Sicherheit, falls später erweitert) */
@media (max-width: 720px) {
  .foot {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================================================
   PREFERENCES & PRINT
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .form-status {
    transition: none;
  }
}

@media print {
  .site-header,
  .hero,
  .btn {
    display: none !important;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
