:root{
  --bg:#fff;
  --text:#121212;
  --muted:#5a5a5a;
  --border:#e6e6e6;
  --card:#f7f7f7;
  --brand:#6B1F2A;
  --brand2:#4F151E;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:18px;
  --max:1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  line-height:1.55;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-underline-offset:4px; }
p{ margin:0 0 1rem; }
ul{ margin:0 0 1rem; padding-left:1.1rem; }
small{ color:var(--muted); }

.container{ max-width:var(--max); margin:0 auto; padding:0 18px; }

.mt{ margin-top:18px; }

.sr-only{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:18px; top:18px; width:auto; height:auto;
  background:#fff; padding:10px 14px; border-radius:999px;
  box-shadow:var(--shadow); z-index:9999;
}

.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(0,0,0,.08);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand{
  text-decoration:none;
  display:flex; flex-direction:column;
  line-height:1.1;
}
.brand strong{ letter-spacing:.10em; font-size:16px; }
.brand span{ font-size:13px; color:var(--muted); }

.nav{ display:none; gap:18px; align-items:center; }
.nav a{
  text-decoration:none;
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
}
.nav a:hover{ background:rgba(0,0,0,.04); }

.menu-btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  width:44px; height:44px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  background:rgba(255,255,255,.9);
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.menu-btn svg{ width:20px; height:20px; }
.menu-btn:hover{ background:#fff; border-color:rgba(0,0,0,.18); }

.mobile-nav{
  display:none;
  border-top:1px solid var(--border);
  background:#fff;
}
.mobile-nav.open{ display:block; }
.mobile-nav a{
  display:block;
  padding:12px 18px;
  text-decoration:none;
  border-bottom:1px solid var(--border);
  font-size:14px;
}
.mobile-nav a:last-child{ border-bottom:none; }

@media (min-width:900px){
  .nav{ display:flex; }
  .menu-btn{ display:none; }
  .mobile-nav{ display:none !important; }
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--border);
  text-decoration:none;
  font-weight:600;
}
.btn.primary{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}
.btn.primary:hover{ background:var(--brand2); border-color:var(--brand2); }
.btn.hero-cta{
  background:rgba(15,15,15,.92);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
}
.btn.hero-cta:hover{ background:rgba(0,0,0,.98); }

.hero{
  position:relative;
  isolation:isolate;
  min-height:500px;
  display:flex;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute; inset:0;
  background:url("../img/hero.jpg") center 55% / cover no-repeat;
  filter:saturate(1.02) contrast(1.05);
  z-index:0;
}

.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(to bottom,
    rgba(0,0,0,.68) 0%,
    rgba(0,0,0,.55) 35%,
    rgba(0,0,0,.40) 60%,
    rgba(0,0,0,.22) 100%);
  z-index:1;
}

.hero-inner{
  position:relative;
  z-index:2;
  color:#fff;
  width:100%;
  min-height:500px;

  display:flex;
  flex-direction:column;
  justify-content:space-between;

  padding:58px 0 34px;
}

.hero-copy{
  max-width:900px;
}

.eyebrow{
  font-size:15px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.85);
}

h1{
  margin:10px 0 0;
  font-size:clamp(34px, 5vw, 58px);
  line-height:1.05;
}

.hero h1{
  text-shadow:0 6px 18px rgba(0,0,0,.55),
              0 14px 48px rgba(0,0,0,.35);
}

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

  position:relative;
  top:-80px;
}

.section{ padding:56px 0; }
.section h2{ font-size:28px; margin:0 0 28px; line-height:1.2; }
.section p{
  font-size:18px;
  line-height:1.7;
  margin:0 0 18px;
  color:var(--muted);
}
.section-soft{
  background:#fafafa;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.grid{ display:grid; gap:18px; }
@media (min-width:900px){
  .grid.cols-2{ grid-template-columns:1.2fr .8fr; gap:72px; }
  .grid.cols-3{ grid-template-columns:repeat(3, 1fr); }
  .section > .container > .grid.cols-2 > div:first-child{ max-width:62ch; }
}

.pruefungen-grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width:900px){
  .grid.cols-2.pruefungen-grid{
    grid-template-columns: 1fr 1fr;
    gap: 28px; 
  }
}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{ transform:translateY(-2px); box-shadow:0 10px 30px rgba(0,0,0,.06); }
.card.pad{ padding:22px; }
.card.soft{ background:var(--card); }

.figure{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
}

.card > .figure{
  border:0;
  border-bottom:1px solid var(--border);
  border-radius:var(--radius) var(--radius) 0 0;
}
.card > .card.pad{
  border:0;
  background:transparent;
  border-radius:0 0 var(--radius) var(--radius);
}

.pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.pill{
  text-decoration:none;
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:14px;
  background:#fff;
}
.pill:hover{ background:rgba(0,0,0,.03); }

.kv{
  margin-top:22px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--card);
  padding:18px;
}
.kv strong{ display:block; }
.kv a{ text-decoration:none; }
.kv a:hover{ text-decoration:underline; }

.note{
  border-left:4px solid var(--brand);
  padding:10px 14px;
  background:#fff;
  border-radius:12px;
  border:1px solid var(--border);
  color:var(--muted);
}

.faq details{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px 16px;
  background:#fff;
}
.faq details + details{ margin-top:10px; }
.faq summary{ cursor:pointer; font-weight:600; }
.faq p{ margin-top:10px; color:var(--muted); }

.gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:18px;
}
@media (min-width:700px){ .gallery{ grid-template-columns:repeat(2, 1fr); } }
@media (min-width:1020px){ .gallery{ grid-template-columns:repeat(3, 1fr); } }

.page{ padding:40px 0 56px; }
.page h1{ color:var(--text); }
.page h2 {
  margin-top: 42px;
}
.page h2:first-of-type {
  margin-top: 28px;
}
.page .intro{
  color:var(--muted);
  max-width:75ch;
  margin-top:14px;
  font-size:18px;
}

.about-video{
  border-radius:var(--radius);
  overflow:hidden;
  background:#f3f1ee;
  box-shadow:0 12px 40px rgba(0,0,0,.08);
}
.about-video video{ width:100%; height:auto; display:block; }

.media-grid{
  display:grid;
  gap:14px;
  grid-template-columns:1fr 1fr;
  grid-template-areas:
    "a a"
    "b c";
}
.media-grid .media{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.media-grid .a{ grid-area:a; }
.media-grid .b{ grid-area:b; }
.media-grid .c{ grid-area:c; }
.media-grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.media-grid .a img{ height:260px; object-position:center 55%; }
.media-grid .b img{ height:210px; object-position:center 35%; }
.media-grid .c img{ height:210px; object-position:center 50%; }
@media (min-width:900px){
  .media-grid .a img{ height:310px; }
  .media-grid .b img,
  .media-grid .c img{ height:240px; }
}

.checklist{
  margin:14px 0 0;
  padding-left:0;
  list-style:none;
}
.checklist li{
  position:relative;
  padding-left:28px;
  margin:10px 0;
  color:var(--muted);
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  color:var(--brand);
  font-weight:700;
}

.press-grid .press-card h3{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.press-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.cta-band{
  background:linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  color:#fff;
  padding:44px 0;
}
.cta-band-inner{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.cta-band-inner p{
  margin:10px 0 0;
  color:rgba(255,255,255,.86);
  max-width:70ch;
}
.cta-band-actions{ display:flex; gap:10px; flex-wrap:wrap; }

.footer{
  border-top:1px solid var(--border);
  background:#f8f8f8;
  padding:36px 0;
}
.footer-grid{ display:grid; gap:18px; }
@media (min-width:900px){
  .footer-grid{ grid-template-columns:1.2fr 1fr 1fr; }
}
.footer a{ text-decoration:none; }
.footer a:hover{ text-decoration:underline; }
.footer h4{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.footer p, .footer li{ color:var(--muted); font-size:14px; }
.footer ul{ list-style:none; padding:0; margin:0; }
.footer li{ margin:8px 0; }
.copy{ margin-top:18px; font-size:12px; color:#7a7a7a; }

@media (max-width:900px){
  .header-inner{ padding-left:6px; padding-right:6px; }
  .hero-inner{ padding-left:10px; padding-right:10px; }
}
@media (max-width:520px){
  .hero{ min-height:460px; }
  .hero-inner{ padding:64px 14px; }
  h1{ font-size:clamp(32px, 9vw, 44px); }
  .lead{ font-size:17px; max-width:34ch; }
  .hero-actions{
    margin-top:0;
    top:-30px;
  }
}

.split{
  display:grid;
  gap:18px;
}
@media (min-width:900px){
  .split{ grid-template-columns:1fr 1fr; }
}

.split .figure {
  aspect-ratio: 4 / 3; 
  overflow: hidden;
}

.split .figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-course-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:60px;
  align-items:center;
}

.hero-course-image{
  display:flex;
  justify-content:center;
}

.hero-course-image img{
  width:360px;
  height:360px;
  object-fit:cover;
  border-radius:50%;
  box-shadow:0 20px 60px rgba(0,0,0,.12);
}

@media (max-width: 900px){
  .hero-course-inner{
    grid-template-columns:1fr;
  }

  .hero-course-image{
    margin-top:30px;
  }

  .hero-course-image img{
    width:260px;
    height:260px;
  }
}