@font-face {
  font-family: 'Cherolina';
  src: url('Cherolina.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --off-white: #faf8f5;
  --white: #ffffff;
  --sage-green: #a8b5a0;
  --sage-green-dark: #8a9d82;
  --blue-gray: #829399;
  --blue-gray-dark: #6a7a7f;
  --warm-gold: #d4c5a9;
  --warm-gold-dark: #bfad8f;
  --anthracite: #3a3a3a;
  --light-gray: #e5e5e5;
  --subtle-gray: #f5f3f0;
  --error-red: #d9534f;

  --fs-hero: clamp(2.8rem, 9vw, 5.5rem);
  --fs-title: clamp(2rem, 6vw, 3.2rem);
  --fs-subtitle: clamp(1.1rem, 2.5vw, 1.4rem);
  --fs-body: clamp(0.9rem, 2vw, 1rem);
}

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

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--off-white);
  color: var(--anthracite);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.page {
  width: 100%;
  overflow: hidden;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: clamp(400px, 70vh, 600px);
  overflow: hidden;
  width: 100%;
}

.hero-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("DSC06351.JPG");
  background-size: cover;
  background-position: center 35%;
  filter: brightness(0.9) saturate(1.05);
  transition: transform 0.3s ease;
}

.hero:hover .hero-image {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(168, 181, 160, 0.05) 0%,
    rgba(130, 147, 153, 0.15) 50%,
    rgba(58, 58, 58, 0.5) 100%
  );
}

.hero-text {
  position: absolute;
  bottom: clamp(1rem, 4vw, 2.5rem);
  right: clamp(1.5rem, 5vw, 3rem);
  text-align: right;
  color: var(--white);
  z-index: 10;
}

.overline {
  letter-spacing: clamp(0.2em, 0.4em, 0.5em);
  text-transform: uppercase;
  font-size: clamp(0.7rem, 1.8vw, 0.85rem);
  font-weight: 600;
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.names {
  font-family: "Cherolina", cursive;
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 3px 15px rgba(0,0,0,0.5), 0 1px 5px rgba(0,0,0,0.3);
}

.divider {
  width: clamp(50px, 10vw, 70px);
  height: 2px;
  background: rgba(255,255,255,0.85);
  margin-left: auto;
  margin-top: 0.8rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ── COUNTDOWN ── */
.countdown-section {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  text-align: center;
  background: var(--white);
}

.text-line {
  font-family: "Cormorant", serif;
  font-size: var(--fs-subtitle);
  font-weight: 500;
  line-height: 1.8;
  color: #555;
  margin: clamp(0.5rem, 2vw, 0.8rem) 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.date-display {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: clamp(0.25em, 0.4em, 0.5em);
  color: var(--sage-green-dark);
  display: block;
  margin: clamp(1rem, 3vw, 1.5rem) 0;
}

.countdown-intro {
  font-family: "Cormorant", serif;
  font-size: var(--fs-subtitle);
  font-weight: 500;
  line-height: 1.8;
  color: #555;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1rem, 3vw, 2rem);
}

.countdown {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.countdown-item {
  text-align: center;
  min-width: 70px;
}

.countdown-number {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 600;
  color: var(--blue-gray-dark);
  display: block;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.countdown-label {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
}

/* ── SEPARATOR ── */
.separator {
  width: clamp(150px, 30vw, 200px);
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--warm-gold) 50%, transparent 100%);
  margin: 0 auto;
  opacity: 0.6;
}

/* ── RSVP ── */
.rsvp-section {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background: var(--off-white);
}

.rsvp-button {
  font-family: "Montserrat", sans-serif;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sage-green);
  border: none;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2.5rem, 6vw, 3.5rem);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(168, 181, 160, 0.25);
  min-height: 48px;
  touch-action: manipulation;
}

.rsvp-button:hover {
  background: var(--blue-gray);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(130, 147, 153, 0.3);
}

.rsvp-button:active {
  transform: translateY(-1px);
}

.button-group {
  display: flex;
  gap: clamp(2rem, 5vw, 3rem);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.accommodation-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── LOCATION ── */
.location-section {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  text-align: center;
  background: var(--white);
}

.location-title {
  font-family: "Cherolina", cursive;
  font-size: var(--fs-title);
  color: var(--blue-gray-dark);
  margin-bottom: 1rem;
  font-weight: 400;
}

.location-name {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--anthracite);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.k-logo {
  width: clamp(25px, 5vw, 35px);
  height: clamp(25px, 5vw, 35px);
  opacity: 0.85;
}

.location-address {
  font-family: "Cormorant", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  font-weight: 500;
  color: #555;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-radius: clamp(0px, 2vw, 12px);
}

.map-container iframe {
  width: 100%;
  height: clamp(300px, 50vw, 450px);
  border: none;
  display: block;
}

/* ── ANFAHRT & PARKEN ── */
.directions-grid {
  max-width: 1200px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--light-gray);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.directions-card {
  padding: 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  background: none;
  border: none;
  border-right: 1px solid var(--light-gray);
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.directions-card:first-child { padding-left: 0; }
.directions-card:last-child { padding-right: 0; border-right: none; }
.directions-card:hover { transform: none; box-shadow: none; }

.directions-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--anthracite);
  margin-bottom: 0.8rem;
}

.directions-card-text {
  font-family: "Cormorant", serif;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 500;
  color: #555;
  line-height: 1.6;
}

/* ── TAGESABLAUF ── */
.timeline-section {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  text-align: center;
  background: var(--off-white);
}

.timeline-title {
  font-family: "Cherolina", cursive;
  font-size: var(--fs-title);
  color: var(--warm-gold-dark);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.timeline-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #777;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.timeline-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  text-align: center;
  transition: all 0.3s ease;
  filter: none;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(168, 181, 160, 0.15);
  border-color: var(--sage-green);
}

.timeline-card-icon {
  width: clamp(50px, 10vw, 60px);
  height: clamp(50px, 10vw, 60px);
  margin: 0 auto clamp(1rem, 3vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-card-icon img {
  width: clamp(45px, 9vw, 55px);
  height: clamp(45px, 9vw, 55px);
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.timeline-card:hover .timeline-card-icon img { opacity: 1; }

.timeline-card-time {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
  font-weight: 700;
  color: var(--blue-gray-dark);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.timeline-card-label {
  font-family: "Cormorant", serif;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 500;
  color: #555;
  line-height: 1.4;
}

/* ── TRAUZEUGEN ── */
.witnesses-section {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  text-align: center;
  background: var(--white);
}

.witnesses-title {
  font-family: "Cherolina", cursive;
  font-size: var(--fs-title);
  color: var(--sage-green-dark);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.witnesses-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #777;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.witnesses-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(168, 181, 160, 0.12);
}

.witnesses-split {
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  gap: 0;
}

.witness-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Initialen-Kreis */
.witness-initial-circle {
  width: clamp(90px, 20vw, 120px);
  height: clamp(90px, 20vw, 120px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-green) 0%, var(--blue-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cherolina", cursive;
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  color: var(--white);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(168, 181, 160, 0.2);
}

.witness-initial-circle:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(168, 181, 160, 0.3);
}

.witness-name {
  font-family: "Cormorant", serif;
  font-size: clamp(1.4rem, 3.5vw, 1.7rem);
  font-weight: 600;
  color: var(--anthracite);
}

.witness-role {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #888;
}

/* Vertikaler Trenner */
.witnesses-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  padding: 0 0.5rem;
}

.witnesses-divider-line {
  width: 1px;
  flex: 1;
  min-height: 50px;
  background: linear-gradient(to bottom, transparent, var(--warm-gold), transparent);
  opacity: 0.6;
}

/* Kontaktbereich */
.witnesses-contact {
  border-top: 1px solid var(--light-gray);
  background: var(--subtle-gray);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.witnesses-contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.witnesses-contact-label {
  font-family: "Cormorant", serif;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 500;
  color: #666;
}

.witnesses-contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-gray-dark);
  text-decoration: none;
  border: 1.5px solid var(--blue-gray);
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  transition: all 0.3s ease;
}

.witnesses-contact-mail:hover {
  background: var(--blue-gray);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(130, 147, 153, 0.25);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--anthracite);
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-copy {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-links a {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

/* ── RESPONSIVE ── */

/* Mobile: Witnesses vertikal */
@media (max-width: 600px) {
  .witnesses-split {
    flex-direction: column;
    gap: 0;
    padding: clamp(1.8rem, 5vw, 2.5rem) clamp(1rem, 4vw, 2rem);
  }

  .witness-half {
    padding: clamp(1rem, 4vw, 1.5rem) 0;
    width: 100%;
  }

  .witnesses-divider {
    flex-direction: row;
    width: 100%;
    padding: 0;
  }

  .witnesses-divider-line {
    flex: 1;
    min-height: 1px;
    height: 1px;
    width: auto;
    background: linear-gradient(to right, transparent, var(--warm-gold), transparent);
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-text {
    right: 50%;
    transform: translateX(50%);
    text-align: center;
  }
  .divider {
    margin-left: auto;
    margin-right: auto;
  }
  .timeline-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-image { background-position: 30% 35%; }
  .hero-text {
    right: 50%;
    transform: translateX(50%);
    text-align: center;
    bottom: 1rem;
  }
  .divider {
    margin-left: auto;
    margin-right: auto;
  }
  .names {
    font-size: clamp(3.2rem, 12vw, 4.5rem);
    text-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 2px 10px rgba(0,0,0,0.4);
  }
  .date-display {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    font-weight: 500;
  }
  .location-title,
  .timeline-title,
  .witnesses-title {
    font-family: "Cormorant", serif;
    font-size: clamp(2.2rem, 7vw, 2.8rem);
    font-weight: 600;
    font-style: italic;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
    letter-spacing: 0.02em;
  }
  .witness-name {
    font-family: "Cormorant", serif;
    font-size: clamp(1.4rem, 4vw, 1.7rem);
    font-weight: 600;
  }
  .countdown { gap: 1rem; }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
  }

  .directions-card {
    padding: clamp(1.2rem, 3vw, 1.5rem) 0;
    border-right: none;
    border-bottom: 1px solid var(--light-gray);
  }

  .directions-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* Extra klein */
@media (max-width: 480px) {
  .hero-image { background-position: 25% 35%; }
  .timeline-grid { grid-template-columns: 1fr; }
}

/* Touch */
@media (hover: none) and (pointer: coarse) {
  .timeline-card:hover { transform: none; }
  .timeline-card:active { transform: scale(0.98); }
  .witness-initial-circle:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(168, 181, 160, 0.2);
  }
}

/* Landscape */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { height: 90vh; }
  .countdown-section,
  .rsvp-section,
  .location-section,
  .timeline-section,
  .witnesses-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Print */
@media print {
  .rsvp-button,
  .accommodation-button { display: none !important; }
  body { background: white; }
  .hero { height: 300px; page-break-after: avoid; }
  .countdown-section,
  .location-section,
  .timeline-section { page-break-inside: avoid; }
  .separator { display: none; }
  .site-footer { background: #eee; color: #333; }
  .footer-links a { color: #333; }
  * { box-shadow: none !important; text-shadow: none !important; }
}