/* StampsByST – Stylesheet
   Keine externen Schriftarten, keine Abhängigkeiten. */

:root {
  --bg: #efeeea;
  --surface: #f7f6f3;
  --text: #1c1c1c;
  --muted: #55534e;
  --line: #d8d5ce;
  --accent: #1c1c1c;
  --accent-dark: #000000;
  --accent-soft: #e3e1db;
  --serif: Georgia, "Times New Roman", Times, serif;
  --radius: 10px;
  --max: 46rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Sprunglink für Tastatur- und Screenreader-Nutzer */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.6rem 1rem;
  background: var(--text);
  color: #fff;
  border-radius: 6px;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

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

/* Kopfbereich */
.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img {
  display: block;
  width: 56px;
  height: auto;
}

.site-nav ul {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

/* Hauptbereich */
main {
  flex: 1;
  padding: 3.5rem 0 4rem;
}

/* Startseite */
.hero {
  text-align: center;
  padding-bottom: 2.5rem;
}

.hero h1 {
  margin: 0 auto;
  max-width: 22rem;
}

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

.hero .tagline {
  margin: 0.5rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  color: var(--muted);
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.95rem 2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid var(--accent);
}

.cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.cta-note {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .lang-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
}

.card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
}

.card .lang-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
}

.card p {
  margin: 0 0 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.3rem 0.8rem;
  font-size: 0.9rem;
  border: 1px solid var(--text);
  border-radius: 999px;
}

.legal .stand {
  margin-top: -1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Rechtliche Seiten */
.legal h1 {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.legal h2 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.3rem;
  line-height: 1.3;
}

.legal h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal p,
.legal ul,
.legal ol,
.legal address {
  margin: 0 0 1rem;
}

.legal address {
  font-style: normal;
}

.legal ul,
.legal ol {
  padding-left: 1.3rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal a {
  overflow-wrap: anywhere;
}

/* Fußbereich */
.site-footer {
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

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

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

  body {
    background: #fff;
  }

  main {
    padding: 0;
  }
}
