/*
Theme Name: SICHERAGIEREN
Theme URI: https://sicheragieren.de/
Author: SICHERAGIEREN
Description: Schlankes WordPress-Theme für Seminare, Waffensachkunde und verantwortliche Aufsicht.
Version: 1.0.0
Text Domain: sicheragieren
*/

:root {
  --blue: #003366;
  --blue-dark: #000033;
  --orange: #ff9900;
  --orange-dark: #cc6600;
  --ice: #cccccc;
  --text: #333333;
  --muted: #666666;
  --line: #cccccc;
  --white: #ffffff;
  --ink: #000033;
  --steel: #666666;
  --amber: #ff9900;
  --shadow: 0 18px 45px rgba(0, 51, 102, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 10px 30px rgba(8, 33, 63, 0.22);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 230px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  line-height: 1;
}

.brand strong span,
.site-footer strong span {
  color: var(--orange);
}

.brand small {
  display: block;
  color: #cccccc;
  font-size: 11px;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.site-nav li,
.site-footer li {
  list-style: none;
}

.site-nav a:hover {
  color: var(--orange);
}

.header-cta,
.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-cta,
.button.secondary,
.wp-block-button__link {
  color: #000000;
  background: var(--orange);
}

.header-cta {
  min-height: 52px;
  padding: 14px 24px;
  color: var(--blue-dark);
  background: var(--orange);
  border: 2px solid var(--white);
  box-shadow: 0 8px 0 var(--orange-dark), 0 14px 26px rgba(0, 0, 0, 0.28);
  font-size: 15px;
  letter-spacing: 0;
}

.sa-book-now {
  min-height: 52px;
  padding: 14px 24px;
  color: var(--blue-dark);
  background: #cf5805;
  border: 2px solid var(--white);
  box-shadow: 0 8px 0 #a34704, 0 14px 26px rgba(0, 0, 0, 0.28);
  font-size: 15px;
  line-height: 1.2;
}

.sa-book-now:hover {
  color: var(--blue-dark);
  background: #ffffff;
}

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

.button.ghost {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  min-height: 520px;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 48%, #cccccc 100%);
}

.hero-copy {
  align-self: center;
  padding: clamp(48px, 7vw, 92px) clamp(24px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  color: var(--blue);
  font-size: clamp(35px, 5.2vw, 70px);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 24px 0 0;
  color: #003366;
  font-size: 19px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-id-15 .mobile-cta-row,
.page-id-60 .mobile-cta-row {
  display: none;
}

.sa-hero-text .button-row {
  align-items: flex-start;
}

.sa-hero-text .button-row .sa-book-now {
  align-self: flex-start;
}

.hero-media {
  min-height: 420px;
  background: linear-gradient(90deg, rgba(255,255,255,0.52), rgba(255,255,255,0)), url("assets/img/hero-trainers.jpg") center / cover no-repeat;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.benefits article {
  min-height: 132px;
  padding: 12px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.benefits article:last-child {
  border-right: 0;
}

.benefits span {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.benefits h2 {
  margin-top: 12px;
  color: var(--blue);
  font-size: 15px;
  text-transform: uppercase;
}

.benefits p {
  margin: 8px auto 0;
  max-width: 230px;
  color: var(--muted);
  font-size: 14px;
}

.split-section,
.content-section,
.detail-grid,
.contact-band,
.wp-page-content > .wp-block-group {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 22px 0 10px;
}

.feature-panel,
.detail-card,
.price-box,
.trainer-card,
.seminar-card,
.faq details,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
  min-height: 265px;
  overflow: hidden;
  padding: 28px 0 0 28px;
}

.feature-panel.cool {
  background: #cccccc;
}

.feature-panel.warm {
  background: linear-gradient(135deg, #ffffff, #cccccc);
}

.feature-panel h2,
.section-heading h2,
.detail-card h2,
.two-column h2,
.contact-band h2 {
  color: var(--blue);
  font-size: clamp(25px, 3vw, 34px);
  text-transform: uppercase;
}

.feature-panel.warm h2 {
  color: #cc6600;
}

.feature-panel p {
  margin: 18px 0 24px;
}

.feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-section {
  padding: 42px 0 16px;
}

.section-heading {
  margin-bottom: 26px;
  text-align: center;
}

.seminar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.seminar-card {
  overflow: hidden;
  background: var(--white);
}

.seminar-card img {
  width: 100%;
  aspect-ratio: 2.1 / 1;
  object-fit: cover;
}

.seminar-card div {
  padding: 18px;
}

.seminar-card h3 {
  color: var(--blue);
  font-size: 19px;
  text-transform: uppercase;
}

.seminar-card p,
.detail-card p,
.two-column p,
.contact-band p {
  color: var(--muted);
}

.seminar-card ul,
.trainer-card ul {
  margin: 14px 0;
  padding-left: 18px;
}

.seminar-card li::marker,
.trainer-card li::marker {
  color: var(--orange);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.price {
  display: block;
  margin: 12px 0;
  color: var(--orange);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  text-align: center;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 10px 0 20px;
}

.detail-card {
  min-height: 280px;
  padding: 30px;
  background: linear-gradient(135deg, #ffffff, #cccccc);
}

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

.check-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
  content: "✓";
}

.trainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.trainer-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}

.trainer-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.trainer-card h3 {
  color: var(--blue);
  text-transform: uppercase;
}

.trainer-card div {
  padding: 22px 22px 22px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px;
  align-items: center;
}

.price-box {
  padding: 30px;
  text-align: center;
  background: var(--blue);
}

.price-box span,
.price-box p {
  color: #cccccc;
}

.price-box strong {
  display: block;
  color: var(--orange);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 58px;
}

.faq {
  max-width: 900px;
}

.faq details {
  margin-top: 12px;
  padding: 18px 22px;
  background: var(--white);
}

.faq summary {
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 52px;
  margin-bottom: 52px;
  padding: 38px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 8px;
}

.contact-band h2,
.contact-band p {
  color: var(--white);
}

.contact-card {
  padding: 26px;
  color: var(--text);
  background: var(--white);
}

.contact-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #cccccc;
  background: var(--blue-dark);
}

.site-footer strong {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-cta {
    width: max-content;
  }

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

@media (max-width: 820px) {
  .hero,
  .split-section,
  .detail-grid,
  .trainer-grid,
  .two-column,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    min-height: 310px;
  }

  .feature-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .feature-panel img {
    max-height: 260px;
  }

  .trainer-card {
    grid-template-columns: 1fr;
  }

  .trainer-card div {
    padding: 0 22px 22px;
  }
}

@media (max-width: 580px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 20px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
  }

  .benefits,
  .seminar-grid {
    grid-template-columns: 1fr;
  }

  .benefits article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-copy,
  .contact-band {
    padding: 28px 20px;
  }

  h1 {
    font-size: 35px;
  }
}

/* Refined WordPress site system */
:root {
  --ink: #000033;
  --steel: #333333;
  --mist: #ffffff;
  --sage: #999999;
  --amber: #ff9900;
}

body {
  background: #ffffff;
}

.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 72px;
  background: rgba(8, 23, 42, 0.96);
  backdrop-filter: blur(16px);
}

.site-nav {
  gap: 6px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.site-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #cccccc;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.header-cta {
  min-height: 52px;
  padding: 14px 24px;
  color: var(--blue-dark);
  background: var(--orange);
  border: 2px solid var(--white);
  box-shadow: 0 8px 0 var(--orange-dark), 0 14px 26px rgba(0, 0, 0, 0.28);
  font-size: 15px;
}

.hero-v2 {
  min-height: 650px;
  color: #ffffff;
  background: var(--ink);
}

.hero-v2 .hero-copy {
  position: relative;
  z-index: 2;
  padding-right: clamp(28px, 5vw, 64px);
}

.hero-v2 h1 {
  color: #ffffff;
  font-size: clamp(42px, 5.4vw, 76px);
  text-transform: none;
}

.hero-v2 .hero-copy > p:not(.eyebrow) {
  color: #cccccc;
}

.hero-v2 .hero-media {
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(13, 23, 38, 0.97) 0%, rgba(13, 23, 38, 0.72) 32%, rgba(13, 23, 38, 0.12) 68%),
    url("assets/img/generated/BertramDirk_hintergrund.png") center / cover no-repeat;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -46px auto 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(13, 23, 38, 0.18);
}

.trust-strip div {
  min-height: 104px;
  padding: 22px;
  background: #ffffff;
}

.trust-strip strong {
  display: block;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.intro-band,
.course-showcase,
.priority-courses,
.method-band,
.subpage-hero,
.course-detail,
.learning-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: end;
  padding: 84px 0 34px;
}

.priority-courses {
  padding: 78px 0 24px;
}

.priority-heading {
  max-width: 860px;
  margin-bottom: 22px;
}

.priority-heading h2 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 54px);
  text-transform: none;
}

.priority-heading > p {
  margin: 18px 0 0;
  color: var(--steel);
  font-size: 18px;
}

.priority-heading > .eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.priority-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 370px;
  padding: 30px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 15%, rgba(230, 154, 58, 0.18), transparent 28%),
    linear-gradient(135deg, #000033, #003366 58%, #333333);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(13, 23, 38, 0.2);
}

.priority-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  opacity: 0.42;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.priority-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 23, 38, 0.08), rgba(13, 23, 38, 0.76) 62%, rgba(13, 23, 38, 0.96)),
    linear-gradient(90deg, rgba(13, 23, 38, 0.86), rgba(13, 23, 38, 0.28));
  content: "";
}

.priority-card .tile-kicker,
.priority-card h3,
.priority-card p,
.priority-card strong {
  position: relative;
  z-index: 1;
}

.priority-card h3 {
  color: #ffffff;
  font-size: clamp(28px, 3.3vw, 46px);
  text-transform: none;
}

.priority-card p {
  margin: 0;
  color: #cccccc;
}

.priority-card strong {
  width: max-content;
  margin-top: 8px;
  padding: 10px 14px;
  color: #333333;
  background: var(--amber);
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.priority-card:hover img {
  opacity: 0.58;
  transform: scale(1.035);
}

.intro-band h2 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  text-transform: none;
}

.intro-band > p {
  margin: 0;
  color: var(--steel);
  font-size: 18px;
}

.course-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0 68px;
}

.course-showcase.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 18px;
}

.course-tile {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(13, 23, 38, 0.16);
}

.course-showcase.compact .course-tile {
  min-height: 330px;
}

.course-tile.large {
  grid-column: span 2;
}

.course-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.course-tile::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 23, 38, 0.06) 0%, rgba(13, 23, 38, 0.78) 72%, rgba(13, 23, 38, 0.92) 100%),
    linear-gradient(90deg, rgba(13, 23, 38, 0.35), rgba(13, 23, 38, 0));
  content: "";
}

.course-tile:hover img {
  opacity: 0.9;
  transform: scale(1.035);
}

.priority-card:hover img,
.course-tile:hover img {
  filter: saturate(1.04) contrast(1.03);
}

.course-tile .tile-kicker,
.course-tile h2,
.course-tile p {
  position: relative;
  z-index: 1;
}

.tile-kicker {
  width: max-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #333333;
  background: #ff9900;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.course-tile h2 {
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 38px);
  text-transform: none;
}

.course-tile p {
  max-width: 560px;
  margin: 13px 0 0;
  color: #cccccc;
}

.method-band {
  padding: 70px 0;
  border-top: 1px solid #cccccc;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-grid article,
.learning-grid article,
.course-detail aside {
  padding: 28px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(13, 23, 38, 0.07);
}

.method-grid span {
  color: var(--amber);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.method-grid h3,
.learning-grid h3 {
  margin-top: 10px;
  color: var(--ink);
  text-transform: none;
}

.trainer-grid.clean .trainer-card {
  display: block;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(15, 47, 92, 0.08), rgba(127, 150, 134, 0.13)),
    #ffffff;
}

.trainer-grid.clean .trainer-card div {
  padding: 0;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 58px 0 36px;
}

.subpage-hero > div {
  padding: clamp(28px, 4vw, 52px);
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(13, 23, 38, 0.08);
}

.subpage-hero h1 {
  color: var(--ink);
  font-size: clamp(34px, 3.45vw, 48px);
  text-transform: none;
}

.subpage-hero p:not(.eyebrow) {
  color: var(--steel);
  font-size: 18px;
}

.subpage-hero img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(13, 23, 38, 0.16);
}

.course-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 32px 0;
}

.course-detail h2 {
  color: var(--ink);
  font-size: clamp(30px, 3.6vw, 48px);
  text-transform: none;
}

.course-detail p {
  color: var(--steel);
  font-size: 18px;
}

.course-detail aside strong {
  display: block;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}

.course-detail ul,
.learning-grid ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.course-detail li::marker,
.learning-grid li::marker {
  color: var(--amber);
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 10px 0 72px;
}

.learning-grid article:nth-child(3) {
  background: var(--ink);
}

.learning-grid article:nth-child(3) h3,
.learning-grid article:nth-child(3) p {
  color: #ffffff;
}

.contact-band {
  background:
    linear-gradient(135deg, rgba(13, 23, 38, 0.96), rgba(15, 47, 92, 0.92)),
    var(--ink);
}

.button:hover,
.header-cta:hover,
.priority-card:hover strong {
  transform: translateY(-1px);
}

.header-cta:hover {
  color: var(--blue-dark);
  background: #ffffff;
}

.button,
.header-cta,
.priority-card strong {
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .course-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-showcase.compact,
  .priority-grid {
    grid-template-columns: 1fr;
  }

  .course-tile.large {
    grid-column: span 1;
  }

}

@media (max-width: 820px) {
  .hero-v2,
  .subpage-hero,
  .intro-band,
  .priority-heading,
  .course-detail,
  .learning-grid,
  .method-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-v2 .hero-media {
    min-height: 360px;
  }

  .trust-strip {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .intro-band {
    gap: 18px;
    padding-top: 54px;
  }

  .subpage-hero img {
    min-height: 300px;
    order: -1;
  }

  .priority-courses {
    padding-top: 54px;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: block;
    padding: 12px 20px;
  }

  .site-nav {
    flex-wrap: nowrap;
    gap: 8px;
    margin: 14px -20px 0;
    padding: 0 20px 8px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav li {
    flex: 0 0 auto;
  }

  .header-cta {
    margin-top: 12px;
  }

  .course-showcase {
    grid-template-columns: 1fr;
  }

  .course-showcase.compact {
    grid-template-columns: 1fr;
  }

  .priority-card {
    min-height: 0;
    padding: 22px;
  }
  .course-tile {
    min-height: 310px;
    padding: 22px;
  }

  .site-nav {
    display: flex;
  }
}

.sa-page {
  background: #ffffff;
}

.sa-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) 0 42px;
}

.sa-hero-text h1,
.sa-section-head h2,
.sa-content h2 {
  color: var(--blue-dark);
  text-transform: none;
}

.sa-hero-text h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.6vw, 64px);
}

.sa-hero-text p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 19px;
}

.sa-hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.sa-hero-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.page-id-20 .sa-hero {
  align-items: start;
}

.page-id-20 .sa-hero-media {
  align-self: start;
}

.page-id-20 .sa-hero-media img {
  object-position: left top;
}

.page-id-19 .sa-hero {
  align-items: start;
}

.page-id-19 .sa-hero-media {
  align-self: start;
}

.page-id-19 .sa-hero-media img {
  object-position: left top;
}

@media (min-width: 921px) {
  .page-id-19 .sa-hero-media {
    margin-top: -44px;
  }

  .page-id-19 .sa-hero-text .sa-next-appointment {
    display: inline-block !important;
    margin: 24px 20px 20px 0 !important;
    vertical-align: top;
  }

  .page-id-19 .sa-hero-text .button-row {
    display: block;
    margin-top: 0;
  }

  .page-id-20 .sa-hero-media {
    margin-top: -44px;
  }

  .page-id-20 .sa-hero-text .sa-next-appointment {
    display: inline-block !important;
    margin: 24px 20px 20px 0 !important;
    vertical-align: top;
  }

  .page-id-20 .sa-hero-text .button-row {
    display: block;
    margin-top: 0;
  }
}

.sa-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.sa-section.band {
  width: 100%;
  padding: 62px max(20px, calc((100% - 1180px) / 2));
  background: #cccccc;
}

.sa-section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.sa-section-head p,
.sa-content p,
.sa-card p,
.sa-module-card p {
  color: var(--text);
}

.sa-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sa-card,
.sa-module-card,
.sa-contact-panel,
.sa-factbox {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(0, 51, 102, 0.08);
}

.sa-card {
  display: grid;
  grid-template-rows: 230px auto;
  overflow: hidden;
}

.sa-card img,
.sa-module-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sa-card-body,
.sa-module-body {
  padding: 24px;
}

.sa-card h2,
.sa-module-card h3 {
  color: var(--blue-dark);
  font-size: clamp(24px, 3vw, 36px);
  text-transform: none;
}

.sa-card.schiesstand {
  border-top: 8px solid var(--orange);
}

.sa-card.handeln {
  border-top: 8px solid var(--blue);
}

.sa-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sa-module-card {
  overflow: hidden;
}

.sa-module-card figure {
  height: 190px;
  margin: 0;
}

.sa-module-card img[src*="modul-alltag-auto.jpg"],
.sa-module-card img[src*="modul-zuhause-alt.jpg"] {
  object-position: center top;
}

.sa-module-card h3 {
  font-size: 24px;
}

.sa-status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 4px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.sa-status.planung {
  color: var(--blue-dark);
  background: #cccccc;
}

.sa-status.buchbar {
  color: #000000;
  background: var(--orange);
}

.sa-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.sa-list li {
  margin: 6px 0;
}

.sa-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 68px;
}

.sa-content main,
.sa-content aside {
  min-width: 0;
}

.sa-factbox {
  padding: 22px;
  align-self: start;
}

.sa-factbox strong {
  display: block;
  color: var(--blue-dark);
  font-size: 19px;
}

.sa-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 24px;
  padding: 28px;
  border-top: 8px solid var(--orange);
}

.sa-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sa-team-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 8px solid var(--blue);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(0, 51, 102, 0.08);
}

.sa-team-panel .sa-section-head {
  max-width: 880px;
}

.sa-team-member {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 8px solid var(--blue);
  border-radius: 6px;
  background: var(--white);
}

.sa-team-member figure:empty {
  display: none;
}

.sa-team-member figure {
  display: grid;
  place-items: center;
  min-height: 112px;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(0, 51, 102, 0.04), rgba(255, 255, 255, 0.96));
}

.sa-team-member img {
  width: 100%;
  max-width: 156px;
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
}

.sa-team-member figcaption {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.sa-team-member h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 26px;
  text-transform: none;
}

.sa-team-member p {
  margin: 0;
}

.sa-team-member a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.sa-team-member a:hover,
.sa-team-member a:focus-visible {
  color: var(--orange-dark);
}

.sa-team-member--accent {
  border-top-color: var(--orange);
}

.sa-team-shared-photo:empty {
  display: none;
}

.sa-team-shared-photo {
  margin: 10px 0 22px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 51, 102, 0.04), rgba(255, 255, 255, 0.96));
}

.sa-team-shared-photo img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.sa-team-principle-card {
  margin-top: 22px;
}

.sa-team-note {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--text);
}

.sa-contact-panel a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .sa-hero,
  .sa-two,
  .sa-content,
  .sa-contact-panel,
  .sa-team-grid {
    grid-template-columns: 1fr;
  }

  .sa-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .page-id-15 .sa-hero-text .hero-cta-row,
  .page-id-60 .sa-hero-text .hero-cta-row {
    display: none;
  }

  .page-id-15 .sa-content main .mobile-cta-row,
  .page-id-60 .sa-content main .mobile-cta-row {
    display: flex;
    margin-top: 22px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .header-cta {
    margin-top: 12px;
  }

  .sa-hero,
  .sa-section,
  .sa-content {
    width: min(100% - 28px, 1180px);
  }

  .sa-hero-media img {
    min-height: 260px;
  }

  .sa-module-grid {
    grid-template-columns: 1fr;
  }

  .sa-card {
    grid-template-rows: 190px auto;
  }
}

.site-header {
  grid-template-columns: auto minmax(0, 1fr) max-content;
  gap: clamp(12px, 2vw, 22px);
}

.brand {
  min-width: 0;
}

.site-nav {
  min-width: 0;
  overflow-x: auto;
  justify-content: flex-start;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a,
.header-cta {
  white-space: nowrap;
}

.header-cta {
  position: relative;
  z-index: 2;
  justify-self: end;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) max-content;
    min-height: 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding-bottom: 4px;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .brand,
  .header-cta,
  .site-nav {
    grid-column: 1;
  }

  .header-cta {
    justify-self: stretch;
    width: 100%;
    margin-top: 6px;
  }
}

.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    grid-column: 2;
    grid-row: 1;
    width: 46px;
    height: 46px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
  }

  .nav-toggle-line {
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
  }

  .site-nav li {
    width: 100%;
    margin: 0;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .header-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch;
    width: 100%;
    margin-top: 10px;
  }

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

  .site-header.menu-open .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

  .sa-buchen-page {
    max-width: 1300px;
  }

  .sa-buchen-layout {
    display: grid;
    grid-template-columns: minmax(300px, 36%) minmax(0, 64%);
    gap: 20px;
    align-items: stretch;
  }

  .sa-buchen-note,
  .sa-buchen-embed {
    background: #ffffff;
    border: 1px solid #d6dde4;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(11, 30, 47, 0.08);
  }

  .sa-buchen-note {
    padding: clamp(18px, 2.6vw, 32px);
    min-height: 640px;
  }

  .sa-buchen-note.is-empty {
    min-height: 640px;
  }

  .sa-buchen-note > :first-child {
    margin-top: 0;
  }

  .sa-buchen-note > :last-child {
    margin-bottom: 0;
  }

  .sa-buchen-embed {
    padding: 10px;
    min-height: 640px;
  }

  .sa-buchen-iframe {
    width: 100%;
    min-height: 590px;
    border: 0;
    border-radius: 10px;
    background: #f9fbfc;
  }

  .sa-buchen-embed-link {
    margin: 8px 6px 4px;
    font-size: 0.9rem;
  }

  @media (max-width: 900px) {
    .sa-buchen-layout {
      grid-template-columns: 1fr;
    }

    .sa-buchen-note,
    .sa-buchen-embed {
      min-height: 0;
    }

    .sa-buchen-note.is-empty {
      min-height: 200px;
    }

    .sa-buchen-iframe {
      min-height: 720px;
    }
  }

