:root {
  color-scheme: dark;
  --background: #0c0c0b;
  --surface: #171714;
  --surface-light: #22221e;
  --text: #f5f1e8;
  --muted: #b4aea1;
  --accent: #d7a953;
  --accent-light: #f0cf8a;
  --border: rgba(255, 255, 255, 0.1);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(215, 169, 83, 0.13), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-light);
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.main-navigation {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  padding: 0.65rem 0.85rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 650px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: #16120b;
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card,
.feature-card,
.empty-state,
.legal-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-card {
  position: relative;
  padding: 2rem;
  border-radius: 28px;
}

.hero-card h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2rem;
}

.hero-card p:last-child {
  color: var(--muted);
}

.status-dot {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7bcf8b;
  box-shadow: 0 0 0 7px rgba(123, 207, 139, 0.12);
}

.feature-section {
  padding: 2rem 0 7rem;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.feature-card {
  min-height: 240px;
  padding: 1.6rem;
  border-radius: 22px;
}

.feature-number {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  margin: 3.5rem 0 0.5rem;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.content-page,
.legal-page {
  min-height: 620px;
  padding: 5rem 0 7rem;
}

.content-page h1,
.legal-page h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.narrow-page {
  max-width: 760px;
}

.empty-state,
.legal-card {
  margin-top: 3rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 24px;
}

.empty-state h2,
.legal-card h2 {
  margin-top: 0;
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.empty-state p,
.legal-card p {
  color: var(--muted);
}

.legal-card {
  max-width: 900px;
}

.legal-card h2:not(:first-child) {
  margin-top: 2.2rem;
}

.legal-card a {
  color: var(--accent-light);
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer > div {
  display: flex;
  flex-direction: column;
}

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

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.alcohol-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .menu-button {
    display: inline-flex;
  }

  .main-navigation {
    position: absolute;
    z-index: 20;
    top: 70px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #151513;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  }

  .main-navigation.open {
    display: flex;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }

  h1 {
    font-size: clamp(2.9rem, 16vw, 4.2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

.form-card {
  margin-top: 3rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.015)
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.form-card h2 {
  margin-top: 0;
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.auth-form {
  display: grid;
  gap: 0.75rem;
}

.auth-form label {
  margin-top: 0.55rem;
  font-weight: 700;
}

.auth-form input[type='text'],
.auth-form input[type='email'],
.auth-form input[type='password'] {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  outline: none;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
}

.auth-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(215, 169, 83, 0.14);
}

.auth-form .button {
  margin-top: 1rem;
}

.optional,
.field-help,
.form-help,
.muted-text {
  color: var(--muted);
}

.field-help {
  margin: -0.3rem 0 0.4rem;
  font-size: 0.86rem;
}

.form-help {
  margin: 1.4rem 0 0;
}

.form-help a,
.checkbox-row a {
  color: var(--accent-light);
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin-top: 0.7rem;
  font-weight: 400 !important;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.23rem;
}

.form-alert {
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-radius: 12px;
}

.form-alert-error {
  border-color: rgba(230, 104, 104, 0.45);
  background: rgba(230, 104, 104, 0.1);
}

.form-alert-success {
  border-color: rgba(123, 207, 139, 0.45);
  background: rgba(123, 207, 139, 0.1);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.account-details {
  margin: 0 0 2rem;
}

.account-details div {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.account-details dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.account-details dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

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



.brand-logo {
  display: block;
  width: 230px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  transform: scale(1.35);
  transform-origin: left center;
}

.brand {
  overflow: visible;
  min-width: 260px;
}

@media (max-width: 560px) {
  .brand-logo {
    width: 170px;
    height: 46px;
    transform: scale(1.25);
  }

  .brand {
    min-width: 190px;
  }
}

/* Größeres Header-Logo */
.brand-logo {
  width: 320px !important;
  height: 82px !important;
  max-width: none !important;
  transform: scale(1.65) !important;
  transform-origin: left center !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.brand {
  min-width: 360px !important;
  overflow: visible !important;
}

.site-header {
  min-height: 92px !important;
}

@media (max-width: 860px) {
  .brand-logo {
    width: 230px !important;
    height: 64px !important;
    transform: scale(1.45) !important;
  }

  .brand {
    min-width: 260px !important;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 190px !important;
    height: 54px !important;
    transform: scale(1.35) !important;
  }

  .brand {
    min-width: 210px !important;
  }

  .site-header {
    min-height: 78px !important;
  }
}

/* Sauber zugeschnittenes Header-Logo */
.brand-logo {
  display: block !important;
  width: auto !important;
  height: 58px !important;
  max-width: 230px !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.brand {
  min-width: 230px !important;
  overflow: visible !important;
}

.site-header {
  min-height: 88px !important;
}

@media (max-width: 860px) {
  .brand-logo {
    height: 50px !important;
    max-width: 200px !important;
  }

  .brand {
    min-width: 200px !important;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 44px !important;
    max-width: 170px !important;
  }

  .brand {
    min-width: 170px !important;
  }

  .site-header {
    min-height: 74px !important;
  }
}

.brand-logo {
  width: auto !important;
  height: 68px !important;
  max-width: 300px !important;
  transform: none !important;
}

.brand {
  min-width: 300px !important;
}
