
:root {
  --hero-min: 60vh;
  --brand-orange: #f57c00; /* Pfoten-Orange */
}

/* Navbar tweaks */
.navbar-brand img { max-height: 36px; height: auto; }
.navbar .dropdown-menu { min-width: 16rem; }
.navbar .nav-link {
  position: relative;
}
.navbar .nav-link::after {
  content:"";
  position:absolute;
  left:0; bottom:-4px;
  height:2px; width:0;
  background: currentColor;
  transition: width .25s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width:100%; }

/* Schatten, wenn gescrollt */
.navbar.shadow-sm { transition: box-shadow .2s ease; }

/* HERO video layout (no stretching) */
.hero-video {
  min-height: var(--hero-min);
  position: relative;
  overflow: hidden;
}

/* keep a safe aspect ratio on very short viewports */
@media (max-height: 540px) {
  .hero-video { min-height: 70vh; }
}

/* video layer sits behind content and keeps aspect ratio */
.video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #222;
}
.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* preserves aspect ratio, no horizontal stretching */
}

/* Overlay content */
.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: var(--hero-min);
  backdrop-filter: saturate(110%) contrast(105%) brightness(100%);
  padding: 4rem 1rem;
  background: transparent;
  background: linear-gradient(to bottom, rgba(0,0,0,.20), rgba(0,0,0,0));
  padding: 3rem 1rem;
}

/* Buttons spacing on small screens */
@media (max-width: 576px) {
  .hero-overlay .btn { display: block; margin: .4rem auto; width: 90%; max-width: 22rem; }
}

/* General */
body { scroll-behavior: smooth; }

/* Orangener Button */
.btn-orange {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}
.btn-orange:hover,
.btn-orange:focus {
  background-color: #e46f00;
  border-color: #e46f00;
  color: #fff;
}
.badge-orange{ background:var(--brand-orange); color:#fff; }

/* Kachel-Grid */
.kachel-grid .card {
  transition: transform .18s ease, box-shadow .18s ease;
  border-radius: 1rem;
  overflow: hidden;
}
.kachel-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.12);
}
.kachel-grid .card-img-top {
  aspect-ratio: 16 / 9;     /* saubere, einheitliche Bildhöhe */
  object-fit: cover;
}
.kachel-grid .card-body {
  display: flex; flex-direction: column;
}
.kachel-grid .card .btn {
  margin-top: auto;         /* CTA immer unten ausrichten */
}

/* Abstände für Container */
.kachel-section, .container.kachel-grid { padding: 0 1rem; }

/* (Optional) Masonry-Anmutung via CSS Columns */
@media (min-width: 1200px) {
  .masonry-cols {
    column-count: 3;
    column-gap: 1.25rem;
  }
  .masonry-cols .masonry-item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.15);
  background: #222;
  color: #fff;
}
.site-footer a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}
.site-footer a:hover { color:#fff; }

/*Balken über und unter dem Video*/
.video-bar {
  width: 100%;
  height: 10px; /* Höhe des Balkens, nach Wunsch anpassen */
}

.blue-bar {
  background-color: #007BFF; /* Bootstrap Blau oder eigenes Blau */
}

.yellow-bar {
  background-color: #FFD700; /* Gelb (Gold), kannst du anpassen */
}

.fixed-element {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999; /* bleibt über allem */
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px;              /* unten links */
  z-index: 10000;

  display: inline-flex;    /* macht die Fläche sichtbar */
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;     /* WhatsApp-Grün */
  color: #fff;             /* Icon wird weiß (currentColor) */
  text-decoration: none;

  font-size: 28px;         /* Größe des Font-Awesome Icons */
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.whatsapp-button:hover { background: #1EBE57; transform: translateY(-2px); }
.whatsapp-button:active { transform: translateY(0); }
.whatsapp-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(37,211,102,.45), 0 8px 24px rgba(0,0,0,.2);
}



/* video drehen */
.rotate-90 {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: auto; height: 150%;   /* füllt trotz Rotation */
  object-fit: cover;
}
