/* Luxembourg Padel CMS — öffentliches Design */
:root {
  --bg: #0c0e11;
  --bg2: #121519;
  --card: #171a1f;
  --btn-text: #15120b;
  --logo-bg: #f4f1eb;
  --logo-text: #222222;
  --line: color-mix(in srgb, var(--text) 10%, transparent);
  --soft: color-mix(in srgb, var(--text) 85%, var(--bg));
  --field: color-mix(in srgb, var(--bg) 85%, #000);
  --glow: color-mix(in srgb, var(--gold) 12%, transparent);
  --text: #ece8e1;
  --mute: #a19d95;
  --gold: #c9a45c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--mute); }
.gold { color: var(--gold); }
.small { font-size: 14px; }
.caps { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

h1, h2, h3, .h2, .h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 18px; }
h2, .h2 { font-size: clamp(32px, 4.2vw, 50px); }
h3, .h3 { font-size: 26px; }
h1 em, h2 em { color: var(--gold); font-style: italic; }
.display { font-size: clamp(44px, 6.6vw, 84px); letter-spacing: -.01em; }
.kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; font-weight: 600; }
.lead { font-size: 19px; color: var(--soft); max-width: 560px; }

/* Buttons & Links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: var(--btn-text); border: 1px solid var(--gold); border-radius: 999px; padding: 14px 28px; font: 600 15px var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: var(--gold); color: var(--btn-text); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.link { color: var(--gold); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.actions.center { justify-content: center; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand-logo { height: 46px; width: auto; }
.mainnav { display: flex; gap: 22px; margin-left: auto; }
.mainnav a { text-decoration: none; font-size: 14px; color: var(--soft); }
.mainnav a:hover, .mainnav a[aria-current] { color: var(--gold); }
.nav-user { border-left: 1px solid var(--line); padding-left: 22px; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--text); margin: 6px 0; transition: .2s; }
@media (max-width: 980px) {
  .burger { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .mainnav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .25s; }
  .mainnav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-user { border-left: 0; padding-left: 4px; }
  .nav-open .mainnav { transform: none; }
  .nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* Hero */
.hero { padding: 72px 0 90px; background: radial-gradient(900px 500px at 85% 0%, var(--glow), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.values { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 0; }
.values span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.values span + span::before { content: "·"; margin-right: 14px; color: var(--mute); font-style: normal; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 0; border-top: 1px solid var(--line); padding-top: 26px; }
.stats dt { font-family: var(--serif); font-size: 46px; color: var(--gold); line-height: 1; }
.stats dd { margin: 6px 0 0; font-size: 13px; color: var(--mute); }
.hero-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 250px 200px; gap: 14px; }
.hero-media.single { grid-template-columns: 1fr; grid-template-rows: 460px; }
.hm { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: var(--card); }
.hm1 { grid-column: 1 / -1; }
.tour-logo { height: 90px; width: auto; margin-bottom: 26px; }
@media (max-width: 900px) {
  .hero { padding: 40px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { grid-template-rows: 220px 160px; }
  .hero-media.single { grid-template-rows: 280px; }
  .stats dt { font-size: 36px; }
}

/* Sektionen */
.section { padding: 100px 0; }
.section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: 48px; }
.sec-head.center { max-width: 760px; margin-inline: auto; }
.note { max-width: 760px; margin: 40px auto 0; color: var(--mute); font-size: 14px; }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card-logo { height: 70px; width: auto; margin-bottom: 22px; }
.card.center .card-logo { margin-inline: auto; }
.two-cards, .trio { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.trio { grid-template-columns: repeat(3, 1fr); }
.badge-line { display: inline-block; border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 6px 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.gallery figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); background: var(--card); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 800px) { .two-cards, .trio { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; } }

/* Botschafter */
.amb { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.amb-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); aspect-ratio: 4/5; }
.amb-photo img { width: 100%; height: 100%; object-fit: cover; }
.amb-photo figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.amb-photo strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.amb-photo span { font-size: 13px; color: var(--gold); }
.arrow-list, .square-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.arrow-list li::before { content: "▸"; color: var(--gold); margin-right: 10px; }
.square-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.square-list li::before { content: "■"; color: var(--gold); margin-right: 14px; font-size: 10px; vertical-align: 3px; }
@media (max-width: 800px) { .amb { grid-template-columns: 1fr; gap: 32px; } }

/* Mitglieder */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab { background: transparent; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 10px 20px; font: 500 14px var(--sans); cursor: pointer; }
.tab.on { background: var(--gold); color: var(--btn-text); border-color: var(--gold); }
.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-bottom: 20px; }
.profile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; text-align: center; }
.profile h3 { font-size: 24px; margin-bottom: 6px; }
.profile p { margin: 0 0 4px; }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 28px; color: var(--gold); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile.discreet { border-style: dashed; }
.profile.discreet h3 { font-size: 18px; color: var(--mute); }
.empty { text-align: center; grid-column: 1 / -1; }

/* Partner-Logos */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logo { display: grid; place-items: center; height: 104px; padding: 18px; background: var(--logo-bg); border-radius: 12px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.logo:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.logo img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.logo-text { color: var(--logo-text); font-weight: 600; font-size: 14px; text-align: center; }

/* Pakete */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column; }
.tier.hl { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 20px 60px var(--glow); }
.tier h3 { text-transform: uppercase; letter-spacing: .18em; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--gold); }
.price { font-family: var(--serif); font-size: 38px; margin: 0 0 20px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.tier li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tier li::before { content: "✓"; color: var(--gold); margin-right: 10px; }
.tier-badge { position: absolute; top: -13px; left: 30px; background: var(--gold); color: var(--btn-text); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* Agenda */
.agenda { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.agenda-img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--card); position: sticky; top: 100px; }
.agenda-img img { width: 100%; height: 100%; object-fit: cover; }
.events { list-style: none; padding: 0; margin: 22px 0 26px; }
.events li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.events.compact li { grid-template-columns: 90px 1fr; padding: 12px 0; }
.ev-date { font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1.1; text-transform: uppercase; }
.ev-details { margin-top: 8px; color: var(--soft); font-size: 15px; }
.locked { border: 1px dashed var(--gold); border-radius: 12px; padding: 18px 20px; margin: 10px 0 8px; }
.locked p { margin: 0 0 12px; color: var(--soft); font-size: 15px; }
@media (max-width: 900px) { .agenda { grid-template-columns: 1fr; } .agenda-img { position: static; aspect-ratio: 16/10; } .events li { grid-template-columns: 90px 1fr; } }

/* Destinationen */
.dest-layout { display: grid; grid-template-columns: 480px 1fr; gap: 40px; align-items: start; }
.dest-layout.no-globe { grid-template-columns: 1fr; }
.dest-globe-wrap { position: sticky; top: 96px; text-align: center; }
.dest-globe-wrap canvas { width: 100%; max-width: 480px; height: auto; cursor: grab; touch-action: none; }
.dest-globe-wrap canvas:active { cursor: grabbing; }
.dest-tabs { justify-content: flex-start; margin-bottom: 22px; }
.dests { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.dest { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.dest:hover { border-color: var(--gold); }
.dest.flash-hl { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 24px color-mix(in srgb, var(--gold) 30%, transparent); }
.dest img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.dest-body { padding: 22px; }
.dest h3 { font-size: 24px; margin-bottom: 4px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 18%, transparent); margin-bottom: 14px; }
@media (max-width: 980px) {
  .dest-layout { grid-template-columns: 1fr; }
  .dest-globe-wrap { position: static; }
}

/* Galerie d'événement (flyer, membres uniquement) */
.ev-gallery { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ev-gallery-thumb { padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; width: 64px; height: 64px; }
.ev-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-gallery-thumb:hover { border-color: var(--gold); }

.lightbox { position: fixed; inset: 0; background: rgba(6,7,9,.92); z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox .lb-img { max-width: min(90vw, 900px); max-height: 78vh; object-fit: contain; border-radius: 8px; }
.lightbox .lb-caption { color: var(--mute); font-size: 13px; margin-top: 14px; }
.lightbox button { position: absolute; background: transparent; border: 1px solid var(--line); color: var(--text); border-radius: 999px; width: 44px; height: 44px; font-size: 18px; cursor: pointer; }
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 16px; } .lightbox .lb-prev, .lightbox .lb-next { width: 38px; height: 38px; } }

/* Kontakt & Formulare */
.contact { background: radial-gradient(800px 400px at 10% 100%, var(--glow), transparent 60%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.mail { font-family: var(--serif); font-size: 28px; color: var(--gold); text-decoration: none; }
.form label { display: block; font-size: 13px; color: var(--mute); margin-bottom: 14px; }
.form input, .form textarea, .form select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--text); font: 15px var(--sans); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form input:disabled { opacity: .6; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.flash-ok { background: rgba(108,192,139,.12); border: 1px solid #6cc08b; }
.flash-error { background: rgba(224,100,92,.12); border: 1px solid #e0645c; }

.auth { min-height: calc(100vh - 72px - 160px); display: grid; place-items: center; padding: 60px 16px; }
.auth-card { width: min(420px, 100%); }
.auth-logo { height: 70px; width: auto; margin: 0 auto 18px; }
.auth-card .btn { width: 100%; margin-top: 6px; }
.account-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0; font-size: 14px; color: var(--mute); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand p { margin: 0; }
.footer-logo { height: 40px; width: auto; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--gold); text-decoration: none; }
.footer-copy { width: 100%; margin: 0; font-size: 12px; }

/* Wartungsmodus */
.maint { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.maint-logo { height: 90px; width: auto; margin: 0 auto 20px; }
