/* ===================================================
   Kreativ-Eck Harz – Stylesheet
   =================================================== */

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Meow Script";
  src: url("../fonts/MeowScript-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #dca0a2;
  --pink-deep: #c3898d;
  --pink-dusty: #f0dbde;
  --pink-rose: #c8778d;
  --olive: #aeb396;
  --olive-deep: #8a936b;
  --olive-dark: #697645;
  --sage-bg: #d9dccd;
  --sage-deep: #bcc2a9;
  --sage-light: #eef0e9;
  --blush-bg: #f7efee;
  --text-dark: #58585a;
  --text-nav: #3f3f3d;
  --white: #ffffff;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-script: "Meow Script", cursive;
  --font-body: "Roboto", Arial, sans-serif;
  --max-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0 0 .3em; font-weight: 400; }

.heading-pink { font-family: var(--font-serif); color: var(--pink-deep); }
.heading-olive { font-family: var(--font-serif); color: var(--olive-deep); }
.center { text-align: center; }
.heart-icon {
  color: var(--pink-deep);
  width: 0.62em;
  height: 0.56em;
  vertical-align: -0.02em;
  margin-left: 0.12em;
  flex-shrink: 0;
}

.script-line {
  font-family: var(--font-script);
  color: var(--text-dark);
  font-size: 2.2rem;
  margin: -0.4em 0 0.6em;
  font-weight: 400;
}
.script-line.small { font-size: 1.7rem; }

/* Pre-rendered heading+heart+script graphics (replace text+SVG heart) */
.heading-graphic { display: block; height: auto; max-width: 100%; }
.hero .heading-graphic { margin: 0 auto 0.8rem; max-width: 480px; }
.bleed-text .heading-graphic { margin: 0 0 0.6rem; max-width: 420px; }
.intro .heading-graphic { margin: 0 auto 0.8rem; max-width: 480px; }
@media (max-width: 600px) {
  .hero .heading-graphic, .intro .heading-graphic { max-width: 320px; }
  .bleed-text .heading-graphic { max-width: 300px; }
}

/* Object-position utilities for photos with an off-center subject */
.obj-left { object-position: left center; }
.obj-right { object-position: right center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9em 2.1em;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.12); }

.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: var(--pink-deep); }

.btn-olive { background: var(--olive); color: var(--white); }
.btn-olive:hover { background: var(--olive-deep); }

.btn-outline-pink {
  background: var(--white);
  color: var(--pink-deep);
  border: 2px solid var(--pink);
  padding: 0.7em 1.8em;
}
.btn-outline-pink:hover { background: var(--pink); color: var(--white); }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, position 0.25s ease;
}
.site-header.scrolled {
  position: fixed;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  padding: 0.7rem 0;
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo { flex-shrink: 0; }
.logo img { height: 150px; width: auto; }
.site-header.scrolled .logo img { height: 62px; transition: height 0.25s ease; }

.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: 2.2rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-nav);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
}
.chevron {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--pink-deep);
  display: inline-block;
  margin-top: 2px;
}
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  padding: 0.6rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.35rem 1.4rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 500;
  white-space: nowrap;
}
.dropdown li a:hover { background: var(--blush-bg); color: var(--pink-deep); }

.nav-actions { display: flex; align-items: center; gap: 1.3rem; flex-shrink: 0; }
.icon-link { color: var(--text-nav); display: inline-flex; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
  flex-shrink: 0;
}
.hamburger span { display: block; height: 2px; background: var(--text-nav); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 15rem 2rem 6rem;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 60%,
    rgba(255, 255, 255, 0.65) 75%,
    var(--white) 92%
  );
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: 3.2rem; line-height: 1.15; }
.hero-text {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.hero .btn-row { justify-content: center; }

/* ---------- Generic Sections ---------- */
.section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section.blush, .section.sage { max-width: none; }
.blush { background: var(--blush-bg); }
.sage { background: var(--sage-bg); }
.sage-deep { background: var(--sage-deep); }
.sage-light { background: var(--sage-light); }

/* Besuch / Steps */
.besuch h2 { font-size: 2.6rem; margin-bottom: 3rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 2.5rem;
}
.step { text-align: center; display: flex; flex-direction: column; }
.step-icon {
  position: relative;
  height: 185px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.step-icon img { width: 150px; height: auto; }
.step-icon img.icon-wide { width: 176px; }
/* Nudge each icon so its baked-in number badge lines up at the same
   height across all four steps (their canvases differ in proportion) */
.steps .step:nth-child(1) .step-icon img { transform: translateY(14px); }
.steps .step:nth-child(2) .step-icon img { transform: translateY(-3px); }
.steps .step:nth-child(3) .step-icon img { transform: translateY(-8px); }
.step h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  min-height: 2.4em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.step p { font-size: 0.95rem; }

/* Split sections (text + image) */
.section.split { padding: 6rem 2rem; }
.section.blush.split, .section.sage.split { max-width: none; }

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.split-text h2 { font-size: 2.4rem; }
.split-text p { font-size: 1.02rem; max-width: 540px; }
.split-image img { border-radius: 18px; width: 100%; height: auto; object-fit: cover; }

/* ---------- Full-bleed image sections (Rohlinge / Gemeinsam kreativ sein) ---------- */
.section-bleed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
}
.bleed-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem max(2rem, calc((100vw - 1280px) / 2 + 2rem));
}
.section-bleed.image-first .bleed-text {
  padding: 4rem max(2rem, calc((100vw - 1280px) / 2 + 2rem)) 4rem 4rem;
}
.bleed-text h2 { font-size: 2.4rem; }
.bleed-text p { font-size: 1.02rem; max-width: 480px; }
.bleed-text.align-right { align-items: flex-end; text-align: right; }
.bleed-text.align-right .btn-row { justify-content: flex-end; }

.bleed-image { position: relative; overflow: hidden; }
.bleed-image img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}
.bleed-image::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.section-bleed.blush { --fade-color: var(--blush-bg); }
.section-bleed.sage { --fade-color: var(--sage-bg); }
.section-bleed.sage-deep { --fade-color: var(--sage-deep); }
.section-bleed.sage-light { --fade-color: var(--sage-light); }
.section-bleed.white { --fade-color: #ffffff; }
.bleed-image.fade-left::before {
  background: linear-gradient(to right, var(--fade-color, var(--blush-bg)) 0%, transparent 24%);
}
.bleed-image.fade-right::before {
  background: linear-gradient(to left, var(--fade-color, var(--sage-bg)) 0%, transparent 24%);
}
/* Konzept – "Unsere kleinen Gäste": shrink the figure ~10% within its
   box, and let the paragraph text run wider, closer to the page edge. */
.bleed-image.shrink-10 img { transform: scale(0.9); }
.bleed-text.wide-text p { max-width: 620px; }
/* Konzept – "Unsere kleinen Gäste": the photo already has generous
   whitespace baked in around the figure; show it in full instead of
   cropping in tight, so the giraffe reads smaller like in the reference. */
.bleed-image.contain img { object-fit: contain; background: var(--white); }

/* FAQ */
.faq { padding-top: 5rem; padding-bottom: 5rem; }
.faq h2 { font-size: 2.6rem; margin-bottom: 3rem; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.faq-col { display: flex; flex-direction: column; gap: 1.4rem; }

.faq-item {
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  transition: border-radius 0.2s ease;
}
.faq-item.open { border-radius: 24px; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  text-align: left;
}
.faq-question.pink { color: var(--pink-deep); }
.faq-question.olive { color: var(--olive-deep); }

.faq-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq-icon.pink { background: var(--pink); }
.faq-icon.olive { background: var(--olive); }
.faq-item.open .faq-icon { transform: rotate(135deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.6rem;
}
.faq-answer p { margin: 0 0 1.3rem; font-size: 0.95rem; padding-left: 3.1rem; }
.faq-item.open .faq-answer { max-height: 260px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage-bg); padding: 2rem; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-inner a {
  font-size: 0.9rem;
  color: var(--olive-dark);
  font-weight: 500;
}
.footer-inner a:hover { text-decoration: underline; }

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .split-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  #gutschein .split-image { order: -1; }
  .faq-grid { grid-template-columns: 1fr; }
  .hero { padding: 12rem 1.5rem 5rem; }
  .hero h1 { font-size: 2.4rem; }

  .section-bleed {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .section-bleed.image-first { grid-template-columns: 1fr; }
  .section-bleed .bleed-image { order: -1; }
  .bleed-image img { min-height: 280px; }
  .bleed-image.fade-left::before,
  .bleed-image.fade-right::before { background: linear-gradient(to bottom, transparent 76%, var(--fade-color, var(--blush-bg)) 100%); }
  .bleed-text, .section-bleed.image-first .bleed-text {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 860px) {
  .main-nav, .nav-actions .btn { display: none; }
  .nav-actions .icon-link { display: none; }
  .hamburger { display: flex; }
  .nav-wrap { justify-content: space-between; }
  .logo img { height: 100px; }

  .main-nav.open {
    display: block;
    position: fixed;
    top: 0; right: 0;
    width: min(80vw, 320px);
    height: 100vh;
    background: var(--white);
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    padding: 6rem 2rem 2rem;
    z-index: 200;
  }
  .main-nav.open > ul { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .main-nav.open .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding-left: 1rem;
    min-width: 0;
  }
  .main-nav.open .has-dropdown.open .dropdown { display: block; }
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 150;
  }
  .nav-overlay.show { display: block; }
  .mobile-cta { display: block !important; margin-top: 1.5rem; }
}

@media (min-width: 861px) { .mobile-cta { display: none; } }

@media (max-width: 600px) {
  .section { padding: 4rem 1.3rem; }
  .section.split { padding: 4rem 1.3rem; }
  .split-inner { gap: 1.8rem; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .script-line { font-size: 1.6rem; }
  .besuch h2, .faq h2 { font-size: 2rem; }
  .split-text h2, .bleed-text h2 { font-size: 1.9rem; }
  .btn-row { justify-content: center; }
}
