@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-normal-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --orange: #e8571d;
  --orange-dark: #c44312;
  --anthracite: #292929;
  --grey: #6f7172;
  --light-grey: #f5f5f5;
  --white: #ffffff;

  --content-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--anthracite);
  background: var(--white);
}

/* Deutsche Silbentrennung fuer Fliesstexte und Aufzaehlungen, alle Bildschirmgroessen. */
p, li, dd, blockquote {
  -webkit-hyphens: auto;
  hyphens: auto;
}
h1, h2, h3, h4, h5, h6, nav, nav *, .main-nav *,
button, button *, .button, .button *, .hero-cta, .hero-cta *,
summary, summary *, .hero-eyebrow, .ems-kicker, .intro-quote p,
label, input, textarea, select {
  -webkit-hyphens: manual;
  hyphens: manual;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

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

/* Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid #e2e2e2;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 16px;
}

.site-logo {
  display: block;
  width: 170px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.main-nav a {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--orange-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--orange-dark);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.button:hover {
  background: #a8380f;
}

/* Hero */

.hero {
  background: var(--light-grey);
}

.hero-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  min-height: 560px;
}

.hero-content {
  padding: 64px 48px 64px 0;
}

.hero-eyebrow {
  margin: 0 0 20px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero-description {
  margin: 0 0 32px;
  font-size: 20px;
  line-height: 1.5;
}

.hero-image {
  height: 100%;
  min-height: 560px;
}

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

/* Responsive */

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

  .header-inner {
    flex-direction: column;
  }

  .main-nav {
    justify-content: center;
    gap: 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding-right: 32px;
  }
}

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

  .header-inner {
    align-items: flex-start;
  }

  .site-logo {
    width: 140px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    padding: 48px 0 36px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-image {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Header mit mobiler Navigation */

.logo-link {
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  order: 3;
}

.header-cta {
  gap: 10px;
  white-space: nowrap;
}

.button-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--anthracite);
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -7px;
}

.menu-toggle-lines::after {
  top: 7px;
}

@media (min-width: 1001px) {
  .main-nav {
    margin-left: auto;
  }
}

@media (max-width: 1000px) {
  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-top: 1px solid #e2e2e2;
  }
}

@media (max-width: 480px) {
  .site-logo {
    width: 115px;
  }

  .header-inner {
    gap: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-cta {
    gap: 6px;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .button-icon {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
  }
}
.hero h1 {
  border-left: 5px solid var(--orange);
  padding-left: 20px;
}

/* Startseite: Was wir machen */

.intro-section {
  padding-top: clamp(36px, 4vw, 60px);
  padding-bottom: clamp(64px, 7vw, 96px);
  background: var(--white);
}

.section-title {
  margin: 0 0 36px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
}

.section-title::after {
  content: "";
  display: block;
  width: 150px;
  height: 3px;
  margin-top: 16px;
  background: var(--orange);
}

.intro-text {
  max-width: 920px;
}

.intro-text p {
  margin: 0 0 20px;
}

.intro-quote {
  max-width: 1050px;
  margin: 44px 0 0;
  padding-left: 24px;
  border-left: 5px solid var(--orange);
  color: var(--orange-dark);
}

.intro-quote p {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 700px) {
  .section-title {
    margin-bottom: 28px;
  }

  .intro-quote {
    margin-top: 36px;
    padding-left: 18px;
  }
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-section {
  padding-block: clamp(40px, 5vw, 72px);
  background: #f7f7f7;
}

.testimonials-subtitle {
  margin: 0 0 8px;
}

.testimonials-lead {
  margin: 0 0 24px;
  color: var(--orange);
  font-size: clamp(24px, 3vw, 34px);
}

.testimonials-layout {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: center;
}

/* Sichtfenster */

.testimonials-track {
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  scroll-snap-type: none;
  scroll-behavior: auto;
  touch-action: pan-y;
}

/* Bewegliche Kartenschiene */

.testimonials-slider {
  display: flex;
  gap: 16px;
  width: 100%;
}

/* Einzelne Karte */

.testimonial-card,
.testimonials-slider .testimonial-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  height: 700px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-sizing: border-box;
}

/* Quadratisches Kundenfoto */

.testimonial-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  flex: none;
}

/* Unabhängig scrollbarerer Text */

.testimonial-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 18px;
  scrollbar-width: thin;
}

.testimonial-scroll p {
  margin: 0 0 14px;
  line-height: 1.55;
}

.testimonial-opening {
  font-weight: 600;
}

/* Hinweis unterhalb des Textes */

.testimonial-scroll-hint {
  flex: 0 0 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  color: transparent;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}

.testimonial-scroll-hint.is-visible {
  color: var(--orange);
}

/* Name und Trainingsbeginn */

.testimonial-person {
  display: flex;
  flex-direction: column;
  flex: none;
  padding: 12px 18px 16px;
  border-top: 1px solid #eee;
  color: var(--orange-dark, #b93d12);
}

/* Pfeilnavigation */

.testimonials-arrow {
  border: 0;
  background: transparent;
  color: #333;
  font-size: 30px;
  cursor: pointer;
  min-width: 38px;
  min-height: 44px;
}

.testimonials-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* Navigationspunkte */

.testimonials-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9c9c9;
  cursor: pointer;
}

.testimonials-dot.is-active {
  background: var(--orange);
}

/* Tastatur-Fokus */

.testimonials-arrow:focus-visible,
.testimonials-track:focus-visible,
.testimonial-scroll:focus-visible,
.testimonials-dot:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Tablet: zwei Karten */

@media (max-width: 900px) {
  .testimonial-card,
  .testimonials-slider .testimonial-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

/* Smartphone: eine Karte */

@media (max-width: 650px) {
  .testimonials-layout {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 4px;
  }

  .testimonial-card,
  .testimonials-slider .testimonial-card {
    flex-basis: 100%;
    height: 650px;
  }

  .testimonials-arrow {
    min-width: 28px;
    font-size: 24px;
  }
}

/* Reduzierte Bewegung */

@media (prefers-reduced-motion: reduce) {
  .testimonials-slider {
    transition: none !important;
  }
}


/* Finaler Hero: vollflächiges Studiofoto und CTA in Kapselform. */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  transition: background-color .24s ease, box-shadow .24s ease;
}
.site-header .header-inner { width: min(100% - 48px, 1380px); padding-block: 14px; }
.site-header .main-nav a { color: #fff; text-shadow: 0 1px 6px #0008; }
.site-header .main-nav a:hover { color: #fff; text-decoration: underline; }
.site-header .site-logo { filter: brightness(0) invert(1); }
.site-header.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 2px 14px #00000017; }
.site-header.is-scrolled .main-nav a { color: var(--anthracite); text-shadow: none; }
.site-header.is-scrolled .main-nav a:hover { color: var(--orange-dark); }
.site-header.is-scrolled .site-logo { filter: none; }
.site-header .header-cta { background: #ff5100; }
.site-header .header-cta:hover { background: #e64900; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: max(690px, 90svh);
  background: #292422;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/Start/emsig-start-hero.webp") center 44% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(37,21,17,.88) 0%, rgba(61,29,20,.76) 20%, rgba(88,38,23,.34) 39%, rgba(38,26,23,.05) 62%, transparent 100%),
    linear-gradient(0deg, rgba(25,18,17,.34), transparent 30%),
    linear-gradient(90deg, rgba(230,86,30,.15), transparent 42%);
}
.hero .hero-content { width: 100%; padding: 145px clamp(22px,4.5vw,75px) 115px; color: #fff; }
.hero-copy { max-width: min(425px,36vw); }
.hero .hero-eyebrow {
  margin: 0;
  color: #ffe4d6;
  font-size: clamp(12px,1.15vw,16px);
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero h1 {
  margin: 22px 0;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(40px,4.15vw,64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 2px 12px #0004;
}
.hero .hero-description {
  margin: 0 0 30px;
  max-width: 390px;
  color: #fff;
  font-size: clamp(17px,1.5vw,21px);
  line-height: 1.48;
  text-shadow: 0 2px 8px #0005;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 20px;
  border-radius: 999px;
  background: #ff5100;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px #0003;
}
.hero-cta:hover { background: #e64900; }
.hero-cta img { display: block; width: 36px; height: 36px; flex: none; object-fit: contain; filter: brightness(0) invert(1); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: clamp(30px,4.2vw,64px); pointer-events: none; z-index: 2; }
@media (min-width: 761px) and (max-width: 1050px) {
  .hero-copy { max-width: 37vw; }
  .hero h1 { font-size: clamp(36px,4.4vw,49px); }
  .hero .hero-description { font-size: 17px; }
  .hero .hero-content { padding-left: 32px; }
}
@media (max-width: 1000px) {
  .site-header .header-inner { flex-direction: row; }
  .site-header .menu-toggle { background: #fff; }
  .site-header .main-nav {
    background: rgba(39,29,26,.97);
    padding: 8px 18px 12px;
    border-radius: 8px;
  }
  .site-header.is-scrolled .main-nav { background: #fff; box-shadow: 0 10px 20px #0002; }
  .site-header .main-nav a { border-top-color: #ffffff40; }
  .site-header.is-scrolled .main-nav a { border-top-color: #e2e2e2; }
}
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero::before {
    inset: 0 0 auto;
    height: 300px;
    background-position: 50% 54%;
  }
  .hero::after {
    inset: 0 0 auto;
    height: 300px;
    background: linear-gradient(180deg,rgba(20,17,16,.42),transparent 24%,transparent 75%,rgba(40,28,25,.28));
  }
  .hero .hero-content { padding: 300px 0 0; }
  .hero-copy {
    max-width: none;
    padding: 27px 23px 64px;
    background: linear-gradient(155deg,#49302a 0%,#30211e 60%,#281c19 100%);
  }
  .hero .hero-eyebrow { font-size: 10px; letter-spacing: .09em; color: #ffd6c5; }
  .hero h1 { font-size: clamp(29px,8.1vw,37px); line-height: 1.12; letter-spacing: -.025em; margin: 12px 0 15px; max-width: 440px; }
  .hero .hero-description { font-size: 15px; line-height: 1.5; max-width: 420px; margin-bottom: 22px; }
  .hero-cta { display: flex; width: max-content; max-width: 100%; margin-inline: auto; padding: 9px 16px; gap: 10px; font-size: 12px; box-shadow: none; }
  .hero-cta img { width: 32px; height: 32px; }
  .hero-wave { height: 28px; }
}
@media (max-width: 360px) {
  .hero-copy { padding-inline: 18px; }
  .hero h1 { font-size: 29px; }
  .hero-cta { padding-inline: 12px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }


/* Navigation – finale Abstimmung nach dem bisherigen mobilen EMSig-Menü */
.site-header .site-logo { filter: none; }
.site-header.is-scrolled .site-logo { filter: none; }
.site-header.is-scrolled .logo-link .site-logo { content: url("../images/Logos/emsig-logo-header-scrolled.svg"); }
.site-header .header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 10px 20px; min-height: 0;
  border-radius: 999px; background: #ff5100; color: #fff;
  font-size: 14px; font-weight: 700; line-height: 1.3;
  letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap;
}
.site-header .header-cta .button-icon { width: 36px; height: 36px; flex: none; }
.site-header .header-cta:hover { background: #e64900; }
.mobile-probetraining-link { display: none !important; }

@media (max-width: 1000px) {
  .site-header .header-inner { position: relative; flex-wrap: nowrap; }
  .site-header .menu-toggle {
    width: 48px; height: 48px; border: 0; background: transparent;
    border-radius: 0;
  }
  .site-header .menu-toggle-lines,
  .site-header .menu-toggle-lines::before,
  .site-header .menu-toggle-lines::after {
    width: 25px; height: 3px; background: #ff5100; border-radius: 2px;
  }
  .site-header .main-nav {
    position: absolute; top: calc(100% - 1px); right: 0; left: auto;
    width: min(310px, calc(100vw - 32px));
    flex-basis: auto; order: initial; gap: 0; padding: 0;
    background: rgba(255,255,255,.90) !important; border-radius: 17px; overflow: hidden;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0 14px 32px rgba(0,0,0,.18);
  }
  .site-header .main-nav a,
  .site-header.is-scrolled .main-nav a {
    display: block; padding: 15px 22px; border: 0;
    border-bottom: 1px solid #eaeaea; color: #292929;
    font-size: 16px; font-weight: 500; line-height: 1.45;
    text-transform: uppercase; text-shadow: none; text-decoration: none;
  }
  .site-header .main-nav a:last-child { border-bottom: 0; }
  .site-header .main-nav a:hover,
  .site-header .main-nav a[aria-current="page"] { background: rgba(0,0,0,.055); color: #292929; }
  .site-header .main-nav .mobile-probetraining-link {
    display: block !important; font-weight: 700; background: #f1f1f1;
  }
}
@media (max-width: 760px) {
  .site-header, .site-header.is-scrolled {
    background: #3d3d3d; box-shadow: 0 2px 8px rgba(0,0,0,.08);
  }
  .site-header .header-inner { width: calc(100% - 36px); padding-block: 12px; }
  .site-header .site-logo { width: 125px; }
  /* Im Scrollzustand auch mobil die graue Logo-Variante verwenden.
     Die globale Regel fuer .is-scrolled bleibt damit wirksam. */
  .site-header .header-cta { display: none; }
  .site-header .header-actions { margin-left: auto; }
}

/* Feinschliff Navigation und Textbreite – November 2026 */
:root { --content-width: 1380px; }
.intro-text { max-width: 1200px; }
.intro-quote { max-width: 1200px; color: var(--orange); }

/* Der CTA erscheint ausschließlich im Hero, nicht in der Navigation. */
.site-header .header-cta,
.site-header .main-nav .mobile-probetraining-link { display: none !important; }

@media (max-width: 1000px) {
  .site-header .main-nav,
  .site-header .main-nav.is-open {
    display: flex;
    top: calc(100% - 12px);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scaleY(.96);
    transform-origin: top right;
    transition: opacity .22s ease, transform .28s cubic-bezier(.2,.75,.2,1), visibility .28s;
  }
  .site-header .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
  }
  .site-header .menu-toggle {
    position: relative;
    z-index: 3;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: border-color .22s ease, background-color .22s ease;
  }
  .site-header .menu-toggle[aria-expanded="true"] {
    border-color: #ff5100;
    background: rgba(255,81,0,.08);
  }
  .site-header .menu-toggle-lines,
  .site-header .menu-toggle-lines::before,
  .site-header .menu-toggle-lines::after {
    transition: transform .25s ease, top .25s ease, opacity .2s ease;
  }
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
    top: 0; transform: rotate(45deg);
  }
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
    top: 0; transform: rotate(-45deg);
  }
}
@media (max-width: 760px) {
  /* Das komplette Logo samt Claim wird proportional verkleinert. */
  .site-header .header-inner { padding-block: 8px; }
  .site-header .site-logo { width: 106px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .main-nav,
  .site-header .menu-toggle,
  .site-header .menu-toggle-lines,
  .site-header .menu-toggle-lines::before,
  .site-header .menu-toggle-lines::after { transition: none !important; }
}

/* Navigation: kompakter auf allen Bildschirmgrößen; gleicher Scrollzustand. */
.site-header .header-inner {
  padding-block: 5px;
}
.site-header .site-logo {
  width: 96px;
  height: auto;
}

/* Keine dauerhaft dunkle mobile Kopfleiste: transparent am Hero, weiß beim Scrollen. */
@media (max-width: 760px) {
  .site-header {
    background: transparent;
    box-shadow: none;
  }
  .site-header.is-scrolled {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 2px 14px #00000017;
  }
  .site-header .header-inner {
    padding-block: 4px;
  }
  .site-header .site-logo {
    width: 84px;
  }
}


/* FAQ – ruhige Karten, dezenter Akzent für geöffneten Eintrag */
.faq-section { padding: 64px 0 88px; background: #fff; }
.faq-list { max-width: 1180px; margin: 30px auto 0; display: grid; gap: 9px; }
.faq-item { background: #f7f6f4; border: 1px solid #eeece9; border-radius: 12px; overflow: hidden; transition: background-color .2s ease, border-color .2s ease; }
.faq-item[open] { background: #fff; border-color: #e9ded8; box-shadow: inset 4px 0 0 #ff5100; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; cursor: pointer; list-style: none; color: #303030; font-weight: 700; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:hover { color: #c44312; }
.faq-item summary:focus-visible { outline: 3px solid #ff5100; outline-offset: -3px; border-radius: 8px; }
.faq-symbol { flex: 0 0 20px; width: 20px; height: 20px; position: relative; color: #ff5100; }
.faq-symbol::before, .faq-symbol::after { content: ''; position: absolute; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.faq-symbol::before { width: 16px; height: 2px; }
.faq-symbol::after { width: 2px; height: 16px; }
.faq-item[open] .faq-symbol::after { display: none; }
.faq-answer { padding: 0 48px 22px 20px; line-height: 1.7; color: #3c3c3c; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0 0 14px; padding-left: 26px; }
.faq-answer li { margin: 4px 0; }
.faq-answer strong { font-weight: 700; }
@media (max-width: 760px) {
  .faq-section { padding: 48px 0 64px; }
  .faq-list { margin-top: 24px; gap: 8px; }
  .faq-item { border-radius: 10px; }
  .faq-item summary { padding: 14px 15px; gap: 14px; }
  .faq-answer { padding: 0 34px 20px 15px; }
}

/* Footer – eigenständiger Bereich */
.site-footer {color:#333; background:#f5f5f5;}
.footer-cta {background:#3d3d3d; color:white; padding:30px 0;}
.footer-cta-inner {display:flex; align-items:center; justify-content:space-between; gap:28px;}
.footer-cta h2 {font-size:clamp(1.5rem,3vw,2.4rem); line-height:1.2; margin:0 0 10px; color:#fff;}
.footer-cta p {margin:0; color:#eee;}
.footer-cta-button {flex-shrink:0; text-decoration:none;}
.footer-main {padding:42px 0 36px;}
.footer-grid {display:grid; grid-template-columns:minmax(255px,1.12fr) minmax(220px,1fr) minmax(250px,1.25fr) minmax(160px,.8fr); gap:28px; align-items:start;}
.footer-column {min-width:0; font-size:.95rem; line-height:1.55;}
.footer-column h3 {margin:0 0 16px; font-size:1.15rem; text-transform:uppercase; letter-spacing:.02em;}
.footer-column p {margin:0 0 14px;}
.footer-column a {display:block; color:inherit; text-decoration:none; overflow-wrap:anywhere; margin-bottom:5px;}
.footer-column a:hover {color:#e8571d; text-decoration:underline;}
.footer-column address {font-style:normal; margin-bottom:14px;}
.footer-hours {margin-top:15px !important;}
.footer-logo {display:block; width:min(210px,100%); height:auto;}
.footer-brand #empFooterMusicPlayer {justify-content:flex-start; margin:22px 0 0; width:250px; max-width:100%;}
.footer-quality img {display:block; max-width:100%; height:auto; margin-top:16px;}
.footer-quality .footer-dssv-logo {width:170px; max-width:80%; margin:0 0 12px;}
.nowrap {white-space:nowrap;}
.footer-contact-links a {display:flex; align-items:center; gap:10px; overflow-wrap:normal;}
.footer-contact-icon {flex:0 0 18px; width:18px; color:#ff5100; text-align:center; font-size:1.1rem; line-height:1;}
.footer-hours strong {display:block;}
.footer-hours p {margin:2px 0 0;}
.footer-social-note a {display:inline; color:#e8571d; font-weight:700;}
.footer-social-note span {color:#777;}
.footer-dssv strong {font-size:1.6rem; color:#1d4c91; letter-spacing:.03em;}
.footer-social-note {color:#e8571d; font-weight:700;}
.footer-bottom {border-top:1px solid #d7d7d7; padding:15px 0; font-size:.85rem;}
.footer-bottom-inner {display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.footer-bottom nav {display:flex; gap:0; flex-wrap:wrap;}
.footer-bottom nav a {color:inherit; padding:0 9px; border-right:1px solid #bbb; text-decoration:none;}
.footer-bottom nav a:first-child {padding-left:0;}
.footer-bottom nav a:last-child {border:0; padding-right:0;}
.footer-bottom nav a:hover {color:#e8571d; text-decoration:underline;}


:root {
    --emp-accent: #e8571d;
    --emp-background: rgba(35, 35, 35, 0.92);
}

/* Gesamter Musikplayer */
#empFooterMusicPlayer,
#empFooterMusicPlayer * {
    box-sizing: border-box;
}

#empFooterMusicPlayer {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin: 12px auto 0;
    padding: 0;

    font-family: Arial, sans-serif;
    z-index: 1;
}

/* Player-Pille */
#empFooterMusicPlayer .emp-player-box {
    display: grid;

    grid-template-columns:
        34px
        minmax(105px, 1fr)
        52px;

    grid-template-areas:
        "button info volume"
        "button progress progress";

    align-items: center;

    column-gap: 9px;
    row-gap: 5px;

    width: 250px;
    min-width: 250px;
    min-height: 50px;

    padding: 6px 12px 6px 6px;

    color: #fff;
    background: var(--emp-background);

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 27px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.16);

    transition:
        background 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

/* Buttondarstellung */
#empFooterMusicPlayer .emp-play-button {
    grid-area: button;

    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 34px !important;

    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    color: #fff !important;
    background: var(--emp-accent) !important;
    background-image: none !important;

    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;

    box-shadow: none !important;
    transform: none !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    cursor: pointer !important;
}

/* Standardsymbole entfernen */
#empFooterMusicPlayer .emp-play-button::before,
#empFooterMusicPlayer .emp-play-button::after {
    content: none !important;
    display: none !important;
}

/* Eigenes Play-Symbol */
#empFooterMusicPlayer .emp-button-icon {
    display: block;

    width: 0;
    height: 0;

    margin-left: 2px;

    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;

    pointer-events: none;
}

/* Eigenes Pause-Symbol */
#empFooterMusicPlayer.emp-playing .emp-button-icon {
    width: 8px;
    height: 11px;

    margin-left: 0;

    border: 0;

    background:
        linear-gradient(
            to right,
            #fff 0,
            #fff 2px,
            transparent 2px,
            transparent 6px,
            #fff 6px,
            #fff 8px
        );
}

/* Titel und Interpret */
#empFooterMusicPlayer .emp-info {
    grid-area: info;

    min-width: 0;

    line-height: 1.15;
    text-align: left;
    white-space: nowrap;
}

#empFooterMusicPlayer .emp-title {
    max-width: 125px;
    overflow: hidden;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;

    text-overflow: ellipsis;
    white-space: nowrap;
}

#empFooterMusicPlayer .emp-artist {
    margin-top: 2px;

    font-size: 9px;
    line-height: 1.15;

    opacity: 0.62;
}

/* Lautstärkeregler */
#empFooterMusicPlayer .emp-volume {
    grid-area: volume;

    width: 52px;
    height: 5px;

    margin: 0;
    padding: 0;

    cursor: pointer;

    accent-color: var(--emp-accent);
}

/* Bereich für Fortschrittsregler und Zeit */
#empFooterMusicPlayer .emp-progress-area {
    grid-area: progress;

    display: flex;
    align-items: center;

    min-width: 0;

    gap: 7px;
}

/* Fortschrittsregler */
#empFooterMusicPlayer .emp-progress {
    flex: 1 1 auto;

    width: 100%;
    min-width: 85px;
    height: 5px;

    margin: 0;
    padding: 0;

    cursor: pointer;

    accent-color: var(--emp-accent);
}

/* Zeitanzeige */
#empFooterMusicPlayer .emp-time {
    flex: 0 0 auto;

    min-width: 56px;

    font-size: 8px;
    line-height: 1;
    text-align: right;
    white-space: nowrap;

    opacity: 0.62;
}

/* Gemeinsame Range-Regeln */
#empFooterMusicPlayer input[type="range"] {
    appearance: auto;
    -webkit-appearance: auto;
}

/* Hover nur auf Geräten mit Maus */
@media (hover: hover) {
    #empFooterMusicPlayer .emp-player-box:hover {
        background: rgba(35, 35, 35, 0.98);
        transform: translateY(-1px);
    }

    #empFooterMusicPlayer .emp-play-button:hover {
        opacity: 0.9;
    }
}

/* Tastaturfokus */
#empFooterMusicPlayer .emp-play-button:focus-visible,
#empFooterMusicPlayer .emp-volume:focus-visible,
#empFooterMusicPlayer .emp-progress:focus-visible {
    outline: 2px solid var(--emp-accent);
    outline-offset: 2px;
}

/* Mobile Darstellung */
@media (max-width: 600px) {
    #empFooterMusicPlayer {
        margin-top: 10px;
    }

    #empFooterMusicPlayer .emp-player-box {
        grid-template-columns:
            34px
            minmax(0, 1fr);

        grid-template-areas:
            "button info"
            "button progress";

        column-gap: 9px;
        row-gap: 5px;

        width: 225px;
        min-width: 225px;
        min-height: 50px;

        padding: 6px 11px 6px 6px;

        border-radius: 27px;
    }

    #empFooterMusicPlayer .emp-play-button {
        flex-basis: 34px !important;

        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;

        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
    }

    #empFooterMusicPlayer .emp-title {
        max-width: 160px;
        font-size: 10px;
    }

    #empFooterMusicPlayer .emp-artist {
        font-size: 8px;
    }

    /* Lautstärkeregler mobil ausblenden */
    #empFooterMusicPlayer .emp-volume {
        display: none;
    }

    #empFooterMusicPlayer .emp-progress-area {
        gap: 6px;
    }

    #empFooterMusicPlayer .emp-progress {
        min-width: 80px;
        height: 5px;
    }

    #empFooterMusicPlayer .emp-time {
        min-width: 51px;
        font-size: 7px;
    }
}

/* Sehr schmale Smartphones */
@media (max-width: 360px) {
    #empFooterMusicPlayer .emp-player-box {
        width: 210px;
        min-width: 210px;
    }

    #empFooterMusicPlayer .emp-title {
        max-width: 145px;
    }

    #empFooterMusicPlayer .emp-time {
        min-width: 48px;
    }
}

/* Bewegungen reduzieren */
@media (prefers-reduced-motion: reduce) {
    #empFooterMusicPlayer *,
    #empFooterMusicPlayer *::before,
    #empFooterMusicPlayer *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Footer: player stays within its own column. */
.footer-brand .emp-player-box {max-width:100%;}

/* Footer Feinschliff: Kontakt-Icons, Social-Media-Marken und Mobilzentrierung */
.footer-contact-icon {display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:rgba(255,81,0,.09);color:#ff5100;}
.footer-contact-icon svg {width:17px;height:17px;display:block;}
.footer-contact-links a {gap:10px;}
.footer-hours h3 {margin:0 0 6px;}
.footer-social-icons {display:flex;gap:14px;align-items:center;margin-top:16px;}
.footer-social-icons a,.footer-social-facebook {display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;margin:0;color:#ff5100;}
.footer-social-icons svg {display:block;width:30px;height:30px;}
.footer-social-facebook {color:#777;opacity:.65;}
.footer-social-icons a:hover {color:#d64500;}
.footer-social-icons a:focus-visible {outline:2px solid #ff5100;outline-offset:3px;border-radius:5px;}


/* Footer responsive – three deliberate layouts: desktop / tablet / phone. */
@media (min-width: 701px) and (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 4vw, 48px);
    row-gap: 20px;
  }
  .footer-brand #empFooterMusicPlayer { margin-top: 18px; }
}
@media (max-width: 700px) {
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-cta-button { align-self: flex-start; }
  .footer-main { padding: 34px 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .footer-bottom-inner { flex-direction: column; }
  .footer-column { text-align: center; }
  .footer-column h3 { text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand .footer-logo { margin-inline: auto; }
  .footer-brand #empFooterMusicPlayer {
    width: 225px; max-width: 100%; justify-content: center; margin: 18px auto 0;
  }
  .footer-column address {
    display: table; max-width: 100%; margin: 0 auto 14px; text-align: left;
  }
  /* One shrink-to-fit block, with icons immediately beside their labels. */
  .footer-contact-links {
    display: flex; flex-direction: column; align-items: stretch;
    width: max-content; max-width: 100%; margin: 0 auto; gap: 5px;
    text-align: left;
  }
  .footer-contact-links a {
    display: flex; align-items: center; justify-content: flex-start;
    width: auto; gap: 10px; margin: 0; text-align: left;
  }
  .footer-contact-icon { flex: 0 0 34px; }
  .footer-hours { margin-top: 24px !important; }
  .footer-hours h3 { margin-bottom: 10px; text-align: center; }
  .footer-hours p {
    display: table; max-width: 100%; margin: 0 auto; text-align: left;
  }
  .footer-quality img, .footer-quality .footer-dssv-logo {
    margin-left: auto; margin-right: auto;
  }
  .footer-quality p { text-align: left; }
  .footer-social-icons { justify-content: center; }
  .footer-column:has(.footer-social-icons) > p { text-align: left; }
}

/* Feinschliff Abschnittsabstaende – 21.11.2026
   Nur Desktop/Tablet; Smartphone und Inhalte bleiben unveraendert. */
@media (min-width: 701px) {
  .intro-section { padding-bottom: clamp(48px, 5vw, 64px); }
  .testimonials-section { padding-bottom: clamp(32px, 3.5vw, 48px); }
  .faq-section { padding-top: 44px; }
}

/* Rechtliche Textseiten – bewusst unabhängig von Startseitenabschnitten */
.legal-section { padding: 132px 0 78px; background: #fff; }
.legal-container { max-width: 920px; }
.legal-section .section-title { margin-bottom: 30px; }
.legal-section p { line-height: 1.7; margin: 0 0 18px; }
.legal-section a { color: #c9430c; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-group { padding: 20px 0; border-bottom: 1px solid #d7d7d7; }
.legal-group:first-of-type { padding-top: 4px; }
.legal-group:last-child { border-bottom: 0; }
.legal-group h2 { font-size: 1.08rem; line-height: 1.45; margin: 0 0 6px; }
.legal-group p:last-child { margin-bottom: 0; }
.legal-group ul { margin: 0 0 18px; padding-left: 24px; line-height: 1.7; }
@media(max-width:700px) { .legal-section { padding: 105px 0 50px; } .legal-group { padding: 16px 0; } }

/* Unterseiten ohne Hero: dunkler Header am Anfang, heller beim Scrollen. */
.page-legal .site-header.header--subpage:not(.is-scrolled) {
  background: #3d3d3d;
  box-shadow: 0 2px 14px #00000017;
}
.page-legal .site-header.header--subpage:not(.is-scrolled) .main-nav a {
  color: #fff;
  text-shadow: none;
}
.page-legal .site-header.header--subpage:not(.is-scrolled) .logo-link .site-logo {
  content: url("../images/Logos/emsig-logo-header.svg");
  filter: none;
}
.page-legal .site-header.header--subpage.is-scrolled .logo-link .site-logo {
  content: url("../images/Logos/emsig-logo-header-scrolled.svg");
  filter: none;
}
@media (max-width: 700px) {
  /* Das geoeffnete Dropdown bleibt auf Unterseiten gut lesbar. */
  .page-legal .site-header.header--subpage .main-nav,
  .page-legal .site-header.header--subpage:not(.is-scrolled) .main-nav {
    background: #fff;
  }
  .page-legal .site-header.header--subpage .main-nav a,
  .page-legal .site-header.header--subpage:not(.is-scrolled) .main-nav a {
    color: #292929;
    text-shadow: none;
  }
}

/* Datenschutzerklärung: Hierarchie der Abschnitte */
.legal-group h3 {font-size: 1rem; margin: 22px 0 8px; line-height: 1.45;}
.legal-group h4 {font-size: .95rem; margin: 16px 0 7px; line-height: 1.45;}
.legal-group ul {margin-bottom: 18px;}

/* EMS-Training Unterseite */
.ems-page-hero {min-height:clamp(540px,74svh,760px)}
.ems-page-hero::before{background-image:url("../images/EMS-Training/emsig-ems-training-hero.webp");background-position:center 40%}
.ems-page-hero .hero-copy{max-width:520px}
.ems-section{padding:clamp(40px,4.5vw,60px) 0;color:#333}
.ems-section p{line-height:1.65}
.ems-section h2{font-size:clamp(24px,2.7vw,37px);line-height:1.2;margin:0 0 24px}
.ems-muted{background:#f5f5f5}
.ems-kicker{color:#f4511e;text-transform:uppercase;font-weight:800;letter-spacing:.035em;margin:0 0 10px}
.ems-split{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(24px,4vw,55px);align-items:center}
.ems-split img{width:100%;height:auto;aspect-ratio:1.48;object-fit:cover;display:block}
.ems-center{text-align:center;margin-bottom:35px}.ems-center h2{margin-bottom:8px}.ems-center h2 span{color:#f4511e}.ems-center p{margin:0}
.ems-four{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;text-align:center}.ems-four h3{font-size:18px;margin:10px 0 6px}.ems-four p{margin:0;font-size:15px}.ems-icon{width:84px;height:84px;margin:auto;border-radius:50%;background:white;color:#f4511e;display:grid;place-items:center;font-size:48px;font-weight:700}
.ems-benefits{display:grid;grid-template-columns:2fr 1fr;gap:32px;align-items:center}.ems-benefits>img{width:100%;aspect-ratio:1.12;object-fit:cover}.ems-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px 22px}.ems-benefit-grid p{display:flex;gap:12px;align-items:flex-start;font-size:15px}.ems-benefit-grid b{font-size:30px;color:#f4511e;line-height:1}
.ems-audience{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.ems-audience img{width:100%;aspect-ratio:1.45;object-fit:cover}.ems-audience h3{color:#f4511e;font-size:18px;margin:14px 0 2px}.ems-audience p{margin:0;font-size:15px}
.ems-safety{grid-template-columns:1fr 1fr}.ems-checks{list-style:none;padding:0;margin:20px 0}.ems-checks li{margin:12px 0;padding-left:25px;position:relative}.ems-checks li::before{content:"✓";position:absolute;left:0;color:#f4511e;font-weight:800}
@media(max-width:850px){.ems-four,.ems-audience{grid-template-columns:repeat(2,minmax(0,1fr))}.ems-benefits{grid-template-columns:minmax(0,1fr)}.ems-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ems-page-hero{min-height:560px}.ems-page-hero .hero-copy{max-width:420px}.ems-split,.ems-safety{grid-template-columns:minmax(0,1fr)}.ems-split img{aspect-ratio:1.45}.ems-four{gap:28px 18px}.ems-audience{gap:24px 14px}.ems-audience h3{font-size:16px}.ems-audience p{font-size:14px}.ems-benefit-grid{gap:12px}.ems-benefit-grid p{font-size:14px}}

/* Original-EMSig-Piktogramme – statt Platzhaltersymbolen */
.ems-four .ems-icon { background:transparent; border-radius:0; width:90px; height:90px; }
.ems-four .ems-icon img { width:100%; height:100%; object-fit:contain; display:block; }
.ems-benefit-grid p { align-items:center; }
.ems-benefit-grid p img { width:58px; height:58px; object-fit:contain; flex:0 0 58px; }
@media(max-width:640px){.ems-four .ems-icon{width:74px;height:74px}.ems-benefit-grid p img{width:46px;height:46px;flex-basis:46px}}

/* EMS-Training: harmonischere Proportionen der Piktogramm-Bereiche */
@media (min-width: 851px) {
  .ems-four { gap: clamp(22px, 2.5vw, 38px); }
  .ems-four .ems-icon { width: 112px; height: 112px; }
  .ems-four h3 { font-size: clamp(20px, 1.65vw, 23px); line-height: 1.3; margin: 14px 0 8px; }
  .ems-four p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; }
  .ems-center { margin-bottom: 32px; }
  .ems-center p { font-size: 20px; }
  .ems-benefits { grid-template-columns: minmax(0, 2.15fr) minmax(280px, 1fr); gap: clamp(28px, 3vw, 48px); }
  .ems-benefit-grid { gap: 34px 24px; }
  .ems-benefit-grid p { gap: 14px; font-size: clamp(16px, 1.32vw, 18px); line-height: 1.45; margin: 0; }
  .ems-benefit-grid p img { width: 72px; height: 72px; flex: 0 0 72px; }
  .ems-benefits > img { aspect-ratio: 1 / 1; }
}
@media (min-width: 851px) and (max-width: 1120px) {
  .ems-benefits { grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr); }
  .ems-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .ems-benefit-grid p img { width: 64px; height: 64px; flex-basis: 64px; }
}
@media (max-width: 850px) {
  .ems-four h3 { font-size: 19px; }
  .ems-four p { font-size: 16px; }
  .ems-benefit-grid p { font-size: 16px; }
  .ems-benefit-grid p img { width: 62px; height: 62px; flex-basis: 62px; }
}
@media (max-width: 640px) {
  .ems-four .ems-icon { width: 88px; height: 88px; }
  .ems-four h3 { font-size: 18px; }
  .ems-four p { font-size: 15px; }
  .ems-benefit-grid { gap: 16px 10px; }
  .ems-benefit-grid p { font-size: 15px; gap: 6px; margin: 0; }
  .ems-benefit-grid p img { width: 52px; height: 52px; flex-basis: 52px; }
}

/* EMS-Training: Abstimmung mit der Typografie und den Abständen der Startseite */

.ems-section h2 { font-size:clamp(28px,3vw,38px); line-height:1.25; font-weight:700; }
.ems-kicker { font-size:clamp(20px,1.85vw,24px); line-height:1.3; font-weight:700; letter-spacing:.01em; margin-bottom:12px; }
.ems-section p, .ems-checks li { font-size:17px; }
.ems-four .ems-icon { width:148px; height:148px; background:#fff; border-radius:50%; padding:22px; box-sizing:border-box; }
.ems-four .ems-icon img { width:100%; height:100%; object-fit:contain; }
.ems-four h3 { font-size:21px; }
.ems-four p { font-size:17px; }
.ems-benefits { grid-template-columns:minmax(0,1fr) 260px; gap:clamp(24px,3vw,44px); }
.ems-benefits > img { width:100%; max-width:260px; aspect-ratio:4 / 5; object-fit:cover; justify-self:end; }
.ems-benefit-grid { gap:32px 18px; }
.ems-benefit-grid p { font-size:17px; gap:12px; }
.ems-benefit-grid p img { width:64px; height:64px; flex:0 0 64px; }
.ems-audience h3 { font-size:21px; line-height:1.3; }
.ems-audience p { font-size:17px; line-height:1.6; }
.ems-center p { font-size:19px; }
@media (max-width:1120px) and (min-width:851px) {
  .ems-benefits { grid-template-columns:minmax(0,1fr) 225px; }
  .ems-benefits > img { max-width:225px; }
  .ems-benefit-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:850px) {
  .ems-benefits { grid-template-columns:minmax(0,1fr); }
  .ems-benefits > img { max-width:340px; justify-self:center; aspect-ratio:4 / 3; }
  .ems-four .ems-icon { width:132px; height:132px; padding:20px; }
  .ems-audience h3 { font-size:20px; }
  .ems-audience p { font-size:16px; }
}
@media (max-width:640px) {
  
  .ems-four .ems-icon { width:116px; height:116px; padding:17px; }
  .ems-four h3 { font-size:18px; }
  .ems-four p { font-size:16px; }
  .ems-benefit-grid p { font-size:16px; }
  .ems-benefit-grid p img { width:52px; height:52px; flex-basis:52px; }
  .ems-audience h3 { font-size:18px; }
  .ems-audience p { font-size:16px; }
}

/* EMS-Training – Feinschliff der übrigen Abschnitte, Stand 22.11.2026.
   Die freigegebenen Größenverhältnisse in „So funktioniert EMS“ und
   „Deine Vorteile“ bleiben ausdrücklich unverändert. */
.ems-section > .container.ems-split:not(.ems-safety) > div > p:not(.ems-kicker),
.ems-safety > div > p:not(.ems-kicker) {
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.7;
}
.ems-section > .container.ems-split:not(.ems-safety) > div > p:not(.ems-kicker) + p,
.ems-safety > div > p:not(.ems-kicker) + p { margin-top: 18px; }
.ems-split .ems-kicker { font-size: clamp(22px, 2vw, 26px); margin-bottom: 18px; }
.ems-audience h3 { font-size: clamp(20px, 1.75vw, 23px); margin-top: 18px; margin-bottom: 5px; }
.ems-audience p { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; }
.ems-audience { gap: clamp(16px, 2vw, 26px); }
.ems-audience + * { margin-top: 0; }
.ems-safety .ems-checks li { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; margin: 14px 0; }
@media (max-width: 640px) {
  .ems-split .ems-kicker { font-size: 22px; }
  .ems-audience h3 { font-size: 19px; }
  .ems-audience p { font-size: 16px; }
  .ems-audience { gap: 24px 14px; }
}

/* EMS-Training: gezielte Feinabstimmung vom 23.11.2026 */
/* Alle orangefarbenen Abschnittslabels haben dieselbe Hierarchie. */
.ems-section .ems-kicker,
.ems-section .ems-split .ems-kicker {
  font-size:clamp(22px,2vw,26px);
  line-height:1.3;
  font-weight:700;
  margin-bottom:14px;
}
/* Unterzeilen der zentrierten Abschnitte */
.ems-section .ems-center > p {
  font-size:clamp(21px,1.85vw,24px);
  line-height:1.45;
}
/* Kreise behalten ihre Groesse, Symbole erhalten mehr Flaeche. */
.ems-four .ems-icon { padding:13px; }
/* Fotoflaeche wieder praesent, im moderaten Querformat. */
@media (min-width:1121px) {
  .ems-benefits { grid-template-columns:minmax(0,1fr) minmax(320px,350px); gap:clamp(24px,3vw,42px); }
  .ems-benefits > img { width:100%; max-width:350px; aspect-ratio:7 / 6; object-fit:cover; object-position:center; }
}
@media (min-width:851px) and (max-width:1120px) {
  .ems-benefits { grid-template-columns:minmax(0,1fr) 290px; gap:22px; }
  .ems-benefits > img { width:100%; max-width:290px; aspect-ratio:7 / 6; object-fit:cover; }
}
@media (max-width:850px) {
  .ems-benefits > img { width:100%; max-width:420px; aspect-ratio:7 / 6; }
  .ems-four .ems-icon { padding:12px; }
}
@media (max-width:640px) {
  .ems-section .ems-kicker, .ems-section .ems-split .ems-kicker { font-size:22px; }
  .ems-section .ems-center > p { font-size:20px; }
  .ems-four .ems-icon { padding:10px; max-width:100%; }
  .ems-section { overflow-wrap:anywhere; }
  .ems-benefit-grid p { min-width:0; }
  .ems-benefit-grid p span { min-width:0; overflow-wrap:normal; word-break:normal; -webkit-hyphens:auto; hyphens:auto; }
}

/* EMS-Training: Abschnittsabstaende an die Startseite angeglichen. */
@media (max-width: 640px) { .ems-section { padding: 38px 0; } }

/* EMS-Training: Smartphone-CTA und Piktogramm-Groesse (23.11.2026). */
@media (max-width: 760px) {
  .ems-page-hero .hero-cta {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }
}
@media (max-width: 640px) {
  .ems-benefit-grid p img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: contain;
  }
}

/* EMS-Training: verbindliche Smartphone-Korrektur 23.11.2026 */
@media (max-width: 760px) {
  .ems-page-hero .hero-content { width: 100%; max-width: none; }
  .ems-page-hero .hero-copy { width: 100%; max-width: none; box-sizing: border-box; }
  .ems-page-hero .hero-copy .hero-cta { display: flex; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; align-self: auto; }
}
/* EMS-Training: Vorteils-Piktogramme in allen Ansichten einheitlich 76px. */
.ems-benefit-grid p img { width: 76px; height: 76px; flex: 0 0 76px; object-fit: contain; }
@media (max-width:640px) { .ems-benefit-grid p img { width:60px; height:60px; flex-basis:60px; } }

/* EMS-Training: dezente Bildveredelung – nur die grossen Inhaltsfotos.
   Icons, Hero, Startseite und andere Seiten bleiben unveraendert. */
.ems-section .ems-split > img,
.ems-section .ems-benefits > img {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(25, 28, 32, 0.11);
}

/* Gemeinsame Hero-Hoehe: EMS-Training ist Referenz fuer Start- und Unterseite. */
.hero { min-height: clamp(540px, 74svh, 760px); }
@media (max-width: 640px) {
  .hero { min-height: 560px; }
}


/* Angebote & Preise – eigenständige, auf /angebote/ begrenzte Regeln */
.angebote-hero{background-image:linear-gradient(90deg,rgba(0,0,0,.67),rgba(0,0,0,.2)),url('../images/EMS-Training/emsig-ems-training-hero.webp')}
.offer-section{padding:65px 0}.offer-muted{background:#f5f5f5}.offer-section h2{margin:0 0 18px}.offer-section p{line-height:1.6}.offer-intro-grid,.offer-drain-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.offer-intro-grid>img,.offer-drain-grid>img{width:100%;border-radius:8px;object-fit:cover;max-height:410px;box-shadow:0 8px 22px rgba(0,0,0,.07)}.offer-centered{text-align:center;margin-bottom:30px}.offer-centered h2{margin-bottom:0}.offer-checks{padding:0;list-style:none;margin:20px 0}.offer-checks li{position:relative;padding-left:28px;margin:10px 0;line-height:1.4}.offer-checks li:before{content:'✓';position:absolute;left:0;top:0;background:#ff5100;color:white;border-radius:50%;width:19px;height:19px;line-height:19px;text-align:center;font-size:13px;font-weight:bold}.offer-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.offer-card{display:flex;flex-direction:column;background:white;padding:24px;border-radius:9px;box-shadow:0 5px 18px rgba(0,0,0,.045)}.offer-card-heading{display:flex;align-items:center;gap:12px;min-height:85px}.offer-card h3{font-size:1.1rem;margin:0}.offer-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:76px;height:76px;border-radius:50%;background:#f7f7f7}.offer-icon img{width:65%;height:65%;object-fit:contain}.offer-tagline{color:#ff5100;font-weight:700}.offer-card p{line-height:1.5}.offer-card .offer-checks{flex:1}.offer-card-photo{width:100%;aspect-ratio:1.6;object-fit:cover;border-radius:7px;margin-top:auto}.offer-note{border:1px solid #ff5100;padding:12px 16px;margin-top:20px}.offer-note strong{color:#ff5100}.offer-note p{margin:3px 0 9px}.offer-inline-title{display:flex;align-items:center;gap:15px}.offer-inline-title h2{font-size:1.45rem;margin:0}.offer-inline-title .offer-tagline{margin:3px 0}.offer-benefits{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;text-align:center;margin-top:25px}.offer-benefits .offer-icon{width:95px;height:95px}.offer-benefits p{line-height:1.5}.offer-prices{max-width:1060px}.offer-price-group{border-top:2px solid #ff5100;padding-top:20px;margin-top:36px}.offer-price-group h3{text-transform:uppercase;color:#ff5100;margin:0 0 10px;font-size:1.3rem}.offer-price-row{background:#ececec;border-radius:14px;padding:18px 25px;margin:10px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:1.2rem}.offer-price-row>strong:last-child{white-space:nowrap}.offer-price-row small{display:block;font-weight:400;margin-top:3px;line-height:1.5}.offer-price-peach{background:#ffe5d9}.offer-price-peach>strong:last-child{color:#ff5100}.offer-price-detail{padding:18px 0 24px;border-bottom:1px solid #bbb}.offer-price-detail-head{display:flex;justify-content:space-between;gap:20px;font-size:1.25rem}.offer-price-detail-head strong:last-child{white-space:nowrap}.offer-terms{background:#f0f0f0;border-radius:10px;margin-top:18px;padding:0 16px}.offer-terms summary{padding:15px 4px;cursor:pointer;font-weight:700}.offer-terms summary::marker{color:#ff5100}.offer-terms ol{padding:0 0 15px 22px}.offer-terms li{padding:10px 0}.offer-terms li strong{color:#ff5100}.offer-terms li p{margin:5px 0}.offer-price-final{border-top:2px solid #ff5100;margin-top:35px;padding-top:20px}
@media(max-width:850px){.offer-cards{grid-template-columns:1fr}.offer-intro-grid,.offer-drain-grid{grid-template-columns:1fr}.offer-benefits{grid-template-columns:repeat(3,1fr)}.offer-card-photo{max-height:260px}.offer-section{padding:48px 0}}
@media(max-width:560px){.offer-benefits{grid-template-columns:repeat(2,1fr)}.offer-price-row{font-size:1rem;padding:15px;gap:10px}.offer-price-detail-head{font-size:1.05rem}.offer-inline-title h2{font-size:1.2rem}}

/* Angebote: Überschriftenhierarchie wie auf EMS-Training. */
.offer-section{padding:clamp(40px,4.5vw,60px) 0}
.offer-section h2{font-size:clamp(28px,3vw,38px);line-height:1.25;font-weight:700}
.offer-section .ems-kicker{font-size:clamp(20px,1.85vw,24px);line-height:1.3;font-weight:700;letter-spacing:.01em;margin-bottom:12px}
.offer-intro .ems-kicker{font-size:clamp(22px,2vw,26px);margin-bottom:18px}
.offer-terms ul{list-style:none;margin:0;padding:0 0 15px}
.offer-terms li{padding:10px 0}
.offer-terms li::marker{content:none}
.offer-icon{background:#f6f6f6}
.offer-icon img{width:84%;height:84%}
@media(max-width:640px){.offer-section{padding:38px 0}.offer-section .ems-kicker{font-size:22px}.offer-price-row{padding:15px;gap:10px}.offer-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Angebote: synchronisierte Inhaltszeilen der drei Karten auf Desktop.
   Die freigegebenen Texte und Bildzuordnungen bleiben unverändert. */
@media (min-width: 851px) {
  .offer-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    align-content: stretch;
  }
  .offer-card .offer-checks {
    flex: initial;
    margin-top: 0;
    margin-bottom: 12px;
  }
  .offer-card-photo { margin-top: 0; align-self: end; }
}

/* Angebotskarten: kompakte gemeinsame Zeilen im Desktop-Grid. */
@media (min-width:851px) {
  .offer-cards { row-gap:18px; grid-template-rows:repeat(5,auto); }
  .offer-card { grid-template-rows:subgrid; grid-row:span 5; row-gap:10px; padding:20px; }
  .offer-card-heading { min-height:0; }
  .offer-card p { margin:0; }
  .offer-card .offer-checks { margin:0; padding:0; align-self:start; }
  .offer-card .offer-checks li { margin:5px 0; }
  .offer-card-photo { margin:0; }
}
@media (max-width:850px) {
  .offer-card { gap:10px; }
  .offer-card p { margin:0; }
  .offer-card .offer-checks { margin:0 0 8px; }
}

/* Verbindliche Lesetypografie auf /angebote/ (andere Seiten unverändert).
   Hervorgehobene Titel und Preiszahlen behalten ihre eigene Hierarchie. */
.offer-section p:not(.ems-kicker),
.offer-section .offer-checks li,
.offer-section .offer-note,
.offer-section .offer-benefits p,
.offer-section .offer-terms li,
.offer-section .offer-terms summary,
.offer-section .offer-price-row small {
  font-size:17px;
  line-height:1.5;
}
.offer-section .offer-tagline { font-size:17px; line-height:1.5; }
@media (max-width:640px) {
  .offer-section p:not(.ems-kicker),
  .offer-section .offer-checks li,
  .offer-section .offer-note,
  .offer-section .offer-benefits p,
  .offer-section .offer-terms li,
  .offer-section .offer-terms summary,
  .offer-section .offer-price-row small,
  .offer-section .offer-tagline { font-size:16px; }
}


/* Angebote & Preise: originale orange Piktogramme ohne graue Kreisflaechen.
   Lymphdrainage und Vorteile bewusst groesser als Karten-Piktogramme. */
.offer-section .offer-icon {
  background: transparent;
  border-radius: 0;
}
.offer-section .offer-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.offer-section .offer-inline-title .offer-icon {
  width: 104px;
  height: 104px;
}
.offer-section .offer-benefits .offer-icon {
  width: 112px;
  height: 112px;
}
@media (max-width: 640px) {
  .offer-section .offer-inline-title .offer-icon {
    width: 92px;
    height: 92px;
  }
  .offer-section .offer-benefits .offer-icon {
    width: 100px;
    height: 100px;
  }
}


/* Angebote: eigenes, fotografisch aufgehelltes Original-Headerbild.
   Keine Aenderung der gemeinsamen Hero-Abmessungen. */
.angebote-hero::before {
  background-image: url("../images/Angebote/emsig-angebote-hero.webp");
  background-position: center 43%;
}
.angebote-hero {
  background-image: linear-gradient(90deg, rgba(0,0,0,.56), rgba(0,0,0,.10)), url("../images/Angebote/emsig-angebote-hero.webp");
  background-position: center 43%;
}

/* Angebote: Originalfoto Emsig-143 mit mehr Kopffreiheit im Header. */
.angebote-hero::before {background-image:url("../images/Angebote/emsig-angebote-hero.webp");background-position:center top;}
.angebote-hero {background-position:center top;}

/* Angebote: zweizeiliger Headertext wie auf der bisherigen Seite */
.angebote-hero .angebote-hero-subtitle { display: block; font-size: .58em; line-height: 1.25; letter-spacing: normal; margin-top: .2em; }

/* Einheitliche horizontale Ausrichtung der Hero-Texte auf breiten Desktops.
   Entspricht der zentrierten Inhaltsbreite der .container-Bereiche. */
@media (min-width: 1051px) {
  .hero .hero-content {
    max-width: min(var(--content-width), calc(100% - 48px));
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Probetraining: ausschließlich seitenbezogene Regeln */
.trial-page { padding: clamp(92px, 9vw, 130px) 0 clamp(28px, 4vw, 48px); }
.trial-heading { max-width: 900px; margin-bottom: clamp(28px, 4vw, 52px); }
.trial-heading h1 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; margin: 8px 0 14px; }
.trial-heading > p:last-child { margin: 0; font-size: clamp(17px, 1.65vw, 21px); font-weight: 600; }
.trial-grid { display:grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items:start; }
.trial-info section + section { margin-top: 24px; }
.trial-info h2 { font-size: 20px; color: var(--orange); margin: 0 0 8px; line-height:1.4; }
.trial-info ul,.trial-info ol { padding-left: 23px; margin: 0; }
.trial-info li { margin: 3px 0; }
.trial-form-panel { background: #f7f7f7; padding: clamp(22px, 3vw, 38px); border-radius: 8px; }
.trial-form-panel h2 { margin: 0 0 4px; font-size: 24px; }
.trial-required-note { font-size: 14px; color: #555; margin: 0 0 22px; }
.trial-name-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trial-field { margin-bottom: 17px; min-width:0; }
.trial-field label { display:block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.trial-field input,.trial-field textarea { width:100%; display:block; border: 1px solid #bcbcbc; border-radius:4px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--anthracite); background:white; }
.trial-field textarea { resize:vertical; min-height:120px; }
.trial-field input:focus-visible,.trial-field textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.trial-field [aria-invalid="true"] { border-color:#b42318; }
.trial-privacy { margin-top: 6px; }
.trial-privacy h3 { font-size: 16px; margin:0 0 6px; }
.trial-privacy p { font-size: 15px; line-height: 1.6; margin:0 0 22px; }
.trial-privacy a { color: #b33b10; text-decoration:underline; }
.trial-actions { display:flex; align-items:center; justify-content:flex-end; gap:18px; }
.trial-submit { border:0; cursor:pointer; padding: 10px 26px; background: var(--orange); color:white; font-weight:700; }
.trial-feedback { font-size: 15px; margin:0; line-height:1.4; flex:1; }
.trial-feedback-success { font-weight:700; color:#2e5635; }
.trial-feedback:empty { display:none; }
.trial-preview-note { font-size: 13px; color:#666; margin: 16px 0 0; }
@media (max-width: 800px) { .trial-grid { grid-template-columns:1fr; gap:38px; } .trial-info { display:grid; grid-template-columns:1fr 1fr; gap:22px 30px; } .trial-info section + section { margin-top:0; } }
@media (max-width: 540px) { .trial-info { display:block; } .trial-info section + section { margin-top:22px; } .trial-name-row { grid-template-columns:1fr; gap:0; } .trial-form-panel { padding:20px 16px; } .trial-actions { flex-direction:column-reverse; align-items:stretch; gap:12px; } .trial-actions .trial-submit { width:100%; } }

/* Probetraining: barrierearme Hinweise zur Eingabeprüfung */
.trial-field-error { display:block; color:#b42318; font-size:14px; line-height:1.4; margin-top:5px; }
.trial-field-error:empty { display:none; }

/* Probetraining: optionale E-Mail-Kontaktwahl */
.trial-contact-option { margin: -4px 0 19px; font-size: 15px; }
.trial-contact-option label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.5; }
.trial-contact-option input { width: 17px; height: 17px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--orange); }
.trial-contact-option input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Probetraining: unauffälliges technisches Schutzfeld */
.trial-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Kontakt & Anfahrt – Version 09 */
.contact-page { padding: clamp(105px, 9vw, 135px) 0 72px; }
.contact-intro h1 { font-size: clamp(2rem, 3.5vw, 2.7rem); margin: 0 0 14px; }
.contact-intro > p { max-width: 760px; line-height: 1.7; margin: 0 0 34px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.contact-panel { background: #f7f7f7; padding: clamp(24px, 3vw, 36px); border-radius: 8px; }
.contact-panel h2, .contact-directions h2 { font-size: clamp(1.35rem,2vw,1.7rem); margin: 0 0 22px; }
.contact-panel address { font-style: normal; line-height: 1.8; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; }
.contact-links a { color: #c9430c; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-hours { margin: 0; }
.contact-hours div { margin-bottom: 18px; }
.contact-hours dt { font-weight: 700; margin-bottom: 4px; }
.contact-hours dd { margin: 0; }
.contact-panel p { line-height: 1.6; margin: 24px 0 0; }
.contact-directions { margin-top: 52px; }
.contact-directions > p { margin: -8px 0 22px; line-height: 1.6; }
.contact-route { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.contact-route-button { min-height: 56px; box-sizing: border-box; box-shadow: none; }
.contact-route-button:hover, .contact-route-button:focus-visible { box-shadow: none; }
@media (min-width: 701px) and (max-width: 760px) { .contact-route-button { margin-inline: 0; } }
@media (max-width: 700px) { .contact-route-button { min-height: 50px; align-self: center; } }
.contact-route p { margin: 0; font-size: .88rem; color: #666; }
@media (max-width: 700px) { .contact-page { padding: 105px 0 48px; } .contact-grid { grid-template-columns: 1fr; gap: 16px; } .contact-directions { margin-top: 38px; } .contact-route { align-items: flex-start; flex-direction: column; } }


/* Kontakt & Anfahrt: kompakter Anfahrtsbereich ohne Karte */
.contact-directions { background: #f7f7f7; border-radius: 8px; padding: clamp(24px, 3vw, 36px); }
.contact-directions > p { margin: -8px 0 0; }
.contact-directions .contact-route { margin-top: 24px; }

/* Version 12: kompakter Schriftzug ohne Claim im Header; Footer unveraendert. */
.site-header .site-logo { width: 130px; height: auto; }
@media (max-width: 760px) { .site-header .site-logo { width: 108px; } }

/* Angebote: sechs Vorteile in zwei ausgeglichenen Reihen; mobil drei Zweierreihen. */
@media (min-width: 851px) { .offer-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Version 15b: einmalige, ruhige Einblendungen auf der Startseite. */
.motion-ready .motion-item { transition: opacity .65s ease-out, transform .65s cubic-bezier(.2,.65,.2,1); }
.motion-ready .motion-item:not(.motion-visible) { opacity: 0; transform: translateY(12px); }
.motion-ready .motion-item.motion-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .motion-ready .motion-item { opacity: 1 !important; transform: none !important; transition: none !important; }
}
/* Version 15c: ruhiges Einblenden der Headerbilder, ohne Text oder Buttons zu bewegen. */
@keyframes emsig-hero-image-appear { from { opacity: 0; } to { opacity: 1; } }
.hero::before {
  animation: emsig-hero-image-appear .75s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}

/* Version 15d: einheitliche dezente Staffelung; nur auf Inhaltsseiten. */
.motion-ready .motion-item.motion-delay-1 { transition-delay: 75ms; }
.motion-ready .motion-item.motion-delay-2 { transition-delay: 100ms; }
@media (prefers-reduced-motion: reduce) { .motion-ready .motion-item { transition-delay: 0ms !important; } }

/* Das Hero-Foto von Angebote liegt ausschliesslich auf ::before,
   damit es beim Einblenden nicht bereits im Hintergrund sichtbar ist. */
.angebote-hero { background-image: none; background-color: #292422; }


/* Headertext und CTA: ruhig und zeitlich gestaffelt einblenden. */
@keyframes emsig-hero-text-appear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .hero-copy > .hero-eyebrow,
.hero .hero-copy > h1,
.hero .hero-copy > .hero-description,
.hero .hero-copy > .hero-cta {
  animation: emsig-hero-text-appear .65s ease-out both;
}
.hero .hero-copy > .hero-eyebrow { animation-delay: .15s; }
.hero .hero-copy > h1 { animation-delay: .25s; }
.hero .hero-copy > .hero-description { animation-delay: .35s; }
.hero .hero-copy > .hero-cta { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-copy > .hero-eyebrow,
  .hero .hero-copy > h1,
  .hero .hero-copy > .hero-description,
  .hero .hero-copy > .hero-cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Einheitliche Einblendung aller Inhaltsfotos auf den drei Inhaltsseiten.
   Startzustand vor dem ersten Paint; keine Verschiebung. */
.ems-photo-ready img.ems-photo-reveal { opacity: 0; transform: none; transition: opacity .75s ease-out; }
.ems-photo-ready img.ems-photo-reveal.ems-photo-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ems-photo-ready img.ems-photo-reveal { opacity: 1 !important; transition: none !important; }
}

/* Freigegebener warmer Headerverlauf auf Startseite, EMS-Training und Angebote & Preise.
   Mobile Header bleiben unveraendert. */
@media (min-width: 761px) {
  .hero::after {
    background:
      linear-gradient(90deg,
        rgba(37,21,17,.84) 0%,
        rgba(61,29,20,.68) 18%,
        rgba(88,38,23,.23) 34%,
        rgba(38,26,23,.025) 53%,
        transparent 68%),
      linear-gradient(0deg, rgba(25,18,17,.25), transparent 28%),
      linear-gradient(90deg, rgba(230,86,30,.10), transparent 38%);
  }
}

/* Vorübergehend ausgeblendete Navigationseinträge */
a[hidden] { display: none !important; }

/* Kontakt: Informationskarten und Foto, V20.9 */
.contact-grid { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.contact-info-stack { display: grid; gap: 24px; min-width: 0; }
.contact-photo { display: block; width: 100%; height: auto; border-radius: 8px; }
.motion-ready img.contact-photo { transform: none; transition: opacity .75s ease-out; }
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-info-stack { gap: 16px; }
}

/* Kontakt: Parkhinweis, V20.9.1 */
.contact-parking { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.contact-parking svg { display: block; flex: 0 0 36px; width: 36px; height: 36px; color: var(--orange, #ff5100); }
.contact-parking p { margin: 0; line-height: 1.6; min-width: 0; }
