/* Café Schmitz · Premium Café-Site
   Design: Apple-clarity + warmes Café-Feeling
   Author: arikonsflow */

:root {
  /* Palette — warm off-white + caramel accents */
  --bg: #FAF8F4;
  --bg-soft: #F2EDE4;
  --bg-card: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #4A4A48;
  --ink-mute: #7C7B77;
  --line: #E5DFD2;
  --line-soft: #EFEAE0;
  --accent: #2A2A2A;       /* Apple-Dark statt Caramel */
  --accent-deep: #1A1A1A;
  --accent-warm: #6B4423;  /* sparsame Cognac-Akzente nur wo nötig */
  --koelsch: #C9302C;
  --highlight: #F0EBE0;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --section-y: clamp(70px, 9vw, 140px);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --t-fast: 180ms cubic-bezier(.22,.61,.36,1);
  --t-med: 320ms cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }

::selection { background: var(--accent); color: #fff; }

/* ===== Container ===== */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-wide { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 28px; }

/* ===== Typography ===== */
.section-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.section-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 56ch;
}
p { color: var(--ink-soft); margin-bottom: 14px; max-width: 64ch; }
p:last-child { margin-bottom: 0; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 248, 244, 0.96);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-logo img { width: 38px; height: 38px; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Opening Curtain · Apple-Style, Cream BG ===== */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FAF8F4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.curtain.is-leaving {
  animation: curtainLeave 1100ms cubic-bezier(.7,0,.3,1) forwards;
}
.curtain.is-done {
  display: none;
}
.curtain-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(6px);
  animation: curtainContent 1400ms cubic-bezier(.22,.61,.36,1) 200ms forwards;
}
.curtain-logo {
  width: 56px;
  height: 56px;
  opacity: 0;
  transform: scale(0.94);
  animation: curtainLogo 800ms cubic-bezier(.22,.61,.36,1) 100ms forwards;
}
.curtain-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.8vw, 58px);
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  opacity: 0;
  animation: curtainText 900ms cubic-bezier(.22,.61,.36,1) 400ms forwards;
}
.curtain-meta {
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  opacity: 0;
  animation: curtainText 900ms cubic-bezier(.22,.61,.36,1) 600ms forwards;
}
@keyframes curtainContent {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes curtainLogo {
  to { opacity: 1; transform: scale(1); }
}
@keyframes curtainText {
  to { opacity: 1; }
}
@keyframes curtainLeave {
  0%   { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0); }
  100% { opacity: 0; transform: scale(1.04); clip-path: inset(0 0 100% 0); }
}

/* ===== Hero · Bild im BG + Name drauf, Apple-Style ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 28px 80px;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.58) saturate(0.95);
  transform: scale(1.05);
  transition: transform 1600ms cubic-bezier(.22,.61,.36,1);
}
body.curtain-done .hero-image img { transform: scale(1); }
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.45) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.40) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1000ms cubic-bezier(.22,.61,.36,1) 200ms, transform 1000ms cubic-bezier(.22,.61,.36,1) 200ms;
}
body.curtain-done .hero-content { opacity: 1; transform: translateY(0); }
.hero-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin: 0;
  text-shadow: 0 2px 50px rgba(0,0,0,0.25);
}
.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 800ms cubic-bezier(.22,.61,.36,1) 900ms;
  z-index: 2;
}
body.curtain-done .hero-scroll { opacity: 0.8; }
.hero-scroll:hover { opacity: 1; border-color: #fff; }
.hero-scroll span {
  display: block;
  width: 2px; height: 6px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
  margin: 8px auto 0;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(8px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .curtain, .curtain-content, .curtain-logo, .curtain-name, .curtain-meta {
    animation: none !important;
  }
  .curtain { opacity: 0; pointer-events: none; }
  .hero-content { opacity: 1; transform: none; transition: none; }
  .hero-image img { transform: scale(1); transition: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover { background: #000; border-color: #000; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink); }

/* ===== Sections ===== */
section { padding: var(--section-y) 0; }

/* ===== Intro ===== */
.intro { background: var(--bg); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text { padding-right: 12px; }
.usp-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.usp-list li {
  font-size: 16px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.usp-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  color: transparent;
  font-size: 0;
  flex-shrink: 0;
}
.intro-image {
  position: relative;
}
.intro-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(50, 30, 10, 0.18);
  width: 100%;
  height: 540px;
  object-fit: cover;
}
.intro-image figcaption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
}

/* ===== Speisekarte ===== */
.menu { background: var(--bg-soft); position: relative; }
.menu-head { text-align: center; margin-bottom: 50px; }
.menu-head .section-heading { margin-bottom: 18px; }
.menu-sub {
  font-size: 15px;
  color: var(--ink-mute);
  max-width: 520px;
  margin: 0 auto;
}
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 60px;
  padding: 8px;
  background: var(--bg-card);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 18px -8px rgba(50, 30, 10, 0.1);
}
.menu-tab {
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: all var(--t-fast);
}
.menu-tab:hover { background: var(--highlight); color: var(--ink); }
.menu-tab.active { background: var(--ink); color: var(--bg); }

.menu-cat {
  margin-bottom: 70px;
  scroll-margin-top: 100px;
}
.menu-cat:last-child { margin-bottom: 0; }
.cat-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.cat-heading small {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cat-intro {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 16px 0 28px;
  font-style: italic;
}
.cat-note {
  font-size: 13.5px;
  color: var(--ink-mute);
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-left: 2px solid var(--ink);
}
.sub-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-top: 44px;
  margin-bottom: 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sub-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 36px;
  margin-top: 22px;
}
.menu-item {
  padding: 16px 0;
  border-bottom: 1px dotted var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "desc desc";
  gap: 4px 12px;
}
.menu-item.compact { padding: 10px 0; grid-template-areas: "name price"; }
.menu-item:last-child { border-bottom: none; }
.mi-name {
  grid-area: name;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.mi-desc {
  grid-area: desc;
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.45;
  max-width: 60ch;
}
.mi-price {
  grid-area: price;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--highlight);
  color: var(--ink-soft);
  vertical-align: middle;
}

/* ===== Hours ===== */
.hours { background: var(--bg); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.hours-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 540px;
  object-fit: cover;
  box-shadow: 0 24px 60px -20px rgba(50, 30, 10, 0.18);
}
.hours-list {
  list-style: none;
  margin-top: 32px;
  margin-bottom: 28px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child {
  font-weight: 500;
  color: var(--ink);
}
.hours-list li span:last-child {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.hours-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--ink-soft);
  border-left: 2px solid var(--ink);
}

/* ===== Galerie ===== */
.gallery { background: var(--bg-soft); }
.gallery-head { text-align: center; margin-bottom: 56px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid figure {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  position: relative;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
}
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ===== Contact ===== */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.contact-list {
  list-style: none;
  margin: 32px 0 28px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: none; }
.cl-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  align-self: center;
}
.cl-value {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.cl-link {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.cl-link:hover { color: var(--ink); border-color: var(--ink); }
.contact-socials {
  display: flex;
  gap: 12px;
}
.contact-socials a {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all var(--t-fast);
}
.contact-socials a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  box-shadow: 0 24px 60px -20px rgba(50, 30, 10, 0.18);
}
.contact-map iframe { display: block; }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(255, 248, 235, 0.7);
  padding: 60px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.footer img {
  width: 56px; height: 56px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.footer-tag {
  font-size: 13.5px;
  color: rgba(255, 248, 235, 0.7);
  margin: 0;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-self: center;
  justify-content: center;
}
.footer nav a {
  font-size: 13.5px;
  color: rgba(255, 248, 235, 0.7);
  font-weight: 400;
}
.footer nav a:hover { color: #FFF8EB; }
.footer-copy {
  text-align: right;
  font-size: 12.5px;
  color: rgba(255, 248, 235, 0.5);
}
.footer-copy p { color: inherit; margin-bottom: 6px; }
.footer-copy .credit { font-size: 11.5px; }
.footer-copy .credit a {
  color: rgba(255, 248, 235, 0.75);
  border-bottom: 1px solid rgba(255, 248, 235, 0.25);
}
.footer-copy .credit a:hover { color: #FFF8EB; border-color: #FFF8EB; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .intro-grid, .hours-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-image img, .hours-image img { height: 420px; }
  .contact-map { height: 360px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer-copy { text-align: center; }
  .footer nav { justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container, .container-wide { padding: 0 22px; }
  .nav-inner { padding: 12px 22px; }
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--bg); padding: 20px 22px 30px; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); box-shadow: 0 8px 24px -8px rgba(50, 30, 10, 0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: flex; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .menu-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .menu-tab { white-space: nowrap; flex-shrink: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
