/* ==========================================================================
   nerdnexusvienna.at – Nerd Nexus Vienna (Impact & Tales e.U.)
   Nachbau der früheren Sitejet-Seite in schlichtem HTML + CSS.

   Farben und Schriften an EINER Stelle ändern: die Variablen gleich unten.
   ========================================================================== */

/* ---------- Schriften: liegen selbst auf dem Server (kein Google) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/poppins-400-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/poppins-400-latin.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: 'Poppins'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(fonts/poppins-700-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(fonts/poppins-700-latin.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: 'Abril Fatface'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/abril-fatface-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Abril Fatface'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/abril-fatface-latin.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: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/inter-latin-ext.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: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/inter-latin.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; }

/* ---------- Farben & Maße ---------- */
:root {
  --night: #070108;        /* fast schwarz: Hintergrund der ganzen Seite */
  --cyan: #3ccbd4;         /* türkis: normaler Text, Überschriften */
  --magenta: #a420cb;      /* lila-pink: Titel "Nerd Nexus Vienna", Uhrzeiten, Icons */
  --purple: #71328f;       /* dunkleres Lila: Knöpfe und der Termin-Kasten */
  --line: rgba(255, 160, 122, 0.15);   /* feine Trennlinie in der Agenda */
  --max: 1208px;           /* maximale Inhaltsbreite */
  --pad-x: 24px;
  --section-y: 100px;      /* Abstand oben/unten pro Abschnitt */
  --radius: 10px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--cyan);
  background: var(--night);
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
p + p { margin-top: 27px; }               /* Leerzeile zwischen Absätzen (wie im Original) */
a { color: inherit; }
strong { font-weight: 600; }
[id] { scroll-margin-top: 16px; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; z-index: 20; background: var(--purple); color: var(--cyan); padding: 8px 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
/* Rhythmus wie im Original: Inhalt → 100px → Überschrift → 100px → Inhalt */
.section { padding: 0 0 var(--section-y); }
.section-title { font-size: 60px; line-height: 1.2; font-weight: 400; text-align: center; margin-bottom: var(--section-y); }

/* ---------- Knöpfe ---------- */
.button {
  display: inline-block; padding: 12px 32px;
  background: var(--purple); color: var(--cyan);
  font-size: 16px; font-weight: 600; line-height: 24px; text-decoration: none; text-align: center;
  border-radius: var(--radius);
  transition: filter .2s;
}
.button:hover { filter: brightness(1.15); }

/* ---------- Kopf mit Menü ---------- */
.site-header { padding: 32px var(--pad-x) 16px; }
.site-header .bar { max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo img { width: 118px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 60px; }
.main-nav a { font-family: 'Abril Fatface', serif; font-size: 16px; line-height: 1; text-decoration: none; }
.main-nav a:hover { color: var(--magenta); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 100px; }
.hero .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.hero .text { flex: 0 1 683px; }
.hero h1 { font-family: 'Abril Fatface', serif; font-size: 50px; line-height: 1.2; font-weight: 400; color: var(--magenta); margin-bottom: 38px; }
.hero .date-box { background: var(--purple); border-radius: var(--radius); padding: 12px 24px; margin-top: 16px; text-align: center; }
.hero .date-box p + p { margin-top: 0; }
.hero .date-box .small { font-size: 14px; }
.hero .stickers { flex: 0 0 444px; border-radius: var(--radius); }

/* ---------- Speaker-Blöcke (aktuell und vergangene) ---------- */
/* Jeder Speaker-Block: 100px Luft oben und unten, zwei Spalten à 572px */
.speaker { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; padding: 100px 0; margin: 0 -8px; }
#speaker, #last-speaker { padding-bottom: 0; }
#speaker .section-title, #last-speaker .section-title { margin-bottom: 0; }
.speaker .portrait { width: 444px; margin: 0 auto; }
.speaker .portrait--wide { width: 100%; }
.speaker h3 { font-size: 24px; line-height: 1.5; font-weight: 600; margin-bottom: 27px; }
.speaker h3.large { font-size: 30px; line-height: 1.2; }

/* ---------- Agenda ---------- */
.agenda .wrap { max-width: var(--max); }
.agenda ol { list-style: none; margin: 0 auto; padding: 0; max-width: 1160px; border-bottom: 1px solid var(--line); }
.agenda li { display: flex; gap: 24px; padding: 24px 24px; border-bottom: 1px solid var(--line); font-size: 24px; line-height: 1.5; font-weight: 600; }
.agenda li:last-child { border-bottom: 0; }
.agenda time { color: var(--magenta); min-width: 66px; }

/* ---------- Videos "Lass dich überzeugen" ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.videos video { width: 100%; aspect-ratio: 9 / 16; background: #000; }

/* ---------- About Us: Bilder klappen beim Drüberfahren auf ---------- */
.expand-images { display: flex; gap: 8px; height: 500px; }
.expand-images figure { margin: 0; flex: 1; overflow: hidden; transition: flex .5s ease; }
.expand-images figure:hover, .expand-images figure:focus-within { flex: 2; }
.expand-images img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tickets (Eventbrite) ---------- */
.tickets .section-title { margin-bottom: 28px; }
.tickets .eventbrite { height: 850px; }   /* Eventbrite passt die Höhe danach selbst an */
#faq .section-title { margin-bottom: 52px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 1160px; margin: 0 auto; }
.faq-list details { margin: 8px 8px 16px; border-radius: var(--radius); background: var(--night); box-shadow: 2px 2px 40px 0 rgba(255, 255, 255, 0.04); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 32px 50px 32px 32px;
  font-family: 'Inter', sans-serif; font-size: 18px; line-height: 1.2; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {           /* kleiner Pfeil rechts */
  content: ''; position: absolute; right: 32px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--magenta); border-bottom: 2px solid var(--magenta);
  transform: translateY(-75%) rotate(45deg); transition: transform .3s;
}
.faq-list details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-list .answer { padding: 0 32px 32px; margin-top: -8px; }

/* ---------- Fußzeile ---------- */
.site-footer { padding: 64px 0 40px; }
.site-footer .top { display: flex; justify-content: space-between; align-items: flex-start; }
.site-footer .logo img { width: 146px; }
.site-footer .contact { text-align: right; }
.site-footer .contact .instagram { display: inline-block; color: var(--magenta); margin-bottom: 16px; }
.site-footer .contact svg { width: 24px; height: 24px; fill: currentColor; }
.site-footer .contact a { text-decoration: none; }
.site-footer hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.5); margin: 25px 0; }
.site-footer .bottom { display: flex; justify-content: space-between; align-items: center; }
.site-footer .legal-links { display: flex; gap: 58px; }
.site-footer .legal-links a, .site-footer .contact a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .bottom p + p, .site-footer .contact p + p { margin-top: 0; }

/* ---------- Unterseiten (Legal Notice, Privacy) ---------- */
.legal { padding: 72px 0 100px; }
.legal h1 { font-family: 'Abril Fatface', serif; font-size: 100px; line-height: 1.2; font-weight: 400; margin-bottom: 48px; }
.legal h2 { font-size: 36px; line-height: 1.2; font-weight: 400; margin: 2em 0 .5em; }
.legal h3 { font-size: 25px; line-height: 1.3; font-weight: 600; margin: 1.2em 0 .5em; }
.legal p { text-align: justify; }
.legal p + p { margin-top: 16px; }
.legal ul { padding-left: 1rem; }

/* ---------- Tablet ---------- */
@media (max-width: 975px) {
  .main-nav ul { gap: 32px; }
  .hero h1 { font-size: 36px; }
  .hero .stickers { flex-basis: 360px; }
  .speaker .portrait { width: 100%; }
  .expand-images { height: 400px; }
}

/* ---------- Handy ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  :root { --section-y: 72px; }
  .section-title { font-size: 50px; margin-bottom: 48px; }

  /* Menü: Knopf mit drei Strichen, öffnet ein Vollbild-Menü */
  .menu-toggle { display: block; order: 3; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--magenta); }
  .menu-toggle svg { width: 32px; height: 32px; stroke: currentColor; }
  .main-nav { display: none; }
  .menu-open .main-nav { display: flex; position: fixed; inset: 0; z-index: 10; background: var(--night); align-items: center; justify-content: center; }
  .menu-open .main-nav ul { flex-direction: column; align-items: center; gap: 60px; }
  .menu-open .main-nav a { font-size: 18px; }
  .menu-open .menu-toggle { position: fixed; top: 32px; right: 24px; z-index: 11; }
  .site-header .ticket-button { margin-left: auto; white-space: nowrap; padding: 12px 24px; }

  .hero { padding-top: 40px; }
  .hero .wrap { flex-direction: column; align-items: stretch; }
  .hero h1 { display: none; }   /* wie im Original: auf dem Handy ohne große Überschrift */
  .hero .text, .hero .stickers { flex: none; }
  .hero .date-box { padding: 16px 24px; }

  .speaker { grid-template-columns: 1fr; row-gap: 32px; padding: 64px 0; margin: 0; }
  #speaker .section-title, #last-speaker .section-title { margin-bottom: -16px; }
  .agenda li { font-size: 20px; padding: 20px 8px; gap: 16px; }
  .videos { grid-template-columns: 1fr; max-width: 420px; }
  .expand-images { flex-direction: column; height: auto; }
  .expand-images figure { height: 300px; flex: none; }
  .faq-list details { margin: 8px 0 12px; }
  .faq-list summary { padding: 24px 48px 24px 20px; font-size: 16px; }
  .faq-list summary::after { right: 20px; }
  .faq-list .answer { padding: 0 20px 24px; }

  .site-footer .top, .site-footer .bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-footer .contact { text-align: left; }
  .site-footer .legal-links { gap: 32px; }
  .legal h1 { font-size: 60px; }
}
