@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

:root {
  --bs-body-font-family: 'Atkinson Hyperlegible', sans-serif;
  --farbe-text: #222222;
  --farbe-hintergrund: #ffffff;
  --farbe-akzent: #4a7c2d;
  --farbe-akzent-dunkel: #2f4e16;
  --farbe-link: #2f4e16;
  --farbe-link-hover: #4a7c2d;
  --farbe-fokus: #ffbf47;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--farbe-text);
  background-color: var(--farbe-hintergrund);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-weight: 700;
  color: var(--farbe-akzent-dunkel);
  line-height: 1.3;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
  hypens:none;
}
h1, h2 {
  text-align: center;
  hyphens: none;
}

a {
  color: var(--farbe-link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--farbe-link-hover);
}

a:focus,
button:focus,
input:focus {
  outline: 3px solid var(--farbe-fokus);
  outline-offset: 3px;
}

p, ul, ol {
  margin-top: 0;
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  .themen-rahmen {
    background-color: rgba(255, 255, 255, 0.98) !important;
    width: 100% !important;
    max-width: 100%;
  }
  .themen-box {
    background-color: transparent !important;
    padding: 0 5px;
  }
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: url("/images/hintergrund-komprimiert.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 50px;
}

/* Angepasste Darstellung Mobil */
@media (max-width: 768px) {
  .background-image {
    background-image: url("/images/hintergrund-komprimiert.webp");
    margin-top: 50px;
  }
}

:target {
  scroll-margin-top: 140px;
}



/* Optionaler Titel links */
.site-title,
.brand-title {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand-title-desktop {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0.5em 0 1em 0;
  background-color: rgba(150, 214, 73, 0.76);
  padding: 20px;
}
.brand-title-desktop p {
  font-size: 1.2rem;
}
.site-title {
  font-size: 1.6rem !important;
  font-weight: 700;
  color: #333;                /* dunkles Grau für Lesbarkeit */
  background-color: transparent; /* kein blauer Hintergrund */
  padding: 5px 10px;
}

/* Button-Layout */
.icon-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Logo-Icons */
.icon {
  width: 24px;
  height: 24px;
}

.social-follow-box {
  margin-top: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  background-color: #ccc; /* wird überschrieben durch Farbe */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  margin: 0.5em auto;
}

.social-btn:hover {
  transform: scale(1.05);
}

/* Nur Farbe */
.social-btn.instagram { background-color: #E1306C; }
.social-btn.instagram:hover { background-color: #c1245a; }

.social-btn.facebook { background-color: #1877F2; }
.social-btn.facebook:hover { background-color: #0f5ec7; }

/* Icon-sozial media*/
.social-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.themen-rahmen {
  background-color: rgba(255, 255, 255, 0.98) !important;
  padding: 20px;
  margin: 20px auto;
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* Einzelbox innerhalb Rahmen */
.themen-box {
  background-color: transparent;
  padding: 0 1rem 0 ;
  margin: 20px auto;
  box-sizing: border-box;
  max-width: 1000px;
  border-radius: 12px;
}
.themen-box img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .themen-rahmen {
    max-width: 100%;
  }
}




/* Responsive Zusatzregeln */
@media (max-width: 1024px){
  .themen-rahmen{
    padding: 15px !important;
    background-color: rgba(254,240,176,0.74);
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
  }
}

.hintergrund-weiss-durchsichtig {
  background-color: rgba(255, 255, 255, 0.98) !important;
}

/* Buttons – barrierefrei optimiert */
.btn-mehr-erfahren {
  display: inline-block;
  padding: 0.7em 1.2em;
  border: 2px solid var(--farbe-akzent-dunkel);
  border-radius: 8px;
  background: var(--farbe-akzent) !important;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn-mehr-erfahren:hover {
  background: var(--farbe-akzent-dunkel) !important;
  border-color: var(--farbe-akzent-dunkel);
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px rgba(0,0,0,.08);
}
.btn-mehr-erfahren:focus-visible {
  outline: 3px solid var(--farbe-fokus);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(255,191,71,.45);
}
.btn-mehr-erfahren:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn-mehr-erfahren:focus:not(:focus-visible) {
  outline: none;
}

main {
  max-width: 60ch;
  margin: 0 auto;
  padding: 1em;
  hyphens: auto;
}

main img {
  height: auto;  
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.assistenzhund-bild{
  display: block;
  margin: 1em auto;
  max-width: 300px;
  width: 100%;
  height: auto;
  
}
section {
  margin-bottom: 2.5em;
}
/* =========================================
   News-Pagination (Seitenzahlen)
   ========================================= */
.news-pagination {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.news-pagination a {
  display: inline-block;
  min-width: 2.2rem;
  padding: 0.4rem 0.7rem;
  text-align: center;
  font-weight: 600;
  color: var(--farbe-akzent-dunkel);
  background: #fff;
  border: 2px solid var(--farbe-akzent-dunkel);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-pagination a:hover,
.news-pagination a:focus-visible {
  background: var(--farbe-akzent);
  color: #fff;
  border-color: var(--farbe-akzent);
  outline: 3px solid var(--farbe-fokus);
  outline-offset: 2px;
}

.news-pagination a[aria-current="page"] {
  background: var(--farbe-akzent);
  color: #fff;
  border-color: var(--farbe-akzent-dunkel);
  cursor: default;
}
/* =========================================
   Barrierefreie Trennlinie zwischen News-Artikeln
   ========================================= */
.news-entry {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(47, 78, 22, 0.6); /* dunkles Grün, gute Lesbarkeit */
}

/* Keine Linie beim ersten und letzten Eintrag */
.news-entry:first-of-type {
  border-top: none;
}

.news-entry:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}


/* -------- Mobile Typografie-Boost -------- */
@media (max-width: 480px) {
  body {
    font-size: clamp(1.2rem, 4.5vw, 1.3rem);
    line-height: 1.7;
  }

  .btn-mehr-erfahren {
    font-size: 1.0625rem;
    padding: 0.85em 1.25em;
    border-radius: 10px;
  }

  .news-pagination a {
    padding: 8px 12px;
    border-width: 2px;
  }

  main, .themen-box, .news-entry {
    padding-left: 0.3rem;
    padding-right: 0.5rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  body {
    font-size: clamp(1.15rem, 2.8vw, 1.25rem);
    line-height: 1.65;
  }
}

/* Akkordeon – barrierefrei & klar */
.themen-box details {
  border-bottom: 2px solid #000; /* oder deine gewünschte Farbe */
  margin: 0;
  padding: 0;
}
/* Keine Linie nach dem letzten Akkordeon */
.themen-box details:last-of-type {
  border-bottom: none;
}

.themen-box details > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  background: transparent;
  transition: background-color 0.25s ease;
  user-select: none;
  outline: none;
  line-height: 1.2;
}

.themen-box details > summary h3 {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.5rem);
  color: #000 !important;
}

.themen-box details > summary::-webkit-details-marker {
  display: none;
}

.themen-box details > summary::before {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.themen-box details[open] > summary {
  background: #efefef;
}

.themen-box details[open] > summary::before {
  transform: rotate(-135deg);
}

.themen-box details > summary:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
}

.themen-box details > :not(summary):not(h3):not(p) {
    padding: 0 1.5rem 1.5rem 2.2rem;
}

/* Aufklapptext gleich groß wie Fließtext */
.themen-box details p {

  font-size: 1em; /* gleiche Größe wie body */
  line-height: 1.7;
  color: #222;
}

@media (min-width: 992px) {
  .themen-box details > summary {
    padding: 1.2rem 1.5rem;
  }
.themen-box details > :not(summary):not(h3):not(p) {
    padding: 0 1.5rem 1.5rem 2.2rem;
}
}

/* ZUSAMMENGEFÜHRT: .themen-box p */
.themen-box p {
  text-align: left;            /* aus erster Version */
  font-size: 1em;              /* letzte Definition gewinnt */
  line-height: 1.7;            /* letzte Definition gewinnt */
  color: #222;                 /* aus letzter Definition */
  margin: 0 0 1em 0;           /* aus letzter Definition */
}

/* Titel-Karte */
.page-title {
  max-width: 72ch;
  margin: 1.25rem auto 2rem;
  background: #fff;
  border: 2px solid var(--farbe-akzent-dunkel);
  border-left: 12px solid var(--farbe-akzent);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  hyphens: none;
}

.page-title h2 {
  margin: 0;
  color: var(--farbe-akzent-dunkel);
  font-weight: 800;
  line-height: 1.25;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

/* mobil: etwas kompakter */
@media (max-width: 480px){
  .page-title{
    border-left-width: 10px;
    border-radius: 12px;
    padding: .9rem 1rem;
    margin: 1rem .5rem 1.5rem;
  }
}

/* =========================================
   HEADER – barrierefreier Vollbreiten-Balken
   ========================================= */
.header-banner {
  background: rgba(39, 68, 20, 0.95);
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  margin: 0;
  width: 100%;
  border-radius: 0;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.15);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.header-banner h1 {
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  color: #fff !important;
  text-shadow: 0 2px 3px rgba(0,0,0,.5);
}

.header-banner p {
  margin: .4rem 0 0;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: #f8f8f8 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

/* Mobile Anpassungen */
@media (max-width: 480px) {
  .header-banner {
    padding: 1rem .5rem;
  }
  .header-banner h1 {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }
  .header-banner p {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
  }
}

/* Deutlichere Links nur im main-Bereich */
main a {
  color: rgba(37,14,193,1.00);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(47, 78, 22, 0.4);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

main a:hover,
main a:focus-visible {
  color: #1a310c;
  text-decoration-color: #1a310c;
  outline: 3px solid transparent;
}
/* Carousel-Beschriftung oben anzeigen */
.carousel-caption.top-caption {
  top: 0;
  bottom: auto;
  transform: translateY(10%);
  margin-top: 0.5rem;
  text-align: center;
}

/* Sanftes Scrollen allgemein */
html {
  scroll-behavior: smooth;
}

/* Damit die Newsbox beim Ankern nicht unter einem fixen Header klebt */
#newsbox {
  scroll-margin-top: 100px; /* Höhe ggf. anpassen, z. B. deiner Kopfzeile */
}
/* Anker-Offset, damit die Box nicht unter dem Header klebt */
#assistenzhundenews { scroll-margin-top: 100px; } /* Höhe ggf. anpassen */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.themen-box h3 {
  text-align: left;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin: 0; 
  line-height: 1.7;
}