/* hafellner.at – Entwurf 2027 · gemeinsames Stylesheet
   Layout-Idee: ruhige Papier-Flächen, kräftige Hof-Fotos, eine Akzentfarbe je Bereich.
   Bereiche: body.t-bobbys (Rot/Grün/Gelb), body.t-hofladen (Gold/Schwarz),
   body.t-bagger (HAFELLNER-Grün), body.t-laserwork (Schwarz/Grün), body.t-app (Bestell-App). */

:root {
  color-scheme: light;
  /* Grundfarben */
  --ink: #1E1C17;
  --ink-2: #3D3A33;
  --muted: #5C584E;
  --line: #E4DCCB;
  --paper: #FBF8F1;
  --paper-2: #F3EEE2;
  --white: #FFFFFF;
  /* Bobby's (aus dem Logo) */
  --b-red: #D7001A;
  --b-red-deep: #A30014;
  --b-yellow: #F7CE00;
  --b-green: #006A2C;
  --b-green-deep: #0E3F21;
  --b-mint: #E8F0E4;
  --b-rose: #FBE6E8;
  /* Hofladen edel */
  --gold: #C6A14D;
  --gold-soft: #E6D3A0;
  --black: #161512;
  --black-2: #24221D;
  /* HAFELLNER Erdbewegung */
  --hf-green: #00802B; /* Logo-Grün #009A33 nur dekorativ; #00802B erreicht 5:1 mit Weiß */
  --hf-logo: #009A33;
  --hf-dark: #0B3A1A;
  --hf-stone: #EEF1EC;
  /* Laserwork */
  --lw-black: #121314;
  --lw-green: #6E9A4E;
  /* Bereichs-Akzent (wird je Theme gesetzt) */
  --accent: var(--b-green);
  --accent-ink: #FFFFFF;
  --accent-2: var(--b-red);
  --hero-bg: var(--b-green-deep);
  --hero-ink: #F6F2E8;
  /* Schrift */
  --f-display: "Bitter", Georgia, "Times New Roman", serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --f-elegant: "Cormorant Garamond", Georgia, serif;
  --f-tech: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  /* Maße */
  --wrap: 1180px;
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(30, 28, 23, .06), 0 10px 28px rgba(30, 28, 23, .08);
  --gap: clamp(16px, 2.4vw, 28px);
}

body.t-hofladen { --accent: var(--black); --accent-2: var(--gold); --hero-bg: var(--black); --hero-ink: #F4EFE3; }
body.t-bagger { --accent: var(--hf-green); --accent-2: var(--hf-dark); --hero-bg: var(--hf-dark); --hero-ink: #F2F6F0; --paper: #F7F8F5; --paper-2: var(--hf-stone); --line: #DCE3D8; }
body.t-laserwork { --accent: var(--lw-black); --accent-2: var(--lw-green); --hero-bg: var(--lw-black); --hero-ink: #F1F2EE; --paper: #F6F6F3; --paper-2: #ECECE7; --line: #DADAD3; }
body.t-app { --accent: var(--b-green); --accent-2: var(--b-red); --paper: #FAF8F3; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
body.t-hofladen main a:where(:not(.btn)) { color: #6B5416; }
body.t-hofladen main .section--dark a:where(:not(.btn)), body.t-hofladen main .card--dark a:where(:not(.btn)) { color: var(--gold-soft); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--b-yellow); border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible, .proto :focus-visible, .t-hofladen .site-header :focus-visible, .t-laserwork .site-header :focus-visible, .hero :focus-visible { outline-color: var(--b-yellow); box-shadow: none; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: clamp(20px, 2vw, 23px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
.t-hofladen h1, .t-hofladen h2, .t-hofladen .h-elegant { font-family: var(--f-elegant); font-weight: 700; letter-spacing: 0; }
.t-hofladen h1 { font-size: clamp(40px, 5.6vw, 66px); }
.t-hofladen h2 { font-size: clamp(30px, 3.6vw, 44px); }
.t-bagger h1, .t-bagger h2, .t-bagger h3, .t-laserwork h1, .t-laserwork h2, .t-laserwork h3 { font-family: var(--f-tech); font-weight: 700; letter-spacing: 0.02em; }
.t-bagger h1, .t-laserwork h1 { font-size: clamp(38px, 5.4vw, 64px); text-transform: uppercase; letter-spacing: 0.04em; }
.t-bagger h2, .t-laserwork h2 { font-size: clamp(28px, 3.4vw, 42px); }

/* Grundlayout */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(44px, 6vw, 84px); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--hero-bg); color: var(--hero-ink); }
.section--dark a { color: var(--gold-soft); }
.t-bagger .section--dark a { color: #9FE0B2; }
.section--mint { background: var(--b-mint); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 26px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid > *, .split > * { min-width: 0; }
.split { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr 1fr; } .split--rev > :first-child { order: 2; } }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: clamp(22px, 3vw, 36px); }
.center { text-align: center; margin-inline: auto; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--b-red); }
.t-hofladen .eyebrow { color: #6B5416; }
.t-hofladen .section--dark .eyebrow, .t-hofladen .card--dark .eyebrow, .t-hofladen .hero .eyebrow { color: var(--gold-soft); }
.t-bagger .eyebrow { color: #0B6B2A; }
.t-laserwork .eyebrow { color: var(--lw-green); }
.section--dark .eyebrow { color: var(--gold-soft); }
.t-bagger .section--dark .eyebrow { color: #8FD8A5; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 64ch; }
.section--dark .lead { color: inherit; opacity: .92; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 14px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.dialect { font-family: var(--f-display); font-style: italic; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16.5px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.t-bobbys .btn--primary, .t-app .btn--primary { background: var(--b-green); color: #fff; }
.btn--red { background: var(--b-red); color: #fff; }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Prototyp-Leiste */
.proto { background: #2B2A26; color: #EDE9DE; font-size: 13.5px; position: relative; z-index: 60; }
.proto .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 6px; }
.proto b { color: #FFD966; font-weight: 700; letter-spacing: .04em; }
.proto select, .proto button { font: inherit; font-size: 13px; background: #3A3833; color: #fff; border: 1px solid #5A574F; border-radius: 6px; min-height: 30px; padding: 2px 8px; cursor: pointer; }
.proto a { color: #FFD966; }
.proto code { background: #3A3833; padding: 1px 6px; border-radius: 4px; color: #fff; font-size: 12.5px; word-break: break-all; }
.proto .sep { opacity: .35; }
@media (max-width: 640px) { .proto .sep, .proto .p-url { display: none; } .proto .wrap { gap: 4px 10px; } }

/* Kopfbereich */
.topbar { background: var(--b-green-deep); color: #EAF0E6; font-size: 14.5px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: space-between; padding-block: 7px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .brands { display: flex; gap: 16px; opacity: .9; }
.t-bagger .topbar { background: #0A2C14; }
.t-laserwork .topbar { background: #000; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.t-hofladen .site-header { background: var(--black); color: #F4EFE3; border-color: #2E2B24; }
.t-laserwork .site-header { background: var(--lw-black); color: #F1F2EE; border-color: #2A2B2D; }
.site-header .wrap { display: flex; align-items: center; gap: 12px 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.t-bagger .brand img { height: 52px; }
.t-laserwork .brand img { height: 34px; filter: invert(1) hue-rotate(180deg); }
.brand .brand-sub { font-size: 12.5px; line-height: 1.25; letter-spacing: .05em; color: var(--muted); max-width: 130px; }
.t-hofladen .site-header .brand .brand-sub, .t-laserwork .site-header .brand .brand-sub { color: #BDB4A0; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.main-nav > a, .main-nav .dd > button { font: inherit; font-weight: 600; font-size: 16.5px; color: inherit; text-decoration: none; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.main-nav > a:hover, .main-nav .dd > button:hover, .main-nav > a[aria-current="page"] { background: var(--paper-2); }
.t-hofladen .main-nav > a:hover, .t-hofladen .main-nav > a[aria-current="page"], .t-laserwork .main-nav > a:hover { background: #2B2924; }
.main-nav > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--b-red); border-radius: 8px 8px 0 0; }
.t-bagger .main-nav > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--hf-green); }
.t-hofladen .main-nav > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 70; }
.dd.open .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.dd-menu a:hover { background: var(--paper-2); }
.dd-menu a small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.header-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; font: inherit; font-weight: 700; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; margin: 0; padding-bottom: 12px; }
  .site-header.open .main-nav { display: flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .dd-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; background: transparent; color: inherit; }
  .dd-menu a { color: inherit; }
  .dd > button { display: none; }
  .header-cta { width: 100%; }
  .header-cta .btn { flex: 1; }
  .brand img { height: 48px; }
}

/* Hero */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-ink); overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(48px, 8vw, 110px); display: flex; flex-direction: column; gap: 18px; max-width: var(--wrap); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media .img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 22, 14, .78) 0%, rgba(14, 22, 14, .45) 52%, rgba(14, 22, 14, .1) 100%); }
.t-hofladen .hero-media::after { background: linear-gradient(90deg, rgba(10, 9, 7, .86) 0%, rgba(10, 9, 7, .55) 55%, rgba(10, 9, 7, .15) 100%); }
.hero h1 { max-width: 15ch; color: #fff; }
.hero .lead { color: #EFEADF; max-width: 52ch; }
.hero .row { margin-top: 8px; }
.hero--plain { background: var(--paper-2); color: var(--ink); }
.hero--plain h1 { color: var(--ink); max-width: 20ch; }
.hero--plain .lead { color: var(--ink-2); }
.hero-note { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; align-self: flex-start; backdrop-filter: blur(4px); }
.hero--plain .hero-note { background: var(--white); color: var(--ink); border-color: var(--line); }
.crumbs { font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px; color: inherit; opacity: .9; }
.hero--plain .crumbs { opacity: 1; }
.crumbs a { color: inherit; }

/* Karten */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .push { margin-top: auto; padding-top: 6px; }
.card--link { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.card .media { aspect-ratio: 4 / 3; background: var(--paper-2); position: relative; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card--dark { background: var(--black-2); border-color: #3A372F; color: #F4EFE3; }
.card--season { border-top: 5px solid var(--b-red); }
.card--flat { background: transparent; border: 0; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.tile .ico-lg { width: 40px; height: 40px; color: var(--accent); }
.t-bobbys .tile .ico-lg { color: var(--b-red); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: var(--b-mint); color: var(--b-green); align-self: flex-start; }
.badge--red { background: var(--b-rose); color: var(--b-red-deep); }
.badge--gold { background: #F3E8C9; color: #6B5416; }
.badge--dark { background: var(--black); color: var(--gold-soft); }
.badge--grey { background: var(--paper-2); color: var(--muted); }
.badge--hf { background: #DDF1E3; color: #0B5A24; }
.price { font-family: var(--f-display); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--f-body); font-weight: 400; font-size: 14px; color: var(--muted); }

/* Bilder & KI-Kennzeichnung */
.fig { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 13.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.ki-tag { position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; font: 700 11.5px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(20, 20, 20, .72); border: 1px solid rgba(255,255,255,.35); pointer-events: none; }
.hero .ki-tag { top: auto; bottom: 14px; right: 14px; }
.img-ph { width: 100%; height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; color: #6A6355; background: repeating-linear-gradient(135deg, #EFE8D8 0 14px, #F6F1E5 14px 28px); font-size: 14px; font-weight: 600; }
.img-ph b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #5F5644; }
.hero-media .img-ph { background: repeating-linear-gradient(135deg, #24301F 0 14px, #2B3825 14px 28px); color: rgba(255,255,255,.55); font-size: 0; }
.hero-media .img-ph b { font-size: 11px; color: rgba(255,255,255,.6); position: absolute; right: 16px; top: 16px; }
.t-hofladen .hero-media .img-ph { background: repeating-linear-gradient(135deg, #1A1916 0 14px, #22201C 14px 28px); }
.t-bagger .hero-media .img-ph { background: repeating-linear-gradient(135deg, #0D2E17 0 14px, #12371D 14px 28px); }
.ratio-16x9 { aspect-ratio: 16 / 9; } .ratio-4x3 { aspect-ratio: 4 / 3; } .ratio-3x2 { aspect-ratio: 3 / 2; } .ratio-1x1 { aspect-ratio: 1 / 1; } .ratio-3x4 { aspect-ratio: 3 / 4; } .ratio-21x9 { aspect-ratio: 21 / 9; }

/* Saison-Elemente */
[data-season-only] { }
.season-strip { background: var(--b-yellow); color: var(--ink); }
.season-strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding-block: 10px; font-weight: 600; }
.season-strip a { color: var(--ink); font-weight: 700; }

/* Feldampel (Erdbeeren) */
.ampel { display: grid; gap: 12px; }
.ampel-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.ampel-dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(0,0,0,.05); }
.ampel-dot.gut { background: #1E9E46; } .ampel-dot.wenig { background: #F0B400; } .ampel-dot.zu { background: #C9302C; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: st; }
.steps li { counter-increment: st; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(st); width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-display); }
.t-hofladen .steps li::before { background: var(--gold); color: var(--black); }

/* Kalender / Saisonleiste */
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; font-size: 12.5px; }
.months span { text-align: center; padding: 6px 0; border-radius: 6px; background: var(--paper-2); color: var(--muted); font-weight: 600; }
.months span.on { background: var(--b-red); color: #fff; }
.months span.soon { background: var(--b-rose); color: var(--b-red-deep); }
.scroll-x { overflow-x: auto; }

/* Partner */
.partner { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.partner .avatar { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.partner .km { font-size: 13.5px; color: var(--muted); }

/* Hinweise */
.notice { border-radius: 12px; padding: 14px 18px; background: var(--b-mint); color: var(--b-green-deep); display: flex; gap: 12px; align-items: flex-start; }
.notice--warn { background: #FFF4D6; color: #5C4400; }
.notice--draft { background: #F1ECFF; color: #3C2C7A; }
.notice--dark { background: #2B2924; color: #F1EADA; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style-position: outside; }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }

/* Formulare */
.form { display: grid; gap: 16px; }
.form .two { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: 15px; }
.field .hint { font-size: 13.5px; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #CFC6B3; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--b-green); flex-shrink: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: 13.5px; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.t { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.t th, table.t td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { background: var(--paper-2); font-weight: 700; white-space: nowrap; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* CTA-Band */
.cta-band { background: var(--b-red); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1.6fr auto; } }
.cta-band h2 { color: #fff; }
.cta-band--dark { background: var(--black); }
.cta-band--green { background: var(--b-green); }
.t-bagger .cta-band { background: var(--hf-green); }
.t-laserwork .cta-band { background: var(--lw-black); }

/* Zitat */
.quote { font-family: var(--f-display); font-size: clamp(21px, 2.4vw, 28px); line-height: 1.35; border-left: 5px solid var(--b-yellow); padding-left: 20px; max-width: 46ch; }

/* Fußbereich */
.site-footer { background: #191814; color: #DAD4C5; font-size: 15.5px; margin-top: 0; }
.site-footer .wrap { padding-block: 52px 26px; display: grid; gap: 30px; }
.footer-cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.site-footer h4, .site-footer .f-h { font-family: var(--f-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: #DAD4C5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-sign { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; border-top: 1px solid #34322C; padding-top: 20px; font-size: 14px; color: #A7A090; }
.footer-claim { font-family: var(--f-display); font-style: italic; color: var(--b-yellow); font-size: 18px; }

/* Messpunkte-Modus (Analyse-Plan sichtbar machen) */
body.show-track [data-track] { outline: 2px dashed #7B5CFF !important; outline-offset: 3px; position: relative; }
body.show-track [data-track]::after { content: "📊 " attr(data-track); position: absolute; left: 0; top: -22px; z-index: 80; background: #7B5CFF; color: #fff; font: 600 11px/1 var(--f-body); padding: 4px 6px; border-radius: 4px; white-space: nowrap; pointer-events: none; }
.track-log { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: min(340px, calc(100vw - 24px)); max-height: 40vh; overflow: auto; background: #1F1B33; color: #EDE8FF; border-radius: 12px; box-shadow: var(--shadow); font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px 12px; z-index: 90; }
.track-log b { color: #C9B8FF; }

/* Cookie-/Einwilligungs-Hinweis (Muster) */
.consent { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 24px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; z-index: 85; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.consent .row .btn { flex: 1; }

/* App-Shell */
.app-bar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.app-bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.app-bar .brand img { height: 44px; }
.app-bar nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.app-bar nav a { font-weight: 600; text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 8px; }
.app-bar nav a[aria-current="page"], .app-bar nav a:hover { background: var(--paper-2); }
.cart-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--b-green); color: #fff !important; border-radius: 999px; padding: 8px 14px !important; }
.cart-count { background: #fff; color: var(--b-green); border-radius: 999px; min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; padding: 0 6px; }
.tabbar { display: none; }
@media (max-width: 760px) {
  .app-bar nav { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; }
  .tabbar a[aria-current="page"] { color: var(--b-green); }
  .tabbar .ico { width: 22px; height: 22px; }
  body.t-app { padding-bottom: 72px; }
}
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sumline { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.sumline.total { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 19px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #CFC6B3; border-radius: 999px; overflow: hidden; }
.qty button { font: inherit; font-weight: 700; width: 40px; height: 40px; border: 0; background: #fff; cursor: pointer; }
.qty output { min-width: 44px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Icons */
.ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ico-lg { width: 36px; height: 36px; }

/* Hilfsklassen */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 8px; } .mt-m { margin-top: 18px; } .mt-l { margin-top: 32px; }
.hide-sm { } @media (max-width: 640px) { .hide-sm { display: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }

/* --- Korrekturen nach Bau-Runde 1 --- */
[hidden] { display: none !important; }
figure, .fig { margin: 0; }
.card .media { overflow: hidden; }
.card .media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ico-lg { display: inline-flex; width: 36px; height: 36px; }
.ico-lg > .ico, svg.ico-lg { width: 100%; height: 100%; }
.section--dark a:where(:not(.btn)) { color: var(--gold-soft); }
.section--dark a.btn--gold { color: var(--black); }
body.t-hofladen main .hero a:where(:not(.btn)), body.t-hofladen main .hero .crumbs { color: #E9DFC6; }
body.t-hofladen main a.card--link :where(h2, h3, h4, p) { color: inherit; }
.ki-tag { color: #fff !important; }
body.t-hofladen main a.card--link { color: var(--ink); }
body.t-hofladen main a.card--link.card--dark { color: #F4EFE3; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; } }
body.s-app { padding-bottom: 0; }
@media (max-width: 760px) { body.s-app { padding-bottom: 72px; } }
.btn--lw { background: #4C7631; color: #fff; }
.t-laserwork .site-header .btn--lw { background: #4C7631; }
/* Bereichs-Fußzeilen */
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 46px; width: auto; }
.t-laserwork .footer-brand img { filter: invert(1) hue-rotate(180deg); }
.footer-claim--hf { color: #8FD8A5; font-family: var(--f-tech); font-style: normal; letter-spacing: .06em; text-transform: uppercase; font-size: 16px; }
.footer-claim--lw { color: #B9D3A6; font-family: var(--f-tech); font-style: normal; letter-spacing: .06em; text-transform: uppercase; font-size: 16px; }

/* Optik-Umschalter in der Entwurfs-Leiste */
.proto .p-var { display: inline-flex; gap: 6px; align-items: center; }
.proto .p-var b { color: #fff; background: #4A463E; padding: 2px 8px; border-radius: 6px; letter-spacing: 0; font-weight: 700; }
.proto .p-var a { padding: 2px 4px; }

/* Termine aus dem Kalender „Bobby's Hofladen Termine“ – fehlt ein Eintrag, steht „Termin folgt“ (punktiert unterstrichen) */
[data-termin][data-fehlt] { text-decoration: underline dotted; text-underline-offset: 3px; }
/* Bild-Platzhalter in Porträt-/Avatar-Flächen (echte Fotos oder KI-Platzhalter) */
.ph-img { position: relative; overflow: hidden; }
.ph-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ph-img--sm .ki-tag { font-size: 0 !important; padding: 1px 6px !important; top: auto !important; bottom: 3px !important; left: auto !important; right: 50% !important; transform: translateX(50%) !important; border-radius: 999px !important; white-space: nowrap; }
.ph-img--sm .ki-tag::before { content: "KI"; font-size: 9px; font-weight: 700; letter-spacing: .06em; }

/* ===== 05.11.2026: Optik „klar“ ist festgelegt (Interview Mama & Kathi) ===== */
/* Deutlichere Knöpfe (aus „natürlich gewachsen“ übernommen): größer, erhaben, klarer Zustand beim Darüberfahren */
.btn { min-height: 52px; padding-inline: 26px; font-size: 17px; border-width: 2px; letter-spacing: .005em; box-shadow: 0 2px 0 rgba(20, 18, 14, .16), 0 6px 14px -8px rgba(20, 18, 14, .45); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 3px 0 rgba(20, 18, 14, .18), 0 10px 18px -8px rgba(20, 18, 14, .5); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(20, 18, 14, .18); }
.btn--red:hover { background: var(--b-red-deep); }
.t-bobbys .btn--primary:hover, .t-app .btn--primary:hover { background: var(--b-green-deep); }
.btn--gold:hover { background: #B38E3D; }
.btn--ghost, .btn--light { box-shadow: none; }
.btn--ghost { border-width: 2px; }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 9%, transparent); box-shadow: none; }
.btn--light:hover { background: #F3EEE2; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.btn--sm { min-height: 44px; padding-inline: 18px; font-size: 15.5px; }
.btn .ico { width: 20px; height: 20px; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--b-yellow); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transform: none; transition: none; } }

/* Akzentfarbe je Saison, passend zu den Bildern (nur Bobby's und Bestell-App; Hofladen bleibt Gold/Schwarz) */
:root { --season: var(--b-red); --season-ink: var(--b-red); --season-soft: var(--b-rose); --season-hero: var(--b-yellow); }
html[data-season="advent"]    { --season: #B08A2E; --season-ink: #7A5A12; --season-soft: #F4EBD3; --season-hero: #F2C94C; }
html[data-season="winter"]    { --season: #2E6E4A; --season-ink: #1F5A3A; --season-soft: #E3EEE6; --season-hero: #BFE3CB; }
html[data-season="fruehling"] { --season: #6E9E2A; --season-ink: #3F6B12; --season-soft: #EEF4DF; --season-hero: #C8E68A; }
html[data-season="sommer"]    { --season: #D7001A; --season-ink: #B0001A; --season-soft: #FBE3E3; --season-hero: #FFB3BA; }
html[data-season="herbst"]    { --season: #D9731B; --season-ink: #9A4508; --season-soft: #F8E8D6; --season-hero: #F6B26B; }
:where(body.t-bobbys, body.t-app) .eyebrow { color: var(--season-ink); }
:where(body.t-bobbys) :is(.section--dark, .hero:not(.hero--plain)) .eyebrow { color: var(--season-hero); }
body .st-kicker { text-shadow: 0 1px 3px rgba(0, 0, 0, .65); }
body.t-bobbys .card--season { border-top-color: var(--season); }
body.t-bobbys .main-nav > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--season); }
body.t-bobbys .tile .ico-lg { color: var(--season-ink); }
body.t-bobbys .st-title em { color: var(--season-hero); }
body.t-bobbys .section-head .eyebrow::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; background: var(--season); vertical-align: middle; margin-right: 8px; }

/* KI-Hinweis klein und dezent: rundes „KI“ in der Bildecke, Erklärung beim Darüberfahren */
.ki-tag { top: auto !important; left: auto !important; bottom: 8px !important; right: 8px !important; transform: none !important; padding: 2px 7px !important; border-radius: 999px !important; font: 700 10px/1.4 var(--f-body) !important; letter-spacing: .08em !important; background: rgba(20, 20, 20, .55) !important; border: 1px solid rgba(255, 255, 255, .45) !important; opacity: .9; pointer-events: auto !important; cursor: help; }
.ph-img--sm .ki-tag { bottom: 2px !important; right: 50% !important; transform: translateX(50%) !important; padding: 0 5px !important; font-size: 9px !important; }
.ph-img--sm .ki-tag::before { content: none !important; }
.hero .ki-tag { bottom: 12px !important; right: 12px !important; }
.proto .p-note { opacity: .75; font-size: 12px; }

/* Stockfoto als Serviervorschlag gekennzeichnet (Pixabay-Lizenz: nicht irreführend) */
.img-hinweis { position: absolute; left: 8px; bottom: 8px; z-index: 3; padding: 2px 8px; border-radius: 999px; font: 600 11px/1.5 var(--f-body); color: #fff; background: rgba(20, 20, 20, .58); pointer-events: none; }
.hero .img-hinweis { left: 14px; bottom: 14px; }

/* ===== Hofladen Card am Handy (App-Start und Konto, 05.11.2026) ===== */
.hc { background: linear-gradient(135deg, #161512 0%, #2B2820 100%); color: #F4EFE3; border-radius: 18px; padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; box-shadow: inset 0 0 0 1px #3A3424; max-width: 760px; }
.hc-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hc-kicker { color: #D4B062; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.hc-name { font-family: var(--f-elegant); font-size: 28px; line-height: 1; color: #fff; }
.hc-meta { font-size: 13.5px; color: #CDBF9E; }
.hc-hint { font-size: 15px; color: #E4DCCB; }
.hc-qr { background: #fff; border: 0; border-radius: 12px; padding: 6px; width: 128px; height: 128px; cursor: pointer; display: block; }
.hc-qr svg { width: 100%; height: 100%; display: block; }
.hc-qr:focus-visible { outline: 3px solid #D4B062; outline-offset: 3px; }
.hc-infos { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); max-width: 760px; }
@media (max-width: 420px) { .hc { padding: 14px; gap: 12px; } .hc-qr { width: 104px; height: 104px; } .hc-name { font-size: 24px; } }
.hc-gast { display: none; gap: 10px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 0; font-size: 15px; max-width: 760px; }
.hc-gast .ico { color: var(--b-green); margin-top: 3px; flex: none; }
body.hc-als-gast .hc-gast { display: flex; }
body.hc-als-gast [data-nur="angemeldet"] { display: none; }
.hc-change summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.hc-change .field input { max-width: 280px; }
dialog.hc-dialog { border: 0; border-radius: 20px; padding: 0; width: min(92vw, 440px); max-width: 92vw; background: #fff; color: var(--ink); }
dialog.hc-dialog::backdrop { background: rgba(14, 12, 8, .75); }
.hc-dlg-in { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 20px 20px; text-align: center; }
.hc-dlg-h { font-family: var(--f-elegant); font-size: 28px; line-height: 1; }
.hc-dlg-qr { width: max(170px, min(78vw, 340px, calc(100vh - 250px))); aspect-ratio: 1 / 1; }
@supports (height: 100dvh) { .hc-dlg-qr { width: max(170px, min(78vw, 340px, calc(100dvh - 250px))); } }
.hc-dlg-h:focus { outline: none; }
.hc-dlg-sub { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6B5416; margin-top: -6px; }
.hc-dlg-qr svg { width: 100%; height: 100%; display: block; }
.hc-dlg-nr { font-weight: 700; letter-spacing: .04em; }
.hc-dlg-in p { margin: 0; font-size: 15px; color: var(--muted); }
.hc-dlg-in .btn { min-width: 160px; }

/* Card unterwegs (neu angemeldet, noch nicht zugeordnet) */
.hc--wait { box-shadow: inset 0 0 0 1px #5B4E2E; }
.hc-qr--wait { background: transparent; border: 2px dashed #8C7A4C; color: #D4B062; display: flex; align-items: center; justify-content: center; cursor: default; }
.hc-qr--wait .ico { width: 44px; height: 44px; }

/* Jahreszeit-Grafiken (assets/jahreszeit.js) */
.jz{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 1px 0 rgba(14,63,33,.08),0 10px 28px rgba(14,63,33,.08);margin-block:clamp(18px,3vw,30px)}
.jz:empty{display:none}
.jz-bild{position:relative;aspect-ratio:5/2;background:#EAF2E6}
.jz-bild svg{display:block;width:100%;height:100%}
.jz-badge{position:absolute;left:14px;top:14px;background:rgba(14,63,33,.9);color:#fff;font-weight:700;font-size:13px;line-height:1;padding:7px 12px;border-radius:99px}
.jz-cap{margin:0;padding:16px 20px 8px;font-size:16.5px;line-height:1.55;color:#1d2b22;max-width:none}
.jz-steps{display:flex;flex-wrap:wrap;gap:8px;padding:8px 20px 18px}
.jz-steps span{display:flex;flex-direction:column;gap:2px;font-size:13.5px;font-weight:700;line-height:1.2;padding:7px 12px;border-radius:12px;border:1px solid rgba(14,63,33,.18);color:#0E3F21;background:#FBF8F1}
.jz-steps small{font-weight:400;font-size:12px;opacity:.75}
.jz-steps span.on{background:#0E3F21;color:#fff;border-color:#0E3F21}
.jz-steps span.on small{opacity:.85}
@media (max-width:640px){.jz-bild{aspect-ratio:16/10}.jz-cap{font-size:15.5px;padding:14px 16px 6px}.jz-steps{padding:6px 16px 16px}}
