 .blog-form, .blog-list {
      max-width: 1100px;
      margin: 2em auto;
      padding: 1em;
      background: #fdfdfd;
    }
    .blog-list {
      border-radius: 6px;
      border: 1px solid #aaa;
    }
    textarea, input[type="text"] {
      width: 100%;
      margin-top: 0.5em;
      padding: 0.5em;
      border-radius: 6px;
      border: 1px solid #aaa;
    }
    button {
      margin-top: 1em;
      padding: 0.6em 1em;
      border: none;
      border-radius: 6px;
      background: #ff6a3a;
      color: white;
    }
    .blog-entry {
      border-top: 1px solid #ccc;
      padding: 1em 0;
    }
    .actions a {
      margin-right: 1em;
      text-decoration: none;
      color: #cc0000;
    }
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    .card {
      background-color: #f8eadf;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      overflow: hidden;
      padding: 10px;
    }
    .card img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 5px;
      cursor: pointer;
      transition: transform 0.4s ease, opacity 0.4s ease;
    }
    .card img:hover {
      transform: scale(1.1);
      opacity: 0.85;
      box-shadow: 0 0 2px 2px #ff7f50d0;
    }

    .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);
    }

    .txt::first-letter {
      color: #ff6a3a;
      font-size: 20px;
      text-transform: uppercase;
      font-weight: bold;
    }

    /* Bild-Modal */
    .img-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;
    }

    .img-modal img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 12px;
      box-shadow: 0 0 20px #000;
      transition: transform 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);
    }
    /* Für weiches Ein-/Ausblenden */
.fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fade.visible {
  opacity: 1;
}

/* Modalbild mit Fade-In */
#modalImg {
  opacity: 0;
  transition: opacity 0.5s ease;
}
