/* RED Baufeld – Wartungsseite bis zum Livegang der neuen Website (Stil aus Entwurf 1) */
/* Schriften lokal (OFL-1.1, aus @fontsource 5.3) – keine Anfragen an Google */
@font-face { font-family: Jost; font-style: normal; font-weight: 400; font-display: swap; src: url("schriften/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Jost; font-style: normal; font-weight: 500; font-display: swap; src: url("schriften/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: Jost; font-style: normal; font-weight: 600; font-display: swap; src: url("schriften/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("schriften/source-serif-4-latin-opsz-normal.woff2") format("woff2-variations"), url("schriften/source-serif-4-latin-opsz-normal.woff2") format("woff2"); }

:root {
  --rot: #8e2331;
  --anthrazit: #25272a;
  --papier: #f6f3ee;
  --weiss: #ffffff;
  --linie: #ddd7ce;
  --text: #2b2d30;
  --grau: #63666a;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Jost, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --rand: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--weiss); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--anthrazit); margin: 0; text-wrap: balance; }
.innen { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--rand); }
.dachzeile { font: 600 12.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rot); margin: 0 0 22px; }

header { border-bottom: 1px solid var(--linie); }
header .innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
header .logo img { width: 124px; height: auto; }
header .tel { font-weight: 500; text-decoration: none; color: var(--grau); white-space: nowrap; }
header .tel:hover { color: var(--rot); }

main { flex: 1; }

/* Startseite der Wartung */
.wartung { background: var(--papier); overflow: hidden; }
.wartung .innen { position: relative; display: flex; align-items: center; min-height: clamp(520px, 52vw, 720px); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.wartung .text { position: relative; z-index: 1; max-width: 540px; }
.wartung h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.08; letter-spacing: -0.015em; }
.wartung .unterzeile { font-size: clamp(18px, 1.6vw, 21px); color: var(--grau); margin: 28px 0 0; }
.wartung figure { margin: 0; position: absolute; top: 24px; bottom: 0; right: calc(var(--rand) - 40px); pointer-events: none; }
.wartung figure img { height: 100%; width: auto; max-width: none; }

.kontakt { padding: clamp(40px, 5vw, 64px) 0; }
.kontakt dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; }
.kontakt dt { font: 600 12.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grau); margin-bottom: 12px; }
.kontakt dd { margin: 0; font: 400 clamp(19px, 1.8vw, 23px)/1.4 var(--serif); color: var(--anthrazit); }
.kontakt dd a { text-decoration: none; border-bottom: 1px solid var(--rot); }
.kontakt dd a:hover { color: var(--rot); }

/* Impressum und Datenschutz */
.seitenkopf { background: var(--papier); padding: clamp(40px, 6vw, 72px) 0; }
.seitenkopf h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.1; }
.zurueck { display: inline-block; margin-bottom: 20px; font-size: 15px; color: var(--grau); text-decoration: none; }
.zurueck:hover { color: var(--rot); }
.rechtstext { padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.lauftext { max-width: 760px; }
.lauftext h2 { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.25; margin: 48px 0 14px; }
.lauftext h2:first-child { margin-top: 0; }
.lauftext p { margin: 0 0 16px; }
.lauftext ul { margin: 0 0 16px; padding-left: 1.2em; }
.lauftext a { color: var(--rot); }
.platzhalter { background: #fff3b0; padding: 0 4px; }

footer { background: var(--anthrazit); color: #c9cbcd; font-size: 15px; }
footer .innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; }
footer a { color: #c9cbcd; text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .wartung figure { opacity: 0.18; right: -120px; }
  .kontakt dl { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  header .tel { display: none; }
}
