/* ===========================
   Café Morgenrot — Stylesheet
   =========================== */

:root {
  /* Farbpalette: warm, cremig, mit dunklem Holz + Gold-Akzent */
  --cream: #F7F1E6;
  --cream-light: #FBF6EC;
  --cream-dark: #EFE5D0;
  --espresso: #2A1A10;
  --espresso-soft: #3D2817;
  --caramel: #B87333;
  --caramel-dark: #8B5A24;
  --gold: #C8A560;
  --gold-soft: #D4B978;
  --text: #2A1A10;
  --text-soft: #5C4632;
  --line: rgba(42, 26, 16, 0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-soft: 0 6px 30px rgba(42, 26, 16, 0.08);
  --shadow-strong: 0 20px 60px rgba(42, 26, 16, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 230, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--espresso);
  color: var(--cream);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav a:hover { color: var(--espresso); }

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--caramel);
  transition: width 0.3s var(--ease);
}

.nav a:hover::after { width: 100%; }

@media (max-width: 720px) {
  .nav { display: none; }
  .brand-name { font-size: 19px; }
}

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px 100px;
  min-height: 80vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 800px 500px at 20% 20%, rgba(200, 165, 96, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 80% 80%, rgba(184, 115, 51, 0.10), transparent 60%);
  pointer-events: none;
}

.eyebrow,
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
  margin: 0 0 20px;
  padding-left: 30px;
  position: relative;
}

.eyebrow::before,
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--caramel);
}

.section-eyebrow.light { color: var(--gold-soft); }
.section-eyebrow.light::before { background: var(--gold-soft); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--espresso);
  margin: 0 0 28px;
  font-variation-settings: "opsz" 144;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--caramel);
}

.hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--espresso);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--caramel);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 115, 51, 0.25);
}

.btn-ghost {
  color: var(--espresso);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--espresso);
  background: var(--cream-dark);
}

.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
  transition: transform 0.6s var(--ease);
}

.hero-photo:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hero-photo:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 24px 70px;
    min-height: auto;
  }
  .hero-photo { transform: none; aspect-ratio: 4/3; }
}

/* ===========================
   Marquee
   =========================== */
.marquee {
  background: var(--espresso);
  color: var(--cream);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--espresso-soft);
  border-bottom: 1px solid var(--espresso-soft);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
}

.marquee-track span:nth-child(even) {
  color: var(--gold);
  font-style: normal;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   Section base
   =========================== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--espresso);
  margin: 0 0 24px;
  font-variation-settings: "opsz" 100;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--caramel);
}

.section-title.light { color: var(--cream); }
.section-title.light em { color: var(--gold); }

.section-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0;
}

.section-sub.light { color: var(--cream-dark); }

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 32px;
  max-width: 540px;
}

.link-arrow {
  display: inline-block;
  font-weight: 600;
  color: var(--caramel);
  border-bottom: 1px solid var(--caramel);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease);
  letter-spacing: 0.02em;
}

.link-arrow:hover {
  color: var(--espresso);
  border-color: var(--espresso);
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
}

/* ===========================
   Section: Intro
   =========================== */
.section-intro {
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-image {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.intro-image:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===========================
   Section: Split
   =========================== */
.section-split {
  background: var(--cream-light);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.split-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.split-image:hover img { transform: scale(1.04); }

.checks {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.checks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 16px;
  color: var(--text-soft);
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  background: var(--caramel);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center / contain no-repeat;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-image { order: -1; aspect-ratio: 4/3; }
}

/* ===========================
   Section: Dark (Kuchen)
   =========================== */
.section-dark {
  background: var(--espresso);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 90% 10%, rgba(200, 165, 96, 0.12), transparent 60%),
    radial-gradient(ellipse 800px 500px at 10% 90%, rgba(184, 115, 51, 0.10), transparent 60%);
  pointer-events: none;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}

.section-head .section-sub {
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.card {
  background: rgba(247, 241, 230, 0.04);
  border: 1px solid rgba(247, 241, 230, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  background: rgba(247, 241, 230, 0.06);
  border-color: rgba(200, 165, 96, 0.3);
}

.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.card:hover .card-img img { transform: scale(1.06); }

.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  margin: 28px 28px 12px;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0 28px 32px;
  color: var(--cream-dark);
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===========================
   Section: Highlight (Kaffee)
   =========================== */
.section-highlight {
  background: var(--cream-dark);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.highlight-image {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.highlight-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, transparent 50%, rgba(42, 26, 16, 0.15));
  pointer-events: none;
}

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.highlight-image:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .highlight-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===========================
   Section: Visit
   =========================== */
.section-visit {
  background: var(--cream);
  padding-bottom: 140px;
}

.visit-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.visit-card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.visit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--caramel), var(--gold), var(--caramel));
}

.visit-card .section-title {
  margin-bottom: 20px;
}

.visit-card .lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0 0 48px;
  text-align: left;
}

.info-grid h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel);
  margin: 0 0 12px;
}

.info-grid p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.text-link {
  color: var(--espresso);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--caramel);
  border-color: var(--caramel);
}

@media (max-width: 720px) {
  .visit-card { padding: 40px 28px; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--cream);
}

.footer-brand .brand-mark {
  background: var(--cream);
  color: var(--espresso);
}

.footer-meta {
  margin: 0;
  font-size: 14px;
  color: var(--cream-dark);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--cream-dark);
  opacity: 0.8;
  transition: opacity 0.2s var(--ease);
}

.footer-links a:hover { opacity: 1; color: var(--gold); }

/* ===========================
   Reveal Animation
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays when multiple reveals in a row */
.intro-grid .reveal:nth-child(2),
.split .reveal:nth-child(2),
.highlight-grid .reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.card-grid .card.reveal:nth-child(1) { transition-delay: 0s; }
.card-grid .card.reveal:nth-child(2) { transition-delay: 0.12s; }
.card-grid .card.reveal:nth-child(3) { transition-delay: 0.24s; }

/* ===========================
   Print / A11y
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

::selection {
  background: var(--caramel);
  color: var(--cream);
}
