/* Fonts are self-hosted from the /fonts folder.
 If the files are missing, the page falls back to Georgia and the system sans-serif.
 No external requests, no scripts, no trackers. */
@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bone: #F4EDE3;
  --ink: #241F1B;
  --terracotta: #A64B34;
  --olive: #707A3E;
  /* the tick: graphics only, never text */
  --clay: #EBD9CB;
  --taupe: #CDBBAA;
  --deep: #201A16;
  --muted: #5E5148;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 16px;
}

/* Nav: name on the left, in-page links on the right. External links live further down. */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  text-decoration: none;
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav ul a {
  text-decoration: none;
}

.nav ul a:hover {
  color: var(--terracotta);
}

.nav .pill {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 20px;
}

.nav .pill:hover {
  background: var(--ink);
  color: var(--bone);
}

@media (max-width: 700px) {
  .nav li:not(:last-child):not(.lang) {
    display: none;
  }

  .nav ul {
    gap: 16px;
    font-size: 0.9rem;
  }

  .nav .pill {
    padding: 7px 14px;
  }
}

.brand,
.nav ul a {
  white-space: nowrap;
}

.nav ul {
  margin-left: 16px;
}

/* Language link shows "DE"/"EN" on very narrow phones */
.lang-short {
  display: none;
}

@media (max-width: 400px) {
  .lang-full {
    display: none;
  }

  .lang-short {
    display: inline;
  }
}

/* Hero */
.hero {
  display: grid;
  gap: 56px;
  align-items: center;
  padding: 32px 0 104px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero {
    /* minmax(0, …) keeps long words from squeezing the portrait column */
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 80px;
    padding: 40px 0 128px;
  }
}

.portrait {
  position: relative;
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 410px;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-2deg);
}

.badge {
  position: absolute;
  right: -28px;
  bottom: -6px;
  width: 128px;
  height: 128px;
}

.badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 28s linear infinite;
}

.badge text {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: var(--bone);
  text-transform: uppercase;
}

.badge a {
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
}

.badge a:hover {
  background: var(--ink);
  color: var(--bone);
}

@media (max-width: 520px) {
  .badge {
    width: 104px;
    height: 104px;
    right: -8px;
  }

  .badge a {
    inset: 28px;
    font-size: 0.72rem;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge svg {
    animation: none;
  }
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  margin-bottom: 26px;
}

/* German has longer words ("Unternehmerinnen"), so the headline is a bit smaller */
h1:lang(de) {
  font-size: clamp(2rem, 8.4vw, 3.3rem);
  text-wrap: balance;
}

@media (min-width: 900px) {
  h1:lang(de) {
    font-size: clamp(2.6rem, 4vw, 3.3rem);
  }
}

.hl {
  position: relative;
  white-space: nowrap;
}

.hl svg {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.32em;
  overflow: visible;
}

.lead {
  max-width: 30em;
  font-size: 1.18rem;
  color: var(--muted);
  margin: 0 0 34px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--bone);
  font-weight: 700;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  transition: background .15s;
}

.btn:hover {
  background: var(--ink);
}

.arrow-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--taupe);
  padding-bottom: 2px;
}

.arrow-link:hover {
  border-color: var(--terracotta);
}

/* Sections */
section {
  padding: 96px 0;
}

.head {
  display: grid;
  gap: 14px 64px;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .head {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 6px 20px;
  padding: 30px 0;
  border-top: 1px solid var(--taupe);
}

.services li:last-child {
  border-bottom: 1px solid var(--taupe);
}

.services .no {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--terracotta);
  line-height: 1;
  padding-top: 4px;
}

.services h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.services p {
  margin: 0;
  color: var(--muted);
  max-width: 34em;
}

.band {
  background: var(--clay);
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.checks li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.checks svg {
  width: 36px;
  height: 36px;
  margin-top: 2px;
}

.checks strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 700;
}

.checks span {
  color: var(--muted);
}

.work {
  list-style: none;
  margin: 0;
  padding: 0;
}

.work li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  padding: 30px 0;
  border-top: 1px solid var(--taupe);
  align-items: baseline;
}

.work li:last-child {
  border-bottom: 1px solid var(--taupe);
}

.work h3 {
  font-size: 1.5rem;
}

.work .tags {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.95rem;
}

.work .status {
  grid-row: 1;
  grid-column: 2;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
}

.about p {
  margin: 0 0 20px;
  max-width: 36em;
}

.links {
  margin-top: 28px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.placeholder {
  background: #FFF3B0;
  color: #3A3000;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 600;
}

footer {
  background: var(--deep);
  color: var(--taupe);
  padding: 88px 0 56px;
  font-size: 0.95rem;
}

footer h2 {
  color: var(--bone);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 13em;
  margin-bottom: 18px;
}

footer p {
  margin: 0 0 8px;
}

footer .actions {
  margin: 22px 0 56px;
}

footer .btn {
  background: var(--terracotta);
}

footer .btn:hover {
  background: var(--bone);
  color: var(--ink);
}

footer a:not(.btn) {
  color: var(--bone);
}

/* Legal pages (Impressum) */
.legal {
  max-width: 44em;
  padding: 48px 0 96px;
}

.legal h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

.legal h2 {
  font-size: 1.4rem;
  margin: 36px 0 10px;
}
