/* ===== RESET ===== */
*{margin:0;padding:0;box-sizing:border-box;}
html,body{height:100%;}
body{
  font-family: Arial, Helvetica, sans-serif;
  background:#f6f2ee;
  color:#222;
}

/* ===== VARS ===== */
:root{
  --max:1100px;
  --card:#ffffff;
  --muted: rgba(0,0,0,.68);
  --shadow: 0 18px 44px rgba(0,0,0,.10);
  --radius:24px;
}

/* ===== MENU (fixed over hero) ===== */
.menu{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 2000;
  background: rgba(246,242,238,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.menu .menu-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.logo{
  font-weight:700;
  letter-spacing: 4px;
  font-size: 12px;
}
.menu ul{
  list-style:none;
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.menu a{
  text-decoration:none;
  color:#222;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
}
.menu a:hover{ background: rgba(0,0,0,.06); }

/* ===== SECTIONS ===== */
.section{
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 20px 90px; /* 90px because fixed menu */
}
.section h2{
  font-size: 36px;
  letter-spacing: 3px;
  margin: 12px 0 24px;
}

/* ===== BUTTONS ===== */
.btn{
  display:inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background:#222;
  color:#fff;
  text-decoration:none;
  font-size: 13px;
  border: 1px solid #222;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover{ transform: translateY(-1px); opacity:.95; }
.btn.small{ padding: 10px 18px; }
.btn.ghost{
  background: transparent;
  color:#222;
  border: 1px solid rgba(0,0,0,.20);
}

/* ===== REVEAL (safe: no white screen) ===== */
.reveal{ opacity:1; transform:none; }
.js .reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.js .reveal.show{ opacity:1; transform:none; }

/* ===== HERO FULLSCREEN SLIDER ===== */
.hero{
  height: 100vh;
  position: relative;
  overflow: hidden;
  background:#000;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.10) 100%);
  pointer-events:none;
}
.hero-slides{
  position:absolute; inset:0;
}
.hero-slide{
  position:absolute; inset:0;
  opacity:0;
  transition: opacity 900ms ease;
}
.hero-slide.active{ opacity:1; }
.hero-slide img{
  width:100%;
  height:100%;
  object-fit: cover; /* full screen */
  display:block;
}

/* hero content overlay */
.hero-content{
  position: relative;
  z-index: 5;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display:flex;
  align-items:center;
}
.hero-box{
  max-width: 560px;
  color:#fff;
}
.hero-kicker{
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 14px;
}
.hero-title{
  font-size: 64px;
  letter-spacing: 8px;
  line-height: 1.02;
  margin-bottom: 10px;
}
.hero-subtitle{
  opacity:.9;
  margin-bottom: 14px;
}
.hero-text{
  opacity:.92;
  line-height: 1.7;
  margin-bottom: 18px;
}
.hero-actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-badges{ display:flex; gap: 10px; flex-wrap: wrap; }
.badge{
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12px;
  opacity:.95;
}
/* hero arrows + dots */
.hero-nav{
  position:absolute;
  left:0; right:0; bottom: 24px;
  z-index: 6;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 12px;
  padding: 0 20px;
}
.hero-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,.82);
  font-size: 26px;
  line-height: 44px;
}
.hero-btn:hover{ background: rgba(255,255,255,.94); }
.hero-dots{ display:flex; gap: 8px; }
.hero-dot{
  width: 9px; height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.25);
cursor:pointer;
}
.hero-dot.active{ background: rgba(255,255,255,.92); }

/* ===== QUICK CARDS ===== */
.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  text-decoration:none;
  color: inherit;
}
.card h3{ margin-bottom: 8px; }
.card p{ color: var(--muted); line-height: 1.6; }

/* ===== LEISTUNGEN (wide photo, NOT square) ===== */
.service-card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin: 22px 0;
  overflow:hidden;
}
.service-media{
  width:100%;
  height: 380px;            /* wide rectangle */
  border-radius: 22px;
  overflow:hidden;
  background:#efefef;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 16px;
}
.service-media img{
  width:100%;
  height:100%;
  object-fit: contain;      /* NO zoom / NO crop */
  display:block;
}
.service-content h3{ font-size: 20px; margin-bottom: 10px; }
.service-content p{ color: var(--muted); line-height: 1.75; margin-bottom: 14px; }

/* ===== ÜBER MICH ===== */
.about-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.about-photo{
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  padding: 16px;
}

.about-photo img{
  width:100%;
  height: 520px;
  object-fit: contain; /* важно: PNG без фона выглядит как силуэт, без обрезки */
  display:block;
}

.about-text{
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.about-text h3{
  margin-bottom: 12px;
}

.about-text p{
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.about-points{
  margin-top: 10px;
  display:grid;
  gap: 8px;
}

.about-point{
  color: var(--muted);
  line-height: 1.6;
}

/* ===== CERTS ===== */
.certs-block{
  margin-top: 26px;
}

.certs-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.cert-card{
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:block;
}

.cert-card img{
  width:100%;
  height: 360px;
  object-fit: contain;
  display:block;
  background: #f3f3f3;
}

/* responsive */
@media (max-width: 980px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-photo img{ height: 420px; }
  .certs-grid{ grid-template-columns: 1fr; }
  .cert-card img{ height: 340px; }
}

/* ===== SCHULUNGEN ===== */
.course-wrap{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: start;
}
.course-nav, .course-box{
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.hr{
  height: 3px;
  background: rgba(0,0,0,.18);
  border-radius: 999px;
  margin: 14px 0;
}
.course-box .meta{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: var(--muted);
}
.course-box ul{
  margin: 10px 0 12px 18px;
  color: var(--muted);
  line-height: 1.9;
}
.course-actions{
  margin-top: 14px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== KONTAKT ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card{
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.contact-card p{ color: var(--muted); line-height: 1.85; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .hero-title{ font-size: 48px; letter-spacing: 6px; }
  .cards3{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-photo img{ height: 420px; }
  .course-wrap{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .service-media{ height: 300px; }
}
@media (max-width: 520px){
  .hero-title{ font-size: 40px; letter-spacing: 4px; }
  .service-media{ height: 240px; }
}
.meta-label{
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 12px;
  opacity: .9;
}
.course-box{ margin-bottom: 18px; } /* чтобы не наезжали */
.about-certificates{
  margin-top: 32px;
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.about-certificates h3{
  margin-bottom: 18px;
}

.cert-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cert-grid img{
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
  transition: transform .3s ease;
}

.cert-grid img:hover{
  transform: scale(1.03);
}

@media (max-width: 680px){
  .cert-grid{
    grid-template-columns: 1fr;
  }
}
.about-certificates{
  margin-top: 32px;
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.about-certificates h3{
  margin-bottom: 18px;
}

.cert-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cert-grid img{
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
  background: #f3f3f3;
}

@media (max-width: 680px){
  .cert-grid{
    grid-template-columns: 1fr;
  }
}