﻿:root {
  color-scheme: light;
  --font-base: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --ink: #1b1a16;
  --muted: #7b6b5a;
  --bg: #f9f6f1;
  --card: #fbf7f2;
  --accent: #a97943;
  --accent-dark: #8b6436;
  --border: #e7ded2;
  --shadow: 0 8px 20px rgba(20, 16, 12, 0.04);
  --radius: 10px;
  --img-hero-jpg: url("../assets/hero-1440.jpg");
  --img-hero-modern: image-set(
    url("../assets/hero-1440.webp") type("image/webp"),
    url("../assets/hero-1440.jpg") type("image/jpeg")
  );
  --img-product-jpg: url("../assets/kaneelbol-1200.jpg");
  --img-product-modern: image-set(
    url("../assets/kaneelbol-1200.webp") type("image/webp"),
    url("../assets/kaneelbol-1200.jpg") type("image/jpeg")
  );
  --img-about-jpg: url("../assets/ik-720.jpg");
  --img-about-modern: image-set(
    url("../assets/ik-720.webp") type("image/webp"),
    url("../assets/ik-720.jpg") type("image/jpeg")
  );
}

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

body {
  margin: 0;
  background: #f9f6f1;
  color: var(--ink);
  font-family: var(--font-base);
  font-weight: 400;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.brand a {
  font-family: var(--font-base);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.brand-tagline {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a[href="bestellen.html"] {
  font-weight: 600;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.page-admin .content {
  gap: 16px;
}

.hero {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
  animation: fade-in 0.7s ease-out;
}

.hero-open {
  position: relative;
  min-height: 70vh;
  padding: 80px 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f2ec;
  box-shadow: var(--shadow);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(249, 246, 241, 0.95) 0%,
      rgba(249, 246, 241, 0.7) 48%,
      rgba(249, 246, 241, 0.2) 72%
      ),
      var(--img-hero-jpg);
  background-image: linear-gradient(
      90deg,
      rgba(249, 246, 241, 0.95) 0%,
      rgba(249, 246, 241, 0.7) 48%,
      rgba(249, 246, 241, 0.2) 72%
      ),
      var(--img-hero-modern);
  background-size: cover;
  background-position: center right;
  filter: saturate(0.95);
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
  min-width: 0;
}

.hero-content h1 {
  font-family: var(--font-base);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  margin: 12px 0 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36ch;
  overflow-wrap: anywhere;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  color: var(--muted);
}

.label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.hero-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin: 24px 0 8px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.next-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  min-width: 260px;
  backdrop-filter: blur(8px);
}

.next-card strong {
  display: block;
  font-family: var(--font-base);
  font-size: 24px;
  margin: 8px 0 6px;
}

.next-note {
  font-size: 13px;
  color: var(--muted);
}

.home-hero-actions {
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.home-next-card {
  width: min(100%, 520px);
  min-width: 0;
  max-width: 520px;
  border-radius: 12px;
  padding: 18px 18px 14px;
  background: rgba(251, 247, 242, 0.96);
}

.home-next-card .label {
  font-size: 20px;
}

.home-next-card strong {
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.1;
  margin: 10px 0 12px;
  max-width: 100%;
  overflow-wrap: break-word;
}

.home-next-line {
  margin: 0 0 8px;
  font-size: 17px;
}

[data-home-lifecycle-message] {
  margin-top: 4px;
  color: #5f4f3f;
}

.home-maintenance-note {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2c7ad;
  background: #f7e8d8;
  color: #744629;
  font-size: 15px;
  line-height: 1.45;
}

.home-reserve-btn {
  width: 100%;
  margin-top: 8px;
  font-size: 21px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.home-reserve-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
}

.instagram-row,
.home-instagram-row {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.instagram-link,
.home-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5f4f3f;
  text-decoration: none;
  font-size: 14px;
}

.instagram-link:hover,
.home-instagram-link:hover {
  text-decoration: underline;
}

.instagram-icon,
.home-instagram-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: currentColor;
}

.instagram-icon svg,
.home-instagram-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-preopen-signup {
  margin-top: 8px;
}

.home-next-signup {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.home-next-signup input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6dfd4;
  font-size: 16px;
  background: #fff;
}

.home-next-signup .cta {
  width: 100%;
  margin-top: 0;
  font-size: 18px;
}

.home-next-signup .fine {
  margin: 0;
  text-align: center;
}

.home-order-count {
  margin: 4px 0 0;
  font-size: 15px;
  color: #6f5f4f;
}

.home-product-preview {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  max-width: 580px;
}

.home-product-preview-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-product-preview-grid {
  display: grid;
  gap: 12px;
}

.home-product-preview-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(251, 247, 242, 0.9);
}

.home-product-preview-image {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: var(--img-product-jpg);
  background-image: var(--img-product-modern);
}

.home-product-preview-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-product-preview-name {
  font-size: 18px;
  color: #3a2b22;
}

.home-product-preview-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.home-product-preview-side {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.home-product-preview-price {
  font-size: 18px;
  color: #3a2b22;
}

.home-product-preview-state {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-product-preview-state.is-closed {
  color: #9a6d47;
}

.home-quote-banner {
  margin-top: 12px;
  overflow: hidden;
  border-top: 1px solid rgba(140, 116, 90, 0.25);
  padding-top: 10px;
}

.home-quote-track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: home-quote-scroll 56s linear infinite;
}

.home-quote-line {
  white-space: nowrap;
  font-size: 14px;
  color: #6f5f4f;
  letter-spacing: 0.01em;
}

.cta-block {
  border-radius: 8px;
  padding: 14px 26px;
  background: #6d4f37;
}

.cta-arrow {
  margin-left: 8px;
  font-weight: 500;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 14px rgba(30, 24, 18, 0.12);
}

.section {
  padding: 64px 0;
}

.section-muted {
  background: #f7f2ec;
  border-radius: 12px;
  padding-left: 20px;
  padding-right: 20px;
}

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

.cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.note {
  font-size: 14px;
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.success-banner {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f1ea;
  color: var(--muted);
  font-size: 0.95rem;
}

