/* Persönliche Website – Stylesheet
   Nur Systemschriften, keine externen Ressourcen. */

:root {
  --green: #00a651;        /* Akzent: Flächen, Linien, große Elemente */
  --green-text: #007a3d;   /* Grün für Text/Buttons auf Weiß (Kontrast 5,4:1) */
  --green-dark: #00602f;   /* Hover */
  --green-on-dark: #3cc47a;/* Grün auf Anthrazit (Kontrast 6,2:1) */
  --anthracite: #2a2d32;
  --anthracite-2: #1e2024;
  --grey-text: #5a5f66;
  --grey-line: #d9dcdf;
  --grey-bg: #f3f4f5;
  --white: #ffffff;
  --max: 72rem;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, "Liberation Sans", sans-serif;
  --font-cond: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--anthracite);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--green-text); text-underline-offset: 0.18em; }
a:hover { color: var(--green-dark); }

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

h1, h2, h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; }

p, ul, ol, address { margin: 0 0 1em; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--anthracite);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* Header */
.site-header {
  background: var(--white);
  border-top: 6px solid var(--green);
  border-bottom: 1px solid var(--grey-line);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--anthracite);
  text-decoration: none;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand:hover { color: var(--anthracite); }
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--green);
  color: var(--white);
  display: inline-grid;
  place-items: center;
  font-size: 1rem;
  letter-spacing: 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.main-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--anthracite);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--grey-line); color: var(--anthracite); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--green); }

/* Hero */
.hero {
  background: var(--anthracite);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* kantiger grüner Keil als Gestaltungselement */
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 38%;
  height: 100%;
  background: var(--green);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.95;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}
.hero-inner { max-width: 40rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green-on-dark);
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  color: #e4e6e9;
  margin-bottom: 2rem;
}

.hero-full { display: flex; align-items: center; }
.hero-full .container { width: 100%; }

.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }

/* Rechtstexte */
.page-head {
  background: var(--grey-bg);
  border-bottom: 1px solid var(--grey-line);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.page-head h1 { margin-bottom: 0.3rem; }
.page-head p { color: var(--grey-text); margin: 0; }

.legal { max-width: 46rem; }
.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--grey-line);
}
.legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { margin-top: 1.5rem; font-size: 1rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.35rem; }

.notice {
  border-left: 5px solid var(--green);
  background: var(--grey-bg);
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

/* Platzhalter, deutlich sichtbar */
.ph {
  background: #fff3b0;
  color: #3d3200;
  padding: 0 0.25em;
  outline: 1px dashed #b39500;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--anthracite-2);
  color: #c8cbd0;
  font-size: 0.95rem;
  border-top: 6px solid var(--green);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}
.site-footer p { margin: 0; }
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 0.35rem 0;
  display: inline-block;
}
.footer-nav a:hover { color: var(--green-on-dark); text-decoration: underline; }

/* Responsiv */
@media (max-width: 48rem) {
  .hero::after { width: 100%; height: 10px; top: auto; bottom: 0; clip-path: none; }
}
@media (max-width: 30rem) {
  .main-nav a { padding: 0.5rem 0.6rem; font-size: 0.82rem; letter-spacing: 0.05em; }
  .site-header .container { gap: 0.5rem; }
}

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

@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .ph { outline: none; }
}
