/* ===== DECOPAC ===== */
:root {
  --bg: #0f172a;            /* Header/Footer-Hintergrund (dunkel) */
  --bg-elev: #111827;       /* Dunkler Karten-Hintergrund */
  --surface: #ffffff;       /* Karten/Flächen (hell) */
  --text: #0b1220;          /* Fließtext */
  --muted: #4b5563;         /* Sekundärtext */
  --brand: #cda35f;         /* Akzent (Gold) */
  --brand-strong: #b5893c;  /* Akzent Hover */
  --line: #e5e7eb;          /* zarte Linie */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
  --container: 1200px;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               "Noto Sans", "Liberation Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: #f8fafc;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--container); margin-inline: auto; padding: 1.25rem; }

/* Skip-Link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem .75rem;
  background: var(--brand); color: #000; border-radius: 8px; z-index: 1000; box-shadow: var(--shadow);
}

/* Header */
.site-header { background: var(--bg); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.logo img { width: 40px; height: 40px; border-radius: 8px; }
.logo span { font-weight: 700; letter-spacing: .3px; }

/* Navigation */
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; user-select: none; color: #fff; padding: .5rem .75rem; border-radius: 10px; display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(255,255,255,.15); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-list { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--bg-elev); color: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; min-width: 200px; border: 1px solid rgba(255,255,255,.08); }
.nav-list a { display: block; padding: .6rem .8rem; border-radius: 8px; color: #fff; }
.nav-list a:hover { background: rgba(255,255,255,.06); text-decoration: none; }

.nav-inline { display: none; gap: .5rem; }
.nav-inline a { color: #fff; padding: .5rem .8rem; border-radius: 10px; border: 1px solid transparent; font-weight: 500; }
.nav-inline a:hover { border-color: rgba(255,255,255,.2); text-decoration: none; }

@media (min-width: 900px) {
  .nav-mobile { display: none; }
  .nav-inline { display: inline-flex; }
}

/* Hero / Grid */
.hero { background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%); padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 320px 1fr 320px; gap: 1.5rem; } }

.left-col, .right-col { display: grid; gap: 1.25rem; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: clip; }
.card.pad { padding: clamp(1rem, 2.2vw, 1.5rem); }

/* Text */
.h1 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin: 0 0 .75rem 0; color: var(--bg); }
.h2 { font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); margin: 0 0 .5rem 0; color: var(--bg); }
.about p { margin: 0 0 1rem 0; }

/* Facts */
.facts ul { margin: 0; padding-left: 1.1rem; }
.facts li { margin-bottom: .6rem; }

/* Jobs */
.jobs { background: linear-gradient(180deg, #0f172a 0%, #111827 100%); color: #fff; border: 1px solid rgba(255,255,255,.08); }
.jobs p { margin: .35rem 0; color: #e5e7eb; }
.btn { display: inline-block; background: var(--brand); color: #000; font-weight: 600; padding: .65rem .9rem; border-radius: 12px; border: 1px solid rgba(0,0,0,.1); text-decoration: none; }
.btn:hover { background: var(--brand-strong); text-decoration: none; }

/* Photos */
.photo { aspect-ratio: 4 / 3; background: #e5e7eb; display: block; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.site-footer { background: var(--bg); color: #cbd5e1; margin-top: 2rem; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr auto; } }
.address a { color: #fff; }
.footer-right { display: grid; gap: 1rem; justify-items: end; }
.footer-nav a { color: #fff; padding: .4rem .6rem; border-radius: 8px; border: 1px solid transparent; }
.footer-nav a:hover { border-color: rgba(255,255,255,.2); text-decoration: none; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.1); }
.social-link:hover { background: rgba(255,255,255,.13); }

/* Misc */
.hr { height: 1px; border: 0; background: var(--line); margin: .75rem 0 1rem 0; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Heading in About centered */
.about .h1 { text-align: center; }

/* Center jobs block content */
.jobs, .jobs .h2, .jobs p { text-align: center; }
.jobs .btn { display: inline-block; }

/* Footer address not italic */
.address { font-style: normal; }

/* H2 in Jobs-Karte auf dunklem Hintergrund sichtbar machen */
.jobs .h2 { color: #ffffff; }
