/* =========================================
   OLIVIA VON GUNTEN – Zeremonien & Märchen
   ========================================= */

/* Custom Font */
@font-face {
  font-family: 'Termoli';
  src: url('fonts/TermoliWeb-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Variables */
:root {
  --slate:      #6B7581;
  --amber:      #F6A75A;
  --blue:       #A3B6CE;
  --blue-light: rgba(163, 182, 206, 0.14);
  --cream:      #FAF9F7;
  --warm-white: #FFFFFF;
  --text:       #3A3535;
  --text-light: #6B6460;
  --border:     #E8E3DD;

  --font-display: 'Termoli', Georgia, 'Times New Roman', serif;
  --font-body: 'Termoli', Georgia, 'Times New Roman', serif;

  --max-width: 1140px;
  --section-padding: 100px;
  --radius: 4px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: normal;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 1.2rem;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: normal;
  margin-bottom: 0.6rem;
}

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.8rem;
}

.label-light {
  color: rgba(246, 167, 90, 0.9);
}

.highlight-text {
  font-size: 1.1rem;
  color: var(--slate);
  font-style: italic;
  border-left: 3px solid var(--amber);
  padding-left: 1.2rem;
  margin-top: 1.5rem;
}

blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--slate);
  border-left: 3px solid var(--amber);
  padding-left: 1.2rem;
  margin: 1.8rem 0;
  line-height: 1.6;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-padding) 0;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--warm-white);
}
.btn-primary:hover { background: #e8954a; }

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-secondary:hover { background: var(--blue); color: white; }

.btn-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-light:hover { background: rgba(255,255,255,0.15); }

.btn-outline-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.btn-full { width: 100%; text-align: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.3s, box-shadow 0.3s, height 0.4s ease;
}

.site-header.scrolled {
  background: rgba(250, 249, 247, 0.97);
  backdrop-filter: blur(10px);
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 80px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { position: relative; display: flex; align-items: center; }

.logo {
  height: 100px;
  width: auto;
  transition: opacity 0.4s ease, height 0.4s ease;
}

.logo-dark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
}

.logo-light { opacity: 1; }

.site-header.scrolled .logo-light { opacity: 0; }
.site-header.scrolled .logo-dark  { opacity: 1; }
.site-header.scrolled .logo       { height: 72px; }
.site-header.scrolled .nav-inner  { height: 96px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover { color: white; }

.site-header.scrolled .nav-links a { color: var(--text-light); }
.site-header.scrolled .nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--amber);
  color: white !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.85rem !important;
  letter-spacing: 0.04em;
}
.nav-cta:hover { background: #e8954a; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: white;
  transition: background 0.4s;
}
.site-header.scrolled .nav-toggle span { background: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding-bottom: clamp(60px, 8vw, 120px);
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  padding-top: 136px;
  width: 100%;
  color: white;
}

.hero-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.8s 0.2s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
  color: white;
  margin-bottom: 2.5rem;
  line-height: 1.0;
}

.hero-line {
  display: block;
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.3s; }
.hero-line:nth-child(2) { animation-delay: 0.45s; padding-left: clamp(40px, 8vw, 120px); }
.hero-line--accent      { animation-delay: 0.6s !important; color: var(--amber); padding-left: clamp(80px, 15vw, 240px); }

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fade-up 0.8s 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-scroll-link {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.hero-scroll-link:hover { color: white; }

.hero-bird {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 2;
  opacity: 0;
  animation: fade-up 1s 1s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-bird img {
  width: 80px;
  height: auto;
  filter: brightness(0) invert(1) opacity(0.55);
  animation: bird-float 5s ease-in-out infinite;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.intro-strip {
  background: var(--text);
  color: white;
  text-align: center;
  padding: 28px 40px;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.02em;
}

/* ============================================================
   TRAUUNG
   ============================================================ */
.trauung { background: var(--cream); }

.trauung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.trauung-text p { color: var(--text-light); }

.trauung-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: white;
}

.process h2 { text-align: center; }
.process .label { display: block; text-align: center; }
.process .lead { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.step {
  padding: 2.5rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-top: 3px solid var(--amber);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  color: var(--slate);
  font-size: 1.3rem;
}
.step:nth-child(even) { border-top-color: var(--blue); }
.step p { font-size: 0.92rem; color: var(--text-light); margin: 0; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--cream); }

.pricing-card {
  display: block;
  max-width: 680px;
  background: white;
  border-radius: var(--radius);
  padding: 4rem;
  border: 1px solid var(--border);
}

.services-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.services-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.services-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 0.55em;
}

.pricing-fee {
  font-size: 1rem;
  color: var(--slate);
  margin-top: 1.5rem;
  margin-bottom: 1.8rem;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

.pricing-right {
  flex-shrink: 0;
}

.price-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.5rem;
  background: var(--blue-light);
  border-radius: var(--radius);
  border: 1px solid var(--blue);
  min-width: 220px;
  gap: 1rem;
}

.price-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--slate);
  line-height: 1;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: #EEF2F8; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}

.about-subtitle {
  font-size: 1rem;
  color: var(--slate);
  font-style: italic;
  margin-bottom: 1.8rem;
}

.about-text p { color: var(--text-light); }

/* ============================================================
   MÄRCHEN
   ============================================================ */
.maerchen {
  position: relative;
  padding: var(--section-padding) 0;
  color: white;
}

.maerchen-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.maerchen-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.maerchen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,45,52,0.88) 0%, rgba(60,80,110,0.78) 100%);
}

.maerchen .container { position: relative; z-index: 1; }

.maerchen-kalender {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 4rem 0;
}

.zertifikate-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.zertifikate-logos a {
  display: inline-flex;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.zertifikate-logos a:hover { opacity: 1; }

.zertifikate-logos img {
  height: 64px;
  width: auto;
}

.kalender-title {
  color: var(--warm-white);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: normal;
}

.maerchen-content {
  max-width: 680px;
}

.maerchen-content h2 {
  color: white;
  margin-bottom: 0.3rem;
}

.lead-light {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

.maerchen-content > p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.maerchen-highlight {
  background: rgba(255,255,255,0.1);
  border-left: 3px solid var(--amber);
  padding: 1.5rem 1.8rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}

.maerchen-highlight h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.maerchen-highlight p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}

.contact-text h2 { margin-bottom: 1rem; }
.contact-text > p { color: var(--text-light); margin-bottom: 2.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-item svg { color: var(--amber); flex-shrink: 0; }
.contact-item a { color: var(--slate); transition: color 0.2s; }
.contact-item a:hover { color: var(--amber); }

/* Form */
.contact-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-group:last-child { margin-bottom: 0; }

label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}

input, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: vertical;
}

input::placeholder, textarea::placeholder { color: #B0A9A3; }

input:focus, textarea:focus {
  border-color: var(--blue);
  background: white;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #EEF2F8;
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

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

/* ============================================================
   DANKE MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
  animation: modal-fade 0.3s ease;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 3rem 3.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  animation: modal-up 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.modal-close:hover { color: var(--text); }

.modal-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.footer-logo { height: 94px; width: auto; opacity: 1; }

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   BIRD DECORATION
   ============================================================ */
.bird-decoration {
  position: absolute;
  right: 6%;
  bottom: -52px;
  z-index: 10;
  pointer-events: none;
}

.bird-decoration img {
  width: 104px;
  height: auto;
  animation: bird-float 5s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
}

@keyframes bird-float {
  0%   { transform: translateY(0px) rotate(-1deg); }
  50%  { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(-1deg); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero entrance animations are handled via fade-up keyframes defined in the HERO section above */

/* ============================================================
   HOVER ENHANCEMENTS
   ============================================================ */

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

/* Cards */
.step {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* About image */
.about-image img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-image:hover img { transform: scale(1.02); }

/* Nav links underline */
.nav-links a:not(.nav-cta) {
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

/* Pricing card */
.pricing-card {
  transition: box-shadow 0.3s ease;
}
.pricing-card:hover {
  box-shadow: 0 16px 48px rgba(163, 182, 206, 0.2);
}

/* Contact items */
.contact-item {
  transition: transform 0.2s ease;
}
.contact-item:hover { transform: translateX(4px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-padding: 80px; }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .trauung-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .trauung-image { order: -1; }

  .trauung-image img,
  .about-image img {
    aspect-ratio: 16/9;
    max-height: 420px;
    width: 100%;
  }

  .pricing-card {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px; }

  .about-image img {
    aspect-ratio: 3/4;
    max-height: none;
  }

  .container { padding: 0 24px; }

  /* Mobile nav */
  .nav-inner { padding: 0 24px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 136px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 247, 0.99);
    flex-direction: column;
    padding: 1.5rem 24px 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open { display: flex; }

  .nav-links a { font-size: 1rem; color: var(--text-light); }
  .nav-links a:hover { color: var(--text); }

  .nav-cta { text-align: center; padding: 12px 22px; }

  /* Hero */
  .hero-content {
    padding: 136px 24px 0;
  }

  .hero-bird { right: 24px; }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Pricing card */
  .pricing-card { padding: 2rem; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.8rem; }
  h2 { font-size: 1.6rem; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .intro-strip { padding: 24px; }
}
