/* ========== Base ========== */
:root{
  --bg: #F9FAFB;
  --text-strong: #1A1F26;
  --text: #525860;
  --text-muted: #6B7280;
  --rule: #E6E8EC;
}

*{ box-sizing: border-box; }

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

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* readability */
  font-size: 17px;
  line-height: 1.65;
}

/* Headings */
h1, h2{
  color: var(--text-strong);
  margin: 0 0 0.75rem 0;
}

h1{
  font-size: clamp(2.15rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Paragraph rhythm */
p{ margin: 0 0 1rem 0; }

/* ========== Links (accessible but subtle) ========== */
a{
  color: var(--text-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover{
  text-decoration-thickness: 1.5px;
}

a:focus-visible{
  outline: 2px solid var(--text-muted);
  outline-offset: 2px;
  border-radius: 2px; /* minimal, only for outline readability */
}

/* ========== Navigation ========== */
.nav{
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}

.nav-inner{
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-name{
  font-size: 1rem;
  color: var(--text-strong);
  letter-spacing: 0.01em;
}

/* keep nav links readable */
.nav a{
  font-size: 0.95rem; /* ~16px */
}

/* nav link group */
.nav-links{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* current page indicator stays subtle but clear */
.nav a[aria-current="page"]{
  text-decoration-thickness: 2px;
}

/* ========== Hero ========== */
.hero{
  max-width: 960px;
  margin: 5rem auto 4rem;
  padding: 0 1.5rem;

  /* watermark extension */
  position: relative;
  overflow: hidden;
  isolation: isolate; /* sauberes Layering */
}

/* content stays above watermark */
.hero-content{
  position: relative;
  z-index: 2;
}

/* watermark itself */
.hero-watermark{
  position: absolute;
  z-index: 1;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: min(720px, 72vw);
  opacity: 0.06;           /* sehr dezent */
  pointer-events: none;    /* nie klickbar */
  user-select: none;
  filter: grayscale(1);    /* neutral, ruhig */
}

.hero-watermark img{
  width: 100%;
  height: auto;
  display: block;
}	


.meta{
  color: var(--text-muted);
  font-size: 0.9rem;        /* ~15px */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ========== Sections ========== */
.section{
  max-width: 960px;
  margin: 4rem auto;
  padding: 3rem 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.section h2{
  font-size: 1.25rem;
  line-height: 1.3;
}

/* ========== Small screens ========== */
@media (max-width: 480px){
  body{ font-size: 16.5px; } /* tiny reduction for narrow screens */
  .hero{ margin: 3.5rem auto 3rem; }
  .section{ margin: 3rem auto; }
}
