/* Bild-Container */
.post .image-left {
  transform: translateX(15px);
}
.post .image-right {
  transform: translateX(-12px);
}
/* Cookie-Overlay */
#cookie-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.4);
  z-index:9998;
  pointer-events: none;
}
#cookie-banner, #newsletter-popup {
  z-index: 9999;
}
/* Cookie-Banner */
#cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 90%;
  max-width: 400px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  border-radius: 8px;
  text-align: center;
  font-family: sans-serif;
}
#cookie-banner p {
  margin: 0 0 1rem 0;
}
#cookie-banner button {
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border-radius: 6px;
}
#cookie-banner .accept {
  background: #28a745;
  color: #fff;
}
#cookie-banner .decline {
  background: #6c757d;
  color: #fff;
}
#cookie-banner.hidden, #cookie-overlay.hidden {
  display: none;
} 

.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 22px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
input:checked + .slider {
  background-color: #3b7d3b;
}
input:focus + .slider {
  box-shadow: 0 0 1px #3b7d3b;
}
input:checked + .slider:before {
  transform: translateX(16px);
}
.slider.round {
  border-radius: 22px;
}

/* --- Responsive Grid für Landingpage --- */
body {
  font-family: 'Nunito', Arial, sans-serif;
  background: #f7faf5;
  color: #2d3a22;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow-x: hidden;
}
header {
  background: #eaf3e2;
  text-align: center;
  padding: 2.5rem 1rem 0.2rem 1rem;
  margin-bottom: 1.5rem;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  background: #eaf3e2;
  padding: 1.2rem 0 0.7rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 1px solid #d2e6c7;
}

.navbar a, .navbar button {
  color: #3b7d3b;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  padding: 0.2rem 0.7rem;
  border-radius: 8px;
  transition: background 0.15s;
}

.navbar a:hover, .navbar button:hover {
  background: #d2e6c7;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 540px) 1fr;
  gap: 6.2rem 1.2rem;
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
  align-items: start;
}
.side-imgs {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.side-imgs.left { grid-column: 1; justify-self: center; }
.content { grid-column: 2; }
.side-imgs.right { grid-column: 3; justify-self: center; }

.side-imgs img {
  width: 140px;
  max-width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 0;
  background: none;
  display: block;
  margin: 0 auto;
  box-shadow: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}
.cover-img {
  width: 180px;
  max-width: 100%;
  box-shadow: 0 8px 24px rgba(60,80,40,0.18);
  border-radius: 12px;
}
.titelbild {
  max-width: 400px;
  width: 90%;
  margin: 0 auto 2rem auto;
  display: block;
  height: auto;
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
}

.titelbild-deutsch {
  max-width: 330px;
  width: 90%;
  margin: 0 auto 2rem auto;
  display: block;
  height: auto;
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
}

.language-content {
  padding: 2rem 0;
  display: none;
}

.language-content.active {
  display: block;
}
.shadowed {
  filter: drop-shadow(0 12px 36px rgba(60,80,40,0.38));
}
.cover-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2rem;
}
.content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(60,80,40,0.08);
  padding: 2rem 2rem 1.2rem 2rem;
  margin: 2rem 0;
  min-width: 0;
  max-width: 950px;
}
.content h2 {
  color: #3b7d3b;
  font-size: 1.3rem;
  margin-top: 0;
}

.newsletter-btn-blue {
  background: linear-gradient(180deg,#d6f5d6 0%,#aee9ae 100%);
  color: #267326;
  border-radius: 20px;
  padding: 0.5em 1.1em;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Nunito', Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border: none;
  transition: background 0.18s, box-shadow 0.18s;
  min-width: 180px;
  max-width: 320px;
  text-align: center;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 0;
}
.newsletter-btn-blue:hover {
  background: linear-gradient(180deg,#b6e6b6 0%,#7fd87f 100%);
  color: #226622;
}
@media (max-width: 600px) {
  .newsletter-btn-blue {
    width: 98vw;
    min-width: 0;
    max-width: 99vw;
    font-size: 1rem;
    padding: 0.7em 0.2em;
    box-sizing: border-box;
    margin-left: 1vw;
    margin-right: 1vw;
  }
}

@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .side-imgs.left, .side-imgs.right {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin: 1.2rem 0 0 0;
    grid-column: 1;
  }
  .content { grid-column: 1; }
  .side-imgs.right { margin-bottom: 1.2rem; }
}
@media (max-width: 600px) {
  body {
    background: #f7faf5;
    min-width: 0;
    overflow-x: hidden;
  }
  header, footer {
    background: #eaf3e2;
  }
  .main-grid {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    max-width: 100vw;
    padding: 0 0.2rem;
  }
  .side-imgs {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin: 1.2rem 0 0 0;
  }
  .side-imgs img { width: 80px; height: 80px; }
  .cover-img { width: 90px; }
  .titelbild { max-width: 280px; }
  .titelbild-deutsch { max-width: 230px; }
  .language-content { padding: 1.5rem 0; }
  .content { padding: 1rem 0.5rem; }
  .cover-row { gap: 0.5rem; }
  .side-imgs {
    gap: 3.5rem;
  }
}
/* --- Ende Grid --- */ 

.button-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1.1rem;
}
@media (max-width: 600px) {
  .cover-row {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }
  .button-col {
    align-items: center;
    width: 100%;
    gap: 0.9rem;
  }
} 

.button-col-equal {
  align-items: flex-start;
}
.button-equal {
  width: 100%;
  min-width: 180px;
  max-width: 320px;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

.footer-flex {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem 0;
}
.footer-left {
  font-size: 1.05rem;
  color: #3b2c13;
  line-height: 1.7;
  margin-left: 0;
  margin-top: 0;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.3rem;
  gap: 0.5rem;
}
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  justify-content: center;
  width: 100%;
}
.footer-links a {
  color: #3b7d3b;
  text-decoration: underline;
  font-size: 1.05rem;
}
.footer-logo {
  height: 110px;
  margin-top: 0.5rem;
  margin-bottom: -10px;
}
@media (max-width: 600px) {
  .button-equal {
    min-width: 0;
    max-width: 99vw;
    width: 98vw;
    font-size: 1rem;
    padding: 0.7em 0.2em;
    box-sizing: border-box;
    margin-left: 1vw;
    margin-right: 1vw;
  }
  .footer-flex {
    padding: 0 0.5rem;
  }
  .footer-logo {
    height: 70px;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
} 

.footer-flex-row {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem 0;
}
.footer-left {
  font-size: 1.05rem;
  color: #3b2c13;
  line-height: 1.7;
  margin-left: 0;
  margin-top: 0;
}
.footer-links-right {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  justify-content: flex-end;
  align-items: flex-start;
  width: auto;
  margin-top: 0.2rem;
}
.footer-links-right a {
  color: #3b7d3b;
  text-decoration: underline;
  font-size: 1.05rem;
}
.footer-logo {
  height: 110px;
  margin-top: 0.5rem;
  margin-bottom: -10px;
}
@media (max-width: 600px) {
  .footer-flex-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  .footer-links-right {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    width: 100%;
    margin-top: 0.7rem;
  }
  .footer-logo {
    height: 70px;
  }
} 

.footer-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  justify-content: flex-start;
  margin-top: 0.2rem;
}
.footer-links-vertical a {
  color: #3b7d3b;
  text-decoration: underline;
  font-size: 1.05rem;
}
@media (max-width: 600px) {
  .footer-flex-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  .footer-links-vertical {
    align-items: flex-start;
    width: 100%;
    margin-top: 0.7rem;
  }
  .footer-logo {
    height: 70px;
  }
} 

.cookie-banner-block {
  margin-bottom: 1.1rem;
  padding: 0.7rem 0.7rem 0.7rem 0.7rem;
  background: #f4f6f2;
  border-radius: 8px;
  font-size: 1.01rem;
}
.cookie-banner-block:last-child {
  margin-bottom: 0.2rem;
}
.cookie-btn-outline {
  background: #fff;
  color: #3b7d3b;
  border: 2px solid #3b7d3b;
  border-radius: 8px;
  padding: 0.5em 1.1em;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: none;
  transition: background 0.15s, color 0.15s, border 0.15s;
  cursor: pointer;
  outline: none;
  min-width: 140px;
  margin: 0;
  margin-bottom: 0.3rem;
}
.cookie-btn-outline:hover, .cookie-btn-outline:focus {
  background: #3b7d3b;
  color: #fff;
  border-color: #3b7d3b;
} 

#ueber-papixel-autor-img {
  width: 300px;
  height: auto;
  max-width: 90vw;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(60,80,40,0.15); border-radius: 18px;
  margin-bottom: 1.2rem;
  margin-top: 2.5rem;
  display: block;
}
#ueber-papixel.content {
  max-width: 700px;
}
#ueber-papixel .papixel-faecher {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.4rem;
  margin-top: 2.1rem;
  margin-bottom: 0.7rem;
  position: relative;
  min-height: 90px;
}
#ueber-papixel .faecher-img {
  width: auto;
  height: 70px;
  max-width: 18vw;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(60,80,40,0.10);
  position: relative;
  z-index: 1;
  transition: transform 0.18s, box-shadow 0.18s;
  background: #fff;
  object-fit: cover;
}
#ueber-papixel .faecher-img:hover {
  transform: scale(2.0);
  box-shadow: 0 10px 36px rgba(60,80,40,0.22);
  z-index: 10;
}
@media (max-width: 700px) {
  .faecher-img {
    height: 44px;
    max-width: 24vw;
  }
  .papixel-faecher {
    min-height: 40px;
  }
} 