
html {
  font-size: 100%;
}
    body {
      margin: 0;
     font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #222;
      background-color: #fdfdfd;
      color: #333;
   -webkit-font-smoothing: antialiased; /* Chrome, Safari */
  -moz-osx-font-smoothing: grayscale;  /* Firefox macOS */
  text-rendering: optimizeLegibility;
    }

    header img {
      width: 100%;
      height: auto;
      display: block;
    }
    /* Überschriften emotionaler und weicher */
h1, h2, h3 {
    font-family: 'Dancing Script', cursive;
    color: #444;
    margin-bottom: 0.5em;
}

 /* Basis */
.navbar {
  background-color: #fa825d;
  display: flex;
  flex-wrap: wrap;
  position: sticky;
  justify-content: center;
  top: 0;
  z-index: 1000;
    box-shadow: 0px 2px 10px rgb(65, 0, 0);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.brand {
  font-size: 20px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Burger Button */
.burger {
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
  display: none; /* sichtbar nur auf kleinen Screens */
}

/* Links */
.nav-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 17px;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-links a:hover {
  background-color: #fc4705;
  border-radius: 5px;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    background-color: #ff6a3a;
    margin: 2px 0;
    text-align: center;
    font-size: 18px;
  
}

}


    .container {
      padding: 20px;
      max-width: 1000px;
      margin: auto;
      background: white;
     margin-bottom: 20px;
      border-radius: 8px;
      
     
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    

    h1, h2, h3 {
      font-family: "Roboto", sans-serif;
    }
    hr { 
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
  width:80%;
  border-color: red;
} 

    .intro p, .contact p {
      font-size: 1.1em;
      line-height: 1.6;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.95;
}
.card {
      background-color: #f8eadf;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      overflow: hidden;
      padding: 10px ;
    }


    .card img:hover {
      transform: scale(1.1);
      opacity: 0.85;
      box-shadow: 0 0 2px 2px #ff7f50d0;
    }

    .card-content {
      padding: 10px;
      text-align: center;
    }

    .card-content button {
      background-color: #ff7f50;
      border: none;
      padding: 10px 15px;
      color: white;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1em;
    }

    .card-content button a {
      color: white;
      text-decoration: none;
    }

    .card-content button:hover {
      background-color: #ff5722;
    }


    form input, form textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-family: inherit;
    }

    form button {
      background-color: #4CAF50;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
    }

    footer {
      text-align: center;
      padding: 20px;
      font-size: 0.9em;
      background-color: #fa825d;
      margin-top: 40px;
    }

    /* Lightbox Modal */
   
   
  .txt::first-letter { color: #ff6a3a;
  font-size: 20px;
  text-transform:uppercase;
  font-weight: bold;
  
  }
  .fsize { font-size: larger;
      }

    .help { display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      text-align: center;
      border-style: solid;border-radius:20px;border-color: #ddd;
      margin:20px;
      
    }
    .animated-box {
      opacity: 0;
      transform: translateX(100px);
      transition: transform 1s ease, opacity 1s ease;
    }

    .animated-box.left {
  transform: translateX(-100%);
}
.animated-box.right {
  transform: translateX(100%);
}
 .animated-box.visible {
      opacity: 1;
      transform: translateX(0);
    }
.main-content {
  flex: 2;
  min-width: 300px;
}  


/* Kommentar-Boxen */
.kommentar-box {
  margin-bottom: 15px;
  padding: 10px;
  background: #f7f9fa;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.95em;
}

/* Toggle-Button */
#toggle-comments {
  position: fixed;
  top: 100px;
  right: 0;
  background: #444;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1.2em;
  cursor: pointer;
  z-index: 1000;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

/* Auf Mobilgeräten verstecken
@media (max-width: 768px) {
  .sidebar,
  #toggle-comments {
    display: none;
  }
} */
 /* Neues Modal für Notfälle */
.emergency-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.emergency-content {
  background: white;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  border-radius: 8px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}
    button {
      padding: 10px 20px;
      background: chocolate;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

.emergency-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #999;
}

.emergency-close-btn:hover {
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.emergency-content {
  background: white;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;       /* Maximale Höhe des Modals relativ zum Viewport */
  overflow-y: auto;       /* Scrollbar bei Überlauf */
  border-radius: 8px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}
.card1 {
      background-color: #d4d4d3;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      overflow: hidden;
      padding: 10px ;
      
    }
        .card1 img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 5px;
      cursor: pointer;
      transition: transform 0.4s ease, opacity 0.4s ease;
    }
    .card1 img:hover {
      transform: scale(1.0);
      opacity: 0.85;
      box-shadow: 0 0 2px 2px #ff7f50d0;
    }
    header {
      position: relative;
      width: 100%;
      height: 800px;
      overflow:hidden;
    }

    .slider {
      position: absolute;
      width: 100%;
      height: 100%;
    }

    .slider img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1.2s ease-in-out;
    }

    .slider img.active {
      opacity: 1;
    }
        /* Optional: glatter Übergang auch bei Größe ändern */
    @media (max-width: 600px) {
      header {
        aspect-ratio: 4 / 3;
      }
 }
    .site-title {
      position: absolute;
      top: 30px;
      left: 35%;
      transform: translateX(-50%);
      color: white;
      font-size: 3.0em;
      font-weight: bold;
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
      z-index: 10;
    }
   .translate-box {
  position: absolute;
  top: 5px;
  right: 0px;
  z-index: 11;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 6px 5px;
  border-radius: 5px;
  font-size: 0.575em;}

  .pawprint {
      position: absolute;
      width: 40px;
      height: 40px;
      background-image: url('herz.png'); /* dein Bild hier */
      background-size: contain;
      background-repeat: no-repeat;
      opacity: 0;
      pointer-events: none;
      z-index: 1000;
      animation: pawMoveUp var(--duration, 6s) ease-in-out forwards;
    }

    @keyframes pawMoveUp {
      0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
      }
      10% {
        opacity: 1;
      }
      80% {
        transform: translateY(var(--moveY)) scale(1.5);
        opacity: 1;
      }
      100% {
        transform: translateY(var(--moveY)) scale(1.8);
        opacity: 0;
      }
    }
  /* Modal Style */
/* Bild-Modal 
    .modal {
      display: none;
      position: fixed;
      z-index: 11000;
      left: 0; top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.85);
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    .modal img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 12px;
      box-shadow: 0 0 20px #000;
      transition: transform 0.3s ease;
    }
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  height: auto;
  width: auto;
  object-fit: contain; 
  transition: opacity 0.3s ease;
}
    .close-btn {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 36px;
      color: #fff;
      cursor: pointer;
      font-weight: bold;
      transition: color 0.2s;
    }

    .close-btn:hover {
      color: #ccc;
    }

    .blog-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.85);
      z-index: 10000;
      justify-content: center;
      align-items: flex-start;
      overflow-y: auto;
    }

    .blog-modal-content {
      background: #fff;
      color: #000;
      margin: 5% auto;
      padding: 2em;
      max-width: 800px;
      border-radius: 12px;
      position: relative;
    }

    .blog-modal .close-btn {
      position: absolute;
      right: 1em;
      top: 1em;
      font-size: 24px;
      cursor: pointer;
      color: #333;
    }

    .spinner-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(255, 255, 255, 0.7);
      z-index: 12000;
      justify-content: center;
      align-items: center;
    }

    .spinner-dog {
      width: 100px;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }

    .blog-thumb:hover {
      transform: scale(1.05);
    }
   
.fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fade.visible {
  opacity: 1;
}*/