/* Bambules Chili — design system
   DNA: charcoal dark ground, lime accent #bbed76, Amatic display, Roboto Slab body, sharp edges */

@font-face {
  font-family: "Amatic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/wp-content/uploads/amatic-sc-v13-latin-regular.woff") format("woff");
}
@font-face {
  font-family: "Amatic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/wp-content/uploads/amatic-sc-v13-latin-700.woff") format("woff");
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/wp-content/uploads/roboto-slab-v9-latin-300.woff") format("woff");
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/wp-content/uploads/roboto-slab-v9-latin-regular.woff") format("woff");
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/wp-content/uploads/roboto-slab-v9-latin-700.woff") format("woff");
}

:root {
  --bg: #1a1a1a;
  --bg-elevated: #2b2b2b;
  --bg-card: #333333;
  --accent: #bbed76;
  --accent-dark: #9fd45a;
  --text: #ffffff;
  --text-muted: #c8c8c8;
  --border: #444444;
  --font-display: "Amatic", "Amatic SC", cursive;
  --font-body: "Roboto Slab", Georgia, serif;
  --max: 1140px;
  --radius: 0;
  --space: clamp(1.25rem, 3vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #fff;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-topbar {
  background: #111;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.site-topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.site-topbar a {
  color: var(--text);
  font-weight: 700;
}

.site-topbar a:hover {
  color: var(--accent);
}

.site-header {
  background: var(--bg-elevated);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 0 1rem;
  position: relative;
}

.site-brand {
  display: block;
  text-align: center;
  order: 1;
  flex: 1 1 100%;
}

.site-brand img {
  width: min(280px, 70vw);
  height: auto;
  margin-inline: auto;
}

.site-brand__tag {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  order: 2;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 1rem;
}

.site-nav {
  order: 3;
  flex: 1 1 100%;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.5rem;
}

.site-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  padding: 0.15rem 0;
  display: inline-block;
}

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

.site-nav .has-sub {
  position: relative;
}

.site-nav .sub-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  min-width: 220px;
  background: #111;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  padding: 0.5rem 0;
  z-index: 20;
}

.site-nav .has-sub:hover > .sub-menu,
.site-nav .has-sub:focus-within > .sub-menu {
  display: block;
}

.site-nav .sub-menu a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  white-space: nowrap;
}

.site-main {
  min-height: 50vh;
}

.page-header {
  padding: clamp(2rem, 5vw, 3.5rem) 0 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space);
}

.page-header h1,
.hero__title,
.section-title,
.prose h1,
.prose h2,
.prose h3,
.romlicontainer h1,
.romlicontainer h2,
.romlicontainer h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 0.5rem;
}

.page-header h1,
.hero__title {
  font-size: clamp(2.8rem, 8vw, 4.8rem);
}

.section-title,
.prose h2,
.romlicontainer h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent);
}

.prose h3,
.romlicontainer h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.prose p,
.romlicontainer p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.prose ul,
.romlicontainer ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #fff;
  color: #1a1a1a;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  color: #1a1a1a;
}

/* Homepage */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(26, 26, 26, 0.55) 45%, rgba(26, 26, 26, 0.92) 100%),
    url("/wp-content/uploads/2019/09/20190802_bambule_Produktfotos-0060-Torsten_Kaersch.jpg") center / cover no-repeat;
  border-bottom: 2px solid var(--accent);
}

.hero__inner {
  padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  color: #fff;
  margin: 0 0 0.35rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--accent);
  max-width: 18ch;
  margin-bottom: 0.75rem;
}

.hero__lead {
  max-width: 38rem;
  color: #f0f0f0;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

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

.section {
  padding: var(--space) 0;
}

.section--elevated {
  background: var(--bg-elevated);
}

.section--accent {
  background: var(--accent);
  color: #1a1a1a;
}

.section--accent .section-title,
.section--accent p,
.section--accent h2,
.section--accent h3 {
  color: #1a1a1a;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split--text {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.meet-banner {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1rem;
  background:
    linear-gradient(rgba(26, 26, 26, 0.72), rgba(26, 26, 26, 0.85)),
    url("/wp-content/uploads/2019/09/foddtruck-loeln-duesseldorf-bambule-chili-con-carne-catering_02.jpg") center / cover no-repeat;
  border-block: 2px solid var(--accent);
}

.meet-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  margin: 0 0 0.35rem;
}

.meet-banner .time {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  color: var(--accent);
  margin: 0;
  font-weight: 700;
}

.schedule-grid,
.event-grid,
.chili-grid,
.press-grid,
.world-grid,
.partner-grid {
  display: grid;
  gap: 1rem;
}

.schedule-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.event-grid,
.chili-grid,
.press-grid,
.partner-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.world-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tile {
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
  padding: 1.1rem 1.15rem;
}

.tile h3,
.tile h4,
.tile h5 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.7rem;
}

.tile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tile--empty {
  opacity: 0.55;
}

.chili-card,
.press-card {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chili-card img,
.press-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.chili-card__body,
.press-card__body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
}

.chili-card h3,
.press-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 0.4rem;
  color: var(--accent);
}

.map-block img {
  width: 100%;
  border: 1px solid var(--border);
}

.chilosophie {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 2rem;
  align-items: start;
}

.hashtag {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--accent);
  margin: 0 0 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list a,
.contact-list span {
  color: #fff;
  font-size: 1.05rem;
}

.contact-list strong {
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.layout-with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 2rem;
  align-items: start;
  padding: var(--space) 0;
}

.sidebar-box {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 1.15rem;
}

.sidebar-box h3 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

.sidebar-box a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.sidebar-box a:hover {
  color: var(--accent);
}

.romlicontainer,
.prose {
  max-width: 760px;
}

.romlicontainer table,
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.romlicontainer th,
.romlicontainer td,
.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
  color: var(--text-muted);
}

.romlicontainer th,
.prose th {
  background: var(--bg-card);
  color: var(--accent);
  font-weight: 700;
}

.romlicontainer tr:nth-child(even) td,
.prose tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

.site-footer {
  background: #111;
  border-top: 2px solid var(--accent);
  margin-top: var(--space);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.site-footer p,
.site-footer li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer__brand img {
  width: min(220px, 100%);
  margin-bottom: 1rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.sitewide-wrap {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.to-top img {
  width: 48px;
  height: auto;
}

@media (max-width: 900px) {
  .site-brand {
    flex: 1 1 auto;
    text-align: left;
    padding-right: 5rem;
  }

  .site-brand img {
    margin-inline: 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-top: 0.75rem;
  }

  .site-nav .sub-menu {
    position: static;
    transform: none;
    display: block;
    border: 0;
    background: transparent;
    padding: 0.25rem 0 0.25rem 0.75rem;
  }

  .split,
  .split--text,
  .chilosophie,
  .layout-with-aside,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 70vh;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }
}
