/* Moers Marketing – Preview
   Farben aus dem Logo: Gelb #fed600, Rot #f4333f, Schwarz. */

:root {
  color-scheme: light;
  --yellow: #fed600;
  --red: #f4333f;
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --line: #e6e3da;
  --paper: #ffffff;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

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

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

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

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.15s ease;
}

a:hover {
  text-decoration-color: var(--red);
}

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Kopf */

.site-header {
  padding: clamp(1.25rem, 4vw, 2.5rem) var(--gutter) 0;
}

.site-logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: 148px;
  height: auto;
}

/* Startseite */

.notice {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 10vh, 6rem) var(--gutter);
}

.notice__inner {
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notice h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Balken im Logo-Gelb */
.stripe {
  width: 6.5rem;
  height: 0.5rem;
  margin: clamp(1.5rem, 4vw, 2.25rem) 0;
  background: var(--yellow);
}

.notice p.lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Rechtstexte */

.legal {
  flex: 1;
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--gutter) clamp(3rem, 8vw, 5rem);
}

.legal__inner {
  max-width: 44rem;
}

.back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.legal h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal h2 {
  margin: 3rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.375rem, 3.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.legal h3 {
  margin: 2rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.legal p,
.legal ul {
  margin: 0.75rem 0 0;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.legal li::marker {
  color: var(--red);
}

.legal p,
.legal li {
  overflow-wrap: break-word;
}

/* Silbentrennung nur auf schmalen Bildschirmen */
@media (max-width: 30rem) {
  .legal p,
  .legal li,
  .legal h3 {
    hyphens: auto;
  }
}

/* Fuß */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.25rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
}

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

.site-footer a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--ink);
}

.site-footer a[aria-current="page"] {
  text-decoration-color: var(--red);
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}

@media print {
  .site-footer ul,
  .back {
    display: none;
  }
}
