/* Coffee Press — offline reimagining */
:root {
  --rose: #c4a093;
  --rose-light: #e8d6cf;
  --rose-deep: #a67f72;
  --cream: #faf6f2;
  --cream-dark: #f0e8e2;
  --espresso: #3a2a24;
  --espresso-soft: #5c453c;
  --white: #fff;
  --shadow: 0 18px 50px rgba(58, 42, 36, 0.12);
  --radius: 4px;
  --font-display: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--espresso);
  background: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--espresso);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(250, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 160, 147, 0.25);
  transition: box-shadow 0.3s, background 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
  background: rgba(250, 246, 242, 0.98);
}

.header-logo img {
  height: 52px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  font-weight: 400;
}

.site-nav a {
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus {
  border-bottom-color: var(--rose-deep);
  color: var(--rose-deep);
}

.nav-events {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem !important;
  background: var(--rose);
  color: var(--white) !important;
  border-radius: 999px;
  border: none !important;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  transition: background 0.2s, transform 0.2s;
}

.nav-events:hover,
.nav-events:focus {
  background: var(--rose-deep);
  transform: translateY(-1px);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--espresso);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.06);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 10s ease;
}

.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Slide 1 — rosy morning */
.hero-slide:nth-child(1) {
  background-color: #b89288;
  background-image:
    radial-gradient(ellipse 90% 70% at 20% 15%, rgba(255, 236, 228, 0.85) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 75%, rgba(196, 160, 147, 0.55) 0%, transparent 50%),
    linear-gradient(165deg, #d4b5ab 0%, #a67f72 45%, #6d5248 100%);
}
.hero-slide:nth-child(1)::before {
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.2) 0%, transparent 35%),
    radial-gradient(circle at 15% 80%, rgba(58, 42, 36, 0.15) 0%, transparent 40%);
}
.hero-slide:nth-child(1)::after {
  background: linear-gradient(to bottom, rgba(58, 42, 36, 0.08), rgba(58, 42, 36, 0.42));
}

/* Slide 2 — espresso steam */
.hero-slide:nth-child(2) {
  background-color: #3a2a24;
  background-image:
    radial-gradient(ellipse 50% 80% at 50% 110%, rgba(196, 160, 147, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 35% 45% at 35% 30%, rgba(255, 250, 245, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 30% 40% at 68% 22%, rgba(255, 250, 245, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #4a362f 0%, #2a1e1a 100%);
}
.hero-slide:nth-child(2)::before {
  background: repeating-radial-gradient(
    circle at 50% 100%,
    rgba(255, 255, 255, 0.04) 0 2px,
    transparent 2px 28px
  );
  opacity: 0.7;
}
.hero-slide:nth-child(2)::after {
  background: linear-gradient(135deg, rgba(196, 160, 147, 0.2), rgba(0, 0, 0, 0.35));
}

/* Slide 3 — bergstrasse warmth */
.hero-slide:nth-child(3) {
  background-color: #c4a093;
  background-image:
    linear-gradient(118deg, transparent 40%, rgba(255, 248, 242, 0.25) 40%, rgba(255, 248, 242, 0.25) 42%, transparent 42%),
    radial-gradient(ellipse 100% 80% at 0% 50%, #e8d6cf 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 30%, #8b6b5c 0%, transparent 50%),
    linear-gradient(145deg, #d9c0b6 0%, #a67f72 50%, #5c453c 100%);
}
.hero-slide:nth-child(3)::after {
  background: linear-gradient(to top, rgba(58, 42, 36, 0.5), transparent 60%);
}

/* Slide 4 — golden evening */
.hero-slide:nth-child(4) {
  background-color: #6d5248;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 220, 180, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(196, 160, 147, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 90% 60%, rgba(232, 214, 207, 0.3) 0%, transparent 45%),
    linear-gradient(200deg, #8b6b5c 0%, #4a362f 60%, #2a1e1a 100%);
}
.hero-slide:nth-child(4)::before {
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(58, 42, 36, 0.08) 31%, transparent 32%);
  background-size: 48px 48px;
  opacity: 0.5;
}
.hero-slide:nth-child(4)::after {
  background: linear-gradient(160deg, rgba(58, 42, 36, 0.25), rgba(196, 160, 147, 0.15));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(58, 42, 36, 0.15) 0%,
    rgba(58, 42, 36, 0.35) 50%,
    rgba(250, 246, 242, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  max-width: 720px;
}

.hero-logo {
  margin: 0 auto 2rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.hero-logo img {
  height: clamp(100px, 18vw, 150px);
  margin: 0 auto;
}

.hero-captions {
  position: relative;
  min-height: 7.5rem;
  margin-top: 0.5rem;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}

.hero-caption.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-caption-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-caption-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-caption-title em {
  font-style: italic;
  color: var(--rose-light);
}

.hero-caption-sub {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, background 0.2s;
}

.hero-dots button.active {
  background: var(--white);
  transform: scale(1.35);
}

/* —— Sections —— */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--rose-deep);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  margin: 0 0 1.5rem;
  line-height: 1.1;
  color: var(--espresso);
}

.section-title span {
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--rose-deep);
  margin-top: 0.35rem;
}

/* Café */
.section-cafe {
  background: var(--cream);
  text-align: center;
}

.section-cafe .lead {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--espresso-soft);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item--main {
  grid-row: span 2;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.45) 0%, transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(166, 127, 114, 0.35) 0%, transparent 45%),
    linear-gradient(145deg, #e8d6cf 0%, #c4a093 55%, #8b6b5c 100%);
}

.gallery-item--main::before {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  pointer-events: none;
}

.gallery-item--main::after {
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: 56px;
  height: 56px;
  border: 3px solid rgba(58, 42, 36, 0.12);
  border-radius: 50% 50% 45% 45%;
  box-shadow: inset 0 -8px 0 rgba(58, 42, 36, 0.06);
  transform: rotate(-12deg);
}

.gallery-quote {
  margin: 0;
  position: relative;
  z-index: 1;
}

.gallery-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--espresso);
}

.gallery-quote span {
  font-style: normal;
  font-weight: 500;
  color: var(--espresso-soft);
}

.gallery-item--accent {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 120px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.06) 0 3px,
      transparent 3px 14px
    ),
    linear-gradient(160deg, #5c453c, #3a2a24);
}

.gallery-accent-label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: rgba(232, 214, 207, 0.85);
  text-align: center;
}

.gallery-item--logo {
  padding: 0;
  aspect-ratio: 16/10;
  min-height: 120px;
}

.gallery-item--logo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.cafe-photo-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(140px, 22vw, 200px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 100% at 50% 100%, rgba(232, 214, 207, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 95% 40%, rgba(166, 127, 114, 0.4) 0%, transparent 45%),
    linear-gradient(90deg, #6d5248 0%, #a67f72 35%, #c4a093 50%, #a67f72 65%, #5c453c 100%);
}

.cafe-photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0 1px,
    transparent 1px 48px
  );
  opacity: 0.6;
}

.cafe-photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(58, 42, 36, 0.12), rgba(58, 42, 36, 0.28));
}

.cafe-band-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* Menu */
.section-menu {
  background: var(--rose-light);
  padding-top: 0;
}

.section-menu .section-inner {
  padding-top: 3.5rem;
}

.section-menu .cafe-photo-band {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.menu-block h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(58, 42, 36, 0.15);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  padding: 0.35rem 0;
  border-bottom: 1px dotted rgba(58, 42, 36, 0.12);
  font-size: 0.95rem;
}

.menu-list li:last-child { border-bottom: none; }

/* Subscribe */
.section-subscribe {
  background: var(--cream-dark);
  text-align: center;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 480px;
  margin: 1.5rem auto 0;
}

.subscribe-form input[type="email"] {
  flex: 1 1 220px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(196, 160, 147, 0.6);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  color: var(--espresso);
}

.subscribe-form input:focus {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.subscribe-form button {
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: var(--radius);
  background: var(--espresso);
  color: var(--white);
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.subscribe-form button:hover { background: var(--rose-deep); }

.form-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--rose-deep);
  min-height: 1.4em;
}

/* Info */
.section-info {
  background: var(--espresso);
  color: var(--cream);
}

.section-info .section-label { color: var(--rose-light); }
.section-info .section-title { color: var(--white); }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 1rem;
  color: var(--rose-light);
}

.info-block p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.info-block a:hover { color: var(--rose-light); }

.hours-table { width: 100%; }
.hours-table td { padding: 0.2rem 0; }
.hours-table td:last-child { text-align: right; opacity: 0.9; }

.partners {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.partners-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1.25rem;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.partner-badge {
  width: 100px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.section-map {
  padding: 0;
  background: var(--cream-dark);
}

.section-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 480px);
  border: 0;
  filter: saturate(0.92) sepia(0.08);
}

.facebook-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.9;
}

.facebook-note a {
  color: var(--rose-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer / Impressum */
.site-footer {
  background: #2a1e1a;
  color: rgba(250, 246, 242, 0.75);
  padding: 2rem 1.5rem 3rem;
  font-size: 0.82rem;
}

.impressum-toggle {
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 0;
  background: none;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.15em;
  text-transform: lowercase;
}

.impressum-toggle:hover { color: var(--rose-light); }

.impressum-panel {
  max-width: 960px;
  margin: 0 auto;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.impressum-panel.open {
  max-height: 600px;
  padding-top: 1rem;
}

.impressum-panel p { margin: 0.2rem 0; }

.impressum-panel a { color: var(--rose-light); }

.copyright {
  max-width: 960px;
  margin: 2rem auto 0;
  text-align: center;
  opacity: 0.5;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .site-header { flex-direction: column; gap: 0.75rem; padding: 0.65rem 1rem; }
  .site-nav { justify-content: center; gap: 0.5rem 1rem; }
  .menu-grid,
  .info-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--main { grid-row: auto; min-height: 220px; }
  .section { padding: 3.5rem 1.25rem; }
}
