/* ═══════════════════════════════════════════════
   GEORGINA MAGKLARA — Shared Stylesheet
═══════════════════════════════════════════════ */

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

:root {
  --ink:        #000000;
  --ink-2:      #000000;
  --ink-3:      #333333;
  --gold:       #b8935a;
  --gold-light: #d4b080;
  --cream:      #f7f4ee;
  --cream-2:    #ede8de;
  --paper:      #faf8f3;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(184,147,90,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(26,23,20,0.04) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Wrapper ── */
.wrap {
  position: relative; z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ══════════════════════════════
   HEADER & NAV
══════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,243,0.93);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid rgba(184,147,90,0.25);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.site-nav a {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 0.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.site-nav a:hover,
.site-nav a.active { color: var(--gold); }
.site-nav a.active::after,
.site-nav a:hover::after { transform: scaleX(1); }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 0.5px;
  background: var(--ink-2);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── Mobile nav dropdown ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(250,248,243,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(184,147,90,0.25);
  z-index: 99;
  flex-direction: column;
}

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

.mobile-nav a {
  display: block;
  padding: 1.1rem 2rem;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(184,147,90,0.12);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--gold); padding-left: 2.5rem; }

/* ── Language Switch ── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0.5px solid rgba(184,147,90,0.35);
  border-radius: 20px;
  padding: 4px 11px 4px 7px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.lang-switch:hover {
  background: rgba(184,147,90,0.1);
  border-color: var(--gold);
}

/* Flag via CSS background — no emoji needed */
.lang-switch .ls-flag {
  display: inline-block;
  width: 20px;
  height: 13px;
  border-radius: 2px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.15);
}
/* Zeigt englische Flagge (Ziel = EN) */
.lang-switch[data-to="en"] .ls-flag {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><rect width="60" height="30" fill="%23012169"/><path d="M0,0 L60,30 M60,0 L0,30" stroke="%23fff" stroke-width="6"/><path d="M0,0 L60,30 M60,0 L0,30" stroke="%23C8102E" stroke-width="3.5"/><rect x="25" width="10" height="30" fill="%23fff"/><rect y="10" width="60" height="10" fill="%23fff"/><rect x="27" width="6" height="30" fill="%23C8102E"/><rect y="12" width="60" height="6" fill="%23C8102E"/></svg>');
}
/* Zeigt deutsche Flagge (Ziel = DE) */
.lang-switch[data-to="de"] .ls-flag {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 3"><rect width="5" height="1" fill="%23000"/><rect y="1" width="5" height="1" fill="%23D00"/><rect y="2" width="5" height="1" fill="%23FFCE00"/></svg>');
}

.lang-switch .ls-label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

/* Mobile lang switch inside mobile-nav */
.mobile-nav .lang-switch {
  margin: 0.8rem 2rem 0.5rem;
}

/* ══════════════════════════════
   PAGE HERO (Unterseiten)
══════════════════════════════ */
.page-hero {
  position: relative; z-index: 1;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 0.5px solid rgba(184,147,90,0.18);
}

.page-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px; height: 0.5px;
  background: var(--gold);
  opacity: 0.5;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
}

.page-hero-title em {
  font-style: italic;
  color: var(--ink-2);
}

.page-hero-sub {
  margin-top: 1.2rem;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-3);
  max-width: 520px;
}

/* ══════════════════════════════
   SECTION HELPERS
══════════════════════════════ */
section {
  position: relative; z-index: 1;
  padding: 5rem 0;
}

section + section {
  border-top: 0.5px solid rgba(184,147,90,0.18);
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.8rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: rgba(184,147,90,0.25);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 2rem;
}

.section-title em { font-style: italic; color: var(--ink-2); }

/* ══════════════════════════════
   PORTRAIT
══════════════════════════════ */
.portrait-frame {
  position: relative;
  overflow: hidden;
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: -12px -12px auto auto;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 0.5px solid rgba(184,147,90,0.35);
  pointer-events: none;
  z-index: 2;
}

.portrait-frame::after {
  content: '';
  position: absolute;
  bottom: -12px; left: -12px;
  width: 60%; height: 30%;
  border-left: 0.5px solid rgba(184,147,90,0.25);
  border-bottom: 0.5px solid rgba(184,147,90,0.25);
  pointer-events: none;
  z-index: 2;
}

.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: sepia(8%) contrast(1.03);
  position: relative; z-index: 1;
}

.portrait-fallback {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  gap: 1rem;
  z-index: 0;
}

.portrait-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  opacity: 0.55;
  line-height: 1;
}

.portrait-name-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.8;
}

.portrait-caption {
  margin-top: 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11.5px;
  font-style: italic;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-align: right;
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border: 0.5px solid;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  display: inline-block;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: rgba(184,147,90,0.4);
}
.btn-ghost:hover { background: var(--cream); color: var(--ink); }

/* ══════════════════════════════
   ORNAMENT DIVIDER
══════════════════════════════ */
.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  opacity: 0.5;
  margin: 2rem 0;
}
.ornament-line     { flex: 0 0 60px; height: 0.5px; background: currentColor; }
.ornament-diamond  { width: 4px; height: 4px; background: currentColor; transform: rotate(45deg); }

/* ══════════════════════════════
   FACT TABLE
══════════════════════════════ */
.fact-table {
  border: 0.5px solid rgba(184,147,90,0.2);
}

.fact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 0.5px solid rgba(184,147,90,0.12);
  padding: 1.1rem 1.4rem;
  gap: 1rem;
}
.fact-row:last-child { border-bottom: none; }

.fact-label {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.1rem;
}

.fact-value {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  position: relative; z-index: 1;
  border-top: 0.5px solid rgba(184,147,90,0.2);
  padding: 2.5rem 0 3rem;
  margin-top: auto;
}

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

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-style: italic;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}
.footer-nav a:hover { opacity: 1; color: var(--gold); }

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0.5;
}

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}
.d1 { animation-delay: 0.10s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.40s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.70s; }
.d6 { animation-delay: 0.85s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 720px) {
  .wrap         { padding: 0 1.4rem; }
  .site-nav     { display: none; }
  .hamburger    { display: flex; }
  .footer-nav   { display: none; }
  .site-footer .wrap { flex-direction: column; align-items: center; text-align: center; }

  .portrait-frame::before,
  .portrait-frame::after { display: none; }

  section { padding: 3rem 0; }
  .page-hero { padding: 3rem 0 2.5rem; }
}

@media (max-width: 480px) {
  .site-logo { font-size: 11px; letter-spacing: 0.25em; }
}

/* ── Ticker ── */
.ticker-wrap {
  display: none;
  overflow: hidden;
  background: var(--ticker-bg, #000000);
  height: 36px;
  position: relative;
  z-index: 99;
}
.ticker-wrap.t-visible { display: block; }
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
  height: 100%;
  align-items: center;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ticker-color, rgba(255,255,255,0.75));
  padding: 0 3.5rem;
  flex-shrink: 0;
}
.ticker-item::after {
  content: '✦';
  color: var(--gold);
  margin-left: 3.5rem;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Freier Textblock ── */
.free-block {
  display: none;
  background: var(--cream);
  border-top: 0.5px solid rgba(184,147,90,0.18);
  padding: 4rem 0;
}
.free-block-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.free-block-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
  white-space: pre-line;
  max-width: 680px;
}

/* ── Seiten-Ornament ── */
.page-ornament {
  text-align: center;
  padding: 2.5rem 0 1rem;
  color: var(--gold);
  opacity: 0.55;
  min-height: 10px;
}

/* ── Heller Text auf dunklem Hintergrund ── */
.btn-primary,
.btn-primary:hover,
.filter-btn.active,
.form-submit          { color: var(--paper) !important; }
