/* Bärenland Salzburg – Goldgasse 12
   Richtung: verspielt, handfest, altstädtisch-warm.
   Welt: Süßwarenregal, Papiertüten mit Etiketten. Signatur: das Anhänger-Etikett. */

@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(assets/fonts/figtree-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Bagel Fat One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/bagel-fat-one-latin.woff2) format("woff2");
}

:root {
  --amber: #fd9801;
  --amber-ink: #b86a00;
  --amber-soft: #ffe2b3;

  --paper: #fbf5ec;
  --paper-2: #f3eadc;
  --card: #fffcf7;
  --ink: #1f1b16;
  --ink-2: #5e554a;
  --ink-3: #7b7266;
  --hair: rgba(31, 27, 22, .12);

  --night: #1c1915;
  --night-2: #2a2621;
  --on-night: #efe9de;
  --on-night-2: #b3aa9d;

  --line: 2px solid var(--ink);
  --edge: clamp(16px, 3vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.04; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }

.wrap { width: min(1320px, 100% - 2 * var(--edge)); margin-inline: auto; }
.bar { padding-inline: var(--edge); }

/* ---------- topline ---------- */
.topline { background: var(--night); color: var(--on-night); font-size: .875rem; }
.topline__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topline [data-status] { color: var(--on-night-2); font-variant-numeric: tabular-nums; }
.topline [data-status] b { color: var(--amber); font-weight: 600; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand__place {
  display: grid; padding-left: 12px; border-left: var(--line);
  line-height: 1.1;
}
.brand__city { font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
.brand__street { font-size: .8125rem; color: var(--ink-2); }

.nav { display: flex; gap: 28px; margin-left: auto; font-weight: 500; }
.nav a {
  text-decoration: none; padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms var(--ease);
}
.nav a:hover { border-color: var(--amber); }

.lang {
  display: flex; border: var(--line); border-radius: 10px; overflow: hidden;
}
.lang button {
  font: inherit; font-size: .875rem; font-weight: 600;
  background: transparent; color: var(--ink-2);
  border: 0; padding: 4px 12px; height: 32px; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.lang button + button { border-left: var(--line); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lang button:not([aria-pressed="true"]):hover { background: var(--paper-2); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; height: 48px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  background: var(--amber); color: var(--ink);
  border: var(--line); border-radius: 12px;
  padding: 0 20px;
  transition: background-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { background: #ffaa2e; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #3a332b; }
.btn--line { background: var(--card); }
.btn--line:hover { background: var(--paper-2); }
button.btn { font-family: inherit; cursor: pointer; }
.btn:focus-visible, .footer__btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* cookie-hinweis */
.consent {
  position: fixed; z-index: 50; right: var(--edge); bottom: var(--edge);
  width: min(420px, 100% - 2 * var(--edge));
  background: var(--card); border: var(--line); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink);
  padding: 20px;
  animation: consent-in 400ms var(--ease);
}
.consent[hidden] { display: none; }
.consent__title { font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.consent__text { margin-top: 4px; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.consent__actions { display: flex; gap: 8px; margin-top: 16px; }
.consent__actions .btn { flex: 1 1 0; justify-content: center; height: 40px; padding: 0 12px; font-size: .9375rem; border-radius: 10px; white-space: nowrap; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }

.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow .arrow { display: inline-block; transition: transform 160ms var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { padding: 80px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -0.01em; max-width: 11ch; }
.hero__lead { margin-top: 24px; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 36rem; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }

.hero__visual { position: relative; padding-bottom: 32px; }
.photo {
  margin: 0; border: var(--line); border-radius: 16px;
  overflow: hidden; background: var(--paper-2);
  box-shadow: 6px 6px 0 var(--ink);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--a { aspect-ratio: 16 / 10; width: 88%; margin-left: auto; transform: rotate(1deg); }
.photo--b { aspect-ratio: 16 / 9; width: 80%; margin-top: -48px; position: relative; transform: rotate(-1.5deg); }

/* Signatur: Anhänger-Etikett */
.tag {
  position: absolute; right: 4%; bottom: 0; z-index: 2;
  display: grid; justify-items: center;
  background: var(--card); border: var(--line); border-radius: 12px;
  padding: 28px 20px 12px; box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-6deg);
}
.tag__hole { position: absolute; top: 10px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper-2); }
.tag__small { font-size: .8125rem; color: var(--ink-2); }
.tag__big { font-family: var(--display); font-size: 3.25rem; line-height: 1; color: var(--amber-ink); }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 40rem; margin-bottom: 48px; }
.section-head h2, .shelf h2, .gift h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }

/* im laden */
.shop { background: var(--paper-2); border-top: var(--line); }
.shop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.shop__intro h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 12ch; }
.shop__intro p { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); max-width: 34rem; }
.shop__facts { margin: 0; border-top: var(--line); }
.shop__facts > div { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.shop__facts > div:last-child { border-bottom: var(--line); }
.shop__facts dt { font-weight: 600; font-size: 1.1875rem; }
.shop__facts dd { margin: 4px 0 0; color: var(--ink-2); }

/* weihnachts-highlights */
.picks__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product {
  display: flex; flex-direction: column;
  background: var(--card); border: var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
}
.product__img { background: #fff; border-bottom: var(--line); aspect-ratio: 4 / 3; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.product:hover .product__img img { transform: scale(1.03); }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px; }
.product h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.product__body > p { margin-top: 8px; color: var(--ink-2); }
.product .product__meta { margin-top: auto; padding-top: 16px; font-size: .875rem; color: var(--amber-ink); font-weight: 600; }


/* band */
.band { border-block: var(--line); height: clamp(220px, 30vw, 420px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* shelf */
.shelf { background: var(--night); color: var(--on-night); }
.shelf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.shelf__intro > p { margin-top: 20px; color: var(--on-night-2); font-size: 1.1875rem; max-width: 34rem; }
.shelf__quality h3 { color: var(--amber); margin-bottom: 8px; }
.shelf__quality ul { list-style: none; padding: 0; margin: 0; }
.shelf__quality li {
  position: relative; padding: 16px 0 16px 32px;
  border-bottom: 1px solid rgba(239, 233, 222, .14);
  font-size: 1.125rem; font-weight: 500;
}
.shelf__quality li::before {
  content: ""; position: absolute; left: 0; top: 21px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fd9801' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* gift */
.gift__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.gift__photo {
  margin: 0; border: var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink); aspect-ratio: 4 / 5; max-width: 460px;
  transform: rotate(-1deg);
}
.gift__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.gift__text > p { margin-top: 20px; color: var(--ink-2); font-size: 1.125rem; max-width: 46ch; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b86a00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* visit */
.visit { background: var(--paper-2); border-top: var(--line); }
.visit__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.visit__info { display: grid; gap: 24px; }
.card { background: var(--card); border: var(--line); border-radius: 16px; padding: 24px; }
.card h3 { margin-bottom: 12px; }
address { font-style: normal; font-size: 1.125rem; margin-bottom: 20px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 8px 12px; border-bottom: 1px solid var(--hair); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; }
.hours tr.is-today td { background: var(--amber-soft); font-weight: 600; }
.hours tr.is-today td:first-child { border-radius: 8px 0 0 8px; }
.hours tr.is-today td:last-child { border-radius: 0 8px 8px 0; }
.hours tr.is-closed td:last-child { color: var(--ink-3); }
.hours__note { margin-top: 12px; font-size: .875rem; color: var(--ink-3); }

.visit__map { display: grid; gap: 12px; }
.map {
  position: relative; aspect-ratio: 4 / 3.2; overflow: hidden;
  border: var(--line); border-radius: 16px; background: var(--paper-2);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent {
  height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 12px; padding: 32px; max-width: 440px;
}
.map__title { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.map__consent p:not(.map__title) { color: var(--ink-2); }
.map__consent .btn { margin-top: 4px; }
.walk { font-size: .9375rem; color: var(--ink-2); }

/* footer */
.footer { background: var(--night); color: var(--on-night); padding: 64px 0 32px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 64px; align-items: start; }
.footer__logo { width: 160px; height: auto; }
.footer__cols { display: flex; gap: 64px; justify-self: end; }
.footer__label { font-weight: 600; color: var(--amber); margin-bottom: 4px; }
.footer a { color: var(--on-night); text-decoration-color: rgba(239, 233, 222, .3); text-underline-offset: 3px; }
.footer a:hover { text-decoration-color: var(--amber); }
.footer__btn {
  font: inherit; color: var(--on-night); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(239, 233, 222, .3); text-underline-offset: 3px;
}
.footer__btn:hover { text-decoration-color: var(--amber); }
.footer__small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(239, 233, 222, .14); font-size: .875rem; color: var(--on-night-2); }

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

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding: 48px 0 64px; }
  .hero__grid, .shelf__grid, .gift__grid, .visit__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 560px; width: calc(100% - 16px); margin: 0 auto; }
  .shop__grid { grid-template-columns: 1fr; gap: 32px; }
  .picks__grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .topline__inner > span:first-child { display: none; }
  .header__inner { height: 64px; gap: 12px; }
  .brand img { height: 34px; }
  .brand { gap: 8px; }
  .brand__place { padding-left: 8px; }
  .brand__city { font-size: 1.0625rem; }
  .brand__street { font-size: .75rem; }
  .picks__grid { grid-template-columns: 1fr; }
  .picks__grid { gap: 16px; }
  .product { flex-direction: row; }
  .product__img { flex: 0 0 120px; aspect-ratio: auto; border-bottom: 0; border-right: var(--line); }
  .product__body { padding: 16px; }
  .product h3 { font-size: 1.25rem; }
  .product__body > p { font-size: .9375rem; }
  .product .product__meta { padding-top: 8px; }
  .tag { padding: 24px 16px 8px; }
  .tag__big { font-size: 2.5rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { justify-self: start; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* rechtliche seiten */
.legal__back { margin-left: auto; font-weight: 600; text-decoration: none; }
.legal__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { padding: 64px 0 96px; }
.legal__inner { max-width: 44rem; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.legal__note { margin-top: 8px; color: var(--ink-3); font-size: .9375rem; }
.legal section { margin-top: 40px; padding: 24px 0 0; border-top: 1px solid var(--hair); }
.legal h2 { font-size: 1.5rem; margin-bottom: 12px; }
.legal p + p { margin-top: 12px; }
.legal p, .legal dd { color: var(--ink-2); }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: 12rem 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.legal__todo { background: var(--amber-soft); color: var(--ink); padding: 0 4px; border-radius: 4px; }
@media (max-width: 600px) {
  .legal { padding: 40px 0 64px; }
  .legal__back { display: none; }
  .header .lang { margin-left: auto; }
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: 12px; }
}
