:root{
  --ground:#F5F6F2;
  --surface:#FFFFFF;
  --ink:#191C18;
  --ink-soft:#4B524A;
  --muted:#7E857C;
  --line:#DEE0D8;
  --accent:#42623C;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ground:#121410;
    --surface:#191C17;
    --ink:#EAEDE6;
    --ink-soft:#B3B9AF;
    --muted:#8B9288;
    --line:#282D25;
    --accent:#8FBA84;
  }
}
:root[data-theme="dark"]{
  --ground:#121410;
  --surface:#191C17;
  --ink:#EAEDE6;
  --ink-soft:#B3B9AF;
  --muted:#8B9288;
  --line:#282D25;
  --accent:#8FBA84;
}

*{box-sizing:border-box;}
html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100svh;
}

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

.shell{
  max-width:46rem;
  width:100%;
  margin:0 auto;
  padding:0 clamp(1.25rem,5vw,2rem);
}

.wordmark{
  font-weight:600;
  font-size:1.02rem;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:var(--ink);
  margin:0;
  text-decoration:none;
}
.wordmark sup{ font-size:.5em; letter-spacing:0; top:-.9em; }

.rule{ height:1px; background:var(--line); border:0; margin:0; }

h1{
  font-family:Georgia,"Iowan Old Style","Times New Roman",Times,serif;
  font-weight:400;
  letter-spacing:-.015em;
  margin:0;
  text-wrap:balance;
}
h1 em{ font-style:italic; color:var(--accent); }

/* ---- Startseite ---- */
.hero{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2rem;
  padding:4rem 0 5rem;
}
.hero h1{
  font-size:clamp(2.4rem,7.5vw,4.2rem);
  line-height:1.06;
}
.lede{
  font-size:1.14rem;
  color:var(--ink-soft);
  max-width:34rem;
  margin:0;
}
.reach{
  margin:0;
  padding-top:.5rem;
  font-size:1.02rem;
  color:var(--muted);
}
.reach a{
  color:var(--ink);
  font-weight:500;
  text-decoration-color:var(--accent);
}

/* ---- Unterseiten ---- */
.topbar{
  padding:2rem 0 0;
}
.topbar .shell{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.back{
  font-size:.85rem;
  color:var(--muted);
  text-decoration:none;
}
.back:hover{ color:var(--accent); }

.page{
  flex:1;
  padding:2.5rem 0 clamp(3.5rem,8vw,5.5rem);
}
.page h1{
  font-size:clamp(2rem,5.5vw,2.9rem);
  line-height:1.1;
  padding-bottom:1rem;
  border-bottom:1px solid var(--line);
  margin-bottom:2.5rem;
}
.block{ display:flex; flex-direction:column; gap:1.6rem; }
h2{
  font-size:.74rem;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:600;
  margin:0 0 .35rem;
}
.page p{ margin:0; max-width:38rem; color:var(--ink-soft); font-size:.97rem; }
.page p strong{ color:var(--ink); font-weight:600; }
address{ font-style:normal; color:var(--ink-soft); font-size:.97rem; }
address strong{ color:var(--ink); font-weight:600; }

footer{
  border-top:1px solid var(--line);
  padding:1.6rem 0 2.5rem;
  background:var(--ground);
}
footer .shell{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:.35rem .85rem;
  font-size:.85rem;
  color:var(--muted);
}
footer a{ color:var(--muted); }
footer a:hover{ color:var(--accent); }
footer .sep{ color:var(--line); }
