/* =========================================================
   GLOBAL VARIABLES + BASE
   (from home css)
   ========================================================= */
:root{
  --beige: #dbeafe; /* Changed to soft blue */
  --hero-overlay: rgba(43, 58, 72, 0.55);
  --pill-border: rgba(0,0,0,.35);
  --cta: #fffffe;
  --blue-light: #dbeafe;
  --blue-accent: #60a5fa;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar .nav-link{
  color: #111;
}

.navbar .nav-link:hover{
  text-decoration: underline;
}

/* =========================================================
   HERO SECTIONS
   ========================================================= */

.hero{
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

/* Slideshow backgrounds */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slideshow 21s infinite;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
}

.hero-slide:nth-child(1) {
  background-image: url("/Images/rautispitz.jpg");
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  background-image: url("/Images/wiggis.jpg");
  animation-delay: 7s;
}

.hero-slide:nth-child(3) {
  background-image: url("/Images/web-rzst-klöntalersee-02.jpg");
  animation-delay: 14s;
}

@keyframes slideshow {
  0% { opacity: 0; }
  4.76% { opacity: 1; }
  33.33% { opacity: 1; }
  38.09% { opacity: 0; }
  100% { opacity: 0; }
}

.hero .container {
  position: relative;
  z-index: 1;
}


/* Small hero (used on Kurse + Autos) */
.hero--small{
  min-height: 260px;
  background:
    linear-gradient(rgba(43,58,72,.55), rgba(43,58,72,.55)),
    url("/Images/Background.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* =========================================================
   BUTTONS / CTA
   ========================================================= */
.btn-cta{
  background: var(--cta);
  border: 1px solid rgba(0,0,0,.2);
}

.btn-cta:hover{
  filter: brightness(0.97);
}

/* =========================================================
   HOME: FEATURES STRIP
   ========================================================= */
.features-strip{
  background: var(--beige);
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.feature-pill{
  background: #fff;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
  letter-spacing: .2px;

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

  width: 100%;
  min-height: 74px;
  padding: 14px 12px;
  font-weight: 600;
  line-height: 1.2;
}


.photo-card{
  display: flex;
  justify-content: center;
}

/* =========================================================
   KURSE: COURSE CARDS / BADGES / PRICE / FORM
   ========================================================= */
.course-card{
  background: #dbeafe;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 26px;
  padding: 22px;
}

.course-card ul{
  margin: 0;
  padding-left: 18px;
}

.badge-wrap{
  display: flex;
  justify-content: center;
}

.course-badge{
  background: #60a5fa;
  color: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
}

.price-box{
  background: rgba(219, 234, 254, 0.75);
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 14px;
  padding: 18px;
}

.course-form{
  background: #dbeafe;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 46px;
  width: 300px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
}

.course-form .form-control,
.course-form .form-select{
  border-radius: 10px;
}

.form-hint{
  font-size: 13px;
  color: rgba(0,0,0,.65);
  text-align: center;
  margin-bottom: 0;
}

.form-hint a{
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.form-hint a:hover{
  text-decoration: underline;
}


/* =========================================================
   AUTOS: CAR CARDS / BADGES / SPECS
   ========================================================= */
.car-card{
  position: relative;
  background: rgba(219, 234, 254, 0.95);
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 26px;
  padding: 22px;
}

.car-badge{
  position: absolute;
  top: 14px;
  left: 14px;
  background: #60a5fa;
  color: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
}

.spec{
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 10px 12px;
}

.spec__label{
  font-size: 12px;
  color: rgba(0,0,0,.55);
}

.spec__value{
  font-weight: 700;
}
