/* Farben Light Mode */
:root {
  --primary: #2c3e3e;
  --primary-light: #4db6ac;
  --dark: #f7f7f7;          /* Header & Footer hellgrau */
  --light: #ffffff;         
  --accent: #333333;
  --text: #333333;
  --card-bg: #ffffff;
  --hero-bg: #f3f3f3;       /* Hellgrau für Hero-Text-Box */
}

/* Dark Mode */
body.dark-mode {
  --dark: #333333;          
  --light: #2b2b2b;         
  --accent: #e0e0e0;        
  --text: #e0e0e0;          
  --card-bg: #3a3a3a;       
  --primary: #4db6ac;       
  --primary-light: #80cbc4; 
  --hero-bg: #3a3a3a;       
  background: var(--light);
  color: var(--text);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
}

/* Header */
header {
  background: var(--dark);
  color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo img { height: 70px; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.dark-toggle {
  background: none; border: none; color: var(--accent);
  font-size: 1.5rem; cursor: pointer;
}
.menu-toggle {
  background: none; border: none; color: var(--accent);
  font-size: 2rem; cursor: pointer; display: none;
}

/* Navigation */
.nav-links { display: flex; gap: 1rem; }
nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  padding: 0.4rem 0.6rem;
  transition: color 0.3s;
}
nav a:hover { color: var(--primary-light); }

/* Hero */
.hero {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--light);
}

.hero-wrapper {
  max-width: 1100px;
  margin: auto;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0; /* oben abgerundet */
  display: block;
}

.hero-text-box {
  background: var(--hero-bg);
  border-radius: 0 0 20px 20px; /* unten abgerundet */
  padding: 2rem;
}

.hero-text h1 {
  font-size: 2.2rem; margin-bottom: 1rem;
  font-weight: 700; color: var(--primary);
  margin-top: 0;
}
.hero-text p { font-size: 1.2rem; margin-bottom: 2rem; }

/* Button */
.btn {
  background-color: var(--primary); color: #fff;
  padding: 0.8rem 1.5rem; text-decoration: none;
  font-weight: bold; border-radius: 5px;
  transition: background-color 0.3s;
}
.btn:hover { background-color: var(--primary-light); color: #fff; }

/* Sektionen */
section { padding: 4rem 2rem; max-width: 1100px; margin: auto; }
h2 { text-align: center; margin-bottom: 2rem; color: var(--primary); }

/* Leistungen */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}
.card h3 { margin-bottom: 1rem; color: var(--primary); }

/* Jobs Section */
#jobs {
  background: var(--dark);
  color: var(--accent);
  border-radius: 20px;
  text-align: center;
  max-width: 1100px;
  padding: 0;
}

#job-box {
  padding: 2rem 1rem;
}

#jobs h2 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

#jobs .job-intro {
  max-width: 1100px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.job-benefits {
  text-align: left; /* Listen linksbündig, damit gut lesbar */
  display: inline-block; /* bleibt mittig */
  margin-bottom: 2rem;
}

.job-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.job-benefits li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

#jobs .job-outro {
  margin: 1.5rem 0;
  font-weight: bold;
}


/* Footer */
footer {
  background: var(--dark);
  color: var(--accent);
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}

footer .footer-content {
  max-width: 1100px;
  margin: 0 auto 1.5rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;                 /* gleicher Abstand zwischen allen Spalten */
  justify-items: center;     /* Spalten mittig ausrichten */
}

.footer-column {
  width: 100%;
  max-width: 300px;          /* Spalten nicht zu breit */
  text-align: left;          /* Texte linksbündig */
}

footer h3, footer h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

footer ul {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.3rem;
}

footer a {
  color: var(--primary-light);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .copyright {
  text-align: center;
  margin-top: 1rem;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px; /* gleicht Header-Höhe aus */
}




/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    background: var(--dark);
    position: absolute; top: 60px; right: 0;
    width: 220px; padding: 1rem;
    border-radius: 0 0 8px 8px;
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
}

/* Impressum / Rechtliche Seiten */
.legal {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.legal h1 {
  margin-bottom: 2rem;
  color: var(--primary);
}

.legal h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);            /* Standard-Farbe für Links */
  text-decoration: none;
}

a:hover {
  color: var(--primary-light);      /* Hover-Farbe */
  text-decoration: underline;
}

/* Footer-Links explizit */
footer a {
  color: var(--primary-light);
}

footer a:hover {
  color: #fff;                      /* z.B. weiß beim Hover */
}

/* Ab jetzt Betriebsferienzeug */
/* ---- Holiday Announcement (theme-aware) ---- */
.holiday-announcement {
  background: var(--card-bg);        /* passt sich Light/Dark an */
  color: var(--text);
  text-align: left;
  padding: 4rem 2rem;
  box-sizing: border-box;
  position: relative;
  border-radius: 12px;
  margin: 28px auto;
  max-width: 1100px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Innere Wrapper begrenzen Breite für bessere Typo */
.holiday-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

/* Titel (neutral, kontrastreich) */
.holiday-title {
  font-size: 2.25rem;
  color: var(--primary);
  text-align: center;
  margin: 0 0 0.6rem 0;
  font-weight: 700;
  text-shadow: 0 6px 10px rgba(0,0,0,0.06);
}

/* Datumszeile (etwas dezenter als Titel) */
.holiday-dates {
  text-align: center;
  font-size: 1rem;
  margin: 0 0 1.2rem 0;
  color: var(--primary-light);
  font-weight: 600;
}

/* Haupttext: nutze primäre Textfarbe, Hervorhebungen mit primary */
.holiday-text p {
  font-size: 1.375rem;         /* entspricht ~22px */
  line-height: 1.25;
  margin: 18px 0;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.1px;
  /* leichter Schatten für "geduckte" Typo ohne harte Farbe */
  text-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

/* Hervorhebungen (strong) */
.holiday-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* Signatur */
.holiday-sign {
  margin-top: 28px;
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 600;
}

/* Schließen-Button (oben rechts) */
.holiday-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--accent);
  padding: 6px;
  line-height: 1;
}
.holiday-close:hover { color: var(--primary); }

/* Optional: dezente linke Ausrichtung auf großen Displays */
@media (min-width: 1100px) {
  .holiday-text p { font-size: 1.5rem; }
  .holiday-inner { padding: 0 20px; }
}

/* Responsive: kompakter auf Mobil */
@media (max-width: 800px) {
  .holiday-announcement { padding: 2rem 1rem; border-radius: 8px; max-width: 360px; }
  #jobs {max-width: 360px;}
  .holiday-title { font-size: 1.6rem; }
  .holiday-dates { font-size: 0.95rem; }
  .holiday-text p { font-size: 1rem; line-height: 1.3; }
  .holiday-sign { font-size: 1rem; }
}

/* Extra: wenn du es center/hero-like möchtest (optional) */
.holiday-announcement.hero-style {
  text-align: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Accessibility: Fokus für Close-Button */
.holiday-close:focus {
  outline: 3px solid color-mix(in srgb, var(--primary) 20%, transparent);
  outline-offset: 2px;
}
