/* Grundregeln: Abstände werden in die Größe eingerechnet. */
* {
box-sizing: border-box;
}

/* Grundgestaltung der gesamten Webseite */
body {
margin: 0;
font-family: Arial, sans-serif;
font-size: 18px;
line-height: 1.6;
color: #30382d;
background-color: #f7f4ec;
}

/* Bilder bleiben innerhalb ihres Bereichs. */
img {
max-width: 100%;
height: auto;
}

/* Links verwenden zunächst die Farbe des umgebenden Textes. */
a {
color: inherit;
}
/* GROSSER EINSTIEGSBEREICH */
.startbereich {
position: relative;
isolation: isolate;
min-height: 85vh;
padding: 30px 6% 70px;
color: white;
background-color: #30382d;
}

/* Das Foto füllt den gesamten Einstiegsbereich. */
.startbereich-foto {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -2;
}

/* Dunkler Schleier, damit der Text lesbar bleibt. */
.startbereich::before {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.4);
z-index: -1;
}

/* Logo links und Navigation rechts */
.kopfzeile {
display: flex;
justify-content: space-between;
align-items: center;
gap: 30px;
}

.logo {
display: block;
width: 250px;
}

/* Navigationspunkte nebeneinander */
.kopfzeile nav ul {
display: flex;
flex-wrap: wrap;
gap: 24px;
margin: 0;
padding: 0;
list-style: none;
}

.kopfzeile nav a {
text-decoration: none;
font-weight: bold;
}

.kopfzeile nav a:hover {
text-decoration: underline;
}

/* Begrüßungstext auf dem Foto */
.startbereich-text {
max-width: 650px;
margin-top: 100px;
}

.startbereich-text h1 {
font-size: clamp(36px, 5vw, 68px);
line-height: 1.15;
margin: 15px 0 25px;
}

.startbereich-text p {
margin: 0 0 25px;
}

/* Gestaltung unserer Buttons */
.button {
display: inline-block;
padding: 14px 26px;
border-radius: 4px;
background-color: #526347;
color: white;
text-decoration: none;
font-weight: bold;
}

.button:hover {
background-color: #3d4c34;
}

.button:focus-visible,
.kopfzeile nav a:focus-visible {
outline: 3px solid white;
outline-offset: 5px;
}

/* Anpassung für kleinere Bildschirme */
@media (max-width: 700px) {
.kopfzeile {
flex-direction: column;
align-items: flex-start;
gap: 20px;
}

.kopfzeile nav ul {
gap: 12px 20px;
}

.startbereich-text {
margin-top: 60px;
}
}
/* FARBIGER BEREICH MIT DEN VIER ANGEBOTEN */
.angebote {
padding: 60px 6%;
background-color: #dce2d2;
}

.angebote > h2 {
margin: 0 0 35px;
text-align: center;
font-size: 32px;
}

/* Vier gleich breite Kacheln nebeneinander */
.angebote-raster {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 24px;
max-width: 1200px;
margin: 0 auto;
}

/* Die gesamte Kachel ist ein Link. */
.angebot-kachel {
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden;
border-radius: 12px;
background-color: #f7f4ec;
color: #30382d;
text-align: center;
text-decoration: none;
}

/* Angebotsfoto oben in jeder Kachel */
.angebot-kachel > img:first-child {
display: block;
width: 100%;
height: 180px;
object-fit: cover;
}

/* Überschrift der Kachel */
.angebot-kachel h3 {
margin: 24px 18px 12px;
font-size: 23px;
line-height: 1.3;
}

/* Kurzer Beschreibungstext */
.angebot-kachel p {
margin: 0;
padding: 0 20px 24px;
}

/* Logo unten; bei allen Kacheln auf gleicher Höhe */
.angebot-kachel .kachel-logo {
width: 90px;
height: auto;
margin-top: auto;
margin-bottom: 24px;
}

/* Rückmeldung beim Darüberfahren mit der Maus */
.angebot-kachel:hover {
background-color: #ece7da;
}

/* Markierung bei Bedienung mit der Tastatur */
.angebot-kachel:focus-visible {
outline: 3px solid #526347;
outline-offset: 5px;
}

/* Auf mittleren Bildschirmen: zwei Kacheln pro Reihe */
@media (max-width: 1000px) {
.angebote-raster {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

/* Auf kleinen Bildschirmen: eine Kachel pro Reihe */
@media (max-width: 600px) {
.angebote {
padding: 40px 6%;
}

.angebote-raster {
grid-template-columns: 1fr;
}
}
/* Graugrüner Hintergrund */
.auszeit-bereich {
background-color: #d0d8ce;
}

/* Am Computer: Text links, Foto rechts */
@media (min-width: 701px) {
.auszeit-bereich {
display: grid;
grid-template-columns: 1fr 1fr;
}

.auszeit-text {
grid-column: 1;
grid-row: 1;
}

.auszeit-foto {
grid-column: 2;
grid-row: 1;
}
}
/* Kacheln in derselben Farbe wie der Buchungsbutton */
.angebot-kachel {
background-color: #526347;
color: white;
}

/* Etwas dunkler beim Darüberfahren */
.angebot-kachel:hover {
background-color: #3d4c34;
}
/* Green Care: warmes Beige */
.auszeit-bereich {
background-color: #87715b;
color: white;
}

/* Textbereich mit gleichmäßigem Innenabstand */
.auszeit-text {
align-self: stretch;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
padding: clamp(35px, 5vw, 80px);
}

/* Textblock mittig im linken Bereich */
.auszeit-text > * {
width: 100%;
max-width: 440px;
margin-left: auto;
margin-right: auto;
}

/* Beschreibung im Blocksatz */
.auszeit-text p {
text-align: justify;
hyphens: auto;
}

/* Button bleibt kompakt und steht mittig */
.auszeit-text .button {
width: fit-content;
max-width: 100%;
align-self: center;
text-align: center;
}
* Helles, leicht gelbliches Beige */
.auszeit-bereich {
background-color: #f1e3bf;
color: #393b30;
}

/* Gleicher Abstand zwischen Überschrift, Text und Button */
.auszeit-text {
gap: 24px;
}

.auszeit-text > * {
margin-top: 0;
margin-bottom: 0;
}

/* Button rechtsbündig am Textblock */
.auszeit-text .button {
align-self: auto;
width: 100%;
max-width: 440px;
padding: 0;
background: transparent;
text-align: right;
color: #393b30;
text-decoration: underline;
}

/* Foto füllt die gesamte Höhe */
.auszeit-foto {
height: 100%;
min-height: 100%;
object-fit: cover;
}
.auszeit-text .button {
align-self: flex-start;
width: fit-content;
max-width: 100%;
margin-left: max(0px, calc((100% - 440px) / 2));
margin-right: 0;
padding: 14px 26px;
border-radius: 4px;
background-color: #526347;
color: white;
text-align: center;
text-decoration: none;
}

.auszeit-text .button:hover {
background-color: #3d4c34;
}
/* UNTERER URLAUBSBEREICH */
.urlaub-bereich {
position: relative;
isolation: isolate;
display: flex;
align-items: center;
justify-content: center;
min-height: 600px;
padding: 70px 8%;
background-color: #30382d;
color: white;
text-align: center;
}

/* Foto füllt den Bereich */
.urlaub-hintergrund {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -2;
}

/* Foto abdunkeln */
.urlaub-bereich::before {
content: "";
position: absolute;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: -1;
}

/* Text zentral auf dem Foto */
.urlaub-text {
width: 100%;
max-width: 650px;
}

.urlaub-text h2 {
margin: 0 0 24px;
font-size: clamp(32px, 4vw, 52px);
line-height: 1.2;
}

.urlaub-text p {
margin: 0 0 24px;
font-size: 20px;
}




/* NEUE FARBEN UND SCHRIFT */
:root {
--creme: #fff1d6;
--gruen: #596044;
--gruen-dunkel: #414831;
}

/* Grundfarbe und Schrift der Webseite */
body {
background-color: var(--creme);
color: var(--gruen-dunkel);
font-family: Georgia, "Times New Roman", serif;
}

/* Etwas feinere Überschriften */
h1,
h2,
h3 {
font-weight: normal;
}

/* Grüner Hintergrund rund um die Kacheln */
.angebote {
background-color: var(--gruen);
color: var(--creme);
}

/* Eckige, cremefarbene Kacheln */
.angebot-kachel {
border-radius: 0;
background-color: var(--creme);
color: var(--gruen-dunkel);
}

.angebot-kachel:hover {
background-color: #e6dfc8;
}

.angebot-kachel:focus-visible {
outline-color: var(--creme);
}

/* Green Care: Creme mit grüner Schrift */
.auszeit-bereich {
background-color: var(--creme);
color: var(--gruen-dunkel);
}

/* Grüne Buttons mit cremefarbener Schrift */
.button,
.auszeit-text .button {
background-color: var(--gruen);
color: var(--creme);
font-family: inherit;
font-weight: normal;
}

.button:hover,
.auszeit-text .button:hover {
background-color: var(--gruen-dunkel);
}

/* Helle Schrift auf den großen Fotos beibehalten */
.startbereich,
.urlaub-bereich {
color: var(--creme);
}

/* FUSSBEREICH: GRÜN MIT EIERSCHALENFARBENER SCHRIFT */
.fussbereich {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
gap: 40px;
padding: 60px 6%;
background-color: var(--gruen);
color: var(--creme);
}

.footer-logo {
display: block;
width: 180px;
height: auto;
}

.hofkontakt p {
margin: 0 0 16px;
}

.hofkontakt address {
margin-bottom: 16px;
font-style: normal;
}

/* Links zu Impressum und Datenschutz */
.fussbereich nav ul {
margin: 0;
padding: 0;
list-style: none;
}

.fussbereich nav li {
margin-bottom: 12px;
}

.fussbereich nav a {
color: var(--creme);
text-decoration: none;
}

.fussbereich nav a:hover {
text-decoration: underline;
}

.fussbereich a:focus-visible {
outline: 2px solid var(--creme);
outline-offset: 5px;
}

/* Am Handy stehen die Bereiche untereinander. */
@media (max-width: 700px) {
.fussbereich {
flex-direction: column;
padding: 40px 8%;
gap: 30px;
}
}

/* Logo links, Textspalten daneben */
.footer-oben {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
align-items: start;
gap: 40px;
}

/* Logo auf halber Höhe der Textspalten */
.footer-oben > a {
align-self: center;
}

.footer-logo {
display: block;
width: 180px;
max-width: 100%;
height: auto;
}

/* Auf kleineren Bildschirmen zwei Spalten */
@media (max-width: 900px) {
.footer-oben {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

/* Am Handy untereinander */
@media (max-width: 550px) {
.footer-oben {
grid-template-columns: 1fr;
}
}

/* Untere Zeile: kleinere Schrift */
.footer-unten {
position: relative;
display: block;
padding-right: 0;
font-size: 14px;
}

/* Impressum links, Datenschutz genau mittig */
.fussbereich .footer-rechtliches {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
align-items: center;
}

.footer-rechtliches li:first-child {
justify-self: start;
}

.footer-rechtliches li:nth-child(2) {
justify-self: center;
}

/* Ohne JavaScript steht „Nach oben“ rechts im Footer. */
.footer-nach-oben {
position: absolute;
right: 0;
top: 25px;
font-size: 14px;
}

/* Mit JavaScript: schwebender Button am Bildschirmrand */
html.mit-scrollbutton .footer-nach-oben {
position: fixed;
top: auto;
right: 20px;
bottom: 20px;
z-index: 100;
padding: 12px 18px;
border: 1px solid var(--creme);
border-radius: 4px;
background-color: var(--gruen);
color: var(--creme);
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: opacity 0.2s, transform 0.2s;
}

html.mit-scrollbutton .footer-nach-oben.sichtbar {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

/* Sanft nach oben scrollen */
html {
scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}

html.mit-scrollbutton .footer-nach-oben {
transition: none;
}
}
/* Am Computer bleibt der Menübutton verborgen. */
.menue-button {
display: none;
}

/* Navigation am Handy */
@media (max-width: 700px) {
.kopfzeile {
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 20px;
}

/* Logo und Menübutton passen nebeneinander. */
.kopfzeile > a {
max-width: calc(100% - 110px);
}

.menue-button:not([hidden]) {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 14px;
border: 1px solid var(--creme);
border-radius: 4px;
background-color: var(--gruen);
color: var(--creme);
font-family: inherit;
font-size: 16px;
cursor: pointer;
}

#hauptnavigation {
width: 100%;
}

/* Mit aktivem Menübutton ist die Navigation zunächst zu. */
.kopfzeile.menue-bereit #hauptnavigation {
display: none;
}

.kopfzeile.menue-bereit #hauptnavigation.offen {
display: block;
}

.kopfzeile nav ul {
flex-direction: column;
gap: 0;
padding: 10px 20px;
background-color: var(--gruen);
text-align: left;
}

.kopfzeile nav a {
display: block;
padding: 12px 0;
color: var(--creme);
}

.menue-button:focus-visible {
outline: 2px solid var(--creme);
outline-offset: 4px;
}
}


@media (max-width: 700px) {
.menue-button:not([hidden]) {
width: 52px;
height: 52px;
flex-shrink: 0;
padding: 0;
border: none;
border-radius: 50%;
background-color: var(--creme);
color: var(--gruen);
font-size: 27px;
line-height: 1;
}

.menue-button span {
display: block;
}
}

/* AUSZEIT-SEITE: EINSTIEGSTEXT MITTIG */
.auszeit-start .startbereich-text {
  max-width: 800px;
  margin: 90px auto 30px;
  text-align: center;
}

.auszeit-start .startbereich-text h1 {
  font-size: clamp(34px, 4.5vw, 60px);
}

/* Einführung mittig statt im Blocksatz */
.auszeit-start .startbereich-text p {
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: center;
}

/* Anpassung für das Handy */
@media (max-width: 700px) {
  .auszeit-start .startbereich-text {
    margin-top: 60px;
  }
}
/* AUSZEIT-SEITE: GREEN CARE VORSTELLEN */
.greencare-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  padding: 70px 6%;
  background-color: var(--creme);
  color: var(--gruen-dunkel);
}

.greencare-info-text {
  width: 100%;
  max-width: 560px;
  justify-self: center;
}

.bereich-hinweis {
  margin: 0 0 18px;
  font-size: 16px;
  letter-spacing: 1px;
}

.greencare-info-text h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
}

.greencare-info-text p {
  text-align: left;
}

.greencare-info-text p:not(.bereich-hinweis) {
  margin: 0 0 20px;
}

.greencare-info-text p:last-child {
  margin-bottom: 0;
}

/* Foto mit feinem Rahmen und Abstand */
.greencare-info-bild {
  width: 100%;
  max-width: 560px;
  justify-self: center;
  padding: 12px;
  border: 1px solid var(--gruen);
}

.greencare-info-bild img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Vorbereitung für den Angebotsbereich */
.auszeit-angebote {
  padding: 60px 6%;
  background-color: var(--creme);
  color: var(--gruen-dunkel);
  text-align: center;
  scroll-margin-top: 25px;
}

.auszeit-angebote > h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3vw, 42px);
}

/* Am Handy: Text oben, Foto darunter */
@media (max-width: 700px) {
  .greencare-info {
    grid-template-columns: 1fr;
    padding: 45px 8%;
    gap: 35px;
  }

  .greencare-info-bild img {
    aspect-ratio: 4 / 3;
  }
}

/* Green Care: sanftes Grün und durchgehendes Foto */
.greencare-info {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  padding: 0;
  background-color: #bdc5b5;
}

/* Weißer Textkasten mit Abstand zur grünen Fläche */
.greencare-info-text {
  align-self: center;
  justify-self: center;
  width: calc(100% - 80px);
  max-width: 480px;
  margin: 40px 0;
  padding: clamp(25px, 3vw, 45px);
  background-color: #ffffff;
  color: #222222;
}

.greencare-info-text h2 {
  font-size: clamp(28px, 2.8vw, 38px);
}

/* Foto ohne Rahmen, über die gesamte Bereichshöhe */
.greencare-info-bild {
  position: relative;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 400px;
  padding: 0;
  border: none;
}

.greencare-info-bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* Am Handy: Textkasten oben, Foto darunter */
@media (max-width: 700px) {
  .greencare-info {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .greencare-info-text {
    width: calc(100% - 40px);
    margin: 30px 0;
    padding: 28px;
  }

  .greencare-info-bild {
    min-height: 300px;
  }

  .greencare-info-bild img {
    aspect-ratio: auto;
  }
}
/* Green Care: Grün mit eierschalenfarbener Schrift */
.greencare-info {
  background-color: var(--gruen);
  color: var(--creme);
}

/* Weißen Kasten entfernen */
.greencare-info-text {
  background-color: transparent;
  color: var(--creme);
}

/* Heller Button auf grünem Hintergrund */
.greencare-info-text .button {
  margin-top: 8px;
  background-color: var(--creme);
  color: var(--gruen-dunkel);
}

.greencare-info-text .button:hover {
  background-color: #e6dfc8;
}

.greencare-info-text .button:focus-visible {
  outline-color: var(--creme);
}
/* Zwei kleinere Fotos mit viel Grün rundherum */
.greencare-info-bild {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  align-self: center;
  gap: 18px;
  min-height: 0;
  padding: 50px 40px;
  border: none;
}

/* Bisherige Einstellung für das große Foto aufheben */
.greencare-info-bild img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Zweites Foto schwarzweiß und leicht versetzt */
.greencare-info-bild img:nth-child(2) {
  filter: grayscale(100%);
  transform: translateY(25px);
}

/* Am Handy bleiben beide Fotos nebeneinander */
@media (max-width: 700px) {
  .greencare-info-bild {
    padding: 15px 30px 55px;
    gap: 15px;
  }
}
/* Beide Fotos kleiner, mit mehr Grün rundherum */
.greencare-info-bild {
  width: 100%;
  max-width: 430px;
  justify-self: center;
  padding: 50px;
  gap: 20px;
}

/* Schwarzweißfoto: weichere Kontraste, matte Schwarztöne */
.greencare-info-bild img:nth-child(2) {
  filter: grayscale(100%) contrast(75%) brightness(112%);
}

/* Dezente Körnung nur über dem zweiten Foto */
.greencare-info-bild::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  transform: translateY(25px);
  pointer-events: none;
  opacity: 0.12;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

/* Foto und Körnung liegen auf derselben Fläche. */
.greencare-info-bild img:first-child {
  grid-column: 1;
  grid-row: 1;
}

.greencare-info-bild img:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

/* Am Handy etwas weniger Außenabstand */
@media (max-width: 700px) {
  .greencare-info-bild {
    padding: 25px 45px 55px;
  }
}
/* Fotos größer und mit mehr Abstand */
.greencare-info-bild {
  max-width: 560px;
  padding: 40px 30px;
  gap: 40px;
}

/* Versatz des Schwarzweißfotos entfernen */
.greencare-info-bild img:nth-child(2),
.greencare-info-bild::after {
  transform: none;
}

/* Am Handy etwas kompakter */
@media (max-width: 700px) {
  .greencare-info-bild {
    padding: 25px 30px 40px;
    gap: 25px;
  }
}
/* DREI AUSZEITANGEBOTE */
.auszeit-angebote {
  padding: 70px 6%;
}

.auszeit-angebote-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

/* Eckige Kacheln mit feiner Linie */
.programm-kachel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(34, 34, 34, 0.25);
  background-color: var(--creme);
  color: var(--gruen-dunkel);
  text-align: left;
}

.programm-kachel > img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.programm-inhalt {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.programm-inhalt h3 {
  margin: 0 0 18px;
  font-size: 27px;
  line-height: 1.2;
}

.programm-inhalt p {
  margin: 0 0 28px;
}

/* Buttons stehen in allen Kacheln unten. */
.programm-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.programm-buttons .button {
  border: none;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

.programm-buttons .button:focus-visible {
  outline-color: var(--gruen-dunkel);
}

/* Anmeldung ist bis zur Einrichtung deaktiviert. */
.programm-buttons button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.programm-buttons button:disabled:hover {
  background-color: var(--gruen);
}

.anmeldung-hinweis {
  margin-top: 25px;
  font-size: 15px;
}

/* Auf kleineren Bildschirmen untereinander */
@media (max-width: 850px) {
  .auszeit-angebote-raster {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .auszeit-angebote {
    padding: 45px 8%;
  }
}
/* Kompaktere Kacheln mit mehr Abstand */
.auszeit-angebote-raster {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1050px;
  gap: 50px;
}

/* Kleinere Fotos */
.programm-kachel > img {
  height: 150px;
}

/* Weniger Innenabstand, Text mittig */
.programm-inhalt {
  padding: 22px 18px;
  text-align: center;
}

.programm-inhalt h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.programm-inhalt p {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.5;
}

/* Kleinere Buttons */
.programm-buttons {
  gap: 10px;
}

.programm-buttons .button {
  padding: 10px 14px;
  font-size: 14px;
}

/* Mittlere Bildschirme: zwei Kacheln nebeneinander */
@media (max-width: 850px) {
  .auszeit-angebote-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 700px;
    gap: 35px;
  }
}

/* Handy: eine Kachel pro Reihe */
@media (max-width: 550px) {
  .auszeit-angebote-raster {
    grid-template-columns: 1fr;
    max-width: 330px;
    gap: 35px;
  }
}
/* TERMINÜBERSICHT */
.terminbereich {
  padding: 60px 8%;
  background-color: var(--gruen);
  color: var(--creme);
  scroll-margin-top: 25px;
}

.terminbereich > h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3vw, 42px);
  text-align: center;
}

.termin-einleitung,
#termine-hinweis {
  text-align: center;
}

#terminliste {
  max-width: 950px;
  margin: 40px auto 0;
}

.termin-monat {
  margin-bottom: 40px;
}

.termin-monat h3 {
  margin: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--creme);
  font-size: 27px;
}

.termin-zeile {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 241, 214, 0.3);
}

.termin-zeile h4 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: normal;
}

.termin-zeile p {
  margin: 0;
  font-size: 16px;
}

.terminbereich .button {
  background-color: var(--creme);
  color: var(--gruen-dunkel);
  font-size: 15px;
}

.terminbereich .button:hover {
  background-color: #e6dfc8;
}

.terminbereich button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.event-datum {
  font-size: 15px;
}

@media (max-width: 650px) {
  .termin-zeile {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .termin-zeile .button {
    justify-self: start;
  }
}
/* Terminbereich klar vom grünen Footer abheben */
.terminbereich {
  background-color: var(--creme);
  color: var(--gruen-dunkel);
}

/* Terminliste mit eigener Scrollfläche */
#terminliste {
  max-height: 480px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding: 0 24px;
  border-top: 1px solid var(--gruen);
  border-bottom: 1px solid var(--gruen);
  scrollbar-width: thin;
  scrollbar-color: var(--gruen) var(--creme);
}

/* Monatsüberschrift bleibt beim Scrollen oben sichtbar */
.termin-monat h3 {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 18px 0;
  background-color: var(--creme);
  border-bottom: 1px solid var(--gruen);
}

.termin-zeile {
  border-bottom: 1px solid rgba(65, 72, 49, 0.2);
}

/* Grüne Buttons auf hellem Hintergrund */
.terminbereich .button {
  background-color: var(--gruen);
  color: var(--creme);
}

.terminbereich .button:hover {
  background-color: var(--gruen-dunkel);
}

.terminbereich .button:focus-visible,
#terminliste:focus-visible {
  outline: 2px solid var(--gruen);
  outline-offset: 4px;
}

/* Am Handy etwas niedrigere Scrollfläche */
@media (max-width: 650px) {
  #terminliste {
    max-height: 400px;
    padding: 0 12px;
  }
}
/* URLAUBSSEITE: GROSSE FOTOGALERIE */
.urlaub-start {
  min-height: 80vh;
  padding-bottom: 120px;
}

/* Bilder liegen hinter Logo und Navigation. */
.urlaub-galerie {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.urlaub-galerie .galerie-foto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.urlaub-galerie .galerie-foto[hidden] {
  display: none;
}

/* Dezente Abdunklung für lesbare Navigation */
.urlaub-start::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.25)
  );
}

/* Pfeile links und rechts auf halber Bildhöhe */
.galerie-pfeil {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--creme);
  color: var(--gruen);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.galerie-pfeil[hidden] {
  display: none;
}

.galerie-pfeil[data-richtung="-1"] {
  left: 20px;
}

.galerie-pfeil[data-richtung="1"] {
  right: 20px;
}

/* Buchungsbutton unten mittig */
.urlaub-buchen {
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90%;
  text-align: center;
}

.galerie-status {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  margin: 0;
  color: var(--creme);
  font-size: 14px;
  text-align: center;
}

.galerie-pfeil:focus-visible {
  outline: 3px solid var(--creme);
  outline-offset: 4px;
}

/* Geöffnetes Handymenü liegt vor den Galeriebuttons. */
.urlaub-start .kopfzeile {
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .urlaub-start {
    min-height: 75vh;
  }

  .galerie-pfeil {
    width: 40px;
    height: 40px;
  }

  .galerie-pfeil[data-richtung="-1"] {
    left: 12px;
  }

  .galerie-pfeil[data-richtung="1"] {
    right: 12px;
  }
}
/* Höhere Galerie, auch am Handy */
.urlaub-start {
  min-height: 95vh;
}

/* Zarte Pfeile ohne Kreis */
.urlaub-start .galerie-pfeil {
  width: 48px;
  height: 64px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: Arial, sans-serif;
  font-size: 48px;
  font-weight: normal;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.urlaub-start .galerie-pfeil:hover {
  color: white;
}
.galerie-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* KURZE EINFÜHRUNG ZUM URLAUB */
.urlaub-einfuehrung,
.urlaub-umgebung {
  padding: 45px 8%;
  background-color: var(--creme);
  color: var(--gruen-dunkel);
  text-align: center;
}

.urlaub-einfuehrung h1,
.urlaub-umgebung h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.2;
}

.urlaub-einfuehrung p,
.urlaub-umgebung > p {
  max-width: 760px;
  margin: 0 auto;
}


/* FERIENWOHNUNGEN: JEWEILS ZWEI HÄLFTEN */
.wohnung {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background-color: #e5dfd1;
  color: var(--gruen-dunkel);
}

/* Bild füllt seine Hälfte vollständig. */
.wohnung-foto {
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  max-height: 650px;
  object-fit: cover;
}

/* Textbereich mit großzügigem Innenabstand */
.wohnung-text {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding: clamp(35px, 5vw, 75px);
}

.wohnung-details {
  margin: 0 0 14px;
  font-size: 16px;
  letter-spacing: 1px;
}

.wohnung-text h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.15;
}

.wohnung-text p:not(.wohnung-details) {
  max-width: 480px;
  margin: 0 0 22px;
}

.wohnung-text .button {
  margin-top: 6px;
}

/* Zweite Wohnung: Text links, Bild rechts */
.wohnung-umgekehrt .wohnung-foto {
  grid-column: 2;
}

.wohnung-umgekehrt .wohnung-text {
  grid-column: 1;
}

/* Sichtbare Markierung bei Tastaturbedienung */
.wohnung-text .button:focus-visible {
  outline-color: var(--gruen-dunkel);
}

/* Handy: immer Foto oben, Text darunter */
@media (max-width: 700px) {
  .wohnung {
    grid-template-columns: 1fr;
  }

  .wohnung .wohnung-foto {
    grid-column: 1;
    grid-row: 1;
    height: 300px;
    min-height: 0;
    max-height: none;
  }

  .wohnung .wohnung-text {
    grid-column: 1;
    grid-row: 2;
    padding: 35px 8%;
  }
}
/* Weißer Hintergrund bei den Ferienwohnungen */
.wohnung {
  background-color: #ffffff;
}

/* Einführung und Umgebung: weiß */
.urlaub-einfuehrung,
.urlaub-umgebung {
  background-color: #ffffff;
}

/* Ferienwohnungen: Eierschale */
.wohnung {
  background-color: var(--creme);
}
.wohnung {
  background-color: #eeebe6;
}
.wohnung {
  background-color: #eeebe6;
}
/* Schlichter Link unter dem Umgebungstext */
.umgebung-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--gruen-dunkel);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.umgebung-link:hover {
  text-decoration-thickness: 2px;
}

/* Sechs quadratische Fotos ohne Zwischenräume */
.umgebung-fotoreihe {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.umgebung-fotoreihe img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
}

/* Am Handy: zwei Reihen mit je drei Fotos */
@media (max-width: 700px) {
  .umgebung-fotoreihe {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* FAMILIENSEITE: SCHLICHTER KOPFBEREICH */
.familie-kopf {
  padding: 20px 6%;
  background-color: var(--gruen);
  color: var(--creme);
}

/* Schmaler Streifen unter der Navigation */
.familie-streifen {
  padding: 18px 6%;
  background-color: var(--gruen);
  color: white;
  text-align: center;
}

.familie-streifen h1 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.35;
}

/* Einführung vor dem Fotoraster */
.familie-einleitung {
  padding: 45px 8%;
  background-color: white;
  color: var(--gruen-dunkel);
  text-align: center;
}

.familie-einleitung h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.familie-einleitung p {
  max-width: 780px;
  margin: 0 auto;
}
/* ZWÖLF FOTOS OHNE ABSTAND */
.familie-raster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.familie-raster > * {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  border: none;
  overflow: hidden;
}

/* Alle Fotos füllen ihr quadratisches Feld. */
.familie-raster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Erinnerungsbilder in mattem Schwarzweiß */
.familie-erinnerung img {
  filter: grayscale(100%) contrast(85%);
}

/* Personenfelder */
.familie-person {
  background-color: var(--gruen);
  color: var(--creme);
}

.familie-person summary {
  position: absolute;
  inset: 0;
  display: block;
  list-style: none;
  cursor: pointer;
}

.familie-person summary::-webkit-details-marker {
  display: none;
}

.familie-person summary img {
  transition: transform 0.35s;
}

/* Name unten im Foto */
.person-name {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 25px 18px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: white;
  font-size: 23px;
}

/* Beschreibung über dem Foto */
.person-info {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: clamp(16px, 2vw, 30px);
  overflow-y: auto;
  background-color: rgba(38, 44, 30, 0.92);
  color: var(--creme);
}

.person-info h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.5vw, 32px);
}

.person-info p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.5;
}

.person-qualifikation {
  font-style: italic;
}

/* Bei geöffnetem Feld leicht vergrößertes Foto */
.familie-person[open] summary img {
  transform: scale(1.06);
}

.familie-person summary:focus-visible {
  outline: 3px solid var(--creme);
  outline-offset: -6px;
  z-index: 2;
}

/* Am Handy zwei Bilder pro Reihe */
@media (max-width: 700px) {
  .familie-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .person-info {
    padding: 15px;
  }

  .person-info h2 {
    font-size: 23px;
  }

  .person-info p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .familie-person summary img {
    transition: none;
  }
}
/* Kopfbereich der Familienseite: weiß mit grüner Navigation */
.familie-kopf {
  background-color: #ffffff;
  color: var(--gruen);
}

.familie-kopf .kopfzeile nav a {
  color: var(--gruen);
}

/* Ausgeklapptes Handymenü ebenfalls weiß */
@media (max-width: 700px) {
  .familie-kopf .kopfzeile nav ul {
    background-color: #ffffff;
  }
}
.familie-einleitung p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  hyphens: auto;
}
/* Familiensatz wie ein kleines Zitat */
.familie-streifen {
  background-color: #ffffff;
  color: var(--gruen);
  padding: 25px 8% 10px;
}

.familie-streifen h1 {
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(19px, 2vw, 24px);
  font-style: italic;
  font-weight: normal;
  text-align: center;
}

/* Überschrift und Text gleich breit und zentriert */
.familie-einleitung h2,
.familie-einleitung p {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  hyphens: none;
}
/* UNSERE GESCHICHTE: WEISS UND ZENTRIERT */
.familie-story {
  padding: 55px 8%;
  background-color: #ffffff;
  color: var(--gruen-dunkel);
  text-align: center;
}

.familie-story h2 {
  max-width: 650px;
  margin: 0 auto 24px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.2;
}

.familie-story p {
  max-width: 650px;
  margin: 0 auto 18px;
}

.familie-story p:last-child {
  margin-bottom: 0;
}


/* PHILOSOPHIE: TEXT LINKS, FOTO RECHTS */
.familie-philosophie {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background-color: var(--gruen);
  color: var(--creme);
}

.philosophie-text {
  align-self: center;
  padding: clamp(35px, 5vw, 75px);
}

.philosophie-text h2 {
  margin: 0 0 26px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.2;
}

.philosophie-text p {
  max-width: 480px;
  margin: 0 0 22px;
}

.philosophie-text p:last-child {
  margin-bottom: 0;
}

/* Foto füllt die rechte Hälfte */
.philosophie-foto {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}


/* HANDY: TEXT OBEN, FOTO DARUNTER */
@media (max-width: 700px) {
  .familie-story {
    padding: 40px 8%;
  }

  .familie-philosophie {
    grid-template-columns: 1fr;
  }

  .philosophie-text {
    padding: 40px 8%;
  }

  .philosophie-foto {
    height: 320px;
    min-height: 0;
  }
}
/* PRODUKTSEITE */
.produkte-bereich {
  padding: 40px 6% 60px;
  background-color: #ffffff;
  color: var(--gruen-dunkel);
  text-align: center;
}

.produkte-bereich > h1 {
  margin: 0 0 25px;
  font-size: clamp(30px, 3vw, 42px);
}

/* Große Flasche zwischen zwei Pfeilen */
.produkt-buehne {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 55px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.produkt-bildbereich {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  height: 420px;
}

#produkt-bild {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 340px;
  object-fit: contain;
}

/* Schlichte grüne Pfeile */
.produkt-pfeil {
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--gruen);
  font-family: Arial, sans-serif;
  font-size: 48px;
  cursor: pointer;
}

#produkt-zurueck {
  grid-column: 1;
  grid-row: 1;
}

#produkt-weiter {
  grid-column: 3;
  grid-row: 1;
}

.produkt-pfeil[hidden] {
  display: none;
}

/* Titel, Beschreibung und späterer Preis */
.produkt-beschreibung {
  max-width: 560px;
  margin: 25px auto 0;
}

.produkt-beschreibung h2 {
  margin: 0 0 15px;
  font-size: 32px;
}

.produkt-beschreibung p {
  margin: 0 0 14px;
}

#produkt-preis {
  font-size: 16px;
}

/* Kleine Produktübersicht */
.produkte-uebersicht {
  max-width: 1000px;
  margin: 55px auto 0;
  padding-top: 35px;
  border-top: 1px solid #d9ddcf;
}

.produkte-uebersicht h2 {
  margin: 0 0 25px;
  font-size: 25px;
}

.produkte-auswahl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.produkt-miniatur {
  min-width: 0;
  padding: 15px 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--gruen-dunkel);
  font-family: inherit;
  font-size: 17px;
  cursor: pointer;
}

.produkt-miniatur img {
  display: block;
  width: 100%;
  height: 120px;
  margin-bottom: 15px;
  object-fit: contain;
}

.produkt-miniatur[aria-pressed="true"] {
  border-color: var(--gruen);
}

.produkt-miniatur:hover {
  background-color: #f4f1ed;
}

.produkt-pfeil:focus-visible,
.produkt-miniatur:focus-visible {
  outline: 2px solid var(--gruen);
  outline-offset: 4px;
}

/* Informationen unter den Produkten */
.produkte-info {
  padding: 45px 8%;
  background-color: #f4f1ed;
  color: var(--gruen-dunkel);
  text-align: center;
}

.produkte-info h2 {
  margin: 0 0 22px;
  font-size: 32px;
}

.produkte-info p {
  max-width: 650px;
  margin: 0 auto 18px;
}

/* Handy */
@media (max-width: 600px) {
  .produkt-buehne {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .produkt-bildbereich {
    height: 320px;
  }

  .produkte-auswahl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
}
/* Produktname und Zusatzangaben untereinander */
.produkt-miniatur span {
  display: block;
}

.produkt-mini-notiz {
  margin-top: 5px;
  font-size: 14px;
  text-align: center;
}

/* Preis rechtsbündig und kursiv */
.produkt-mini-preis {
  margin-top: 10px;
  font-size: 15px;
  font-style: italic;
  text-align: right;
}

/* SCHULE AM BAUERNHOF: HELLER EINSTIEG */
.schule-einstieg {
  padding: 65px 8%;
  background-color: #ffffff;
  color: var(--gruen-dunkel);
  text-align: center;
}

.schule-hinweis {
  margin: 0 auto 20px;
  font-size: 18px;
  font-style: italic;
}

.schule-einstieg h1 {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.15;
}

.schule-einstieg > p:not(.schule-hinweis) {
  max-width: 640px;
  margin: 0 auto 20px;
}

.schule-einstieg .button {
  margin-top: 12px;
}

.schule-einstieg .button:focus-visible {
  outline-color: var(--gruen);
}


/* FACHLICHE BEGLEITUNG: GRÜN MIT EIERSCHALE */
.schule-begleitung {
  padding: 45px 8%;
  background-color: var(--gruen);
  color: var(--creme);
  text-align: center;
}

.schule-begleitung h2 {
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}

.schule-begleitung p {
  max-width: 700px;
  margin: 0 auto 20px;
}

.schule-begleitung p:last-child {
  margin-bottom: 0;
}

/* Kleinere Abstände am Handy */
@media (max-width: 700px) {
  .schule-einstieg {
    padding: 40px 8%;
  }

  .schule-begleitung {
    padding: 35px 8%;
  }
}
/* EIN WENIG MEHR WÄRME IM EINSTIEG */
.schule-einstieg {
  background-color: #fffaf1;
}

.schule-einstieg .schule-hinweis {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 30px;
  background-color: #e6ecd9;
}

/* THEMENBEREICH */
.schule-themen {
  padding: 65px 6%;
  background-color: #fffaf1;
  color: var(--gruen-dunkel);
  text-align: center;
}

.schule-themen > h2 {
  margin: 0 0 40px;
  font-size: clamp(30px, 3vw, 42px);
}

/* Drei Karten oben, zwei mittig darunter */
.schule-themen-raster {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.schule-karte {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 28px 28px 12px 12px;
  background-color: #e6ecd9;
  text-align: left;
}

.schule-karte:nth-child(4) {
  grid-column: 2 / span 2;
}

.schule-karte:nth-child(5) {
  grid-column: 4 / span 2;
}

/* Sanfte Farbwechsel */
.schule-karte:nth-child(2),
.schule-karte:nth-child(5) {
  background-color: #f3e5c9;
}

.schule-karte:nth-child(3) {
  background-color: #eaded3;
}

.schule-karte > img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.schule-karte-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  padding: 25px;
}

/* Kleine Nummer als Entdeckerstation */
.schule-nummer {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background-color: var(--gruen);
  color: var(--creme);
  font-size: 17px;
}

.schule-karte h3 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.2;
}

.schule-karte p {
  margin: 0 0 25px;
  font-size: 17px;
}

/* Grüne, gut anklickbare Links */
.schule-themen-link {
  display: inline-block;
  margin-top: auto;
  padding: 10px 0;
  color: var(--gruen-dunkel);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.schule-themen-link:hover {
  text-decoration-thickness: 2px;
}

.schule-themen-link:focus-visible {
  outline: 2px solid var(--gruen);
  outline-offset: 4px;
}

.schule-saisonhinweis {
  max-width: 700px;
  margin: 40px auto 0;
  font-size: 16px;
}

/* Zwei Karten pro Reihe */
@media (max-width: 900px) {
  .schule-themen-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schule-themen-raster .schule-karte {
    grid-column: auto;
  }
}

/* Am Handy untereinander */
@media (max-width: 550px) {
  .schule-themen-raster {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .schule-themen {
    padding: 45px 8%;
  }
}
/* Einführung mit großem Hintergrundfoto */
.schule-einstieg {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  padding: 65px 8%;
  background-color: var(--gruen);
  color: #ffffff;
}

/* Foto füllt den gesamten Bereich */
.schule-einstieg-foto {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Abdunklung für gut lesbare Schrift */
.schule-einstieg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Kleines Schild über der Überschrift */
.schule-einstieg .schule-hinweis {
  background-color: var(--creme);
  color: var(--gruen-dunkel);
}

.schule-einstieg .button:focus-visible {
  outline-color: #ffffff;
}

@media (max-width: 700px) {
  .schule-einstieg {
    min-height: 70vh;
    padding: 45px 8%;
  }
}
.schule-anmeldung {
  padding: 15px 8% 55px;
  background-color: #fffaf1;
  text-align: center;
}

.schule-anmeldung .button:focus-visible {
  outline-color: var(--gruen);
}
/* Navigation über das Einstiegsfoto legen */
.schule-kopf {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
  color: white;
}

.schule-kopf .kopfzeile nav a {
  color: white;
}

/* Platz für Logo und Navigation über dem Text */
.schule-einstieg {
  padding-top: 180px;
}

/* Handymenü bleibt weiß mit grüner Schrift */
@media (max-width: 700px) {
  .schule-kopf .kopfzeile nav ul {
    background-color: white;
  }

  .schule-kopf .kopfzeile nav a {
    color: var(--gruen);
  }

  .schule-einstieg {
    padding-top: 170px;
  }
}
/* UMGEBUNGSSEITE: SCHLICHTER EINSTIEG */
.region-einstieg {
  padding: 55px 8%;
  background-color: #ffffff;
  color: var(--gruen-dunkel);
  text-align: center;
}

.region-einstieg > p:first-child {
  font-style: italic;
}

.region-einstieg h1 {
  margin: 15px auto 24px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.2;
}

.region-einstieg p {
  max-width: 650px;
  margin: 0 auto 18px;
}

/* Ruhiger Lesebereich */
.region-inhalte {
  padding: 15px 8% 50px;
  background-color: #ffffff;
  color: var(--gruen-dunkel);
}

.region-abschnitt {
  max-width: 800px;
  margin: 0 auto;
  padding: 35px 0;
  border-top: 1px solid #d9ddcf;
}

.region-abschnitt h2 {
  margin: 0 0 24px;
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.2;
}

.region-abschnitt p {
  margin: 0 0 18px;
}

/* Einzelne Tipps zum Dorfleben */
.region-lokal {
  margin-top: 30px;
}

.region-lokal h3 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.3;
}

.region-zeiten {
  font-weight: bold;
}

.region-link {
  display: inline-block;
  padding: 5px 0;
  color: var(--gruen-dunkel);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.region-link:hover {
  text-decoration-thickness: 2px;
}

.region-link:focus-visible,
.region-auszeit .button:focus-visible {
  outline: 2px solid var(--gruen);
  outline-offset: 4px;
}

.region-abschnitt .region-kleingedruckt {
  margin-top: 35px;
  font-size: 14px;
}

/* Abschluss mit Hinweis auf eure Auszeitangebote */
.region-auszeit {
  padding: 45px 8%;
  background-color: #f4f1ed;
  color: var(--gruen-dunkel);
  text-align: center;
}

.region-auszeit h2 {
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
}

.region-auszeit p {
  max-width: 650px;
  margin: 0 auto 25px;
}

@media (max-width: 700px) {
  .region-einstieg {
    padding: 35px 8%;
  }

  .region-abschnitt {
    padding: 30px 0;
  }
}
/* Drei Umgebungsfotos direkt nebeneinander */
.region-fotos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.region-fotos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Am Handy etwas höhere Bildausschnitte */
@media (max-width: 600px) {
  .region-fotos img {
    aspect-ratio: 1 / 1;
  }
}
.footer-instagram {
  color: #ffffff;
  padding: 8px;
}

.footer-instagram svg {
  display: block;
}

.footer-instagram:hover {
  opacity: 0.75;
}

.footer-instagram:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}
/* Rechtliche Links links, Partnerlogos rechts */
.footer-unten {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
}

.footer-unten > nav {
  order: 1;
}

.fussbereich .footer-rechtliches {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Logos nebeneinander */
.footer-partner {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}

.footer-partner img {
  display: block;
  width: auto;
  height: auto;
  max-width: 115px;
  max-height: 60px;
  object-fit: contain;
}

/* Instagram neben den Logos */
.footer-unten .footer-instagram {
  order: 3;
  position: static;
  margin: 0;
}

/* Am Handy auf mehrere Zeilen verteilen */
@media (max-width: 700px) {
  .footer-partner {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .footer-partner img {
    max-width: 95px;
    max-height: 50px;
  }
}
/* Am Computer: Links links, Logos und Instagram rechts */
@media (min-width: 701px) {
  .footer-unten {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 25px;
  }

  .footer-unten > nav {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-partner {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    justify-content: flex-end;
    width: auto;
    margin: 0;
  }

  .footer-unten .footer-instagram {
    grid-column: 3;
    grid-row: 1;
  }
}
/* Untere Fußzeile über die verfügbare Breite ziehen */
.fussbereich .footer-unten {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 701px) {
  .fussbereich .footer-unten {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 25px;
  }

  .footer-unten > nav {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-unten .footer-instagram {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin: 0;
  }

  .footer-unten .footer-partner {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    justify-content: flex-end;
    width: auto;
    margin: 0;
  }
}
/* IMPRESSUM UND DATENSCHUTZ */
.rechtliches {
  padding: 55px max(8%, calc((100% - 800px) / 2));
  background-color: #ffffff;
  color: var(--gruen-dunkel);
  overflow-wrap: anywhere;
}

.rechtliches h1 {
  margin: 0 0 30px;
  font-size: clamp(34px, 4vw, 48px);
}

.rechtliches h2 {
  margin: 35px 0 16px;
  font-size: 26px;
  line-height: 1.3;
}

.rechtliches p {
  margin: 0 0 20px;
}

.rechtliches a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rechtliches-entwurf {
  padding: 18px;
  border-left: 3px solid var(--gruen);
  background-color: #f4f1ed;
  font-size: 16px;
}
/* KONTAKTSEITE */
.kontakt-bereich {
  padding: 55px 8% 70px;
  background-color: #ffffff;
  color: var(--gruen-dunkel);
}

.kontakt-einleitung {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.kontakt-einleitung > p:first-child {
  font-style: italic;
}

.kontakt-einleitung h1 {
  margin: 20px 0 25px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
}

/* Formularbreite */
.kontakt-formular {
  max-width: 800px;
  margin: 0 auto;
}

/* Zwei Spalten am Computer */
.kontakt-felder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.kontakt-feld {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 8px;
}

.kontakt-feld label {
  font-size: 17px;
}

.kontakt-feld input,
.kontakt-feld select,
.kontakt-feld textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #c9cdbf;
  border-radius: 4px;
  background-color: #f4f1ed;
  color: var(--gruen-dunkel);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.5;
}

.kontakt-feld textarea {
  resize: vertical;
  min-height: 160px;
}

/* Gut sichtbare Markierung beim Ausfüllen */
.kontakt-feld input:focus-visible,
.kontakt-feld select:focus-visible,
.kontakt-feld textarea:focus-visible,
.kontakt-formular a:focus-visible {
  outline: 2px solid var(--gruen);
  outline-offset: 3px;
}

.kontakt-kleingedruckt {
  margin: 22px 0;
  font-size: 14px;
}

.kontakt-kleingedruckt a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kontakt-hinweis {
  padding: 16px 20px;
  background-color: var(--creme);
  font-size: 16px;
}

.kontakt-senden {
  margin-top: 10px;
  border: none;
  font-family: inherit;
  font-size: 17px;
}

.kontakt-senden:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Am Handy eine Spalte */
@media (max-width: 650px) {
  .kontakt-bereich {
    padding: 35px 8% 50px;
  }

  .kontakt-felder {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* Schlichter Kontaktlink im Fußbereich */
.footer-spalte h2 a {
  color: inherit;
  text-decoration: none;
}

.footer-spalte h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Direkte Kontaktdaten über dem Formular */
.kontakt-direkt {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 28px;
  background-color: #f4f1ed;
  text-align: center;
}

.kontakt-direkt h2 {
  margin: 0 0 20px;
  font-size: 27px;
}

.kontakt-direkt address {
  font-style: normal;
}

.kontakt-direkt p {
  margin: 12px 0 0;
}
/* Kontaktdaten unter dem Formular */
.kontakt-direkt {
  margin: 40px auto 0;
  padding: 25px;
  background-color: var(--gruen);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
}

.kontakt-direkt h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.kontakt-direkt p {
  margin: 8px 0 0;
}

.kontakt-direkt a {
  color: inherit;
}
/* Logo oben deutlich größer */
.kopfzeile > a img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
}

/* Am Handy etwas kleiner, damit der Menübutton Platz hat */
@media (max-width: 700px) {
  .kopfzeile > a img {
    width: 240px;
  }
}
/* SVS-GESUNDHEITSHUNDERTER */
.svs-hinweis {
  padding: 45px 8%;
  background-color: #f4f1ed;
  color: var(--gruen-dunkel);
  text-align: center;
}

.svs-untertitel {
  font-style: italic;
}

.svs-hinweis h2 {
  max-width: 700px;
  margin: 15px auto 24px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}

.svs-hinweis p {
  max-width: 700px;
  margin: 0 auto 20px;
}

.svs-hinweis a {
  display: inline-block;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.svs-hinweis a:focus-visible {
  outline: 2px solid var(--gruen);
  outline-offset: 4px;
}
/* Grüner Bereich mit weißem Textkasten */
.svs-hinweis {
  padding: 50px 8%;
  background-color: var(--gruen);
}

.svs-textkasten {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: #ffffff;
  color: var(--gruen-dunkel);
}

@media (max-width: 600px) {
  .svs-textkasten {
    padding: 28px 22px;
  }
}
/* Fotogalerien der Ferienwohnungen */
.wohnung-galerie {
  position: relative;
  overflow: hidden;
}

.wohnung-galerie > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wohnung-galerie > [hidden] {
  display: none;
}

/* Zarte weiße Pfeile wie bei der großen Galerie */
.wohnung-pfeil {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font: 44px/1 Arial, sans-serif;
  text-shadow: 0 1px 5px #333;
  cursor: pointer;
}

.wohnung-pfeil-links { left: 8px; }
.wohnung-pfeil-rechts { right: 8px; }

.wohnung-pfeil:hover {
  color: white;
}

.wohnung-pfeil:focus-visible {
  outline: 2px solid white;
  outline-offset: -3px;
}
/* Aufklappbare Tourentipps auf der Umgebungsseite */
.region-tour {
  border-bottom: 1px solid #d9ddcf;
}

.region-tour:first-child {
  border-top: 1px solid #d9ddcf;
}

.region-tour > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.region-tour > summary::-webkit-details-marker {
  display: none;
}

/* Kleiner Pfeil rechts */
.region-tour > summary::after {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  margin-right: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.region-tour[open] > summary::after {
  transform: rotate(225deg);
}

.region-tour > summary:focus-visible {
  outline: 2px solid var(--gruen);
  outline-offset: 4px;
}

.region-tour-text {
  padding-bottom: 16px;
}

.region-tour-text > p:last-child {
  margin-bottom: 0;
}
.footer-partner img[src="Bio Austria.svg"] {
  max-width: 145px;
  max-height: 75px;
}

@media (max-width: 700px) {
  .footer-partner img[src="Bio Austria.svg"] {
    max-width: 110px;
    max-height: 58px;
  }
}
/* Partnerlogos nebeneinander halten */
.footer-unten .footer-partner {
  flex-wrap: nowrap;
  gap: clamp(8px, 2vw, 18px);
  min-width: 0;
}

/* Wenn es eng wird, dürfen die Logos etwas schmaler werden. */
.footer-partner img {
  flex: 0 1 auto;
  min-width: 0;
}
.angebot-kachel .kachel-logo {
  width: 110px;
  height: auto;
}
.angebot-kachel .kachel-logo {
  width: 150px;
  max-width: 85%;
  height: auto;
}
/* Blumenstöckl: Bild innerhalb des Rahmens nach oben verschieben */
.wohnung-galerie img[src="blumenstöckl-1.jpg"],
.wohnung-galerie img[src="blumenstöckl-1-2.jpg"],
.wohnung-galerie img[src="blumenstöckl-1-3.jpg"] {
  object-position: center 70%;
}

/* Taubenschlag: dieses Foto näher heranzoomen */
.wohnung-galerie img[src="taubenschlag-2-3.jpg"] {
  transform: scale(1.2);
  transform-origin: center;
}
/* Taubenschlag: nach oben verschieben */
.wohnung-galerie img[src="taubenschlag-2-3.jpg"] {
  object-position: center 70%;
}

/* Blumenstöckl: noch etwas weiter nach oben */
.wohnung-galerie img[src="blumenstöckl-1-3.jpg"] {
  object-position: center 85%;
}
/* Übergangsseite für unsere Hofprodukte */
.produkte-vorschau {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  padding: 70px 8%;
  background-color: #ffffff;
  color: var(--gruen-dunkel);
  text-align: center;
}

.produkte-vorschau-hinweis {
  font-style: italic;
}

.produkte-vorschau h1 {
  max-width: 700px;
  margin: 15px auto 28px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
}

.produkte-vorschau p {
  max-width: 580px;
  margin: 0 auto 20px;
}

.produkte-vorschau .button {
  margin-top: 12px;
}

.produkte-vorschau .button:focus-visible {
  outline: 2px solid var(--gruen);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .produkte-vorschau {
    padding: 45px 8%;
  }
}
