/* Theme „Gece" — Nachtblau & Gold, Art-Déco. Wird nur bei template_id = gece geladen.
   Schriften selbst gehostet (OFL): Pinyon Script (Namen), Cormorant Garamond (Serif), Jost (Labels). */

@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url("../fonts/gece/cormorant-garamond-italic-latin-ext-4f7084.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url("../fonts/gece/cormorant-garamond-italic-latin-5d13e7.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500 600;font-display:swap;src:url("../fonts/gece/cormorant-garamond-latin-ext-907682.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500 600;font-display:swap;src:url("../fonts/gece/cormorant-garamond-latin-2fed1d.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Jost";font-style:normal;font-weight:400 600;font-display:swap;src:url("../fonts/gece/jost-latin-ext-5054f2.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Jost";font-style:normal;font-weight:400 600;font-display:swap;src:url("../fonts/gece/jost-latin-35841f.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Pinyon Script";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/gece/pinyon-script-latin-ext-066b72.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Pinyon Script";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/gece/pinyon-script-latin-cfbbdd.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

body.theme-gece{
  --gold: #d8b46a;
  --gold-hi: #f3dca0;
  --gold-lo: #b88a45;
  --gold-line: rgba(216,180,106,.34);
  --gold-faint: rgba(216,180,106,.16);
  --ink: #f6eedf;
  --cocoa: #ece2cf;
  --muted: rgba(236,226,207,.66);
  --night: #0c151d;
  --panel: rgba(255,255,255,.035);
  --glass: rgba(255,255,255,.04);
  --shadow: 0 30px 90px rgba(0,0,0,.45);
  --shadow2: 0 18px 50px rgba(0,0,0,.35);
  --r: 6px;
  font-family: "Jost", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--cocoa);
  background:
    radial-gradient(900px 620px at 50% -12%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%),
    radial-gradient(760px 560px at 105% 100%, rgba(216,180,106,.10), transparent 60%),
    radial-gradient(700px 520px at -10% 70%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    linear-gradient(180deg, #0b141c 0%, #0f1c27 48%, #0a1218 100%);
  background-color: #0c151d;
}
/* Grundfarbe auch hinter dem Body (Overscroll, iOS, kurze Seiten) */
html:has(body.theme-gece){ background: #0c151d; color-scheme: dark; }
body.theme-gece ::selection{ background: rgba(216,180,106,.35); color: #fff; }
body.theme-gece .serif{ font-family: "Cormorant Garamond", Georgia, serif; }

/* Hintergrund: Sterne statt Filigran, Art-Déco-Strahlen im Hero */
body.theme-gece .bg-grain{ opacity: .07; }
body.theme-gece .bg-filigree{
  opacity: .55;
  mix-blend-mode: screen;
  filter: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,246,224,.70) 0 1px, transparent 1.6px),
    radial-gradient(circle at 68% 32%, rgba(255,246,224,.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 34% 74%, rgba(243,220,160,.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 82%, rgba(255,246,224,.45) 0 .8px, transparent 1.4px);
  background-size: 140px 140px, 190px 190px, 230px 230px, 110px 110px;
}
body.theme-gece .hero__backdrop{
  background:
    repeating-conic-gradient(from 180deg at 50% -6%, rgba(216,180,106,.075) 0deg 1.4deg, transparent 1.4deg 7deg),
    radial-gradient(520px 340px at 50% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72%);
  -webkit-mask-image: radial-gradient(120% 75% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 75% at 50% 0%, #000 30%, transparent 78%);
}
body.theme-gece .bg-shapes__shape{
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 68%);
  box-shadow: none;
  opacity: .22;
}
body.theme-gece .bg-shapes__shape:nth-child(3n){
  background: radial-gradient(circle at 50% 50%, rgba(216,180,106,.45) 0%, transparent 66%);
}
/* Funkeln (4-zackiger Stern) statt Herzen */
body.theme-gece .bg-shapes__heart{
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: none;
  filter: drop-shadow(0 0 6px rgba(243,220,160,.55));
  opacity: calc(var(--o) * 1.6);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0z'/%3E%3C/svg%3E");
  width: calc(var(--s) * .42);
  height: calc(var(--s) * .42);
}

/* Karten: dunkles Glas, goldene Haarlinie, Art-Déco-Ecken */
body.theme-gece .card{
  position: relative;
  border-radius: var(--r);
  border: 1px solid var(--gold-line);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: var(--shadow2), inset 0 0 0 4px rgba(12,21,29,.6), inset 0 0 0 5px var(--gold-faint);
  backdrop-filter: blur(10px);
  padding: 24px 20px;
}
body.theme-gece .card::before,
body.theme-gece .card::after{
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  border-color: var(--gold);
  border-style: solid;
  opacity: .9;
}
body.theme-gece .card::before{ top: 9px; left: 9px; border-width: 1px 0 0 1px; }
body.theme-gece .card::after{ bottom: 9px; right: 9px; border-width: 0 1px 1px 0; }

body.theme-gece .h2{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 27px;
  letter-spacing: .01em;
  color: var(--ink);
  text-align: center;
}
body.theme-gece .h2::after{
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
body.theme-gece .p{ color: var(--muted); font-size: 15px; }

/* Pills */
body.theme-gece .pill{
  border-radius: 3px;
  border: 1px solid var(--gold-line);
  background: rgba(12,21,29,.45);
  color: var(--cocoa);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body.theme-gece .pill--band{
  border-color: rgba(216,180,106,.55);
  background: rgba(216,180,106,.12);
  color: var(--gold-hi);
  box-shadow: none;
}

/* Namen: formelle Schreibschrift in Goldverlauf */
body.theme-gece .title{
  font-family: "Pinyon Script", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(50px, 10.4vw, 80px);
  line-height: 1.15;
  letter-spacing: 0;
  margin-top: 18px;
  text-shadow: none;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.45));
}
body.theme-gece .title__word{
  font-size: 1.08em;
  background: linear-gradient(180deg, var(--gold-hi) 10%, var(--gold) 55%, var(--gold-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .06em .08em;
}
body.theme-gece .title__amp{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: .5em;
  color: var(--cocoa);
  opacity: .8;
  transform: translateY(-.1em);
  margin: 0 .12em;
}
body.theme-gece .subtitle{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(236,226,207,.84);
  max-width: 30ch;
}
/* Art-Déco-Trenner mit Raute */
body.theme-gece .rule{
  position: relative;
  height: 1px;
  margin-top: 22px;
  width: min(300px, 80%);
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
body.theme-gece .rule::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--night);
  border: 1px solid var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 4px var(--night);
}

/* Foto im Goldbogen */
body.theme-gece .frame{
  margin-top: 26px;
  width: min(380px, 92%);
  border-radius: 999px 999px 8px 8px;
  border: 1px solid var(--gold);
  background: rgba(255,255,255,.03);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  padding: 9px;
  overflow: visible;
}
body.theme-gece .frame::before{
  inset: -9px;
  border-radius: 999px 999px 12px 12px;
  border: 1px solid var(--gold-line);
  background: none;
  opacity: 1;
}
body.theme-gece .mat{
  border-radius: 999px 999px 4px 4px;
  aspect-ratio: 4 / 5.4;
  background: #0f1c27;
  box-shadow: none;
}
body.theme-gece .mat::after{
  background: linear-gradient(180deg, transparent 55%, rgba(8,14,20,.35));
  mix-blend-mode: normal;
}

/* Countdown */
body.theme-gece .countdown{ gap: 8px; }
body.theme-gece .countbox{
  border-radius: 4px;
  border: 1px solid var(--gold-line);
  background: rgba(12,21,29,.5);
  box-shadow: inset 0 1px 0 rgba(243,220,160,.10);
  padding: 14px 4px 12px;
}
body.theme-gece .countnum{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 36px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.theme-gece .countlbl{
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--muted);
}

/* Düğün / Kına Umschalter */
body.theme-gece .event-switch__track{
  border-radius: 4px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--gold-line);
  box-shadow: none;
}
body.theme-gece .event-switch__thumb{
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 6px 18px rgba(216,180,106,.25) !important;
}
body.theme-gece .event-switch__lbl{
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body.theme-gece .event-switch[data-state="dugun"] .event-switch__lbl--dugun,
body.theme-gece .event-switch[data-state="kina"] .event-switch__lbl--kina{ color: #1b1408; }
body.theme-gece .event-switch[data-state="dugun"] .event-switch__lbl--kina,
body.theme-gece .event-switch[data-state="kina"] .event-switch__lbl--dugun{ color: var(--muted); font-weight: 600; }
body.theme-gece .event-switch:focus-visible{ outline-color: var(--gold); }

body.theme-gece .tabpane[data-pane="dugun"],
body.theme-gece .tabpane[data-pane="kina"]{
  border-radius: 4px;
  border: 1px solid var(--gold-faint);
  background: rgba(255,255,255,.02);
}
body.theme-gece .tabpane[data-pane="kina"]{
  background: linear-gradient(180deg, rgba(215,167,174,.07), rgba(255,255,255,.02));
}

/* Detail-Zeilen */
body.theme-gece .row{
  border-radius: 4px;
  border: 1px solid var(--gold-faint);
  background: var(--panel);
  box-shadow: none;
  align-items: center;
}
body.theme-gece .ico{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(12,21,29,.6);
  filter: grayscale(1) sepia(.75) saturate(2.4) brightness(1.15);
}
body.theme-gece .k{ color: var(--gold); font-size: 10.5px; letter-spacing: .24em; font-weight: 500; }
body.theme-gece .v{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.2;
}

/* Buttons */
body.theme-gece .btn{
  border-radius: 4px;
  border: 1px solid var(--gold-line);
  background: rgba(12,21,29,.45);
  color: var(--cocoa);
  box-shadow: none;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.theme-gece .btn--primary,
body.theme-gece .btn--dugun.btn--primary,
body.theme-gece .btn--kina.btn--primary{
  border-color: transparent;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  color: #1b1408;
  box-shadow: 0 14px 34px rgba(216,180,106,.18);
}
body.theme-gece .btn--dugun-outline,
body.theme-gece .btn--kina-outline{ border-color: var(--gold-line); background: rgba(12,21,29,.45); }
body.theme-gece .btn--cal-apple .icon-apple{ color: var(--cocoa); }

/* Abschluss */
body.theme-gece .closing{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
}
body.theme-gece .closing__sign{ color: var(--gold); letter-spacing: .3em; font-size: 11px; }
body.theme-gece .title--closing{ font-size: clamp(42px, 9vw, 62px); }

body.theme-gece .platform-credit{ color: rgba(236,226,207,.45); }
body.theme-gece .platform-credit a:hover{ color: var(--gold-hi); }

/* Sticky „Anılar“ */
body.theme-gece .sticky--memories{
  background: linear-gradient(180deg, rgba(10,18,24,0) 0%, rgba(10,18,24,.82) 40%, rgba(10,18,24,.97) 100%);
}
body.theme-gece .sticky--memories .sticky__inner--single{
  border-radius: 8px;
  border: 1px solid var(--gold-line);
  background: rgba(15,28,39,.92);
  box-shadow: 0 22px 56px rgba(0,0,0,.45);
}
body.theme-gece .sticky--memories .sticky__btn--full{
  border-radius: 4px;
  border: 0;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 10px 28px rgba(216,180,106,.22);
}
body.theme-gece .sticky--memories .sticky__text{
  color: #1b1408;
  text-shadow: none;
  font-weight: 600;
  letter-spacing: .08em;
}
body.theme-gece .sticky--memories .sticky__btn--full:focus-visible{ outline-color: var(--gold-hi); }

/* Musik-Button */
body.theme-gece .audio-toggle{
  border: 1px solid var(--gold-line);
  background: rgba(12,21,29,.85);
  color: var(--gold);
  box-shadow: 0 12px 34px rgba(0,0,0,.4);
}
body.theme-gece .audio-toggle--muted{ color: var(--muted); }
body.theme-gece .toast{ background: rgba(216,180,106,.95); color: #1b1408; }

body.theme-gece #takvim .p{ text-align: center; }
body.theme-gece .lang-row .pill[aria-pressed="true"]{ border-color: var(--gold); color: var(--gold-hi); background: rgba(216,180,106,.10); }

/* —— Anılar-Seite —— */
body.theme-gece .h2--anilar{ color: var(--ink); }
body.theme-gece .hero__content--anilar .anilar-back{ color: var(--gold-hi); }
body.theme-gece .mem-form .field > span:first-child{ color: var(--gold); letter-spacing: .2em; }
body.theme-gece .mem-form input,
body.theme-gece .mem-form textarea{
  border-radius: 4px;
  border: 1px solid var(--gold-line);
  background: rgba(12,21,29,.6);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
}
body.theme-gece .mem-form input::placeholder,
body.theme-gece .mem-form textarea::placeholder{ color: rgba(236,226,207,.4); }
body.theme-gece .mem-form input:focus,
body.theme-gece .mem-form textarea:focus{ outline: 2px solid rgba(216,180,106,.6); outline-offset: 1px; }
body.theme-gece .mem-upload__zone{
  border-radius: 6px;
  border: 1px dashed rgba(216,180,106,.55);
  background: rgba(255,255,255,.03);
  color: var(--cocoa);
}
body.theme-gece .mem-upload__zone:hover,
body.theme-gece .mem-upload__zone--drag{ border-color: var(--gold); background: rgba(216,180,106,.08); }
body.theme-gece .mem-upload__icon{ color: var(--gold); }
body.theme-gece .mem-upload__title{ color: var(--ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 600; }
body.theme-gece .mem-preview{ border-radius: 4px; border-color: var(--gold-line); background: rgba(12,21,29,.6); }
body.theme-gece .mem-form .msg.ok{ color: #9fd3b5; }
body.theme-gece .mem-form .msg.err{ color: #f0a4a4; }
