/* Hiking Hammock — Russet Linen (DE single-product shop) */
:root {
  --ah-bg: #f7f0e4;
  --ah-surface: #fffaf2;
  --ah-text: #241c16;
  --ah-muted: #65564a;
  --ah-line: #e4d6c4;
  --ah-accent: #722016;
  --ah-cta: #5c1a12;
  --ah-on-accent: #fff8f0;
  --ah-tint: #f0e2d4;
  --ah-radius: 6px;
  --ah-max: 72rem;
  --ah-cookie-pad: 0px;
  --ah-font-display: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --ah-font-body: Manrope, "Segoe UI", sans-serif;
}

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

html {
  scroll-padding-bottom: var(--ah-cookie-pad);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--ah-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ah-text);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(114, 32, 22, 0.06), transparent 55%),
    linear-gradient(180deg, #faf4ea 0%, var(--ah-bg) 28%, #f3e9d8 100%);
  min-height: 100dvh;
  padding-bottom: var(--ah-cookie-pad);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ah-accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ah-cta);
}

:focus-visible {
  outline: 2px solid var(--ah-accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ah-surface);
  color: var(--ah-text);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--ah-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ah-bg) 92%, white);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ah-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  font-family: var(--ah-font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ah-text);
  text-decoration: none;
}

.brand span {
  color: var(--ah-accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--ah-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 560;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ah-accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--ah-line);
  background: var(--ah-surface);
  color: var(--ah-text);
  border-radius: var(--ah-radius);
  padding: 0.45rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

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

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--ah-surface);
    border-bottom: 1px solid var(--ah-line);
    padding: 0.75rem 1rem 1rem;
  }

  .nav.is-open {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--ah-radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

a.btn.btn-primary,
.btn-primary {
  background-color: #722016;
  background: #722016;
  color: #fff8f0;
  text-decoration: none;
  border-color: #722016;
}

a.btn.btn-primary:hover,
.btn-primary:hover,
a.btn.btn-primary:visited {
  background: var(--ah-cta);
  color: var(--ah-on-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ah-text);
  border-color: var(--ah-line);
}

.btn-ghost:hover {
  border-color: var(--ah-accent);
  color: var(--ah-accent);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
  padding: 2.25rem 0 3.5rem;
  min-height: min(78dvh, 42rem);
}

.hero-copy h1 {
  font-family: var(--ah-font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.hero-copy .lede {
  margin: 0 0 1.35rem;
  color: var(--ah-muted);
  max-width: 34rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  margin: 0;
  background:
    linear-gradient(145deg, var(--ah-tint), var(--ah-surface));
  border: 1px solid var(--ah-line);
  border-radius: calc(var(--ah-radius) + 4px);
  overflow: hidden;
  min-height: 22rem;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  aspect-ratio: 1 / 1;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 1rem 0 1.5rem;
    gap: 1.1rem;
    align-items: start;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    max-height: 32vh;
    width: auto;
    margin-inline: auto;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .hero-copy .lede {
    font-size: 0.98rem;
    margin-bottom: 0.85rem;
  }
}

.section {
  padding: 3.25rem 0;
}

.section + .section {
  border-top: 1px solid var(--ah-line);
}

.section h2 {
  font-family: var(--ah-font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section .intro {
  color: var(--ah-muted);
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  margin: 1rem 0 1.25rem;
}

.price {
  font-family: var(--ah-font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ah-accent);
}

.price-note {
  color: var(--ah-muted);
  font-size: 0.95rem;
}

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

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

.fact {
  padding: 1.15rem 0;
  border-top: 2px solid var(--ah-accent);
}

.fact h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.fact p {
  margin: 0;
  color: var(--ah-muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.split > * {
  min-width: 0;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.prose {
  max-width: 44rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

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

.gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.specs {
  width: 100%;
  border-collapse: collapse;
  background: var(--ah-surface);
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius);
  overflow: hidden;
}

.specs th,
.specs td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--ah-line);
  vertical-align: top;
}

.specs th {
  width: 38%;
  color: var(--ah-muted);
  font-weight: 560;
}

.specs tr:last-child th,
.specs tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 7rem;
  background: #2a1d17;
  color: #f3e9dc;
}

.site-footer a {
  color: #f0cbb8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.75rem;
}

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

.footer-grid h2 {
  font-family: var(--ah-font-display);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: #fff8f0;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li + li {
  margin-top: 0.35rem;
}

.fineprint {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 226, 208, 0.2);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #cbb5a4;
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--ah-surface);
  border-top: 1px solid var(--ah-line);
  box-shadow: 0 -4px 14px rgba(36, 28, 22, 0.06);
  padding: 0.35rem 0.65rem;
}

.cookie[hidden] {
  display: none !important;
}

.cookie-inner {
  width: min(100%, var(--ah-max));
  margin-inline: auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.cookie p {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ah-muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.cookie-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  flex-shrink: 0;
}

.cookie-actions .btn {
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
}

@media (max-width: 520px) {
  .cookie {
    padding: 0.3rem 0.5rem;
  }
  .cookie p {
    font-size: 0.68rem;
    line-height: 1.2;
  }
  .cookie-actions .btn {
    min-height: 1.9rem;
    padding: 0.22rem 0.55rem;
    font-size: 0.74rem;
  }
}

/*
  Banner unanswered: page chrome scrolls in #ah-scroll; cookie stays in-flow
  under it (not a covering overlay). PayPal #checkout-pay-wrap is never hidden
  for cookie — full form + #paypal-load-btn stay in the scrollport.
*/
html.ah-cookie-open {
  height: 100%;
  overflow: hidden;
}

html.ah-cookie-open body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding-bottom: 0;
}

html.ah-cookie-open .ah-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

html.ah-cookie-open .cookie {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  flex: 0 0 auto;
  width: 100%;
  z-index: 60;
  pointer-events: none;
}

html.ah-cookie-open .cookie-actions,
html.ah-cookie-open .cookie-actions * {
  pointer-events: auto;
}

html.ah-cookie-open a,
html.ah-cookie-open button,
html.ah-cookie-open [type="submit"],
html.ah-cookie-open [role="button"],
html.ah-cookie-open input,
html.ah-cookie-open select,
html.ah-cookie-open textarea,
html.ah-cookie-open .btn {
  scroll-margin-bottom: 0.5rem;
}

.page-hero {
  padding: 2rem 0 1.25rem;
}

.page-hero h1 {
  font-family: var(--ah-font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.page-hero p {
  margin: 0;
  color: var(--ah-muted);
  max-width: 40rem;
}

.panel {
  background: var(--ah-surface);
  border: 1px solid var(--ah-line);
  border-radius: calc(var(--ah-radius) + 2px);
  padding: 1.25rem 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
select,
textarea {
  font: inherit;
  color: var(--ah-text);
  background: #fff;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius);
  padding: 0.65rem 0.75rem;
  min-height: 2.75rem;
}

textarea {
  min-height: 5.5rem;
  resize: vertical;
}

/* Kontakt: keep submit reachable above in-flow cookie strip on short phones */
@media (max-width: 420px) {
  body:has(#contact-form) .page-hero {
    padding: 1.1rem 0 0.55rem;
  }
  body:has(#contact-form) .page-hero h1 {
    font-size: 1.55rem;
  }
  body:has(#contact-form) .page-hero p {
    font-size: 0.92rem;
  }
  body:has(#contact-form) textarea {
    min-height: 4.25rem;
  }
  body:has(#contact-form) .section {
    padding-top: 0 !important;
    padding-bottom: 1rem;
  }
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--ah-accent);
}

.field-error {
  color: #8a1f12;
  font-size: 0.88rem;
  min-height: 1.1em;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: 0.5rem;
}

@media (max-width: 420px) {
  .phone-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.panel,
.form-grid,
.compare-table,
.specs {
  max-width: 100%;
}

.compare-table,
.specs {
  display: block;
  overflow-x: auto;
}

.paypal-slot {
  min-height: 3rem;
  margin: 0.75rem 0;
}

.note {
  color: var(--ah-muted);
  font-size: 0.92rem;
}

.legal h2 {
  margin-top: 2rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.preland-hero {
  padding: 2.5rem 0 2rem;
}

.preland-hero h1 {
  font-family: var(--ah-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes ah-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy,
.hero-visual {
  animation: ah-rise 0.7s ease both;
}

.hero-visual {
  animation-delay: 0.12s;
}

.faq details {
  border-bottom: 1px solid var(--ah-line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 0.55rem 0 0;
  color: var(--ah-muted);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--ah-line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--ah-tint);
}

/* Inline buy CTA (replaces former fullscreen scroll modal) */
.ah-inline-buy {
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem;
  background: var(--ah-tint);
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius);
}

.ah-inline-buy h2 {
  font-family: var(--ah-font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 0.45rem;
}

.ah-inline-buy p {
  margin: 0 0 0.9rem;
  color: var(--ah-muted);
}

.ah-inline-buy .btn {
  display: inline-flex;
}
