/*
 * Oberlanddesign – Übergangsseite (maintenance-template)
 * Reines CSS, keine externen Ressourcen, kein JavaScript.
 * Enthält bewusst KEINE Kundendaten – diese stehen ausschließlich in den HTML-Dateien.
 * Gestaltung angelehnt an oberlanddesign.de (Farben, Typografie, Linien, Radius 2px).
 */

/* Schriften: lokal ausgeliefert, SIL Open Font License 1.1 (siehe assets/fonts/OFL-*.txt) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f1ec;
  --surface: #fbfaf7;
  --ink: #121212;
  --muted: #686761;
  --line: rgba(18, 18, 18, .16);
  --footer-bg: #080808;
  --footer-ink: #f1efe9;
  --footer-muted: #8d8b86;
  --footer-line: rgba(255, 255, 255, .15);
  --radius: 2px;

  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Instrument Serif", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --shell: min(1320px, calc(100vw - 64px));
  --type-page: clamp(48px, 6vw, 82px);
  --type-lead: clamp(17px, 1.4vw, 20px);
  --type-value: clamp(22px, 2.2vw, 28px);
  --type-body: 15px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --surface: #111111;
    --ink: #f2f0eb;
    --muted: #a4a29c;
    --line: rgba(255, 255, 255, .17);
  }
  .site-footer { border-top: 1px solid var(--footer-line); }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--type-body)/1.7 var(--font-sans);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: var(--radius); }

h1, h2, p { margin-top: 0; overflow-wrap: break-word; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 10;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Kopfzeile: nur Firmenname + Statushinweis, keine Navigation */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .shell {
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px;
}
.brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.status::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Inhalt */
main { flex: 1; padding-block: clamp(64px, 9vw, 128px) clamp(72px, 9vw, 136px); }
/* Breiten nur auf den Kindern begrenzen, damit alles links mit der Kopfzeile fluchtet */
.content > .contact { max-width: 920px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }

h1 {
  margin: 0 0 40px;
  font-size: var(--type-page);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
  hyphens: manual;
}
h1 em { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; }

.lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-lead);
  line-height: 1.65;
  text-wrap: pretty;
}

/* Kontaktliste: redaktionelle Zeilen mit Linien statt Karten */
.contact {
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.contact-row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row dt {
  padding-top: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-row dd {
  margin: 0;
  font-size: var(--type-value);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.contact-row dd a { border-bottom: 1px solid var(--line); transition: border-color .16s ease; }
.contact-row dd a:hover { border-color: currentColor; }
.contact-row address { font-style: normal; }
.contact-row .note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

/* Rechtstexte */
.legal > * { max-width: 820px; }
.legal h1 { margin-bottom: 56px; }
.legal h2 {
  margin: 56px 0 16px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal ul { margin: 0 0 18px; color: var(--muted); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal address { font-style: normal; }
.legal .brandline {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.legal .stand { margin-top: 48px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.back {
  display: inline-flex;
  margin-top: 56px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}
.back:hover { border-color: currentColor; }

/* Fußzeile im Stil von oberlanddesign.de */
.site-footer { background: var(--footer-bg); color: var(--footer-muted); font-size: 12px; }
.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-block: 28px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer nav a { color: var(--footer-ink); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.credit { margin: 0; font-size: 11px; line-height: 1.6; }
.credit a { color: var(--footer-ink); font-weight: 700; }

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 32px); --type-page: clamp(38px, 11vw, 54px); }
  .site-header .shell { min-height: 68px; }
  h1 { margin-bottom: 32px; letter-spacing: -.035em; }
  .contact-row { grid-template-columns: 1fr; padding: 22px 0; }
  .contact-row dt { padding-top: 0; }
  .site-footer .shell { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 430px) {
  :root { --shell: calc(100vw - 28px); }
}

@media print {
  .site-footer { background: none; color: #000; }
  .site-footer nav a, .credit a { color: #000; }
}
