/* abander.de - static stylesheet
   No external fonts, no CDN, no trackers. Everything ships from this origin. */

:root {
  --bg:        #fbfbfa;
  --bg-alt:    #f2f2f0;
  --fg:        #16161a;
  --muted:     #63636a;
  --rule:      #dedddA;
  --accent:    #b3282d;
  --ph-bg:     #fff8e6;
  --ph-fg:     #7a5c00;
  --ph-rule:   #d9bf6a;
  --maxw:      1240px;
  --gut:       clamp(1.25rem, 4vw, 3.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #121214;
    --bg-alt:  #1a1a1d;
    --fg:      #ededec;
    --muted:   #9d9da3;
    --rule:    #2c2c31;
    --accent:  #e2585c;
    --ph-bg:   #2a2412;
    --ph-fg:   #e0c36a;
    --ph-rule: #5c4c1e;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Helvetica Neue", Helvetica, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }

h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  max-width: 18ch;
}

h3 { font-size: 1.06rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); max-width: 48ch; }
.muted { color: var(--muted); }
.small { font-size: 0.87rem; }

/* ---------- placeholder marker ---------- */
/* Visible on purpose: content that still needs real data must never look final. */
.ph {
  background: var(--ph-bg);
  color: var(--ph-fg);
  border-bottom: 1px dashed var(--ph-rule);
  padding: 0 0.22em;
  font-style: normal;
}
.ph-block {
  background: var(--ph-bg);
  color: var(--ph-fg);
  border: 1px dashed var(--ph-rule);
  padding: 1.4rem 1.5rem;
  font-size: 0.92rem;
}
.ph-slot {
  border: 1px dashed var(--ph-rule);
  background: var(--ph-bg);
  color: var(--ph-fg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

/* ---------- header ---------- */
.site-head {
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  z-index: 10;
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-head { background: var(--bg); }
}

.head-in {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.wordmark .dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav a { font-size: 0.93rem; color: var(--muted); white-space: nowrap; transition: color .18s ease; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); }

.lang {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-left: 1px solid var(--rule);
  padding-left: clamp(1rem, 2.4vw, 2.1rem);
}
.lang strong { color: var(--fg); font-weight: 600; }

@media (max-width: 760px) {
  .head-in { height: 62px; }
  .nav .nav-hide { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: end;
}
.hero-copy { grid-column: 1 / span 8; }
.hero-side  { grid-column: 10 / span 3; }

.hero h1 { margin-bottom: 1.5rem; }
.hero .lede { margin-bottom: 2.2rem; }

@media (max-width: 900px) {
  .hero-copy, .hero-side { grid-column: 1 / -1; }
  .hero-side { margin-top: 1.5rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--fg);
  white-space: nowrap;
  transition: transform .12s ease, background .18s ease, color .18s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:active { transform: translateY(1px); }

.link-arrow { color: var(--fg); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent); }

/* ---------- generic section ---------- */
.sec { padding-block: clamp(3.2rem, 7vw, 5.5rem); border-top: 1px solid var(--rule); }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- services: two-column list, hairline between rows only ---------- */
.svc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(2rem, 5vw, 5rem);
}
.svc-item { padding-block: 1.7rem; border-top: 1px solid var(--rule); }
.svc-item h3 { margin-bottom: 0.5rem; }
.svc-item p { color: var(--muted); font-size: 0.96rem; margin: 0; }

@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

/* ---------- about: asymmetric split ---------- */
.about {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
.about-statement { grid-column: 1 / span 7; }
.about-statement .big {
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-bottom: 1.6rem;
}
.about-media { grid-column: 9 / span 4; }

@media (max-width: 900px) {
  .about-statement, .about-media { grid-column: 1 / -1; }
}

/* ---------- contact band ---------- */
.contact { background: var(--bg-alt); border-top: 1px solid var(--rule); }
.contact-in { padding-block: clamp(3.2rem, 7vw, 5rem); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.contact dt { font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.contact dd { margin: 0 0 1.4rem; font-size: 1rem; }
.contact dd:last-child { margin-bottom: 0; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding-block: 2.6rem 3.2rem; }
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.2rem;
  align-items: baseline;
  justify-content: space-between;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-foot a { color: var(--muted); font-size: 0.9rem; transition: color .18s ease; }
.site-foot a:hover { color: var(--fg); }
.copy { color: var(--muted); font-size: 0.86rem; }

/* ---------- legal / prose pages ---------- */
.prose { padding-block: clamp(2.8rem, 6vw, 4.5rem); max-width: 74ch; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 2rem; }
.prose h2 {
  font-size: 1.16rem;
  max-width: none;
  margin: 2.6rem 0 0.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.prose h2:first-of-type { margin-top: 2rem; }
.prose h3 { margin: 1.6rem 0 0.5rem; }
.prose p, .prose li { color: var(--fg); }
.prose ul { padding-left: 1.15rem; margin: 0 0 1.1em; max-width: 62ch; }
.prose li { margin-bottom: 0.4rem; }
.prose address { font-style: normal; margin-bottom: 1.1em; }
.updated { color: var(--muted); font-size: 0.88rem; }

/* ---------- notice banner (staging state) ---------- */
.notice {
  background: var(--ph-bg);
  color: var(--ph-fg);
  border-bottom: 1px solid var(--ph-rule);
  font-size: 0.87rem;
  padding-block: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-head, .notice, .contact { background: none; }
  body { color: #000; background: #fff; }
}

/* spacing helpers (kept out of inline style so CSP style-src can stay 'self') */
.mt { margin-top: 1.6rem; }
.mt-lg { margin-top: 2.5rem; }
