/* =========================================================================
   Evermoment.cloud – Website Styles
   Design: hell, edel, filigran. Creme/Gold/Espresso, App-Design-Tokens.
   ========================================================================= */

:root {
  /* App-Design-Tokens (aus der PWA übernommen) */
  --bg:        #FAF7F0;
  --surface:   #FFFFFF;
  --gold:      #D4AF37;
  --gold-dark: #B8941F;
  --gold-soft: #E8D8A0;
  --text:      #2C1810;
  --mid:       #8B6F47;
  --light:     #B0A08A;
  --border:    #EAE4D8;
  --divider:   #F0EAE0;
  --cream-2:   #F4EEE2;

  --maxw: 1140px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 14px rgba(44, 24, 16, 0.05);
  --shadow-md: 0 12px 40px rgba(44, 24, 16, 0.08);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.18);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ---- Typografie ---- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; color: var(--text); letter-spacing: 0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p  { color: #4A3526; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

/* feine Gold-Trennlinie wie im Logo unter ".cloud" */
.hairline {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--gold); justify-content: center;
}
.hairline::before, .hairline::after {
  content: ""; width: 46px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

.gold-text {
  background: linear-gradient(135deg, #C9A227 0%, #E6C75A 45%, #B8941F 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-dark);
}

/* =========================================================================
   Navbar
   ========================================================================= */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--text); position: relative;
  padding: 4px 0; transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-links a:hover { color: var(--gold-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--surface); }
.lang-toggle button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: .04em;
  padding: 7px 13px; color: var(--mid); transition: all .2s ease;
}
.lang-toggle button.active { background: var(--gold); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  padding: 13px 28px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #D9B842, #C49B1E);
  color: #fff; box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(212,175,55,.32); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-lg { padding: 16px 36px; font-size: 1.02rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.mobile-menu { display: none; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; padding: clamp(64px, 11vw, 130px) 0 clamp(60px, 9vw, 110px);
  text-align: center; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(212,175,55,0.12), transparent 60%),
    radial-gradient(700px 400px at 12% 30%, rgba(212,175,55,0.06), transparent 55%),
    linear-gradient(180deg, #FFFDF8 0%, var(--bg) 100%);
}
.hero-logo { height: clamp(96px, 16vw, 150px); width: auto; margin: 0 auto 30px; }
.hero h1 { max-width: 16ch; margin: 0 auto 22px; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--mid); max-width: 60ch; margin: 0 auto 38px; font-weight: 400; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 0.85rem; color: var(--light); letter-spacing: .02em; }

/* schwebende Foto-Karten Andeutung im Hero */
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px;
  font-size: 0.84rem; color: var(--mid); box-shadow: var(--shadow-sm);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--gold); }

/* =========================================================================
   Section base
   ========================================================================= */
section { padding: clamp(60px, 9vw, 104px) 0; }
.section-head { text-align: center; max-width: 64ch; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .hairline { margin-bottom: 18px; }
.section-head p { color: var(--mid); font-size: 1.08rem; margin-top: 14px; }

.alt { background: linear-gradient(180deg, #FFFDF8, var(--cream-2)); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }

/* ---- Audience / Anlässe ---- */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.occasion {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.occasion:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.occasion .ic { width: 50px; height: 50px; margin: 0 auto 16px; color: var(--gold); }
.occasion h3 { font-size: 1.28rem; margin-bottom: 6px; }
.occasion p { font-size: 0.92rem; color: var(--mid); }

/* ---- Steps / So funktioniert's ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step-num {
  font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold);
  font-weight: 600; line-height: 1; margin-bottom: 14px;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { font-size: 0.96rem; color: var(--mid); }

/* =========================================================================
   Screenshots (8 Platzhalter)
   ========================================================================= */
.shots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.phone {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 34px;
  background: linear-gradient(160deg, #2C1810, #1c0f08);
  padding: 9px; box-shadow: var(--shadow-md);
  transition: transform .3s ease;
}
.phone:hover { transform: translateY(-6px) rotate(-.6deg); }
.phone-screen {
  width: 100%; height: 100%; border-radius: 27px; overflow: hidden;
  background: linear-gradient(170deg, #FFFDF8 0%, #F4EEE2 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 18px; position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; position: absolute; inset: 0; }
.phone-notch {
  /* Screenshots enthalten bereits ihr eigenes Dynamic Island – keine Attrappe überlagern. Neutraler Rahmen (.phone) bleibt. */
  display: none;
}
.ph-ic { width: 34px; height: 34px; color: var(--gold); opacity: .8; }
.ph-label { font-size: 0.82rem; color: var(--mid); font-weight: 600; letter-spacing: .03em; }
.ph-hint { font-size: 0.68rem; color: var(--light); text-transform: uppercase; letter-spacing: .18em; }

/* =========================================================================
   Features
   ========================================================================= */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.feature .ic {
  width: 46px; height: 46px; color: var(--gold); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FCF6E2, #F7EEcf); border-radius: 12px; padding: 10px;
}
.feature h3 { font-size: 1.24rem; margin-bottom: 10px; }
.feature p { font-size: 0.97rem; color: var(--mid); }

/* ---- Datenschutz Highlight ---- */
.privacy-band { background: linear-gradient(135deg, #2C1810 0%, #3a2416 100%); color: #F4EEE2; }
.privacy-band .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.privacy-band h2 { color: #fff; }
.privacy-band .eyebrow { color: var(--gold-soft); }
.privacy-band p { color: #D8C9B8; }
.privacy-list { margin-top: 26px; display: grid; gap: 16px; }
.privacy-item { display: flex; gap: 14px; align-items: flex-start; }
.privacy-item .chk {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(212,175,55,.18); color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.privacy-item .chk svg { width: 15px; height: 15px; }
.privacy-item strong { color: #fff; display: block; font-weight: 600; }
.privacy-item span { font-size: 0.92rem; color: #C9B8A6; }
.privacy-visual {
  background: rgba(255,255,255,.04); border: 1px solid rgba(212,175,55,.25);
  border-radius: var(--r-lg); padding: 40px; text-align: center;
}
.privacy-visual .lock { width: 72px; height: 72px; color: var(--gold); margin: 0 auto 20px; }
.privacy-visual .enc { font-family: var(--font-sans); letter-spacing: .12em; color: var(--gold-soft); font-size: .8rem; text-transform: uppercase; }

/* =========================================================================
   Pricing / Tiers
   ========================================================================= */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 38px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tier.featured { border: 1.5px solid var(--gold); box-shadow: var(--shadow-gold); position: relative; }
.tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #D9B842, #C49B1E); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
}
.tier h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; color: var(--mid); }
.tier .price { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; margin: 8px 0 4px; }
.tier .price small { font-family: var(--font-sans); font-size: .9rem; color: var(--light); font-weight: 500; }
.tier .tier-desc { font-size: .9rem; color: var(--mid); margin-bottom: 22px; min-height: 40px; }
.tier ul { display: grid; gap: 13px; margin-bottom: 28px; flex: 1; }
.tier li { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; color: #4A3526; }
.tier li svg { flex: none; width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.tier .btn { width: 100%; }
.pricing-note { text-align: center; margin-top: 30px; color: var(--light); font-size: .86rem; }

/* =========================================================================
   CTA
   ========================================================================= */
.cta-band { text-align: center; }
.cta-card {
  background: linear-gradient(135deg, #FFFDF8, #F4EEE2);
  border: 1px solid var(--gold-soft); border-radius: var(--r-lg);
  padding: clamp(44px, 7vw, 76px); box-shadow: var(--shadow-md);
}
.cta-card h2 { margin-bottom: 16px; }
.cta-card p { color: var(--mid); max-width: 54ch; margin: 0 auto 32px; font-size: 1.08rem; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: #241308; color: #C9B8A6; padding: 64px 0 30px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand img { height: 54px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #A8957F; font-size: .92rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-sans); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; font-weight: 600; }
.footer ul { display: grid; gap: 11px; }
.footer a, .footer li { color: #C9B8A6; font-size: .92rem; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--maxw); margin: 44px auto 0; padding: 22px 24px 0;
  border-top: 1px solid rgba(255,255,255,.08); color: #8C7A66; font-size: .84rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* =========================================================================
   Legal pages
   ========================================================================= */
.legal { padding: clamp(48px, 7vw, 84px) 0; }
.legal .container { max-width: 820px; }
.legal-back { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-dark); font-size: .9rem; margin-bottom: 28px; font-weight: 500; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3rem); margin-bottom: 10px; }
.legal .sub { color: var(--mid); font-size: 1.05rem; margin-bottom: 8px; }
.legal .meta { color: var(--light); font-size: .9rem; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal h2 { font-size: 1.5rem; margin: 38px 0 14px; }
.legal h3 { font-size: 1.18rem; margin: 26px 0 10px; font-family: var(--font-sans); font-weight: 700; }
.legal p { margin-bottom: 14px; font-size: 1rem; line-height: 1.7; }
.legal ul.bullets { list-style: disc; padding-left: 1.4rem; line-height: 1.9; margin-bottom: 16px; }
.legal ul.bullets li { margin-bottom: 6px; }
.legal a:not(.legal-back):not(.btn) { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal .callout {
  background: var(--cream-2); border-left: 3px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 22px; margin: 18px 0;
}

/* =========================================================================
   i18n visibility
   ========================================================================= */
[data-lang-block="en"] { display: none; }
html[lang="en"] [data-lang-block="de"] { display: none; }
html[lang="en"] [data-lang-block="en"] { display: block; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 940px) {
  .occasions, .steps, .shots, .features, .tiers { grid-template-columns: repeat(2, 1fr); }
  .privacy-band .container { grid-template-columns: 1fr; gap: 38px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-desktop-cta { display: none; }
  .mobile-menu {
    display: none; position: fixed; inset: 64px 0 auto 0; background: var(--surface);
    border-bottom: 1px solid var(--border); padding: 18px 24px 26px; flex-direction: column; gap: 8px;
    box-shadow: var(--shadow-md); z-index: 99;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 12px 6px; font-size: 1.02rem; border-bottom: 1px solid var(--divider); }
  .mobile-menu .btn { margin-top: 12px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .occasions, .steps, .features, .tiers { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

.shot{display:flex;flex-direction:column;align-items:center;gap:13px;margin:0;}
.shot .phone{width:100%;}
.shot-cap{display:flex;flex-direction:column;gap:3px;text-align:center;padding:0 4px;}
.shot-t{font-family:var(--font-serif);font-weight:600;font-size:1.12rem;color:var(--text);line-height:1.15;}
.shot-d{font-family:var(--font-sans);font-size:.8rem;color:var(--mid);line-height:1.4;}

.shot-switch{display:flex;justify-content:center;gap:0;margin:0 auto 26px;border:1px solid var(--border);border-radius:999px;padding:4px;width:max-content;background:var(--surface);box-shadow:var(--shadow-sm);}
.shot-switch button{font-family:var(--font-sans);font-size:.85rem;font-weight:600;color:var(--mid);background:none;border:none;border-radius:999px;padding:8px 22px;cursor:pointer;transition:background .2s,color .2s;}
.shot-switch button.active{background:var(--gold);color:#1c120a;}

/* ---- Funktions-Vergleichstabelle ---- */
.matrix-legend{display:flex;justify-content:center;gap:22px;margin:0 auto 22px;flex-wrap:wrap;}
.matrix-legend .ml-item{display:inline-flex;align-items:center;gap:7px;font-size:.85rem;color:var(--mid);}
.matrix-legend .ml-yes{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border-radius:50%;background:rgba(212,175,55,.16);color:var(--gold-dark);}
.matrix-legend .ml-yes svg{width:11px;height:11px;}
.matrix-legend .ml-no{display:inline-flex;width:18px;justify-content:center;color:var(--light);font-weight:700;}
.matrix-wrap{max-width:920px;margin:0 auto;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden;}
.matrix-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.matrix-fallback{padding:28px;text-align:center;color:var(--mid);margin:0;}
table.fmatrix{width:100%;min-width:560px;border-collapse:collapse;font-size:.92rem;}
table.fmatrix thead th{position:sticky;top:0;z-index:2;background:var(--cream-2);font-family:var(--font-sans);font-weight:700;font-size:.8rem;letter-spacing:.03em;text-transform:uppercase;color:var(--mid);padding:13px 12px;text-align:center;border-bottom:1px solid var(--border);}
table.fmatrix thead th.fm-feat-col{text-align:left;}
table.fmatrix thead th.fm-pop{color:var(--gold-dark);}
table.fmatrix tbody .fm-cat th{text-align:left;font-family:var(--font-sans);font-weight:700;font-size:.78rem;letter-spacing:.05em;text-transform:uppercase;color:var(--gold-dark);background:linear-gradient(90deg,rgba(212,175,55,.10),transparent);padding:14px 12px 7px;}
table.fmatrix tbody th[scope=row]{text-align:left;font-family:var(--font-sans);font-weight:500;color:#4A3526;padding:10px 12px;line-height:1.3;}
table.fmatrix tbody td{text-align:center;padding:10px 12px;color:var(--text);font-weight:600;font-size:.9rem;white-space:nowrap;}
table.fmatrix tbody tr+tr th,table.fmatrix tbody tr+tr td{border-top:1px solid var(--divider);}
table.fmatrix tbody .fm-cat th{border-top:1px solid var(--border);}
table.fmatrix .fm-pop{background:rgba(212,175,55,.06);}
.mx-yes{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:50%;background:rgba(212,175,55,.16);color:var(--gold-dark);}
.mx-yes svg{width:13px;height:13px;}
.mx-no{color:var(--light);font-weight:700;}
.matrix-note{text-align:center;color:var(--mid);font-size:.85rem;max-width:64ch;margin:18px auto 0;}
@media (max-width:560px){
  table.fmatrix{font-size:.86rem;}
  table.fmatrix thead th,table.fmatrix tbody th[scope=row],table.fmatrix tbody td{padding:9px 9px;}
}
