:root {
  color-scheme: light;
  --ink: #171714;
  --ink-soft: #545147;
  --paper: #f5f1e8;
  --paper-light: #fffdf8;
  --brand: #ffcc03;
  --brand-deep: #e9b900;
  --line: rgba(23, 23, 20, 0.15);
  --shadow: 0 24px 70px rgba(48, 41, 18, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 204, 3, 0.2), transparent 28rem),
    linear-gradient(180deg, #fbf9f3 0%, var(--paper) 100%);
  font-size: 1rem;
  line-height: 1.6;
}

/*
 * Umschaltbarer Design-Test: Wird die Klasse "design-test" am body entfernt,
 * erscheinen wieder der bisherige Header-Schriftzug und der ruhige Hintergrund.
 */
body.design-test::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    url("/assets/leder-glaesel-hintergrund.svg"),
    url("/assets/leder-glaesel-hintergrund.svg");
  background-position:
    calc(100% + 15rem) 7rem,
    -17rem calc(100% + 14rem);
  background-repeat: no-repeat;
  background-size:
    min(76vw, 62rem) auto,
    min(54vw, 42rem) auto;
  opacity: 0.065;
  content: "";
}

/*
 * Foto-Hintergrund als eigener, jederzeit entfernbarer Test.
 * Nur "photo-background-test" am body entfernen, um wieder das Leder-Wasserzeichen zu sehen.
 */
body.design-test.photo-background-test::before {
  background-image:
    linear-gradient(rgba(251, 249, 243, 0.94), rgba(245, 241, 232, 0.96)),
    url("/assets/leder-glaesel-laden-hintergrund.jpg");
  background-image:
    linear-gradient(rgba(251, 249, 243, 0.94), rgba(245, 241, 232, 0.96)),
    image-set(
      url("/assets/leder-glaesel-laden-hintergrund.avif") type("image/avif"),
      url("/assets/leder-glaesel-laden-hintergrund.webp") type("image/webp"),
      url("/assets/leder-glaesel-laden-hintergrund.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
  opacity: 1;
  filter: saturate(0.82);
}

body.design-test > .site-header,
body.design-test > main,
body.design-test > .site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

svg {
  display: block;
  fill: currentColor;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-200%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.skip-link:not(:focus) {
  transform: translateY(-200%);
}

.site-header,
.hero,
.details,
.site-footer,
.legal-page {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.75rem, 2.2vw, 1.5rem);
  min-height: 5.5rem;
  border-bottom: 1px solid var(--line);
}

body.photo-background-test .site-header {
  border-bottom-color: transparent;
}

body.photo-background-test .site-header::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  border-bottom: 1px solid rgba(23, 23, 20, 0.12);
  background: rgba(252, 250, 245, 0.96);
  box-shadow: 0 12px 32px rgba(47, 40, 18, 0.06);
  -webkit-backdrop-filter: blur(12px) saturate(0.75);
  backdrop-filter: blur(12px) saturate(0.75);
  content: "";
}

.brand-name {
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-signature {
  display: none;
}

.design-test .brand-name__text {
  display: none;
}

.design-test .brand-signature {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-emblem {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.75rem;
  flex: 0 0 auto;
}

.brand-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-lockup {
  display: grid;
  gap: 0.14rem;
  text-transform: none;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

.brand-place {
  color: var(--ink-soft);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.store-status {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.65rem;
  min-height: 2.75rem;
  min-width: 11.75rem;
  padding: 0.48rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.store-status:hover {
  border-color: rgba(23, 23, 20, 0.4);
  background: var(--paper-light);
  transform: translateY(-1px);
}

.store-status__dot {
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8a867d;
  box-shadow: 0 0 0 0.26rem rgba(138, 134, 125, 0.12);
}

.store-status[data-state="open"] {
  border-color: rgba(23, 126, 82, 0.25);
  background: rgba(23, 126, 82, 0.07);
}

.store-status[data-state="open"] .store-status__dot {
  background: #177e52;
  box-shadow: 0 0 0 0.26rem rgba(23, 126, 82, 0.13);
}

.store-status[data-state="break"] {
  border-color: rgba(186, 142, 0, 0.3);
  background: rgba(255, 204, 3, 0.09);
}

.store-status[data-state="break"] .store-status__dot {
  background: var(--brand-deep);
  box-shadow: 0 0 0 0.26rem rgba(233, 185, 0, 0.14);
}

.store-status__copy {
  display: grid;
  gap: 0.12rem;
  line-height: 1.05;
  white-space: nowrap;
}

.store-status__copy strong {
  font-size: 0.76rem;
  font-weight: 800;
}

.store-status__short {
  display: none;
}

.store-status__copy > span {
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 560;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-phone:hover {
  border-color: var(--ink);
  background: var(--paper-light);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: min(46rem, calc(100vh - 5.5rem));
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.card-kicker {
  margin: 0 0 1rem;
  color: #6b5a00;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.intro {
  max-width: 35rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.notice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.notice span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 0.3rem rgba(255, 204, 3, 0.2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 24px rgba(23, 23, 20, 0.16);
}

.button-primary:hover {
  background: #333229;
  box-shadow: 0 12px 28px rgba(23, 23, 20, 0.2);
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover {
  background: var(--paper-light);
}

.external-icon {
  margin-left: 0.1rem;
  opacity: 0.65;
}

.logo-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 2.25rem;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logo-stage::before {
  position: absolute;
  inset: 1rem;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 1.55rem;
  content: "";
}

.logo-glow {
  position: absolute;
  z-index: -2;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 204, 3, 0.22);
  filter: blur(30px);
}

.logo-stage img {
  display: block;
  width: min(84%, 33rem);
  height: auto;
}

body.photo-background-test .logo-stage {
  background: rgba(255, 253, 248, 0.58);
}

body.photo-background-test .logo-stage > img {
  opacity: 0.82;
}

.mobile-logo-stage {
  display: none;
}

.details {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  padding-block: 1rem 6rem;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 253, 248, 0.7);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.detail-card h2 {
  margin: 0 0 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.contact-card {
  background: var(--brand);
  border-color: transparent;
}

.contact-card .card-kicker {
  color: rgba(23, 23, 20, 0.7);
}

address {
  font-size: 1.08rem;
  font-style: normal;
}

.contact-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 23, 20, 0.2);
}

.contact-line span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-line a {
  font-size: 1.05rem;
  font-weight: 780;
}

.hours-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.hours-list > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.7fr) 1.3fr;
  gap: 1rem;
  padding: 0.68rem 0;
  border-top: 1px solid var(--line);
}

.hours-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.hours-list dt {
  font-weight: 720;
}

.hours-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

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

.legal-page {
  max-width: 760px;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.legal-page h1 {
  max-width: none;
  margin-bottom: 2.5rem;
  font-size: clamp(3rem, 8vw, 5.5rem);
}

.legal-page h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.legal-page h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.05rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.legal-page address {
  color: var(--ink-soft);
}

.legal-note {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brand);
  background: rgba(255, 204, 3, 0.1);
}

@media (max-width: 820px) {
  body.design-test::before {
    background-position:
      calc(100% + 18rem) 10rem,
      -18rem calc(100% + 10rem);
    background-size:
      44rem auto,
      36rem auto;
    opacity: 0.055;
  }

  body.design-test.photo-background-test::before {
    background-image:
      linear-gradient(rgba(251, 249, 243, 0.95), rgba(245, 241, 232, 0.97)),
      url("/assets/leder-glaesel-laden-hintergrund.jpg");
    background-image:
      linear-gradient(rgba(251, 249, 243, 0.95), rgba(245, 241, 232, 0.97)),
      image-set(
        url("/assets/leder-glaesel-laden-hintergrund.avif") type("image/avif"),
        url("/assets/leder-glaesel-laden-hintergrund.webp") type("image/webp"),
        url("/assets/leder-glaesel-laden-hintergrund.jpg") type("image/jpeg")
      );
    background-position: center;
    background-size: cover;
    opacity: 1;
  }

  .site-header,
  .hero,
  .details,
  .site-footer,
  .legal-page {
    width: min(100% - 2rem, 42rem);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
    padding-block: 3.5rem 2rem;
  }

  .hero .logo-stage {
    display: none;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.4rem, 17vw, 6rem);
  }

  .details {
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
  }

  .mobile-logo-stage {
    display: grid;
    width: min(72%, 20rem);
    margin: 0 auto 4rem;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 0.55rem;
    min-height: 5.25rem;
  }

  .design-test .brand-signature {
    gap: 0.48rem;
  }

  .brand-emblem {
    width: 2rem;
    height: 2.25rem;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-place {
    display: none;
  }

  .store-status {
    gap: 0.5rem;
    min-width: 0;
    padding-inline: 0.7rem;
  }

  .store-status__copy > span,
  .store-status__copy [data-status-label] {
    display: none;
  }

  .store-status__short {
    display: inline;
  }

  .store-status__copy strong {
    font-size: 0.71rem;
  }

  .header-phone span {
    display: none;
  }

  .header-phone {
    width: 2.75rem;
    padding: 0;
    justify-content: center;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .mobile-logo-stage {
    width: min(76%, 18rem);
  }

  .hours-list > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 360px) {
  .brand-lockup {
    display: none;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --line: rgba(23, 23, 20, 0.45);
  }
}

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

  body {
    background: white;
  }

  .hero {
    min-height: 0;
  }
}
