/* ============================================================
   Autotechnik Delkener GmbH — autotechnik-delkener.de
   Design: Anthrazit / Signal-Orange · Barlow (self-hosted)
   ============================================================ */

/* ---------- Schriften (lokal, DSGVO-sicher) ---------- */
@font-face {
  font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('fonts/barlow-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('fonts/barlow-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('fonts/barlow-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-weight: 800; font-style: normal; font-display: swap;
  src: url('fonts/barlow-condensed-latin-800-normal.woff2') format('woff2');
}

/* ---------- Token ---------- */
:root {
  --asphalt: #14171c;
  --panel: #1b2027;
  --steel: #232a34;
  --line: #2d3542;
  --orange: #ff6b1a;
  --amber: #ffb347;
  --chalk: #eef1f5;
  --fog: #9aa4b1;
  --ok: #35c383;
  --grad: linear-gradient(115deg, var(--orange), var(--amber));
  --disp: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--asphalt); color: var(--chalk);
  font-family: var(--body); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); }
::selection { background: var(--orange); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--disp); text-transform: uppercase; line-height: 1.02; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--grad); border-radius: 2px; }
.sec-head { margin-bottom: 42px; }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 58px); font-weight: 800; letter-spacing: .01em; margin-top: 10px; }
.sec-head p { color: var(--fog); max-width: 640px; margin: 14px 0 0; }

section { padding: 92px 0; }
section.tight { padding: 64px 0; }

/* ---------- Header ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: color-mix(in srgb, var(--asphalt) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--chalk); margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: var(--grad);
  display: grid; place-items: center; font-family: var(--disp); font-weight: 800;
  font-size: 20px; letter-spacing: 0.3px; color: #16181c;
  box-shadow: 0 4px 18px -6px rgba(255, 107, 26, .6);
}
.brand b { font-family: var(--disp); font-size: 20px; letter-spacing: .04em; text-transform: uppercase; display: block; line-height: 1; }
.brand small { color: var(--fog); font-size: 11.5px; letter-spacing: .08em; }
.nav { display: flex; gap: 26px; }
.nav a {
  color: var(--fog); text-decoration: none; font-size: 14.5px; font-weight: 500;
  letter-spacing: .04em; transition: color .15s ease;
}
.nav a:hover { color: var(--chalk); }
.top-call {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  background: var(--grad); color: #16181c; font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 22px -8px rgba(255, 107, 26, .65);
  transition: transform .15s ease, box-shadow .15s ease;
}
.top-call:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(255, 107, 26, .8); }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--chalk); border-radius: 10px; width: 44px; height: 44px; font-size: 19px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 186px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 82% 18%, rgba(255, 107, 26, .13), transparent 65%),
    repeating-linear-gradient(-45deg, transparent 0 46px, rgba(255, 255, 255, .016) 46px 48px);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(52px, 7.6vw, 96px); font-weight: 800; }
.hero h1 .hl { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hero-sub { color: var(--fog); font-size: 18px; max-width: 520px; margin: 22px 0 30px; }
.hero-sub b { color: var(--chalk); }

.open-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  border: 1px solid var(--line); background: var(--panel); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--fog);
}
.open-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fog); }
.open-badge.open { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.open-badge.open .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(53, 195, 131, .15); animation: pulse 2.2s ease infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(53, 195, 131, 0); } }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 16px; border-radius: 12px;
  padding: 15px 26px; border: 1px solid var(--line); color: var(--chalk); background: var(--panel);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--orange); }
.btn.primary { background: var(--grad); color: #16181c; border: none; box-shadow: 0 8px 26px -10px rgba(255, 107, 26, .7); }
.hero-facts { display: flex; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.hero-facts div { border-left: 3px solid var(--orange); padding-left: 14px; }
.hero-facts b { font-family: var(--disp); font-size: 26px; letter-spacing: .02em; display: block; }
.hero-facts span { color: var(--fog); font-size: 13px; }

/* Duotone-Rahmen für Bilder der alten Seite */
.duo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--steel); }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.92); }
.duo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255, 107, 26, .38), rgba(20, 23, 28, .25) 60%);
  mix-blend-mode: overlay; pointer-events: none;
}
.duo.frame { border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.hero-img { aspect-ratio: 5/4; transform: rotate(1.5deg); }
.hero-img img { animation: heroin 1s ease both .15s; }
@keyframes heroin { from { opacity: 0; transform: scale(1.05); } }

/* ---------- Leistungen ---------- */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.svc {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
  flex: 1 1 340px; max-width: 380px;
}
.svc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--orange) 55%, var(--line)); }
.svc-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel); }
.svc-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.1) brightness(.82);
  transition: transform .5s ease, filter .3s ease;
}
.svc:hover .svc-photo img { transform: scale(1.06); filter: grayscale(.4) contrast(1.1) brightness(.88); }
.svc-photo.has-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(255, 107, 26, .4), rgba(20, 23, 28, .25) 55%, rgba(20, 23, 28, .55) 100%);
  mix-blend-mode: overlay; pointer-events: none;
}
.svc-photo:not(.has-img) {
  display: grid; place-items: center;
  background: radial-gradient(120% 140% at 30% 20%, color-mix(in srgb, var(--orange) 16%, var(--steel)), var(--steel));
}
.svc-photo-emoji { font-size: 40px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.svc h3 { font-size: 23px; font-weight: 700; letter-spacing: .02em; margin: 0 0 8px; }
.svc-body { padding: 18px 20px 20px; }
.svc-body p { color: var(--fog); font-size: 14.5px; margin: 0 0 14px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: none; grid-template-columns: 1fr 1fr; gap: 7px 14px; }
.svc.open .svc-list { display: grid; }
.svc-list li { font-size: 14px; color: var(--chalk); display: flex; align-items: center; gap: 8px; }
.svc-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
.svc-more {
  background: none; border: none; color: var(--orange); font-family: var(--body);
  font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 0; letter-spacing: .04em;
}
.svc.open .svc-more .plus { display: inline-block; transform: rotate(45deg); }
.svc-more .plus { transition: transform .2s ease; display: inline-block; }

/* ---------- HU/AU-Plaketten-Leiste (Signature) ---------- */
.hu { background: var(--panel); border-block: 1px solid var(--line); }
.hu-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.hu-day { text-align: center; padding: 22px 8px 18px; border-radius: var(--radius); background: var(--steel); border: 1px solid var(--line); }
.hu-day .plakette {
  width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; position: relative;
  display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 20px;
  color: #16181c; background: conic-gradient(from 210deg, var(--amber), var(--orange) 55%, var(--amber));
  box-shadow: inset 0 0 0 5px rgba(22, 24, 28, .28), 0 8px 20px -8px rgba(255, 107, 26, .5);
}
.hu-day.off .plakette { background: var(--line); color: var(--fog); box-shadow: inset 0 0 0 5px rgba(22, 24, 28, .28); }
.hu-day b { display: block; font-size: 15px; }
.hu-day span { color: var(--fog); font-size: 12.5px; }
/* Prüfpartner-Farben: TÜV Nord Blau & KÜS Rot */
.hu-day[data-org="tuv"] { border-color: color-mix(in srgb, #0066b3 35%, var(--line)); }
.hu-day[data-org="tuv"] .plakette {
  background: linear-gradient(135deg, #2f93e0, #0057a3);
  box-shadow: inset 0 0 0 5px rgba(22, 24, 28, .28), 0 8px 20px -8px rgba(0, 102, 179, .6);
  color: #fff;
}
.hu-day[data-org="tuv"] b { color: #4da8e0; }

.hu-day[data-org="kues"] { border-color: color-mix(in srgb, #e2001a 35%, var(--line)); }
.hu-day[data-org="kues"] .plakette {
  background: linear-gradient(135deg, #ff4d4d, #c2001a);
  box-shadow: inset 0 0 0 5px rgba(22, 24, 28, .28), 0 8px 20px -8px rgba(226, 0, 26, .6);
  color: #fff;
}
.hu-day[data-org="kues"] b { color: #ff6b6b; }
.hu-note { color: var(--fog); font-size: 14px; margin-top: 22px; }

/* ---------- Warum wir ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.why { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 4px; background: var(--grad); border-radius: 0 0 4px 0; }
.why .big { font-size: 30px; margin-bottom: 10px; }
.why h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.why p { color: var(--fog); font-size: 14.5px; margin: 0; }

/* ---------- Über uns ---------- */
.about .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 54px; align-items: center; }
.about-img { aspect-ratio: 16/10; transform: rotate(-1.5deg); }
.about p { color: var(--fog); }
.about p b { color: var(--chalk); }
.seal {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px;
  border: 1px dashed color-mix(in srgb, var(--orange) 50%, var(--line));
  border-radius: 12px; padding: 12px 18px; font-size: 14px; color: var(--chalk); font-weight: 600;
}
.seal .ico { font-size: 22px; }

/* ---------- Bewertungen (Slideshow) ---------- */
.stars-row { color: var(--amber); letter-spacing: 3px; font-size: 15px; }

.rev-wrap { margin-top: 40px; }
.rev-carousel { display: flex; align-items: center; gap: 14px; }
.rev-viewport { overflow: hidden; flex: 1; min-width: 0; touch-action: pan-y; }
.rev-track { display: flex; transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
.rev-track.dragging { transition: none; }
.rev-page { flex: 0 0 100%; display: flex; gap: 18px; }
.rev-page .review { flex: 1; min-width: 0; }

.rev-arrow {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--line); color: var(--chalk);
  font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: border-color .15s ease, transform .15s ease, color .15s ease;
}
.rev-arrow:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-1px); }
.rev-arrow:active { transform: translateY(0); }

.rev-dots { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.rev-dots button {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; border: none; cursor: pointer;
  background: var(--line); transition: background .2s ease, transform .2s ease;
}
.rev-dots button.active { background: var(--grad); transform: scale(1.3); }

.review {
  width: 100%; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.review p { font-size: 14.5px; color: var(--chalk); margin: 10px 0 14px; line-height: 1.55; }
.review .who { display: flex; align-items: center; gap: 10px; }
.review .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad); flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #16181c; font-family: var(--disp);
}
.review .who b { font-size: 14px; display: block; line-height: 1.2; }
.review .who span { font-size: 12px; color: var(--fog); }
.g-link { text-align: center; margin-top: 34px; }

@media (max-width: 700px) {
  .rev-arrow { width: 38px; height: 38px; font-size: 19px; }
  .rev-carousel { gap: 8px; }
}


/* ---------- Termin-Formular ---------- */
.termin { background: var(--panel); border-block: 1px solid var(--line); }
.termin .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 54px; }
.t-info h2 { font-size: clamp(36px, 4.6vw, 52px); font-weight: 800; margin-top: 10px; }
.t-info p { color: var(--fog); }
.t-contact { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.t-contact a { color: var(--chalk); text-decoration: none; font-weight: 600; }
.t-contact a:hover { color: var(--amber); }
.t-contact li { display: flex; gap: 12px; align-items: center; }
.t-contact .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--steel); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }

form.anfrage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fog); }
.field input, .field select, .field textarea {
  background: var(--steel); border: 1px solid var(--line); border-radius: 11px;
  color: var(--chalk); font-family: var(--body); font-size: 15.5px; padding: 13px 15px;
  transition: border-color .15s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--fog); margin: 0; }
.form-note a { color: var(--fog); }
#form-status { grid-column: 1 / -1; font-weight: 600; font-size: 14.5px; min-height: 22px; margin: 0; }
#form-status.ok { color: var(--ok); }
#form-status.err { color: #ff6b81; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 60px 0 110px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--disp); text-transform: uppercase; font-size: 17px; letter-spacing: .06em; margin: 0 0 14px; }
.foot-grid p, .foot-grid li { color: var(--fog); font-size: 14.5px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--fog); text-decoration: none; }
.foot-grid a:hover { color: var(--chalk); }
.hours { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours td { padding: 4px 0; color: var(--fog); }
.hours td:last-child { text-align: right; color: var(--chalk); }
.hours tr.today td { color: var(--amber); font-weight: 700; }
.copyline { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--fog); font-size: 13px; }
.credit-line { margin-top: 10px; text-align: center; color: var(--fog); font-size: 11px; opacity: .6; }

/* ---------- Mobile Anruf-Leiste ---------- */
.call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none;
  grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--panel); color: var(--chalk); text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 15px 10px;
}
.call-bar a.hot { background: var(--grad); color: #16181c; }

/* ---------- Stellenangebote ---------- */
.jobs-wrap { display: flex; flex-direction: column; gap: 18px; }
.job {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.job-top { display: flex; align-items: flex-start; gap: 16px; padding: 26px 26px 0; flex-wrap: wrap; }
.job-badge {
  display: inline-flex; align-items: center; gap: 7px; background: color-mix(in srgb, var(--ok) 14%, var(--steel));
  border: 1px solid color-mix(in srgb, var(--ok) 40%, var(--line)); color: var(--ok);
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.job-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.job-top h3 { font-size: 30px; font-weight: 700; letter-spacing: .01em; flex: 1; min-width: 240px; }
.job-sub { color: var(--fog); font-size: 14px; margin-top: 4px; }
.job-body { padding: 16px 26px 26px; }
.job-intro { color: var(--fog); font-size: 15px; margin: 0 0 6px; }
.job-cols { display: none; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.job.open .job-cols { display: grid; }
.job-col h4 { font-family: var(--disp); text-transform: uppercase; font-size: 15px; letter-spacing: .04em; color: var(--amber); margin: 0 0 10px; }
.job-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.job-col li { font-size: 13.5px; color: var(--chalk); display: flex; gap: 8px; line-height: 1.45; }
.job-col li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex-shrink: 0; margin-top: 6px; }
.job-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.job-more {
  background: none; border: none; color: var(--orange); font-family: var(--body);
  font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 0; letter-spacing: .04em;
}
.job.open .job-more .plus { display: inline-block; transform: rotate(45deg); }
.job-more .plus { transition: transform .2s ease; display: inline-block; }
.job-empty {
  text-align: center; background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 50px 26px; color: var(--fog);
}
.job-empty .big { font-size: 40px; margin-bottom: 14px; }
.job-empty h3 { font-size: 24px; color: var(--chalk); font-weight: 700; margin-bottom: 8px; }

/* ---------- Hinweis-Banner (Betriebsferien, Feiertage, etc.) ---------- */
#site-notice {
  position: fixed; top: 0; left: 0; right: 0; z-index: 102; display: none;
  padding: 12px 22px; text-align: center;
}
#site-notice.show { display: block; }
#site-notice.t-info    { background: linear-gradient(120deg, #2b6cb0, #4c8fd4); color: #fff; }
#site-notice.t-warning { background: var(--grad); color: #16181c; }
#site-notice.t-danger  { background: linear-gradient(120deg, #b0272b, #e0453a); color: #fff; }
#site-notice .wrap {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; position: relative; padding: 0 40px;
}
#site-notice .sn-ico { font-size: 17px; flex-shrink: 0; }
#site-notice .sn-text { font-size: 14px; font-weight: 600; line-height: 1.4; }
#site-notice .sn-text b { font-weight: 800; }
#site-notice .sn-dates { font-weight: 500; opacity: .9; }
#site-notice .sn-close {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.15); border: none; color: inherit; width: 26px; height: 26px;
  border-radius: 50%; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
#site-notice .sn-close:hover { background: rgba(0,0,0,.28); }
@media (max-width: 700px) {
  #site-notice { padding: 10px 44px 10px 14px; }
  #site-notice .sn-text { font-size: 13px; }
  #site-notice .wrap { padding: 0; justify-content: flex-start; text-align: left; }
  #site-notice .sn-close { right: -30px; }
}

/* ---------- Admin-Menü (nach dem Entsperren) ---------- */
.jd-menu { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; }
.jd-menu button {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--steel); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; cursor: pointer; font-family: inherit; color: var(--chalk);
}
.jd-menu button:hover { border-color: var(--orange); }
.jd-menu button .mi { font-size: 24px; flex-shrink: 0; }
.jd-menu button .mt { font-weight: 700; font-size: 14.5px; }
.jd-menu button .ms { font-size: 12px; color: var(--fog); margin-top: 2px; }

/* ---------- Hinweis-Banner-Formular im Popup ---------- */
.jd-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--steel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.jd-toggle-row .tlabel { font-weight: 700; font-size: 14.5px; }
.jd-toggle-row .tsub { font-size: 12px; color: var(--fog); margin-top: 2px; }
.jd-switch { position: relative; width: 50px; height: 28px; flex-shrink: 0; }
.jd-switch input { opacity: 0; width: 0; height: 0; }
.jd-switch .track { position: absolute; inset: 0; background: var(--line); border-radius: 999px; cursor: pointer; transition: background .2s ease; }
.jd-switch .track::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s ease; }
.jd-switch input:checked + .track { background: var(--grad); }
.jd-switch input:checked + .track::before { transform: translateX(22px); }
.jd-typerow { display: flex; gap: 8px; margin-bottom: 4px; }
.jd-typerow button {
  flex: 1; padding: 9px; border-radius: 9px; border: 1px solid var(--line); background: var(--steel);
  color: var(--fog); font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.jd-typerow button.sel.info    { border-color: #4c8fd4; color: #fff; background: linear-gradient(120deg,#2b6cb0,#4c8fd4); }
.jd-typerow button.sel.warning { border-color: var(--orange); color: #16181c; background: var(--grad); }
.jd-typerow button.sel.danger  { border-color: #e0453a; color: #fff; background: linear-gradient(120deg,#b0272b,#e0453a); }
.jd-daterow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Footer-Verwalten-Link */
.foot-admin { margin-top: 18px; }
.foot-admin button {
  background: none; border: none; color: var(--fog); font-family: var(--body); font-size: 12.5px;
  cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px;
}
.foot-admin button:hover { color: var(--chalk); }

/* ---------- Admin-Dialog (Stellenverwaltung) ---------- */
dialog.jdlg {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--chalk);
  padding: 0; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); max-width: 560px; width: calc(100vw - 32px);
  max-height: 85vh;
}
dialog.jdlg::backdrop { background: rgba(8, 9, 12, .6); backdrop-filter: blur(3px); }
.jd-inner { padding: 26px; max-height: 85vh; overflow-y: auto; }
.jd-inner h3 { font-family: var(--disp); text-transform: uppercase; font-size: 22px; margin: 0 0 6px; letter-spacing: .02em; }
.jd-sub { color: var(--fog); font-size: 13px; margin: 0 0 20px; }
.jd-field { margin-bottom: 14px; }
.jd-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--fog); margin-bottom: 6px; }
.jd-field input, .jd-field textarea {
  width: 100%; background: var(--steel); border: 1px solid var(--line); border-radius: 10px;
  color: var(--chalk); font-family: var(--body); font-size: 14.5px; padding: 11px 13px;
}
.jd-field input:focus, .jd-field textarea:focus { outline: none; border-color: var(--orange); }
.jd-field textarea { min-height: 78px; resize: vertical; }
.jd-field .hint { font-size: 11.5px; color: var(--fog); margin-top: 5px; }
.jd-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.jd-actions button {
  padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--steel);
  color: var(--chalk); font-family: var(--body); font-size: 14px; font-weight: 600; cursor: pointer;
}
.jd-actions button.primary { background: var(--grad); color: #16181c; border: none; font-weight: 700; }
.jd-actions button.danger { border-color: color-mix(in srgb, #ff6b81 40%, var(--line)); color: #ff6b81; }
.jd-error { color: #ff6b81; font-size: 13px; font-weight: 600; min-height: 18px; margin: 4px 0 0; }
.jd-list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; }
.jd-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--steel); flex-wrap: wrap; }
.jd-row .grow { flex: 1; min-width: 140px; font-weight: 600; font-size: 14px; }
.jd-row .meta { font-size: 11.5px; color: var(--fog); }
.jd-row button { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--chalk); font-size: 12.5px; cursor: pointer; font-family: inherit; }
.jd-row button:hover { border-color: var(--orange); color: var(--orange); }
.jd-row button.jd-del:hover { border-color: #ff6b81; color: #ff6b81; }
.jd-empty2 { text-align: center; color: var(--fog); font-size: 13.5px; padding: 20px 0; }
.jd-pwlock { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 0 4px; }
.jd-pwlock .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.jd-pwlock input { max-width: 260px; text-align: center; letter-spacing: .1em; }
.jd-back { background: none; border: none; color: var(--fog); font-size: 12.5px; cursor: pointer; padding: 0; margin-bottom: 14px; text-decoration: underline; text-underline-offset: 3px; }
.jd-back:hover { color: var(--chalk); }

@media (max-width: 700px) {
  .job-top { padding: 20px 18px 0; }
  .job-body { padding: 14px 18px 22px; }
  .job-cols { grid-template-columns: 1fr; gap: 18px; }
  .job-top h3 { font-size: 25px; }
  .jd-inner { padding: 20px; }
}

/* ---------- Rechtsseiten ---------- */
.legal { padding: 150px 0 90px; max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); font-weight: 800; margin-bottom: 34px; }
.legal h2 { font-size: 26px; font-weight: 700; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--fog); font-size: 15.5px; }
.legal strong { color: var(--chalk); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .rev-track { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .about .wrap, .termin .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 150px; }
  .hero-img { max-width: 560px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hu-days { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: 10px 22px 16px; }
  .nav.openm { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .burger { display: block; }
  .top-call { display: none; }
  .call-bar { display: grid; }
  section { padding: 66px 0; }
  form.anfrage { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  footer { padding-bottom: 130px; }
  .hero-facts { gap: 18px; }
}
