/* ==========================================================================
   Tran Koch – Asiatische Küche & Sushi, Hemsbach
   Farbwelt nach den Restaurant-Flyern: Creme / Dunkelgrün / Orange
   Keine Webfonts, keine externen Requests.
   ========================================================================== */

:root {
  --creme: #faf6ed;
  --creme-2: #f3ecdd;
  --creme-3: #eae0cb;
  --gruen-dunkel: #2d5a34;
  --gruen: #3f7a48;
  --gruen-tief: #1e3f24;
  --orange: #e07a3c;          /* nur Flächen & große Schrift */
  --orange-strong: #bf5a1e;   /* Text & Buttons, WCAG-AA-tauglich */
  --gold: #c9962e;
  --text: #2b2b26;
  --text-muted: #5f5c53;
  --line: #ddd2bb;
  --white: #fff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 2px 4px rgba(45, 90, 52, .05), 0 8px 24px rgba(45, 90, 52, .07);
  --shadow-lg: 0 4px 8px rgba(45, 90, 52, .06), 0 18px 44px rgba(45, 90, 52, .12);

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype",
                "Book Antiqua", Palatino, "Times New Roman", serif;

  --header-h: 66px;
  --wrap: 1140px;
}

/* --------------------------------------------------------------- Grundlagen */

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

html {
  scroll-behavior: smooth;
  /* Anker nicht unter den Sticky-Header rutschen lassen */
  scroll-padding-top: calc(var(--header-h) + 56px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--gruen-tief);
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 5.2vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.02rem; font-family: var(--font-sans); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--gruen-dunkel); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange-strong); }

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

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.15rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gruen-dunkel); color: var(--white);
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 0; color: var(--white); }

/* ------------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 1.4rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange-strong); color: var(--white); }
.btn--primary:hover { background: #a54b17; color: var(--white); }

.btn--green { background: var(--gruen-dunkel); color: var(--white); }
.btn--green:hover { background: var(--gruen-tief); color: var(--white); }

.btn--ghost { background: transparent; color: var(--gruen-dunkel); border-color: var(--gruen-dunkel); }
.btn--ghost:hover { background: var(--gruen-dunkel); color: var(--white); }

.btn--light { background: var(--white); color: var(--gruen-dunkel); border-color: var(--creme-3); }
.btn--light:hover { background: var(--creme-2); color: var(--gruen-tief); }

.btn--sm { padding: .58rem 1.05rem; font-size: .92rem; }

/* ------------------------------------------------------------------- Header */

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 237, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}

.header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: inherit; margin-right: auto;
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 1.16rem; line-height: 1.05; color: var(--gruen-tief);
}
.brand__sub {
  font-size: .59rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--orange-strong); font-weight: 600;
}

.nav__toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; border: 2px solid var(--line);
  border-radius: 999px; padding: .45rem .8rem;
  font: inherit; font-size: .9rem; font-weight: 600;
  color: var(--gruen-dunkel); cursor: pointer;
}
.nav__toggle-bars { position: relative; width: 17px; height: 2px; background: currentColor; }
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: currentColor;
}
.nav__toggle-bars::before { top: -5px; }
.nav__toggle-bars::after { top: 5px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after  { top: 0; transform: rotate(-45deg); }

.nav__list {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .6rem 0 1rem;
}
.nav__list a {
  display: block; padding: .6rem .2rem;
  text-decoration: none; font-weight: 600; color: var(--gruen-dunkel);
  border-bottom: 1px solid var(--line);
}
.nav__list a:hover { color: var(--orange-strong); }

.nav__panel { display: none; }
.nav__panel.is-open { display: block; }

.header__cta { display: none; }

@media (min-width: 62rem) {
  .nav__toggle { display: none; }
  .nav__panel { display: block !important; }
  .nav__list { flex-direction: row; align-items: center; gap: .35rem; padding: 0; }
  .nav__list a { border-bottom: 0; padding: .45rem .7rem; border-radius: 999px; font-size: .95rem; }
  .nav__list a:hover { background: var(--creme-2); }
  .header__cta { display: inline-flex; margin-left: .6rem; }
}

/* --------------------------------------------------------------------- Hero */

.hero { position: relative; background: var(--gruen-tief); }

.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,48,28,.72) 0%, rgba(24,48,28,.55) 45%, rgba(24,48,28,.88) 100%);
}

.hero__inner {
  position: relative;
  padding-block: clamp(3rem, 9vw, 6.5rem);
  max-width: 46rem;
}

.hero h1 { color: var(--white); }
.hero__lead {
  color: #f0e9d8; font-size: clamp(1.03rem, 2.2vw, 1.28rem);
  max-width: 34rem; margin-bottom: 1.6rem;
}
.hero__eyebrow {
  display: inline-block; margin-bottom: .9rem;
  font-size: .74rem; letter-spacing: .19em; text-transform: uppercase;
  font-weight: 700; color: var(--gold);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Öffnungsstatus – wird per JS eingeblendet */
.status {
  display: none; align-items: center; gap: .5rem;
  margin-bottom: 1.15rem; padding: .42rem .95rem;
  border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255,255,255,.13); color: #f0e9d8;
  border: 1px solid rgba(255,255,255,.26);
}
.status.is-visible { display: inline-flex; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.status--open { color: #a8e0a0; }
.status--closed { color: #f3c9a8; }

/* ------------------------------------------------------------------ Section */

.section { padding-block: clamp(2.75rem, 7vw, 5rem); }
.section--alt { background: var(--creme-2); }
.section--dark { background: var(--gruen-tief); color: #ece5d5; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section__head { max-width: 40rem; margin-bottom: 2.25rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: block; margin-bottom: .55rem;
  font-size: .73rem; letter-spacing: .19em; text-transform: uppercase;
  font-weight: 700; color: var(--orange-strong);
}
.section--dark .eyebrow { color: var(--gold); }
.section__lead { color: var(--text-muted); font-size: 1.06rem; }
.section--dark .section__lead { color: #cfc7b4; }

/* --------------------------------------------------------------- Highlights */

.cards { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}
.card__icon {
  width: 46px; height: 46px; margin-bottom: .9rem;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--creme-2); color: var(--gruen-dunkel);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.card p { color: var(--text-muted); font-size: .96rem; }

/* ---------------------------------------------------------------- Über uns */

.about { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .about { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }

.about__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.about__gallery img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}
.about__gallery img:last-child { aspect-ratio: 1 / 1; align-self: center; }

.usp { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.usp li {
  padding: .35rem .85rem; border-radius: 999px;
  background: var(--creme-3); color: var(--gruen-tief);
  font-size: .87rem; font-weight: 600;
}

/* ------------------------------------------------------------- Speisekarte */

.menu-nav {
  position: sticky; top: var(--header-h); z-index: 90;
  margin-bottom: 2rem;
  background: var(--creme-2);
  border-block: 1px solid var(--line);
}
.menu-nav__list {
  display: flex; gap: .4rem; overflow-x: auto;
  padding: .6rem .15rem; scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.menu-nav__list a {
  flex: none; padding: .4rem .85rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; text-decoration: none;
  color: var(--gruen-dunkel); white-space: nowrap;
}
.menu-nav__list a:hover { background: var(--gruen-dunkel); color: var(--white); border-color: var(--gruen-dunkel); }

/* Zutaten-Preisschema */
.scheme {
  background: var(--gruen-tief); color: #ece5d5;
  border-radius: var(--radius-lg); padding: 1.6rem 1.4rem;
  margin-bottom: 2.5rem; box-shadow: var(--shadow-lg);
}
.scheme h3 { color: var(--white); margin-bottom: .3rem; }
.scheme p { color: #cfc7b4; font-size: .95rem; }
.scheme__grid {
  display: grid; gap: .1rem .9rem; margin-top: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 34rem) { .scheme__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58rem) { .scheme__grid { grid-template-columns: repeat(4, 1fr); } }
.scheme__row {
  display: flex; align-items: baseline; gap: .5rem;
  padding: .42rem 0; border-bottom: 1px dashed rgba(255,255,255,.16);
}
.scheme__row > span:first-child { flex: 1; }
.scheme__row b { color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.scheme__note { margin-top: 1.1rem; font-size: .9rem; color: #cfc7b4; }

/* Kategorien */
.course { margin-bottom: 2.75rem; scroll-margin-top: calc(var(--header-h) + 64px); }
.course__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem;
  padding-bottom: .7rem; margin-bottom: 1.1rem;
  border-bottom: 2px solid var(--gruen-dunkel);
}
.course__head h3 { margin: 0; }
.course__meta { font-size: .9rem; color: var(--text-muted); }

.dishes { display: grid; gap: .2rem; }
@media (min-width: 60rem) { .dishes--2col { grid-template-columns: 1fr 1fr; gap: .2rem 2.75rem; } }

.dish { padding: .72rem 0; border-bottom: 1px dashed var(--line); }
.dish__top { display: flex; align-items: baseline; gap: .55rem; }
.dish__no {
  flex: none; min-width: 2.05em;
  font-weight: 700; color: var(--orange-strong); font-size: .93rem;
  font-variant-numeric: tabular-nums;
}
.dish__name { margin: 0; font-weight: 700; font-size: 1.01rem; color: var(--gruen-tief); }
.dish__dots {
  flex: 1 1 1.5rem; min-width: .8rem; height: 1px;
  border-bottom: 1px dotted var(--line); transform: translateY(-.28em);
}
.dish__price {
  flex: none; font-weight: 700; color: var(--gruen-dunkel);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.dish__desc {
  margin: .2rem 0 0; padding-left: 2.6em;
  font-size: .92rem; color: var(--text-muted);
}
.dish__options { margin: .45rem 0 0; padding-left: 2.6em; display: grid; gap: .05rem; }
.dish__option { display: flex; align-items: baseline; gap: .5rem; font-size: .93rem; }
.dish__option > span:first-child { flex: 1; }
.dish__option b { color: var(--gruen-dunkel); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish__ref { padding-left: 2.6em; margin: .25rem 0 0; font-size: .88rem; color: var(--orange-strong); font-weight: 600; }
.dish__qty { font-weight: 400; font-size: .88rem; color: var(--text-muted); }

/* Sushi-Unterkategorien */
.subcourse {
  margin: 1.85rem 0 .4rem;
  font-family: var(--font-sans); font-size: 1rem;
  font-weight: 700; color: var(--gruen-tief);
}
.subcourse:first-of-type { margin-top: 1.4rem; }
.subcourse span { font-weight: 400; color: var(--text-muted); }
.subcourse-note { margin: 0 0 .55rem; font-size: .92rem; color: var(--text-muted); }

/* Kennzeichnungen */
.tag {
  display: inline-block; margin-left: .35rem; vertical-align: .08em;
  padding: .08rem .48rem; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap;
}
.tag--veg { background: #e2efd9; color: #34682c; }
.tag--hot { background: #fbe0d4; color: #a8431a; }

.note {
  margin-top: 1.5rem; padding: 1.1rem 1.25rem;
  background: var(--creme-2); border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem; color: var(--text-muted);
}
.note strong { color: var(--gruen-tief); }
.section--alt .note { background: var(--white); }

/* ------------------------------------------------------------ Mittagskarte */

.lunch {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 44rem) { .lunch { grid-template-columns: repeat(2, 1fr); } }

.lunch__item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.35rem;
  box-shadow: var(--shadow);
}
.lunch__no {
  display: inline-block; margin-bottom: .5rem;
  padding: .18rem .7rem; border-radius: 999px;
  background: var(--gruen-dunkel); color: var(--white);
  font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.lunch__item h3 { font-size: 1.06rem; font-family: var(--font-sans); margin-bottom: .4rem; }
.lunch__price { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--orange-strong); }
.lunch__rows { margin-top: .5rem; display: grid; gap: .1rem; }
.lunch__rows li { display: flex; gap: .6rem; align-items: baseline; font-size: .95rem; padding: .28rem 0; border-bottom: 1px dashed var(--line); }
.lunch__rows li > span:first-child { flex: 1; }
.lunch__rows b { color: var(--gruen-dunkel); font-variant-numeric: tabular-nums; }

.extras { margin-top: 1.6rem; }
.extras__grid { display: grid; gap: .1rem .9rem; grid-template-columns: 1fr; }
@media (min-width: 34rem) { .extras__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58rem) { .extras__grid { grid-template-columns: repeat(3, 1fr); } }
.extras__grid li { display: flex; gap: .6rem; align-items: baseline; padding: .4rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.extras__grid li > span:first-child { flex: 1; }
.extras__grid b { color: var(--gruen-dunkel); font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------- Öffnungszeiten/Kontakt */

.contact { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .contact { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; padding-bottom: .8rem; color: #cfc7b4; font-size: .95rem; }
.hours th, .hours td { padding: .68rem .3rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.14); }
.hours th { font-weight: 600; color: #ece5d5; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: #ece5d5; }
.hours tr[data-today] th, .hours tr[data-today] td { color: var(--gold); font-weight: 700; }
.hours .is-closed td { color: #b9b1a0; }

.contact__block + .contact__block { margin-top: 1.6rem; }
.contact__label {
  font-size: .73rem; letter-spacing: .17em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin-bottom: .35rem;
}
.contact__value { font-size: 1.12rem; font-weight: 600; }
.contact a { color: #ece5d5; }
.contact a:hover { color: var(--gold); }
.contact__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }

/* ------------------------------------------------------------------- Footer */

.footer {
  background: #16301b; color: #b9b1a0;
  padding-block: 2.25rem; font-size: .92rem;
}
.footer__inner { display: grid; gap: 1.2rem; }
@media (min-width: 44rem) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}
.footer a { color: #d8d0be; }
.footer a:hover { color: var(--gold); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* ------------------------------------------------------------ Rechtstexte */

.legal { padding-block: clamp(2rem, 6vw, 3.5rem); max-width: 48rem; }
.legal h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.legal h3 { margin-top: 1.6rem; font-size: 1.1rem; font-family: var(--font-sans); }
.legal dl { margin: 0 0 1rem; }
.legal dt { font-weight: 700; margin-top: .8rem; }
.legal dd { margin: 0; }
.legal address { font-style: normal; margin-bottom: 1rem; }
.todo {
  background: #fff4d6; border: 1px dashed #c9962e; color: #7a5a12;
  padding: .1rem .45rem; border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .87em; font-weight: 700;
}
.legal__hint {
  background: #fff4d6; border-left: 4px solid var(--gold);
  padding: 1.1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2rem; font-size: .95rem; color: #6b4f13;
}

/* ------------------------------------------------------------ Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .btn:hover { transform: none; }
}

/* ------------------------------------------------------------------- Print */

@media print {
  .header, .menu-nav, .hero__media, .footer__links, .contact__actions, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero__inner { padding-block: 1rem; }
  .section--dark, .hero { background: #fff !important; color: #000; }
  .section--dark h2, .section--dark h3, .hero h1 { color: #000; }
  .scheme { background: #fff; color: #000; border: 1px solid #999; box-shadow: none; }
  .scheme h3, .scheme p, .scheme__note { color: #000; }
  .scheme__row b { color: #000; }
  .hours th, .hours td { color: #000; }
  a { text-decoration: none; color: #000; }
}
