/* Sattelclub Münster — minimal static landing page */

:root {
  --ink: #151515;
  --paper: #f7f5f1;
  --lilac: #cfa8e7;
  --lilac-light: #ead8f4;
  --white: #fff;
  --muted-white: rgba(255, 255, 255, 0.76);
  --border: rgba(255, 255, 255, 0.16);
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* Startseite */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: 1.25rem var(--page-pad) 1.5rem;
  overflow: hidden;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(0.82) contrast(1.04);
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.8) 0%,
      rgba(10, 10, 10, 0.47) 44%,
      rgba(10, 10, 10, 0.13) 73%
    ),
    linear-gradient(
      0deg,
      rgba(8, 8, 8, 0.62) 0%,
      transparent 42%,
      rgba(8, 8, 8, 0.25) 100%
    );
}

/* Header */

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.location,
.eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.location {
  color: var(--muted-white);
}

/* Hero-Inhalt */

.hero__content {
  align-self: center;
  max-width: min(62rem, 92vw);
  padding: clamp(4rem, 10vh, 8rem) 0 3rem;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--lilac-light);
}

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 7.2rem);
  line-height: 0.89;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h1 .accent {
  margin-top: 0.16em;
  color: var(--lilac);
}

/* Social-Links */

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(2rem, 5vh, 3.4rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  gap: 1.8rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.button--primary {
  background: var(--lilac);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--lilac-light);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.button--secondary:hover {
  background: var(--white);
  color: var(--ink);
}

/* Footer der Startseite */

.hero-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  color: var(--muted-white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-footer__location {
  justify-self: end;
}

.legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

/* Header der rechtlichen Unterseiten */

.site-header--compact {
  display: flex;
  justify-content: center;
  padding: 2rem 1.5rem 0;
}

.site-header--compact .brand {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.site-header--compact .brand__logo {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 50%;
}

/* Impressum und Datenschutz */

.legal-page {
  width: min(calc(100% - 3rem), 46rem);
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.legal-content {
  line-height: 1.7;
}

.legal-content .eyebrow {
  margin: 0 0 0.75rem;
  color: var(--lilac-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.legal-content h1 {
  max-width: none;
  margin: 0 0 3rem;
  color: var(--lilac);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.legal-content h2 {
  margin: 3rem 0 0.75rem;
  color: var(--white);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.2;
}

.legal-content p {
  margin: 0 0 1rem;
  color: var(--muted-white);
}

.legal-content strong {
  color: var(--white);
}

.legal-content a {
  color: var(--lilac-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--white);
  text-decoration-thickness: 2px;
}

/* Footer der rechtlichen Unterseiten */

.legal-footer {
  width: min(calc(100% - 3rem), 46rem);
  margin-inline: auto;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.legal-footer a {
  color: inherit;
  text-decoration: none;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

/* Tablet und Smartphone */

@media (max-width: 700px) {
  .hero {
    padding-top: 1rem;
  }

  .hero__image {
    object-position: 57% 50%;
  }

  .hero__shade {
    background:
      linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.52) 0%,
        rgba(8, 8, 8, 0.2) 28%,
        rgba(8, 8, 8, 0.68) 66%,
        rgba(8, 8, 8, 0.82) 100%
      ),
      linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.35),
        transparent
      );
  }

  .location {
    display: none;
  }

  .brand img {
    width: 3rem;
    height: 3rem;
  }

  .hero__content {
    align-self: end;
    padding-bottom: 2rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 12.5vw, 4.8rem);
  }

  .links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    gap: 0.8rem;
  }

  .hero-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
  }

  .hero-footer__claim {
    display: none;
  }

  .legal-links {
    justify-content: flex-start;
  }

  .hero-footer__location {
    margin-left: auto;
  }
}

/* Kleine Smartphones */

@media (max-width: 430px) {
  .links {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-footer {
    align-items: flex-end;
  }

  .legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* Rechtliche Unterseiten auf kleinen Displays */

@media (max-width: 36rem) {
  .site-header--compact {
    justify-content: flex-start;
    padding-inline: 1rem;
  }

  .legal-page,
  .legal-footer {
    width: min(calc(100% - 2rem), 46rem);
  }

  .legal-page {
    padding-block: 3rem;
  }

  .legal-content h1 {
    margin-bottom: 2.25rem;
  }
}

/* Barrierefreiheit */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
