/*
  Theme "sachseneder" — angelehnt an www.sachseneder.at (Stand 13.11.2026):
  Gruen #00843D (Buttons/Akzente), dunkles Gruen #00622B, Text #444, kantige Flaechen.
  Die Grundfarbe steckt in css/variations/theme_apple.css (Kopie des Originals, Gruen getauscht).
  Quelle: CONSKUNDEN/Sachseneder/_OUTPUT/Kundenbefragung/limesurvey/theme_sachseneder/
*/
:root {
  --sa-gruen: #00843D;
  --sa-dunkel: #00622B;
}

body { color: #444; }

/* Kopfleiste in Sachseneder-Gruen, weisses Logo darauf (wie der dunkle Kopf der Website) */
#survey-nav {
  background-color: var(--sa-gruen) !important;
  border-bottom: 0 !important;
  min-height: 64px;
}
#survey-nav .logo-container .logo {
  height: 50px !important; width: auto !important; padding: 0 !important;
  max-height: none !important; max-width: none !important;
}
@media (max-width: 767.98px) {
  #survey-nav .logo-container .logo { height: 40px !important; }
}
#survey-nav a, #survey-nav button, #survey-nav i, #survey-nav .ri-more-fill { color: #fff !important; }

/* Titel und Fragen */
.survey-name, h1.survey-name, .group-title { color: var(--sa-gruen); }
/* Titel nur am weichen Trennstrich im Titel trennen ("Kunden-befragung"), nicht automatisch */
.survey-name, h1.survey-name { hyphens: manual !important; -webkit-hyphens: manual !important; }
@media (max-width: 767.98px) {
  .survey-name, h1.survey-name { font-size: 2rem; }
}
.question-title-container .question-text { color: #333; }

/* Fortschritt */
.progress .progress-bar { background-color: var(--sa-gruen) !important; }

/* Handy: die Spaltenkoepfe der Bewertungstabellen (Fragen 7a, 9) stehen sonst lose ueber der Liste */
@media (max-width: 767.98px) {
  table.ls-answers thead,
  table.questions-list thead { display: none !important; }
}

/* ---------- Bilder von sachseneder.at (Freigabe Inhaber 13.11.) ----------
   A Waldboden = Begruessung + einzelne Seiten · B Holz = Produktfragen · C Werkstatt = Zusammenarbeit/Service
   D HolzErlebnisRaum = Danke-Seite. Seiten heissen #group-0 … #group-11 (Reihenfolge, nicht Gruppen-ID). */

/* Begruessung: grosses Bild wie der Kopf der Website */
#welcome-container::before {
  content: ""; display: block; height: 280px; margin: 0 0 28px;
  background: url(../files/bild_a_wald.jpg) center 60% / cover no-repeat;
  box-shadow: inset 0 -90px 80px -60px rgba(0, 40, 18, .55);
}
#welcome-container { font-size: 1.1rem; max-width: none !important; width: 100% !important; }
#welcome-container > * { max-width: 750px; }

/* Bildband ueber jeder Frageseite */
.group-outer-container::before {
  content: ""; display: block; height: 150px; margin: 0 0 26px;
  background: url(../files/bild_b_holz.jpg) center 45% / cover no-repeat;
  border-bottom: 5px solid var(--sa-gruen);
  width: 100%; flex: 0 0 100%;   /* der Container ist flex - sonst Breite 0 */
}
.group-outer-container { flex-wrap: wrap; }
#group-1::before, #group-9::before, #group-11::before { background-image: url(../files/bild_a_wald.jpg); background-position: center 65%; }
#group-6::before, #group-7::before, #group-8::before, #group-10::before { background-image: url(../files/bild_c_werkstatt.jpg); background-position: center 30%; }

/* Danke-Seite */
.completed-wrapper::before {
  content: ""; display: block; height: 260px; margin: 0 0 28px;
  background: url(../files/bild_d_erlebnisraum.jpg) center / cover no-repeat;
  border-bottom: 5px solid var(--sa-gruen);
}

/* Fragen als helle Karte mit gruenem Rand, damit die Seite nicht leer wirkt */
.question-container {
  background: #eef3ec; border-left: 5px solid var(--sa-gruen);
  padding: 22px 26px !important; margin-bottom: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.question-container .question-text { font-size: 1.25rem; }
.ls-move-btn { padding: 10px 26px; font-weight: 600; letter-spacing: .02em; }

@media (max-width: 767.98px) {
  #welcome-container::before { height: 170px; margin-left: -12px; margin-right: -12px; }
  .group-outer-container::before { height: 90px; margin-left: -12px; margin-right: -12px; }
  .completed-wrapper::before { height: 160px; }
  .question-container { padding: 16px 16px !important; }
}
