:root {
  --black: #080808;
  --black-soft: #111111;
  --charcoal: #242424;
  --white: #f7f7f5;
  --paper: #efefec;
  --muted: #777;
  --red: #c91520;
  --red-dark: #940f17;
  --line: rgba(255,255,255,.14);
  --container: 1240px;
  --radius: 2px;
  --shadow: 0 20px 60px rgba(0,0,0,.16);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a { color: inherit; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 48px), 1040px);
}

/* Typography */
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3,
.brand,
.eyebrow,
.button,
.nav-cta,
.kicker,
.price-label,
.schedule-day h3,
.hero-bottom {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

h1 {
  font-size: clamp(4rem, 9vw, 8.8rem);
  line-height: .82;
  letter-spacing: -.045em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

h1 span,
.cta-content h2 span { color: var(--red); }

h2 {
  font-size: clamp(2.0rem, 3.5vw, 3.5rem);
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h3 {
  line-height: .95;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.45;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  background: currentColor;
}

.eyebrow.red { color: var(--red); }

.section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.section-dark {
  color: var(--white);
  background: var(--black-soft);
}

.section-black {
  color: var(--white);
  background: var(--black);
}

.section-light {
  background: var(--paper);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 55px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(8,8,8,.96);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  line-height: .9;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.brand small {
  color: #aaa;
  font-size: .65em;
  letter-spacing: .16em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.desktop-nav a,
.mobile-nav a {
  color: #ddd;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.desktop-nav a:hover,
.mobile-nav a:hover { color: white; }

.nav-cta {
  padding: 11px 15px;
  background: var(--red);
  color: white !important;
}

.nav-external {
  white-space: nowrap;
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: clamp(14px, 2vw, 30px);
}

.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: min(860px, calc(100vh - 78px));
  display: flex;
  align-items: center;
  color: white;
  background: var(--black);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background:
    url("images/hero.png") right 30% / auto 100% no-repeat;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.66) 42%, rgba(0,0,0,.2) 100%),
    linear-gradient(0deg, rgba(0,0,0,.65), transparent 45%);
}

.hero-content {
  padding-block: 100px;
}

.hero-content .eyebrow {
  color: white;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 32px;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: #ddd;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.button-red {
  background: var(--red);
  color: white;
}

.button-red:hover { background: #e21a27; }

.button-ghost {
  border-color: rgba(255,255,255,.45);
  color: white;
  background: rgba(0,0,0,.12);
}

.button-ghost:hover {
  background: white;
  color: black;
}

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.news-item {
  background: #050505;
  border: 1px solid #292929;
}

.news-image {
  width: 100%;
  overflow: hidden;
}

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

.news-content {
  padding: 30px;
}

.news-content h3 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.5vw, 3.8rem);
}

.news-content p {
  margin: 0;
  max-width: 650px;
  color: #bbb;
}

.news-text-only {
  display: flex;
  align-items: center;
}

.kicker,
.price-label {
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}


.text-link {
  display: inline-flex;
  gap: 14px;
  margin-top: 18px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}

.text-link span {
  color: var(--red);
  font-size: 1.25em;
}

.text-link:hover { color: var(--red); }

/* News layout variations */

/* One news item / one image: center it. */
.news-grid:has(.news-item:only-child) {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

/* If only one news item contains an image, center that item. */
.news-grid:has(.news-image):not(:has(.news-image ~ .news-image))
.news-item:has(.news-image) {
  max-width: 760px;
  justify-self: center;
}

/* Smartphone */
@media (max-width: 700px) {
  .news-grid:has(.news-item:only-child) {
    grid-template-columns: 1fr;
  }

  .news-grid:has(.news-image):not(:has(.news-image ~ .news-image))
  .news-item:has(.news-image) {
    max-width: none;
  }
}

/* Verband */
.verband-heading {
  max-width: 1120px;
  margin-bottom: clamp(42px, 5vw, 68px);
}

.verband-heading h2 {
  max-width: 1120px;
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
}

.split-large {
  grid-template-columns: 1.05fr .95fr;
}

.split-copy { max-width: 700px; }

.split-copy > p:not(.lead) {
  color: #555;
}

.feature-image {
  margin: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-image::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 7px;
  background: var(--red);
}

.feature-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.principles {
  display: grid;
  gap: 0;
  margin-top: 45px;
  border-top: 1px solid #ccc;
}

.principles > div {
  padding: 24px 0;
  border-bottom: 1px solid #ccc;
}

.principles strong {
  color: var(--red);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: .85rem;
}

.principles h3 {
  margin: 6px 0 5px;
  font-size: 1.25rem;
}

.principles p {
  margin: 0;
  color: #666;
}

/* Schulleiter */
.section-leiter {
  background: var(--black-soft);
  color: var(--white);
}

.split-leiter {
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(50px, 8vw, 130px);
}

.leiter-image {
  max-width: 560px;
  justify-self: end;
  box-shadow: none;
}

.leiter-image img {
  aspect-ratio: 3 / 4;
  object-position: center 18%;
}

.leiter-copy {
  max-width: 650px;
}

.leiter-copy > p:not(.lead) {
  color: #bbb;
}

.leiter-copy strong {
  color: white;
}

.leiter-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.leiter-contact a {
  color: white;
  text-decoration: none;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.leiter-contact a:hover {
  color: var(--red);
}

/* Groups */
.group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.group-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #171717;
}

.group-card-wide {
  grid-column: span 2;
  min-height: 500px;
}
/* Minis */
.group-card-wide:nth-child(1) img {
    object-position: center 35%;
}

/* Kids */
.group-card:nth-child(2) img {
    object-position: center 20%;
}

/* Erwachsene */
.group-card:nth-child(4) img {
    object-position: center 15%;
}

/* Frauen */
.group-card:nth-child(5) img {
    object-position: center 30%;
}


.group-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.group-card:hover img { transform: scale(1.04); }

.group-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,.03) 65%);
}

.group-card-content {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 28px;
}

.group-card-content span {
  color: #ddd;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.group-card-content h3 {
  margin: 7px 0 8px;
  color: white;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.group-card-content p {
  max-width: 560px;
  margin: 0;
  color: #ddd;
}

.group-card-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 70% 25%, rgba(201,21,32,.35), transparent 28%),
    linear-gradient(135deg, #2b2b2b, #080808 70%);
}

.age-mark {
  display: block;
  color: var(--red);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: .75;
  opacity: .8;
}

.group-card-placeholder p {
  max-width: 220px;
  margin: 25px auto 0;
  color: #bbb;
}

/* TAWA */
.split-tawa {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    column-gap: 60px;
}
.feature-image-tall img {
  aspect-ratio: 3 / 4;
}

.check-list {
  padding: 0;
  margin: 34px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid #d0d0cd;
}

.check-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--red);
  font-size: 1.25rem;
  font-weight: 900;
}

.brush-note {
  display: inline-block;
  position: relative;
  padding: 8px 25px;
  color: white;
  background: var(--red);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

/* Schedule */
.split-training {
  grid-template-columns: 1.1fr .9fr;
}

.section-intro {
  max-width: 600px;
  color: #aaa;
}

.schedule {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.schedule-day {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.schedule-day h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 1rem;
  letter-spacing: .1em;
}

.schedule-day div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 5px 0;
}

.schedule-day span { color: #ddd; }
.schedule-day time { color: #fff; font-weight: 700; }

.training-image {
  margin: 0;
  align-self: stretch;
  min-height: 620px;
}



.training-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
}

/* Prices */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  max-width: 830px;
  margin-inline: auto;
}

.price-card {
  padding: 42px 32px;
  background: #fff;
  border-top: 4px solid #222;
}

.price-card-featured {
  background: var(--black);
  color: white;
  border-top-color: var(--red);
}

.price-card h3 {
  margin: 12px 0 20px;
  font-size: 1.9rem;
}

.price-card p:not(.price-placeholder) {
  color: #666;
}

.price-card-featured p:not(.price-placeholder) { color: #bbb; }

.price-placeholder {
  margin: 0 0 15px;
  color: var(--red);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* CTA */
.cta-section {
  min-height: 720px;
  display: flex;
  align-items: center;
  color: white;
  background: var(--black);
  isolation: isolate;
}

.cta-image,
.cta-overlay {
  position: absolute;
  inset: 0;
}

.cta-image {
  z-index: -3;
  background: url("images/wt_probetraining.jpg") center 35% / cover no-repeat;
}

.cta-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.78) 48%, rgba(0,0,0,.3) 100%);
}

.cta-content {
  max-width: 1240px;
}

.cta-content h2 {
  font-size: clamp(4rem, 9vw, 9rem);
  max-width: 950px;
}

.cta-content p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 28px;
  color: #ddd;
  font-size: 1.15rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  background: white;
  overflow: hidden;
}

.team-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.team-card > div {
  padding: 22px;
}

.team-card span {
  color: #777;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 7px 0;
  font-size: 1.5rem;
}

.team-card p {
  margin: 0;
  color: #666;
  font-size: .9rem;
}

/* Location */
.location-section {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  min-height: 580px;
  background: #161616;
  color: white;
}

.map-frame {
  min-height: 580px;
  overflow: hidden;
  background: #ddd;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 580px;
  border: 0;
}

.location-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.location-panel h2 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
}

.location-panel address {
  margin: 10px 0 20px;
  color: #bbb;
  font-style: normal;
}

.contact-lines {
  display: grid;
  gap: 7px;
  margin-top: 40px;
}

.contact-lines a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.contact-lines a:hover { color: var(--red); }

/* Footer */
.site-footer {
  padding: 34px 0;
  background: var(--black);
  color: white;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid p {
  margin: 5px 0 0;
  color: #777;
  font-size: .85rem;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: #aaa;
  font-size: .78rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-links a:hover { color: white; }

/* Responsive */
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .mobile-nav {
    display: block;
    position: relative;
  }

  .mobile-nav summary {
    cursor: pointer;
    list-style: none;
    padding: 9px 12px;
    border: 1px solid #555;
    font-family: "Arial Narrow", Impact, sans-serif;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .mobile-nav summary::-webkit-details-marker { display: none; }

  .mobile-nav nav {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 250px;
    padding: 12px;
    display: grid;
    gap: 4px;
    background: #111;
    border: 1px solid #333;
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
  }

  .mobile-nav a {
    display: block;
    padding: 12px;
  }

  .split,
  .split-large,
  .split-training {
    grid-template-columns: 1fr;
  }

  .feature-image-tall { max-width: 700px; }

  .training-image {
    min-height: 450px;
    max-height: 600px;
  }

  .price-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }


  .location-section { grid-template-columns: 1fr; }
  .map-frame { min-height: 420px; }
  .map-frame iframe { min-height: 420px; }
}

@media (max-width: 1000px) {
  .container,
  .narrow { width: min(calc(100% - 30px), var(--container)); }

  .section { padding: 75px 0; }

  h1 { font-size: clamp(3.5rem, 17vw, 6rem); }
  h2 { font-size: clamp(2.7rem, 13vw, 4.5rem); }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    background-position: 80% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.28) 100%);
  }

  .hero-content {
    align-self: end;
    padding-bottom: 100px;
  }

  .hero-bottom { display: none; }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-content {
    padding: 24px;
  }

  .group-grid { grid-template-columns: 1fr; }
  .group-card,
  .group-card-wide {
    grid-column: span 1;
    min-height: 420px;
  }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .team-card > div { padding: 16px; }
  .team-card h3 { font-size: 1.15rem; }

  .location-panel { padding: 45px 25px; }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 470px) {
  .team-grid { grid-template-columns: 1fr; }

  .brand span { font-size: 1rem; }
  .brand img { width: 44px; height: 44px; }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }
}

/* Alternating section rhythm */
.section-black,
.section-black.section-leiter {
  background: var(--black);
  color: var(--white);
}

.section-light {
  background: var(--paper);
  color: var(--black);
}

.section-light .section-heading > p:last-child,
.section-light .split-copy > p:not(.lead) {
  color: #555;
}

.section-black .section-heading > p:last-child,
.section-black .split-copy > p:not(.lead),
.section-black .section-intro {
  color: #aaa;
}

.section-black .principles {
  border-top-color: var(--line);
}

.section-black .principles > div {
  border-bottom-color: var(--line);
}

.section-black .principles p {
  color: #aaa;
}

/* The trial-training image section stays dark so the photograph remains strong. */
.cta-light {
  background: var(--black);
}

/* Location follows the light part of the rhythm while retaining the map's dark panel. */
.location-light {
  background: var(--paper);
  color: var(--black);
}

.location-light .location-panel address {
  color: #555;
}

.location-light .contact-lines a {
  color: var(--black);
}

.location-light .contact-lines a:hover {
  color: var(--red);
}

/* =========================================================
   PAGE RHYTHM
   Unified dark page canvas.
   White is used for selected components, not whole sections.
   ========================================================= */

/* All main sections use the same black canvas. */
#news,
#verband,
#gruppen,
#tawa,
#training,
#preise,
#probetraining,
#schulleiter,
#team,
#kontakt {
  background: var(--black);
  color: var(--white);
}

/* Keep the existing dark treatment of the CTA. */
#probetraining {
  color: white;
}

/* Light cards remain local contrast against the black canvas. */
#preise .price-card {
  background: white;
  color: var(--black);
}

#preise .price-card p:not(.price-placeholder) {
  color: #666;
}

#preise .price-card-featured {
  background: #050505;
  color: white;
}

#preise .price-card-featured p:not(.price-placeholder) {
  color: #bbb;
}

/* Team cards remain white against the black page. */
#team .team-card {
  background: white;
  color: var(--black);
}

/* Light-section copy becomes appropriate for the dark canvas. */
#verband .split-copy > p:not(.lead),
#verband .principles p,
#tawa .split-copy > p:not(.lead),
#training .section-intro,
#schulleiter .split-copy > p:not(.lead),
#kontakt .location-panel address {
  color: #aaa;
}

/* Borders/details that were designed for light sections become subtle
   dark-page separators. */
#verband .principles,
#tawa .check-list {
  border-top-color: var(--line);
}

#verband .principles > div,
#tawa .check-list li {
  border-bottom-color: var(--line);
}

/* Location: keep the map neutral and the information panel black. */
#kontakt .map-frame {
  background: #ddd;
}

#kontakt .location-panel {
  background: var(--black);
  color: var(--white);
}

#kontakt .contact-lines a {
  color: white;
}

#kontakt .contact-lines a:hover {
  color: var(--red);
}

/* Header contact information */
.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  margin-bottom: 10px;
  font-size: .78rem;
  letter-spacing: .04em;
}

.header-contact a,
.mobile-contact a {
  color: var(--white);
  text-decoration: none;
}

.header-contact a:hover,
.mobile-contact a:hover {
  color: var(--red);
}

.mobile-contact {
  display: none;
}

/* Probetraining form */
.trial-form {
  width: min(100%, 760px);
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-field label span {
  color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 0;
  background: rgba(0,0,0,.35);
  color: var(--white);
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.form-field input {
  min-height: 50px;
}
.form-field select {
  min-height: 50px;
  color: var(--white);
  background: rgba(0,0,0,.35);
  color-scheme: dark;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
}

.form-actions {
  grid-column: 1 / -1;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .header-contact {
    display: none;
  }

  .mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    font-size: .85rem;
  }
}

@media (max-width: 700px) {
  .trial-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-field-full,
  .form-actions {
    grid-column: auto;
  }
}

.success-box {
    margin-top: 40px;
    padding: 40px;
    background: #050505;
    border: 1px solid var(--red);
    border-left: 5px solid var(--red);
    text-align: center;
    animation: fadeIn .6s ease;
}

.success-box h3 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -.02em;
}

.success-box p {
    margin: 0;
    font-size: 1rem;
    color: #aaa;
    margin: 0 auto;
}
            
.header-contact {
    width: 100%;
    background: var(--red);
    color: white;
}

.header-contact-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-contact-info a {
    color: white;
    text-decoration: none;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.header-contact-info a:hover {
    color: white;
    text-decoration: underline;
}

.header-contact-info a + a {
    padding-left: 32px;
    border-left: 1px solid rgba(255,255,255,.45);
}

.header-social {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-social a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
}

.header-social a:hover {
    color: white;
}

.price-calculation {
  max-width: 830px;
  margin: 32px auto 0;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: #111;
  text-align: center;
}

.price-calculation-label {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.price-calculation-details {
  display: flex;
  justify-content: center;
  gap: 35px;
  color: #aaa;
  font-size: .95rem;
}

.price-calculation-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.price-calculation-result strong {
  display: block;
  color: white;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 2.8rem;
  line-height: 1;
}

.price-calculation-result span {
  display: block;
  margin-top: 5px;
  color: #aaa;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .price-calculation-details {
    flex-direction: column;
    gap: 5px;
  }

  .price-calculation {
    padding: 24px 20px;
  }
}

/* =========================================================
   IMPRESSUM OFF-CANVAS
   ========================================================= */

.impressum-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, .72);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity .35s ease,
    visibility .35s ease;
}

.impressum-panel {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  width: min(720px, 100%);
  height: 100vh;
  background: var(--black);
  color: var(--white);
  border-left: 1px solid rgba(255,255,255,.12);
  box-shadow: -20px 0 60px rgba(0,0,0,.45);

  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);

  display: flex;
  flex-direction: column;
}

.impressum-panel.open {
  transform: translateX(0);
}

.impressum-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.impressum-header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 42px 28px;
  border-bottom: 1px solid var(--line);
  background: #0b0b0b;
}

.impressum-header .eyebrow {
  margin-bottom: 10px;
}

.impressum-header h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.impressum-close {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background .2s ease,
    border-color .2s ease;
}

.impressum-close:hover {
  background: var(--red);
  border-color: var(--red);
}

.impressum-content {
  flex: 1;
  overflow-y: auto;
  padding: 38px 42px 60px;
}

.impressum-content p {
  margin: 0 0 22px;
  color: #bbb;
  font-size: .95rem;
  line-height: 1.7;
}

.impressum-content strong {
  color: white;
}

.impressum-content a {
  color: white;
  text-decoration: none;
}

.impressum-content a:hover {
  color: var(--red);
}

.impressum-content h3 {
  margin: 48px 0 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: white;
  font-size: 2rem;
}

.impressum-content h4 {
  margin: 34px 0 12px;
  color: white;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 1.15rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Prevent background page from scrolling while panel is open */
body.impressum-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .impressum-header {
    padding: 28px 24px 22px;
  }

  .impressum-content {
    padding: 28px 24px 45px;
  }

  .impressum-header h2 {
    font-size: 3rem;
  }

  .impressum-close {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 700px) {
  .container,
  .narrow { width: min(calc(100% - 30px), var(--container)); }

  .section { padding: 75px 0; }

  h1, h2 {
      font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    background-position: 80% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.28) 100%);
  }

  .hero-content {
    align-self: end;
    padding-bottom: 100px;
  }

  .hero-bottom { display: none; }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-content {
    padding: 24px;
  }

  .group-grid { grid-template-columns: 1fr; }
  .group-card,
  .group-card-wide {
    grid-column: span 1;
    min-height: 420px;
  }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .team-card > div { padding: 16px; }
  .team-card h3 { font-size: 1.15rem; }

  .location-panel { padding: 45px 25px; }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}