@font-face {
    font-family: 'Anthanista';
    src: url('../fonts/Anthanista.tff') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Mataoe';
    src: url('../fonts/Mataoe.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins.tff') format('truetype');
    font-weight: 400;
    font-style: normal;
}
/* ═══════════════════════════════════════════════════════════════════════════
   Janine & Tobias 2026 – Main Stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --bordeaux:       #8B1A2A;
  --bordeaux-light: #a82535;
  --blush:          #e8d4cc;
  --blush-light:    #f5ede9;
  --cream:          #faf8f5;
  --dark:           #2a2018;
  --text:           #3d2e24;
  --font-serif:     'Mataoe', Cormorant Garamond, serif;
  --font-sans:      'Jost', system-ui, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img  { max-width: 100%; display: block; }
a    { color: inherit; }

/* ── Base ──────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Navigation ────────────────────────────────────────────────────────── */
.jt-nav {
  position: fixed; top: 1; left: 0; right: 0; z-index: 200;
  background: rgba(250,248,245,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,26,42,0.12);
  transition: box-shadow .3s;
}
.jt-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.jt-nav__inner {
  display: flex; justify-content: center; align-items: center; gap: 2.5rem;
  padding: 1.1rem 2rem; max-width: 1100px; margin: 0 auto;
}
.jt-nav__link {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--dark);
  transition: color .3s;
}
.jt-nav__link:hover { color: var(--bordeaux); 
}
.jt-nav__brand {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 500;
  color: var(--bordeaux); text-decoration: none;
  letter-spacing: .05em;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.jt-hero {
  min-height: 70vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 8rem 2rem 5rem;
  position: relative; overflow: hidden;
  text-align: center;
}
.jt-hero__hearts {
  position: absolute; top: 11%; left: 5%;
  width: 150px; opacity: 0.5; pointer-events: none;
  animation: jt-float 5s ease-in-out infinite;
}
.jt-hero__uboot {
  position: absolute; bottom: -4%; right: -4%;
  width: 50%; max-width: 500px; opacity: 0.53; pointer-events: none;
}
.jt-hero__date-top {
  font-size: 1.1rem !important; letter-spacing: .25em; text-transform: uppercase;
  color: var(--bordeaux); margin-bottom: 1.7rem; opacity: .8;
}
.jt-hero__names {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300; line-height: 1.05;
  color: var(--bordeaux);
}
.jt-und {
  font-family: 'Anthanista';
  font-style: italic; font-size: .92em;
  color: var(--dark); vertical-align: middle;
  margin: -0.2em 0.2em;
}
@media (max-width: 420px) {
    .jt-hero__names {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .jt-und {
        font-size: 0.4em;
        margin: 0;
    }
	.jt-hero__info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }
}
.jt-divider {
  width: 60px; height: 1px;
  background: var(--bordeaux); opacity: .35;
  margin: 2rem auto;
}
.jt-hero__info {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 300; letter-spacing: .08em;
  line-height: 1.9; color: var(--text);
}

@keyframes jt-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── Photo Strip ───────────────────────────────────────────────────────── */
.jt-photos {
  padding: 5rem 2rem;
  background: #fff;
  position: relative;
}
.jt-photo-strip {
  display: flex; gap: 1.5rem;
  justify-content: center; align-items: center;
  flex-wrap: wrap; max-width: 900px; margin: 2rem auto 0;
}
.jt-photo-item {
  flex: 0 0 auto; width: 220px;
  overflow: hidden; border-radius: 2px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: transform .4s ease, box-shadow .4s ease;
  aspect-ratio: 3 / 4;
}
.jt-photo-item:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(139,26,42,0.18);
}
.jt-photo-item img {
  width: 100%; height: 100%; object-fit: contain;
  transform: rotate(90deg) scale(1.35);
  transform-origin: center center;
}
.jt-photo-item--placeholder {
  background: var(--blush-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic;
  color: var(--bordeaux); opacity: .6; font-size: .9rem;
}
.jt-photos__flasche {
  position: absolute; bottom: 1.5rem; right: 2.5rem;
  width: 220px; opacity: .22; pointer-events: none;
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.jt-section          { padding: 5.5rem 2rem; position: relative;}
.jt-section--white   { background: #fff; }
.jt-section--blush   { background: var(--blush-light); }
.jt-section__inner   { max-width: 680px; margin: 0 auto; text-align: center; }

.jt-section-tag {
  font-size: .85rem !important; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bordeaux); opacity: .75; font-weight: 500; margin-bottom: 1rem;
}
.jt-section-tag--light { color: rgba(255,255,255,.7); }

.jt-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 400;
  color: var(--bordeaux); margin-bottom: 1.5rem; line-height: 1.1;
}
.jt-section-title--light { color: #fff; }

.jt-section-text {
  font-size: 1rem; line-height: 1.9; font-weight: 300;
  color: var(--text); opacity: .85;
  max-width: 500px; margin: 0 auto;
}
.jt-section-text--light { color: rgba(255,255,255,.88); opacity: 1; }
.jt-trauung__flasche {
    position: absolute;
    left: 3rem;
    top: 1rem;
    width: 120px;
    opacity: 0.2;
    pointer-events: none;
}

/* ── Details Grid ──────────────────────────────────────────────────────── */
.jt-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; max-width: 800px;
  margin: 3rem auto 0;
}
.jt-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--blush-light);
  border-radius: 3px;
  border-top: 2px solid var(--bordeaux);
}
.jt-card__deco { width: 48px; margin: 0 auto 1rem; opacity: .8; }
.jt-card__title {
  font-family: var(--font-serif);
  font-size: 1.45rem; color: var(--bordeaux); margin-bottom: .6rem;
}
.jt-card__text {
  font-size: .88rem; line-height: 1.75; font-weight: 300;
  color: var(--text); opacity: .85;
}
.jt-card__link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bordeaux);
    text-decoration: none;
    border-bottom: 1px solid var(--bordeaux);
    transition: opacity 0.2s;
}

.jt-card__link:hover {
    opacity: 0.7;
}
/* ── RSVP ──────────────────────────────────────────────────────────────── */
.jt-rsvp {
  background: var(--bordeaux-light);
  padding: 6rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.jt-rsvp .jt-section-title,
.jt-rsvp .jt-section-text,
.jt-rsvp .jt-section-tag{
    color: #ffffff;
}
.jt-rsvp::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z' fill='%23fff' fill-opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.jt-rsvp__deadline {
  display: inline-block; margin-top: 1.5rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(255,255,255,.15);
  padding: .4rem 1.2rem; border-radius: 20px; color: #fff;
}
.jt-rsvp__btn {
  display: inline-block; margin-top: 2.5rem;
  padding: 1rem 2.8rem;
  background: #fff; color: var(--bordeaux);
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: background .3s, transform .25s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.jt-rsvp__btn:hover {
  background: var(--blush-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

/* ── Contact ───────────────────────────────────────────────────────────── */
.jt-contact-grid {
  display: flex; gap: 3rem; justify-content: center;
  flex-wrap: wrap; margin-top: 2.5rem;
}
.jt-contact-item { text-align: center; }
.jt-contact-name {
  font-family: var(--font-serif);
  font-size: 1.2rem; color: var(--bordeaux); margin-bottom: .3rem;
}
.jt-contact-phone { font-size: .9rem; font-weight: 300; letter-spacing: .05em; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.jt-footer {
  background: var(--dark); color: rgba(255,255,255,.6);
  padding: 3rem 2rem; text-align: center;
}
.jt-footer__names {
  font-family: var(--font-serif);
  font-size: 1.8rem; color: #fff; margin-bottom: .5rem;
}
.jt-footer__url {
  font-size: .75rem; letter-spacing: .15em;
  color: var(--blush); opacity: .75; text-decoration: none;
}
.jt-footer__hearts { width: 40px; margin: 1rem auto 0; opacity: .45; }

/* ── Scroll Reveal ─────────────────────────────────────────────────────── */
.jt-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.jt-reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .jt-nav__inner   { gap: 1rem; padding: .9rem 1rem; }
  .jt-nav__link    { font-size: .62rem; letter-spacing: .1em; }
  .jt-photo-item   { width: 150px; }
  .jt-details-grid { grid-template-columns: 1fr; }
  .jt-contact-grid { gap: 2rem; }
}

@media (max-width: 420px) {
  .jt-nav__inner { flex-wrap: wrap; gap: .6rem .8rem; justify-content: center; }
}
.jt-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .jt-rsvp .jt-section-title,
    .jt-rsvp .jt-section-text,
    .jt-rsvp .jt-section-tag {
        color: #ffffff !important;
    }
}
.jt-addr-br { display: none; }

@media (max-width: 640px) {
    .jt-addr-sep { display: none; }
    .jt-addr-br  { display: block; }
}
.jt-hero__info br + * {
    white-space: nowrap;
}
@media (max-width: 640px) {
    .jt-hero__info {
        display: block;
    }
}
/* ── Contact Form 7 Button ── */
.wpcf7 input[type="submit"] {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--bordeaux);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.wpcf7 input[type="submit"]:hover {
    background: var(--bordeaux-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.wpcf7 input[type="submit"] {
    display: block;
    margin: 2rem auto 0;
}
/* ── WPForms RSVP – Janine & Tobias ─────────────────────────────────────── */

/* Wrapper */
.wpforms-container {
    max-width: 560px;
    margin: 2rem auto 0;
}

/* Alle Felder untereinander */
.wpforms-field {
    padding: 0 0 1.5rem 52px !important;
    margin-bottom: 1rem !important;
    position: relative;
    border-bottom: 1px solid var(--blush);
}
.wpforms-field:last-of-type {
    border-bottom: none;
}

/* Nummerierte Kreise via CSS counter */
.wpforms-form {
    counter-reset: jt-section;
}
.wpforms-field::before {
    counter-increment: jt-section;
    content: counter(jt-section);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bordeaux);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Labels */
.wpforms-field-label {
    font-family: var(--font-serif) !important;
    font-size: 1.15rem !important;
    color: var(--bordeaux) !important;
    font-weight: 400 !important;
    margin-bottom: 0.8rem !important;
}

/* Sublabels (Person 1, Person 2 etc.) */
.wpforms-field-sublabel {
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    color: var(--text) !important;
    opacity: 0.75;
    margin-top: 0.3rem !important;
}

/* Text / Email / Tel Inputs */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"] {
    width: 100% !important;
    padding: 0.65rem 1rem !important;
    border: 1px solid var(--blush) !important;
    border-radius: 3px !important;
    font-family: var(--font-sans) !important;
    font-size: 0.9rem !important;
    color: var(--text) !important;
    background: #fff !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-shadow: none !important;
    height: auto !important;
}
.wpforms-field input[type="text"]:focus,
.wpforms-field input[type="email"]:focus,
.wpforms-field input[type="tel"]:focus {
    border-color: var(--bordeaux) !important;
    box-shadow: none !important;
}

/* Radio Buttons */
.wpforms-field-radio ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}
.wpforms-field-radio ul li {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0 !important;
}
.wpforms-field-radio ul li input[type="radio"] {
    accent-color: var(--bordeaux);
    width: 16px !important;
    height: 16px !important;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0 !important;
}
.wpforms-field-radio ul li label {
    font-size: 0.95rem !important;
    font-family: var(--font-sans) !important;
    color: var(--text) !important;
    cursor: pointer;
    font-weight: 300 !important;
    margin: 0 !important;
}

/* Selects / Dropdowns */
.wpforms-field select {
    width: 100% !important;
    padding: 0.65rem 2.5rem 0.65rem 1rem !important;
    border: 1px solid var(--blush) !important;
    border-radius: 3px !important;
    font-family: var(--font-sans) !important;
    font-size: 0.9rem !important;
    color: var(--text) !important;
    background: #fff !important;
    cursor: pointer;
    outline: none !important;
    transition: border-color 0.2s !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B1A2A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    box-shadow: none !important;
    height: auto !important;
}
.wpforms-field select:focus {
    border-color: var(--bordeaux) !important;
    box-shadow: none !important;
}

/* Textarea */
.wpforms-field textarea {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid var(--blush) !important;
    border-radius: 3px !important;
    font-family: var(--font-sans) !important;
    font-size: 0.9rem !important;
    color: var(--text) !important;
    background: #fff !important;
    min-height: 120px !important;
    resize: vertical !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-shadow: none !important;
}
.wpforms-field textarea:focus {
    border-color: var(--bordeaux) !important;
    box-shadow: none !important;
}

/* Submit Button */
.wpforms-submit-container {
    text-align: center !important;
    padding: 0 !important;
}
.wpforms-submit {
    display: inline-block !important;
    padding: 1rem 3rem !important;
    background: var(--bordeaux) !important;
    color: #fff !important;
    font-family: var(--font-sans) !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    transition: background 0.3s, transform 0.25s, box-shadow 0.3s !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    height: auto !important;
}
.wpforms-submit:hover {
    background: var(--bordeaux-light) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

/* Fehlermeldungen */
.wpforms-error-container,
.wpforms-field .wpforms-error {
    font-family: var(--font-sans) !important;
    font-size: 0.8rem !important;
    color: var(--bordeaux) !important;
}

/* Erfolgsmeldung */
.wpforms-confirmation-container-full {
    font-family: var(--font-serif) !important;
    font-size: 1.1rem !important;
    color: var(--bordeaux) !important;
    text-align: center !important;
    padding: 2rem !important;
    border: 1px solid var(--blush) !important;
    border-radius: 3px !important;
    background: var(--blush-light) !important;
}
.wpforms-form {
    counter-reset: jt-section 0;
}
/* Mobile */
@media (max-width: 640px) {
    .wpforms-field {
        padding-left: 44px !important;
    }
    .wpforms-field::before {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
	.jt-photo-item {
    width: 100px;
    aspect-ratio: 3 / 4;  /* gleich wie desktop */
    }
/* Countdown mobile */
.jt-countdown__num {
    font-size: 1rem !important;
}
  .jt-countdown__item {
        min-width: 0 !important;
        width: auto !important;
}
.jt-countdown__sep {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}
   .jt-countdown__grid {
        flex-wrap: nowrap !important;
        gap: 0.3rem !important;
}
}

/* ── Programm ── */
.jt-programm {
    list-style: none;
    margin: 2rem auto 0;
    max-width: 400px;
    text-align: left;
}
.jt-programm li {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--blush);
    font-size: 0.95rem;
    font-weight: 300;
}
.jt-programm li:last-child {
    border-bottom: none;
}
.jt-programm-time {
    font-family: Cormorant Garamond;
    font-size: 0.9rem;
    color: var(--bordeaux);
    font-weight: 700;
    white-space: nowrap;
    min-width: 110px;
}

/* ── Countdown ── */
.jt-countdown {
    background: var(--bordeaux);
    padding: 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.jt-countdown__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}
.jt-countdown .jt-section-tag,
.jt-countdown .jt-section-title {
    color: #ffffff !important;
}
.jt-countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}
.jt-countdown__num {
    font-family: var(--font-sans);
    font-size: clamp(2.0rem, 5vw, 3rem);
    font-weight: 300;
    color: #fff;
    line-height: 1;
}
.jt-countdown__label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-top: 0.5rem;
}
.jt-countdown__sep {
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1.2rem;
}

