:root {
  --text: #1a1a1a;
  --muted: #444;
  --bg: #fff;
  --footer: #2c2c2c;
  --line: #c9c9c9;
  --accent: #b71c1c;
  --btn: #6d6d6d;
  --btn-hover: #4a4a4a;
  --soft: #f3f3f3;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #1a5fb4; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  text-align: center;
  padding: 18px 16px 8px;
  border-bottom: 1px solid var(--line);
}
.site-header .brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}
.site-header .logo {
  width: min(480px, 92vw);
  margin: 0 auto 12px;
}
.site-header .slogan {
  font-weight: 700;
  margin: 0 0 14px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  font-weight: 700;
  font-size: 0.95rem;
  padding-bottom: 10px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 4px 6px;
}
.nav a:hover,
.nav a.active { text-decoration: underline; }
.nav .sep { color: #888; padding: 4px 2px; user-select: none; }

.hero {
  position: relative;
  min-height: 280px;
  background: #222 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}
.hero-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 48px 20px;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.hero h1, .hero .hero-lines, .hero .hero-line-1, .hero .hero-line-2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
}
.hero.left .hero-inner { text-align: left; width: min(1080px, calc(100% - 32px)); }

.kontakt-hero {
  min-height: 360px;
}
.kontakt-hero h1 {
  position: relative;
  top: 2em !important;
  transform: none;
}

.home-hero {
  min-height: 420px;
  align-items: flex-start;
}
.home-hero .hero-inner {
  width: 100%;
  padding-top: 210px;
  padding-bottom: 40px;
}
.home-hero .hero-line-1 {
  position: relative;
  left: 25%;
  width: max-content;
  max-width: 90%;
  transform: translateX(-25%);
  text-align: left;
  margin: 2em 0 0;
}
.home-hero .hero-line-2 {
  margin: 0.25em 0 0;
}

main { flex: 1; }
.section { padding: 36px 0; }
.center { text-align: center; }
h2 { font-size: 1.45rem; margin: 0 0 16px; }
h3 { margin: 0 0 8px; font-size: 1.05rem; }
p { margin: 0 0 12px; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 22px;
}
@media (max-width: 800px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.team-box {
  border: 1px solid #222;
  max-width: 720px;
  margin: 18px auto 0;
}
.team-box p {
  margin: 0;
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid #222;
}
.team-box p:last-child { border-bottom: 0; }

.siegel-section .siegel { display: inline-block; }
.siegel-section .siegel img {
  width: 250px;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}
.siegel-hinweis { font-size: 0.9rem; color: var(--muted); margin: 10px 0 0; }

.highlight { color: var(--accent); font-weight: 700; }
.underline { text-decoration: underline; }
.legal h3 { text-decoration: underline; margin-top: 22px; }
.legal h2 { text-align: center; text-decoration: underline; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 28px;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

label { display: block; font-weight: 700; margin: 12px 0 4px; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
  width: 100%;
  max-width: 420px;
  border: 1px solid #bbb;
  padding: 8px 10px;
  font: inherit;
  background: #fafafa;
}
textarea { min-height: 120px; max-width: 100%; }
.btn {
  display: inline-block;
  background: var(--btn);
  color: #fff;
  border: 0;
  padding: 10px 28px;
  margin-top: 14px;
  cursor: pointer;
  font: inherit;
}
.btn:hover { background: var(--btn-hover); }

.map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.job-panel {
  background: var(--soft) center/contain no-repeat;
  padding: 28px 0 36px;
  position: relative;
}
.job-panel::before {
  content: "FIND JOB";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 800;
  color: rgba(0,0,0,.06);
  letter-spacing: 0.08em;
  pointer-events: none;
}
.job-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
}
@media (max-width: 800px) {
  .job-grid { grid-template-columns: 1fr; }
}

.site-footer {
  background: var(--footer);
  color: #eee;
  padding: 22px 0 18px;
  font-size: 0.92rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: #eee; }
.social { display: flex; gap: 10px; }
.social a {
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 0.75rem;
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111;
  color: #fff;
  padding: 10px 16px;
  display: none;
  z-index: 40;
  font-size: 0.9rem;
}
.cookie.show { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie a { color: #fff; }
.cookie .x {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.notice {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  padding: 10px 12px;
  margin: 12px 0;
}
.notice.err {
  background: #fdecea;
  border-color: #f5c2c0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-row input { max-width: none; }
.agb p, .legal p { max-width: 900px; }
.agb h3 { margin-top: 20px; }
.credits { font-size: 0.75rem; color: #888; padding: 8px 0 24px; }
