/* =========================================================
   D+D — Architektur und Tragwerksplanung
   Temporäre Website · reines HTML/CSS
   ========================================================= */

:root {
  --ink:    #141414;
  --text:   #2c2c29;
  --muted:  #6b6b66;
  --faint:  #9a9a93;
  --hair:   #c9c8c1;
  --line:   rgba(0, 0, 0, 0.08);
  --bg:     #ffffff;
  --panel:  #f4f3f0;
  --display: 'Jost', system-ui, sans-serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }

img { display: block; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(24px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img { height: 38px; width: auto; }

.brand span {
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-link {
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nav-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-link .arrow { font-size: 15px; }

main { flex: 1 0 auto; }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(64px, 13vw, 150px) clamp(24px, 6vw, 84px) clamp(56px, 9vw, 110px);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 38px;
}

.hero-logo { width: min(620px, 86vw); height: auto; }

.hero-tagline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #3a3a37;
  max-width: 660px;
  margin: 46px 0 0;
  text-wrap: pretty;
}

.hero-note {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #b4b4ab;
  text-transform: uppercase;
  margin: 34px 0 0;
}

/* ---------- Bereiche ---------- */
.areas {
  background: var(--panel);
  padding: clamp(64px, 9vw, 110px) clamp(24px, 6vw, 84px);
}

.areas-inner { max-width: 1080px; margin: 0 auto; }

.section-label {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 70px);
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--faint);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: clamp(34px, 4vw, 52px);
  min-height: 320px;
  text-decoration: none;
}

.card--link { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.card--link:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.35); }

/* corner brackets */
.card .corner {
  position: absolute;
  width: 24px;
  height: 24px;
}
.card .corner.tl { top: 18px; left: 18px;  border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.card .corner.tr { top: 18px; right: 18px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.card .corner.bl { bottom: 18px; left: 18px;  border-bottom: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.card .corner.br { bottom: 18px; right: 18px; border-bottom: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }

.card--muted .corner { border-color: var(--hair) !important; }

.card-index {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
.card--muted .card-index { color: var(--hair); }

.card h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.04em;
  margin: 18px 0 0;
  color: var(--ink);
}
.card--muted h2 { color: var(--faint); }

.card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 18px 0 0;
  flex: 1;
}
.card--muted p { color: var(--faint); }

.card-action {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.card-status {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b4b4ab;
  margin-top: 28px;
}

/* ---------- Über ---------- */
.about { padding: clamp(64px, 10vw, 120px) clamp(24px, 6vw, 84px); }
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about-lead {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.75;
  color: #3a3a37;
  margin: 30px 0 0;
  text-wrap: pretty;
}
.about p:last-child {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin: 26px 0 0;
}

/* ---------- Impressum ---------- */
.legal { padding: clamp(56px, 9vw, 110px) clamp(24px, 6vw, 84px) clamp(64px, 9vw, 110px); }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal .eyebrow { margin-bottom: 0; display: block; }
.legal h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 0.02em;
  margin: 20px 0 0;
  line-height: 1.05;
}
.legal h2.sub {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.legal h2, .legal h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}
.legal h2 { margin: 48px 0 16px; }
.legal h3 { margin: 36px 0 16px; }
.legal p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  margin: 0;
}
.legal p + p { margin-top: 16px; }
.legal a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, 0.25); }
.legal a:hover { border-bottom-color: var(--ink); }
.rule { height: 1px; background: rgba(0, 0, 0, 0.1); }
.rule--lg { margin: clamp(40px, 6vw, 64px) 0; }
.rule--xl { margin: clamp(44px, 7vw, 72px) 0; }

/* ---------- Footer ---------- */
.site-footer {
  flex-shrink: 0;
  background: var(--ink);
  color: var(--hair);
  padding: clamp(48px, 7vw, 76px) clamp(24px, 6vw, 84px) clamp(34px, 4vw, 44px);
}
.footer-top {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer.compact .footer-top { display: none; }
.footer-logo { height: 46px; width: auto; }
.footer-contact { font-size: 15px; line-height: 1.8; color: var(--faint); }
.footer-contact .label {
  font-family: var(--display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-contact a { color: var(--hair); text-decoration: none; }
.footer-contact a:hover { color: #ffffff; }
.footer-bottom {
  max-width: 1080px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}
.site-footer.compact .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; max-width: 760px; }
.footer-bottom .copy { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.footer-bottom a {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  text-decoration: none;
}
.footer-bottom a:hover { color: #ffffff; }
