/* Der Hundesalon – eigene Styles zu Bootstrap 5.3 (Design wie bisher) */

/* Schriften lokal (DSGVO) */
@font-face{font-family:'Leckerli One';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/leckerli-one-v16-latin-regular.woff2') format('woff2'),url('../fonts/leckerli-one-v16-latin-regular.woff') format('woff');}
@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;
  src:url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'),url('../fonts/roboto-v30-latin-regular.woff') format('woff');}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/open-sans-latin-400-normal.woff2') format('woff2'),url('../fonts/open-sans-latin-400-normal.woff') format('woff');}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/open-sans-latin-700-normal.woff2') format('woff2'),url('../fonts/open-sans-latin-700-normal.woff') format('woff');}

/* Roboto Light (wie bisher auf den Datenschutzseiten) */
@font-face{font-family:'Roboto Light';font-style:normal;font-weight:300;font-display:swap;
  src:url('../fonts/roboto-latin-300-normal.woff2') format('woff2'),url('../fonts/roboto-latin-300-normal.woff') format('woff');}
body.page-ds,.page-ds .datenschutz h3{font-family:'Roboto Light',Roboto,'Open Sans',sans-serif;}

/* Farben */
:root{
  --hs-text:#3e3e3e; --hs-accent:#aa646e; --hs-hover:#8c8c1e;
  --hs-grad-a:#fff; --hs-grad-b:#e9e9e9;
  /* Hero-Verlauf unten (Index: Rosa) */
  --hs-hero-fade:#be7882;
  /* Menü-Abdunkelung von oben (Stärke steuerbar) */
  --hs-nav-shade:rgba(0,0,0,.45);
}

/* Bootstrap-5-Abweichungen an das bisherige Raster (BS 4) angleichen */
.container{--bs-gutter-x:30px;}
/* Spalten ohne Innenabstand, Zeilen mit -15px (wie im angepassten Bootstrap 4) */
.row{--bs-gutter-x:0;margin-left:-15px;margin-right:-15px;}
@media (min-width:1400px){.container{max-width:1140px;}}
/* Kopfbereich: Karussell bündig zur Containerkante (wie bisher) */
.hero-col{position:relative;}

body{
  background:linear-gradient(-45deg,var(--hs-grad-a),var(--hs-grad-b));
  color:var(--hs-text); font-family:Roboto,'Open Sans',sans-serif; font-size:14px; line-height:20px;
}
a{color:var(--hs-text);text-decoration:none;}
a:hover{color:var(--hs-hover);}

h1,h2,h3,.navbar-brand{font-family:'Leckerli One',cursive;color:var(--hs-accent);}
h1{font-size:20px;color:#fff;margin:0;line-height:1.2;}
h2{font-size:18px;}

.grad1{background:linear-gradient(45deg,var(--hs-grad-a),var(--hs-grad-b));}
.grad2{background:linear-gradient(-45deg,var(--hs-grad-a),var(--hs-grad-b));}

/* Navigation über dem Karussell */
/* Navbar ist absolute (nicht fixed/sticky) – scrollt mit dem Header weg, keine Extra-Scroll-Farbe */
.navuwe{
  position:absolute;top:0;right:0;left:0;z-index:1030;
  background:transparent; /* Abdunkelung liegt in .hero-col::before (eine Schicht, dezent) */
}
.navbar-dark .navbar-nav .nav-link{color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:1px;}
/* Zusätzlicher weicher Verlauf über dem Kopfbild (hinter der Navbar, z-index unter Nav) */
.hero-col::before{
  content:"";position:absolute;left:0;right:0;top:0;z-index:2;pointer-events:none;
  height:clamp(5.5rem, 32%, 11rem);
  background:linear-gradient(to bottom, var(--hs-nav-shade) 0%, rgba(0,0,0,0) 100%);
}
/* Aufgeklapptes Handy-Menü (nur < md): ~halbe Viewport-Höhe, Seitenfarbe, weiße Schrift */
@media (max-width:767.98px){
  .navuwe .navbar-collapse.show{
    background:var(--hs-hero-fade); /* Plauen #be7882 / Regensburg #a5a89d */
    min-height:50vh;
    margin-top:.35rem;
    padding:.5rem .75rem .75rem;
    border-radius:0 0 .35rem .35rem;
  }
  .navuwe .navbar-collapse.show .navbar-nav{
    min-height:calc(50vh - 1.25rem);
    display:flex;
    flex-direction:column;
    justify-content:space-evenly;
    gap:.35rem;
  }
  .navuwe .navbar-collapse.show .nav-item{width:100%;}
  .navuwe .navbar-collapse.show .nav-link{
    color:#fff!important;
    font-size:1.25rem;
    line-height:1.4;
    letter-spacing:.06em;
    text-transform:uppercase;
    min-height:44px;
    display:flex;
    align-items:center;
    padding:.85rem .5rem;
  }
  .navuwe .navbar-collapse.show .nav-link:hover,
  .navuwe .navbar-collapse.show .nav-link:focus,
  .navuwe .navbar-collapse.show .nav-link.active,
  .navuwe .navbar-collapse.show .nav-link:active{
    color:rgba(255,255,255,.92)!important;
    text-decoration:underline;
    text-underline-offset:.2em;
  }
}

/* Karussell */
/* Headerbilder proportional: HTML width/height bleiben für Aspect-Ratio/CLS,
   aber height:auto verhindert die feste 750px-Höhe (sonst Stauchung bei w-100). */
.carousel-item picture{display:block;width:100%;}
.carousel-item img{
  display:block;width:100%;height:auto;max-width:100%;
  object-fit:contain; /* kein Strecken; volle Breite, Höhe folgt Seitenverhältnis 1113/750 */
}
.carousel h2{color:#fff;font-size:18px;}
.carousel .telefon{font-family:'Open Sans',sans-serif;font-weight:bold;font-size:14px;}
.carousel-item{position:relative;}
/* Verlauf per CSS (nicht mehr im JPEG); Farbe über --hs-hero-fade */
.carousel-item::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,
    var(--hs-hero-fade) 0%,
    color-mix(in srgb, var(--hs-hero-fade) 85%, transparent) 25%,
    transparent 55%);
}
.carousel-caption{right:10%;bottom:0;left:10%;z-index:10;padding:20px 0;color:#fff;text-align:center;
  text-shadow:0 1px 2px rgba(0,0,0,.35);}
.carousel-caption p{display:none;font-size:14px;}
.carousel-caption a{color:#fff;}
.carousel-caption a:hover{color:orangered;}
.carousel-control-prev,.carousel-control-next{z-index:11;}

/* Datenschutz */
.datenschutz h3{color:var(--hs-text);font-family:Roboto,'Open Sans',sans-serif;font-size:12px;
  text-transform:uppercase;letter-spacing:2px;font-weight:bold;margin:36px 0 24px;}
.datenschutz dt{margin:24px 0 12px;}

/* Lade-Animation */
.page-loader{position:fixed;inset:0;background:#fff;z-index:9998;transition:opacity .6s .35s;}
.page-loader.done{opacity:0;pointer-events:none;}
.loader{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;
  border:2px solid rgba(255,255,255,.2);border-left-color:#fff;text-indent:-9999em;z-index:9999;
  animation:load .8s infinite linear;}
@keyframes load{to{transform:rotate(360deg);}}

/* Nach-oben-Knopf */
.scroll-up{position:fixed;bottom:7px;right:7px;z-index:999;opacity:0;visibility:hidden;transition:opacity .4s,visibility .4s;}
.scroll-up.show{opacity:1;visibility:visible;}
.scroll-up a{display:block;width:28px;height:28px;line-height:28px;text-align:center;
  background:var(--hs-accent);opacity:.6;border-radius:2px;}
.scroll-up a:hover,.scroll-up a:focus{opacity:1;}

/* Cookie-Hinweis (Bootstrap Cookie Alert, MIT, Wruczek) */
.cookiealert{position:fixed;bottom:0;left:0;width:100%;margin:0!important;z-index:999;opacity:0;border-radius:0;
  padding:.75rem 1.25rem;transform:translateY(100%);transition:all .5s ease-out;
  background:linear-gradient(30deg,#fff,rgba(200,200,200,.8));}
.cookiealert.show{opacity:1;transform:translateY(0);transition-delay:1s;}
.cookiealert a{text-decoration:underline;}
.cookiealert .acceptcookies{margin-left:10px;vertical-align:baseline;background:var(--hs-accent);border-color:var(--hs-accent);}
.btn-primary:hover,.btn-primary:active{color:#fff;background-color:var(--hs-hover);border-color:var(--hs-hover);}

@media (min-width:576px){
  .carousel h2{font-size:20px;}
  .carousel-caption p{display:inline;}
  .carousel .telefon{font-size:18px;}
}
@media (min-width:768px){
  body{font-size:16px;line-height:24px;padding:24px 0;}
  h1{font-size:24px;}
  h2{font-size:24px;}
  .carousel h2{font-size:28px;}
  .carousel .telefon{font-size:20px;}
}
@media (min-width:992px){
  h2{font-size:30px;}
  .carousel-caption{margin-bottom:50px;}
  .carousel h2{font-size:36px;}
  .carousel .telefon{font-size:30px;}
}
@media (min-width:1200px){
  .carousel-caption{margin-bottom:40px;}
  .carousel h2{font-size:44px;line-height:60px;margin-bottom:12px;}
  .carousel .telefon{font-size:36px;}
}
@media (prefers-reduced-motion:reduce){.loader{animation:none;}}

/* Karussell-Pfeile wie bisher (Bootstrap-4-Symbol) */
.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");}
.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");}
.carousel-control-prev-icon,.carousel-control-next-icon{width:20px;height:20px;}
