/* ======================== */
/* ===== Grundlayout ===== */
/* ======================== */
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #222;
  background-color: #fdfdfb;
}

h1, h2, h3, h4 {
  font-family: Georgia, serif;
  color: #2a2a2a;
  margin-top: 0;
}

p {
  margin-bottom: 1.3rem;
}

a {
  color: #004400;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}


/* ======================== */
/* ===== Top Bar ===== */
/* ======================== */
.top-bar {
  background-color: #4a7729;
  color: white;
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 1.3rem;
}
.top-bar a {
  color: #ffffff;
  font-weight: bold;
}


/* ======================== */
/* ===== Header ===== */
/* ======================== */
.main-header {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f5f5f5;
}

.main-header h1 {
  font-size: 5rem;
  margin-bottom: 0.25rem;
}

.main-header .tagline {
  font-size: 2.5rem;
  color: #555;
}


/* =========================== */
/* ===== Navigation ===== */
/* =========================== */
.main-nav {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.main-nav a {
  font-size: 1.2rem;
  padding: 0.8rem 1.2rem;
  font-weight: 500;
}

.main-nav a:hover {
  background-color: #def1df;
}


/* =============================== */
/* ===== Abschnitt & Layout ===== */
/* =============================== */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Dreispaltiges Layout (Bild – Text – Bild) */
.content-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Bildblock */
.image-block {
  flex: 1 1 200px;
  max-width: 300px;
}
.image-block img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Textblock */
.text-block {
  flex: 2 1 300px;
  text-align: center;
}

/* Listen im Textblock */
.text-block ul {
  text-align: left;
  list-style-position: inside;
  margin-left: 0;
  padding-left: 1.2em;
}

/* Abstand oberhalb von <h3> */
.text-block h3 {
  margin-top: 2.5rem;
}


/* ============================== */
/* ===== Buttons & Aktionen ===== */
/* ============================== */

/* Haupt-Buttons */
.button,
.link-button {
  display: inline-block;
  background-color: #006400;   /* dunkles Grün */
  color: #ffffff;              /* immer weiße Schrift */
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

/* Hover-Zustand */
.button:hover,
.link-button:hover {
  background-color: #228b22;   /* helleres Grün beim drüberfahren */
  color: #ffffff;              /* trotzdem weiß */
}


/* Einzelner Button unterhalb eines Blocks */
.cta-button {
  margin-top: 2rem;
  text-align: center;
}

/* Button-Gruppe (z. B. oben unter der Überschrift) */
.cta-button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  text-align: center;
}


/* =============================== */
/* ===== Footer ===== */
/* =============================== */
.site-footer {
  background-color: #f5f5f5;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #444;
}

.site-footer nav {
  margin-bottom: 1rem;
}

.site-footer nav a {
  margin: 0 0.5rem;
}


/* ================================= */
/* ===== Kontaktformular-Stil ===== */
/* ================================= */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form input[type="date"],
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #f5f5f5;
}

/* Mehrzeiliges Feld */
.contact-form textarea {
  resize: vertical;
  min-height: 8em;
}

/* Inline-Optionen (Radio/Checkbox) */
.inline-options {
  margin-bottom: 1.5rem;
}
.inline-options span {
  display: block;
  margin-bottom: 0.5rem;
}
.inline-options label {
  margin-right: 1.5rem;
  font-weight: normal;
}

/* Formular-Button */
.contact-form .button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}


/* =============================== */
/* ===== Verschiedenes ===== */
/* =============================== */

/* Zentrierte Überschriften */
.center-text {
  text-align: center;
}

/* Breite Formularbegrenzung */
.content .contact-form {
  max-width: 1200px;
  margin: 0 auto;
}

/* Print-Button (nur sichtbar auf Bildschirm) */
.print-button {
  margin: 1rem 0;
}

/* Druckansicht: alles ausblenden außer Inhalt */
@media print {
  .print-button,
  .top-bar,
  .main-header,
  .main-nav,
  .site-footer {
    display: none !important;
  }
}


/* =============================== */
/* ===== Lightbox / Galerie ===== */
/* =============================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}


/* ================================ */
/* ===== Responsive Anpassung ===== */
/* ================================ */
@media (max-width: 768px) {
  .main-header h1 {
    font-size: 1.5rem;
  }
  .text-block {
    text-align: left;
  }
}


/* ============================= */
/* ✅ Ticker-Bestätigungsmeldung */
/* ============================= */

.ticker-success, .ticker-error {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #4CAF50; /* grün */
  color: white;
  font-size: 1.6rem;
  padding: 1rem;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin-bottom: 2rem;
}

.ticker-error {
  background-color: #c0392b; /* rot bei Fehler */
}

.ticker-success::after,
.ticker-error::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to left, rgba(255,255,255,0.1), transparent);
}

@keyframes ticker-slide {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-success,
.ticker-error {
  animation: ticker-slide 18s linear infinite;
}



.agb-block .text-block {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}
.agb-block ul {
  padding-left: 1.5rem;
  list-style: disc;
}
.agb-block h3 {
  margin-top: 2rem;
}




/* ============================= */
/* ✅ Belehrung Widerruf bei Lieferung */
/* ============================= */



.widerruf-box {
    width: 50%;                 /* 50% der Bildschirmbreite */
    min-width: 400px;           /* nicht zu schmal auf kleinen Bildschirmen */
    max-width: 900px;           /* nicht zu breit auf sehr großen Bildschirmen */
    margin: 40px auto;          /* zentriert horizontal */
    padding: 25px 35px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
    text-align: left;           /* Text bleibt linksbündig */
}

.widerruf-box h2 {
    text-align: center;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

.widerruf-box h3 {
    color: #444;
    font-size: 1.2em;
    margin-top: 1.4em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
}

.widerruf-box strong {
    display: block;
    margin-top: 1em;
    color: #222;
}

.widerruf-box p {
    margin: 0.5em 0;
}

.widerruf-box ul {
    margin: 0.5em 0 1em 1.4em;
}

.widerruf-box a {
    color: #006400;
    text-decoration: none;
}

.widerruf-box a:hover {
    text-decoration: underline;
}




/* Einheitliche Box für Rechtstexte (Widerruf/AGB) */
.legal-box{
  max-width: 800px;           /* gleiche Breite wie Widerruf */
  margin: 40px auto;          /* zentriert + Abstand */
  padding: 20px 30px;
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  text-align: left;           /* Text linksbündig für Lesbarkeit */
}
.legal-box h2{
  text-align: center;
  font-size: 1.8em;
  color: #333;
  margin-bottom: 20px;
}
.legal-box h3{
  color: #444;
  font-size: 1.2em;
  margin-top: 1.4em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}
.legal-box p{ margin: .5em 0; }
.legal-box ul{ margin: .5em 0 1em 1.4em; }
.legal-box a{ color:#006400; text-decoration:none; }
.legal-box a:hover{ text-decoration:underline; }







/* Ausgewählte Schalter (on) */
#CybotCookiebotDialogBodyLevelButtonPreferences[aria-checked="true"],
#CybotCookiebotDialogBodyLevelButtonStatistics[aria-checked="true"],
#CybotCookiebotDialogBodyLevelButtonMarketing[aria-checked="true"] {
    background-color: #28a745 !important; /* kräftiges Grün */
    border-color: #28a745 !important;
}

/* Nicht ausgewählte Schalter (off) */
#CybotCookiebotDialogBodyLevelButtonPreferences[aria-checked="false"],
#CybotCookiebotDialogBodyLevelButtonStatistics[aria-checked="false"],
#CybotCookiebotDialogBodyLevelButtonMarketing[aria-checked="false"] {
    background-color: #e0e0e0 !important; /* hellgrau */
    border-color: #cccccc !important;
}




/* Button-Variante: Outline (grün umrandet, weißer Hintergrund) */
.button--outline {
  background-color: #ffffff;
  color: #006400;
  border: 2px solid #006400;
}
.button--outline:hover {
  background-color: #def1df;
  color: #006400;
}

/* PDF-Block: Rahmen & Abstände */
.pdf-box {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
}

/* Button-Gruppe nebeneinander */
.pdf-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.75rem 0 1rem;
}

/* Eingebettete PDF responsiv */
.pdf-embed {
  width: 100%;
  height: 70vh;           /* Höhe relativ zum Viewport */
  border: 0;
  box-shadow: 0 0 8px rgba(0,0,0,.08);
  border-radius: 8px;
}

@media (max-width: 768px) {
  .pdf-embed { height: 60vh; }
}

















