/* mehrfamilienhouse.de
   Styles of the placeholder design (mehrfamilienhouse-platzhalter.zip),
   moved out of the pages because the CSP in public/_headers forbids inline
   styles. Type: the design uses the system font stack only, so the site
   loads no web font at all, neither from Google nor from here. */

:root {
  --bg: #0e0e12;
  --text: #f2f1ec;
  --muted: #8f8f9c;
  --line: #1f1f27;
  --accent: #5c8dff; /* sound waves in the logo */
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

a {
  color: inherit;
  text-underline-offset: 3px;
}
a:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 16px; color: var(--bg); }

/* First screen as in the design: content centred, credits line at the
   bottom edge. The imprint follows below it. */
.screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 64px 24px;
  text-align: center;
}

.logo {
  display: block;
  width: 220px;
  height: auto;
}

/* The design's clamp(36px, 7vw, 88px), except that the floor gives way
   below 450px: "mehrfamilienhouse.de" is one unbreakable word and would
   overflow phones at 36px. */
.title {
  margin: 0;
  font-size: clamp(min(36px, 8vw), 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.title .tld { color: var(--muted); }

.lead {
  margin: 0;
  font-size: 20px;
  color: var(--muted);
}

.credits {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.credits a,
.imprint a,
.doc__back {
  color: var(--muted);
  /* Inline padding does not move the text but makes the link 44px tall to
     the finger. */
  padding-block: 14px;
}
.credits a:hover,
.imprint a:hover,
.doc__back:hover { color: var(--text); }

/* Imprint, in the footer of the start page (/#impressum). */
.imprint {
  border-top: 1px solid var(--line);
  padding: 56px 24px 72px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.imprint__inner {
  max-width: 960px;
  margin: 0 auto;
}

.imprint__title {
  margin: 0 0 28px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.imprint__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px 48px;
  margin: 0;
}

.imprint dt {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.imprint dd { margin: 0; }

/* Links stacked in the imprint get a full 44px row each. */
.imprint dd a {
  display: block;
  width: fit-content;
  padding-block: 10px;
}
.imprint dd a:first-child { margin-top: -10px; }

.imprint address { font-style: normal; }

/* Text pages: privacy policy and 404. */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  line-height: 1.65;
}

.doc__home {
  display: inline-block;
  margin-bottom: 48px;
}
.doc__home .logo { width: 132px; }

.doc h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  overflow-wrap: break-word;
  hyphens: auto;
}

.doc h2 {
  margin: 40px 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.doc p,
.doc li { margin: 0 0 14px; font-size: 16px; }

.doc .lead { margin-bottom: 14px; font-size: 20px; line-height: 1.5; }

.doc a { color: var(--text); padding-block: 13px; }

.doc__stand {
  margin-top: 40px;
  color: var(--muted);
}

.doc__back {
  display: inline-block;
  margin-top: 8px;
  padding-block: 12px;
  line-height: 20px;
  font-weight: 600;
}
