/* ===== Züri Crêpes – boje iz loga ===== */
:root {
  --blue: #1d62af;
  --blue-dark: #174f8e;
  --cream: #f4d29b;
  --cream-soft: #fdf6ea;
  --text: #5f6470;
  --white: #fff;
  --font-head: "Titan One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.05;
  color: var(--blue);
  margin: 0 0 .45em;
}
h1 { font-size: clamp(3.2rem, 9vw, 6.4rem); color: var(--white); }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--cream-soft); }
.center { text-align: center; }
.intro { max-width: 820px; margin: 0 auto; }

/* ===== Dugmad ===== */
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: .75em 1.7em;
  border-radius: 999px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.btn--cream { background: var(--cream); border-color: var(--cream); color: var(--blue-dark); }
.btn--cream:hover { background: var(--white); border-color: var(--white); }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); border-color: var(--white); color: var(--blue); }

/* ===== Ukras: talasić + krem tačka ===== */
.deco { display: inline-flex; align-items: center; gap: 6px; height: 30px; margin-bottom: 14px; }
.deco::before {
  content: ""; width: 80px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M1 3 L5 11 L10 3 L15 11 L19 3' fill='none' stroke='%231d62af' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x left center / 20px 14px;
}
.deco::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); }
.deco--left { flex-direction: row-reverse; }
.deco--long::before { width: 200px; }

/* ===== Header + hero ===== */
.top { position: relative; z-index: 2; background: var(--blue); padding-bottom: 40px; }
.header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; position: relative; z-index: 10; }
.header__logo img { width: 96px; transition: transform .3s; }
.header__logo:hover img { transform: rotate(-6deg) scale(1.05); }
.nav { display: flex; gap: 32px; }
.nav a {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  transition: color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--cream); }
.nav-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding: 10px 0 30px; }
.hero__text { padding-left: 6%; }
.hero__lead { color: var(--white); font-size: 1.2rem; font-weight: 300; max-width: 430px; margin: 0 0 22px; opacity: .95; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__plate {
  width: min(420px, 100%); justify-self: center;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.3));
  animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.drip { position: absolute; left: 0; top: 100%; width: 100%; height: clamp(50px, 8vw, 115px); fill: var(--blue); }

/* ===== Dvokolonski delovi ===== */
#geschichte { padding-top: clamp(120px, 14vw, 180px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 70px); align-items: center; }
.split__text p { margin: 0 0 1em; }
.split__media img { width: 100%; max-width: 520px; margin: 0 auto; }

.badges, .events { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li {
  padding: .35em 1em; border-radius: 999px;
  background: var(--cream-soft); border: 2px solid var(--cream);
  color: var(--blue); font-weight: 500; font-size: .92rem;
}
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 22px; }
.events li {
  display: flex; align-items: center; gap: 10px;
  padding: .6em .9em; border-radius: 16px;
  background: var(--white); color: var(--blue); font-weight: 500;
  box-shadow: 0 4px 14px rgba(29,98,175,.08);
}
.events span { font-size: 1.25rem; }

/* slika štanda: zaobljen okvir + krem krugovi kao na slici iz „Geschichte” */
.stand { position: relative; width: min(480px, 92%); margin: 0 auto; }
.stand::before, .stand::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%; background: var(--cream);
}
.stand::before { width: 46%; aspect-ratio: 1; top: -7%; right: -9%; }
.stand::after { width: 30%; aspect-ratio: 1; bottom: -6%; left: -8%; }
.stand img {
  position: relative; z-index: 1; width: 100%;
  border-radius: 46% 54% 42% 58% / 40% 44% 56% 60%;
  border: 6px solid var(--white);
  box-shadow: 0 22px 40px rgba(23,79,142,.25);
  transition: border-radius .6s ease;
}
.stand:hover img { border-radius: 40% 60% 48% 52% / 46% 40% 60% 54%; }
.stand figcaption {
  position: absolute; z-index: 2; left: 50%; bottom: -14px; transform: translateX(-50%) rotate(-3deg);
  padding: .35em 1.1em; border-radius: 999px; white-space: nowrap;
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-size: 1rem; letter-spacing: .02em;
  box-shadow: 0 6px 14px rgba(23,79,142,.3);
}

/* ===== Lista krepova ===== */
.crepe-list {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px;
}
.crepe-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 18px;
  background: var(--cream-soft);
  color: var(--blue); font-weight: 500;
  transition: transform .2s, background .2s;
}
.crepe-list li:hover { transform: translateY(-3px); background: #fbecd2; }
.crepe-list li::before { content: ""; flex: none; width: 16px; height: 14px; border-radius: 50%; background: var(--cream); }
.crepe-list li.savory::after {
  content: "herzhaft"; margin-left: auto; padding: .1em .6em; border-radius: 999px;
  background: var(--blue); color: var(--white); font-size: .72rem; font-weight: 400;
}

/* ===== Brendovi ===== */
.brands {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 5vw, 60px); align-items: center;
  margin-top: 64px; padding: 0 4%;
}
.brands img { max-height: 80px; width: auto; margin: 0 auto; transition: transform .25s; }
.brands .brands__lotus { max-height: 100px; }
.brands img:hover { transform: scale(1.08) rotate(-3deg); }

/* ===== Kontakt traka ===== */
.contact { padding: 0 0 clamp(64px, 8vw, 100px); }
.contact__box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 40px;
  background: var(--cream);
  position: relative; overflow: hidden;
}
.contact__box::after {
  content: ""; position: absolute; right: -70px; bottom: -90px;
  width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.3);
}
.contact__box h2 { margin-bottom: .2em; }
.contact__box p { margin: 0; color: var(--blue-dark); font-weight: 400; }
.contact__buttons { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.contact__btn {
  display: flex; align-items: center; gap: 12px;
  padding: .8em 1.4em; border-radius: 999px;
  background: var(--blue); color: var(--white);
  font-weight: 500; font-size: 1.05rem; text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.contact__btn:hover { background: var(--blue-dark); transform: translateY(-2px); }
.contact__btn svg, .insta svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Footer ===== */
.footer { background: var(--blue); color: var(--white); font-weight: 300; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 44px 0 20px; }
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer__brand img { width: 110px; }
.insta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .4em 1em; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.6);
  color: var(--white); text-decoration: none; font-weight: 400;
  transition: background .2s, color .2s;
}
.insta:hover { background: var(--white); color: var(--blue); }
.footer h3 {
  color: var(--cream); font-size: 1.25rem; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.35); max-width: 260px;
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { padding: 2px 0; }
.footer a { color: var(--white); text-decoration: none; }
.footer__list a:hover, .footer__links a:hover { color: var(--cream); }
.footer__company { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer__company strong { font-weight: 500; }

.privacy { border-top: 1px solid rgba(255,255,255,.2); padding: 14px 0; font-size: .9rem; }
.privacy summary { cursor: pointer; font-weight: 400; color: var(--cream); width: fit-content; }
.privacy p { margin: 10px 0 0; max-width: 820px; opacity: .9; }

.footer__bottom { background: var(--blue-dark); padding: 12px 0; font-size: .85rem; }
.footer__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; opacity: .9; }
.footer__links a { font-weight: 500; }

/* ===== Animacija pojavljivanja ===== */
.will-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.will-reveal.is-visible { opacity: 1; transform: none; }

/* ===== Telefon / tablet ===== */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero__text { padding-left: 0; }
  .hero__lead { margin-inline: auto; }
  .hero__buttons { justify-content: center; }
  .hero__plate { width: min(300px, 75%); }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; margin-bottom: 24px; }
  .brands { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .contact__box { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer h3 { margin-inline: auto; }
  .privacy summary { margin: 0 auto; }
  .privacy p { text-align: center; }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; padding: 0 10px;
    border: 0; border-radius: 12px; background: var(--cream); cursor: pointer;
  }
  .nav-toggle span { height: 3px; border-radius: 3px; background: var(--blue); transition: transform .25s, opacity .25s; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .nav {
    display: none;
    position: absolute; top: 100%; left: -16px; right: -16px;
    flex-direction: column; align-items: center; gap: 18px;
    padding: 20px 0 28px; background: var(--blue-dark);
  }
  .nav.is-open { display: flex; }
  .events { grid-template-columns: 1fr; }
  .contact__btn { font-size: .98rem; justify-content: center; }
  .footer__links { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, .will-reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
