/* ============================================================
   People.Tech.Connect. – Event-Landingpage
   Sauberer, responsiver HTML/CSS-Nachbau der Canva-Seite.

   Aufbau
   1. Design-Tokens
   2. Basis / Layout-Container
   3. Sektionen (Desktop-Basis)
   4. Responsive Anpassungen (am Ende gebündelt)
   ============================================================ */

/* ============================================================
   1. DESIGN-TOKENS
   ============================================================ */
:root {
  /* Lila */
  --purple:        #6b3281;
  --purple-light:  #8c44a5;
  --purple-label:  #7a3183;
  --purple-dark:   #5c2470;
  --purple-bio:    #4a2c60;
  --purple-hover:  #f5ecf8;
  --purple-btn-hover: #7d3e96;

  /* Blau */
  --blue:       #2878be;
  --blue-hover: #eaf3fb;

  /* Limette */
  --lime:            #b8cc35;
  --lime-btn:        #a9c93f;
  --lime-btn-hover:  #98b835;

  /* Neutral */
  --text:  #333333;
  --white: #ffffff;
  --card-glass: rgba(255, 255, 255, .6);
  --timeline: #c9c9c9;
  --error: #b3261e;

  --page-width: 1366px;
  --pad-x: clamp(20px, 4.4vw, 60px);   /* horizontales Sektions-Padding */
}

/* ============================================================
   2. BASIS / LAYOUT
   ============================================================ */
* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  overflow-x: hidden;      /* kein horizontales Scrollen durch Überhänge */
}

a { color: var(--purple); }
a:hover { color: var(--purple-light); }

/* Sichtbarer Tastatur-Fokus (Maus-Klicks bleiben ohne Ring) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

img { display: block; max-width: 100%; }

h1, h2, h3, p, ul { margin: 0; }

/* Lange zusammengesetzte Wörter nie über den Rand hinaus abschneiden */
.section-title, .claim__text, .talk__heading,
.audience__title, .nametag__name { overflow-wrap: break-word; }

.page {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  background: var(--white);
}

/* ============================================================
   3. SEKTIONEN
   ============================================================ */

/* ---------- 1. HERO ---------- */
.hero {
  padding: 44px var(--pad-x) 60px;
  text-align: center;
}
.hero__date {
  font-size: clamp(20px, 3.1vw, 34px);
  color: var(--purple-label);
  font-weight: 400;
}
.hero__logo {
  margin: 24px 0 0;
  line-height: 0;
  text-align: center;
}
.hero__logo img {
  display: block;
  width: clamp(240px, 52vw, 640px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 2px solid var(--purple);
  border-radius: 14px;
  font-weight: 700;
  color: var(--purple);
  text-decoration: underline;
  background: var(--white);
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--purple-hover); color: var(--purple); }

.btn--hero {
  margin-top: 44px;
  padding: clamp(14px, 1.8vw, 22px) clamp(36px, 6vw, 84px);
  font-size: clamp(22px, 3vw, 38px);
}

/* ---------- 2. INTRO-BAND ---------- */
.intro {
  position: relative;
  background: var(--purple);
  padding: clamp(44px, 6vw, 70px) var(--pad-x) clamp(44px, 6vw, 70px) 44%;
  overflow: hidden;
}
.intro__deco {
  position: absolute;
  left: -30px;
  top: -20px;
  height: 130%;
  opacity: .28;
}
.intro__text {
  position: relative;
  color: var(--white);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.55;
  max-width: 760px;
}

/* ---------- 3. ZIELGRUPPE / TEILNAHME ---------- */
.audience {
  display: flex;
  gap: 32px;
  padding: 40px var(--pad-x);
  flex-wrap: wrap;
}
.audience__card {
  flex: 1;
  min-width: 320px;
  color: var(--white);
  padding: clamp(32px, 3.5vw, 44px) clamp(22px, 2.6vw, 34px) clamp(38px, 4vw, 50px);
}
.audience__card--target { background: linear-gradient(135deg, #4f938f 0%, #93b66d 100%); }
.audience__card--why    { background: linear-gradient(135deg, #579790 0%, #8fb471 100%); }

.audience__title {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}
.audience__card--why .audience__title { margin-bottom: 30px; }

.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 30px;
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.45;
}
.audience__grid strong { color: var(--purple-dark); font-size: 1.05em; }

.audience__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.4;
}
.audience__item { display: flex; gap: 12px; }

.bullet {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
}
.bullet--lg { width: 26px; height: 26px; background: var(--purple); margin-top: 2px; }

/* ---------- 4. PARTNER-LEISTE ---------- */
.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  padding: 26px var(--pad-x) 40px;
  flex-wrap: wrap;
}
.partners__group {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
}
.partners__label {
  font-size: clamp(14px, 1.3vw, 17px);
  letter-spacing: .5px;
  color: var(--purple-label);
}
.partners__logo { height: var(--h); width: auto; }

/* ---------- 5. CLAIM ---------- */
.claim { padding: clamp(32px, 4vw, 40px) var(--pad-x) clamp(44px, 5vw, 60px); }
.claim__text {
  font-size: clamp(21px, 4.4vw, 52px);
  line-height: 1.28;
  color: var(--purple-light);
  font-weight: 400;
  max-width: 1100px;
  margin: 0 auto;
  overflow-wrap: break-word;
  hyphens: auto;
}
.claim__text strong { color: var(--purple); }

/* ---------- 6. VIDEO-RÜCKBLICK ---------- */
.recap {
  background: linear-gradient(135deg, #4f938f 0%, #93b66d 100%);
  padding: clamp(44px, 6vw, 70px) var(--pad-x) clamp(52px, 7vw, 84px);
}
.recap .recap__title {
  color: var(--white);
  margin-bottom: clamp(30px, 4vw, 50px);
  /* klein genug, dass „PEOPLE.TECH.CONNECT." mobil als ganzes Wort
     in eine Zeile passt – Umbruch dann sauber am Leerzeichen */
  font-size: clamp(22px, 5.2vw, 64px);
}
.recap__title strong { color: var(--purple-label); white-space: nowrap; }
.recap__video {
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}
.recap__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
}

/* ============================================================
   7. EXPERTEN – robuste, in-flow aufgebaute Speaker-Karten
   ============================================================ */
.experts {
  background: linear-gradient(180deg, #7bac86 0%, #6ea78f 100%);
  padding: 50px 0 60px;
}

.section-title {
  text-align: center;
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0 0 50px;
  padding: 0 var(--pad-x);
}
.section-title strong { font-weight: 700; }
.experts__title { color: var(--white); }
.experts__title strong { color: var(--purple-label); }

.talk {
  margin: 0 var(--pad-x) clamp(70px, 8vw, 96px);
}
.talk__heading {
  color: var(--white);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  max-width: 860px;
  /* Untermarge reserviert Platz für die oben überstehenden Fotos,
     damit der Speaker-Block die Überschrift nie überlappt. */
  margin: 0 auto 92px;
}

.talk__card {
  background: var(--card-glass);
  border-radius: 28px;
  padding: clamp(26px, 3vw, 38px) clamp(24px, 4vw, 56px) clamp(32px, 4vw, 44px);
}

/* Speaker-Feld: eigenständiger Block, überragt oben die Karte,
   liegt IM Fluss – Fließtext kann nie darunter geraten. */
.talk__speakers {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -100px;        /* Überhang über die Kartenkante */
  margin-bottom: 32px;
}
.talk__photos {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 22px;                 /* Duo: jeder Kopf ein eigenes Feld */
}
.speaker__photo {
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,.5);
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
}
.talk__speakers--single .speaker__photo { width: clamp(160px, 22vw, 250px); aspect-ratio: 1; height: auto; }
.talk__speakers--duo    .speaker__photo { width: clamp(130px, 17vw, 212px); aspect-ratio: 1; height: auto; }

.nametag {
  position: relative;
  z-index: 1;                /* liegt sauber über den Fotos – kein Durchscheinen */
  margin-top: -38px;
  background: var(--purple-label);
  color: var(--white);
  border-radius: 14px;
  padding: 12px 26px;
  text-align: center;
  max-width: min(440px, 92%);
}
.nametag__name { font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.2; }
.nametag__role { font-size: clamp(14px, 1.4vw, 16px); line-height: 1.3; margin-top: 2px; }

/* „DARUM GEHT´S" Kopfzeile */
.darum {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.darum__label { font-size: clamp(20px, 2vw, 24px); font-weight: 700; color: var(--purple-dark); }
.darum__ring { flex: none; width: 10px; height: 10px; border: 3px solid var(--white); border-radius: 50%; }
.darum__line { flex: 1; height: 3px; background: var(--white); }

.talk__list {
  margin: 0 0 26px;
  padding-left: 24px;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--text);
}
.talk__list strong { color: var(--blue); }

.talk__quote {
  margin: 0 0 22px;
  font-size: clamp(17px, 1.7vw, 19px);
  font-weight: 700;
  color: var(--text);
}
.talk__bio {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6;
  color: var(--purple-bio);
}
.talk__bio + .talk__bio { margin-top: 22px; }
.talk__bio strong { color: var(--purple-dark); }

/* --- Panel --- */
.panel__heading span { color: var(--lime); }
.panel__heading { margin-bottom: 28px; }
.panel__top {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.panel__faces {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px clamp(14px, 2vw, 26px);
  /* Gesichter hängen von oben in die Karte hinein */
  margin-bottom: -62px;
  position: relative;
  z-index: 1;
}
.panel .talk__card { padding-top: 92px; }
.panel__face { margin: 0; text-align: center; }
.panel__face .speaker__photo { width: clamp(120px, 13vw, 180px); aspect-ratio: 1; height: auto; }
.panel__pill {
  position: relative;
  z-index: 1;
  margin-top: -22px;
  background: var(--purple-label);
  color: var(--white);
  border-radius: 24px;
  padding: 8px 12px;
  font-size: clamp(14px, 1.4vw, 17px);
}

/* ============================================================
   8. AGENDA
   ============================================================ */
.agenda { padding: 60px var(--pad-x) 70px; }
.agenda__title { color: var(--purple); margin-bottom: 60px; }
.agenda__title strong { color: var(--lime); }

.timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 38px;
}
.timeline__spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 3px dashed var(--timeline);
}
.timeline__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.timeline__pill-cell--right { display: flex; justify-content: flex-end; }
.timeline__text {
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.4;
  padding-top: 2px;
}
.timeline__text--right { text-align: right; }
.timeline__text strong { font-size: 1.12em; }
.timeline__text--lg { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.35; padding-top: 6px; }

.time-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  border-radius: 16px;
  padding: 12px 26px;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 700;
  white-space: nowrap;
}
.time-pill svg { flex: none; }
.time-pill--blue   { background: var(--blue); }
.time-pill--lime   { background: var(--lime-btn); color: var(--purple-dark); }  /* Kontrast (BFSG) */
.time-pill--lime svg { stroke: var(--purple-dark); }
.time-pill--purple { background: var(--purple); }

/* ============================================================
   9. WER STECKT DAHINTER
   ============================================================ */
.organizers { padding: 30px var(--pad-x) 0; }
.organizers__title { color: var(--purple); }
.organizers__title strong { color: var(--lime); }

.org-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 44px);
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.org-row--reverse { flex-direction: row-reverse; }
.org-logo {
  flex: none;
  width: clamp(180px, 22vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--purple-label);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.org-logo img { width: 72%; height: auto; }
.org-logo--sm { width: clamp(160px, 18vw, 220px); }
.org-text { flex: 1; min-width: 280px; }
.org-text p { margin: 0 0 24px; font-size: clamp(17px, 1.7vw, 19px); line-height: 1.55; }
.org-text p:last-child { margin-bottom: 0; }
.org-text__lead { margin: 0 0 18px !important; font-size: 20px; font-weight: 700; }

.btn-lime {
  display: inline-block;
  background: var(--lime-btn);
  color: var(--purple-dark);          /* dunkle Schrift: Kontrast 6,4:1 (BFSG) */
  text-decoration: none;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 14px;
  transition: background-color .15s ease;
}
.btn-lime:hover { background: var(--lime-btn-hover); color: var(--purple-dark); }

.org-divider { height: 38px; background: var(--purple); }
.org-coop { padding: 50px var(--pad-x); }

/* TIM-Band */
.tim {
  background: linear-gradient(120deg, #3d8e98 0%, #93b66d 100%);
  color: var(--white);
  padding: clamp(40px, 5vw, 60px) var(--pad-x);
  display: flex;
  gap: clamp(32px, 5vw, 50px);
  align-items: flex-start;
  flex-wrap: wrap;
}
.tim__logos {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin: 0 auto;
}
.tim__circle {
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tim__circle--lg { width: 240px; height: 240px; }
.tim__circle--sm { width: 200px; height: 200px; }
.tim__circle img { width: 70%; height: auto; }
.tim__body { flex: 1; min-width: 300px; }
.tim__body p { margin: 0 0 20px; font-size: clamp(17px, 1.7vw, 19px); line-height: 1.55; }
.tim__body p:last-child { margin-bottom: 0; }
.tim__body .btn-lime { margin-bottom: 26px; }

/* ============================================================
   10. LOCATION
   ============================================================ */
.location {
  background: var(--purple);
  color: var(--white);
  padding: clamp(48px, 6vw, 70px) var(--pad-x);
  margin-top: 40px;
}
.location__inner {
  display: flex;
  gap: clamp(32px, 5vw, 50px);
  align-items: center;
  flex-wrap: wrap;
}
.location__media {
  flex: none;
  position: relative;
  width: 360px;
  height: 340px;
  max-width: 100%;
  margin: 0 auto;
}
.location__media img { position: absolute; border-radius: 50%; }
.location__halle { left: 0; top: 0; width: 280px; height: 280px; }
.location__people { left: 165px; top: 145px; width: 190px; height: 190px; }
.location__text { flex: 1; min-width: 300px; }
.location__title { color: var(--white); margin: 0 0 34px; text-align: left; padding: 0; }
.location__title strong { color: var(--lime); }
.location__text p { font-size: clamp(17px, 1.7vw, 19px); line-height: 1.6; }
.location__lead { margin: 0 0 22px; font-size: 20px; font-weight: 700; }

.section-title--56 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 50px; }

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer { padding: 60px var(--pad-x) 50px; }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; }
.footer__logo { width: clamp(200px, 30vw, 300px); max-width: 100%; height: auto; }

.footer__partners {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.footer__partners .partners__label { font-size: clamp(13px, 1.2vw, 15px); }
.footer__partners .partners__group { gap: 22px; }

.footer__legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #e6ddec;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  font-size: 14px;
  color: #777;
}
.footer__legal a { color: var(--purple); text-decoration: none; }
.footer__legal a:hover { color: var(--purple-light); text-decoration: underline; }

/* ============================================================
   4. RESPONSIVE
   ============================================================ */

/* Desktop breit – Speaker-Anordnung wie im Canva-Original:
   Einzelsprecher Foto rechts, Duos Fotos links (überlappend),
   Panel-Gesichter neben dem Titel */
@media (min-width: 1080px) {
  .talk__card::after { content: ""; display: block; clear: both; }

  /* Einzelsprecher: Foto-Feld rechts, Text fließt links vorbei */
  .talk--single .talk__heading { max-width: none; margin: 0 380px 26px 0; }
  .talk--single .talk__speakers {
    float: right;
    width: 340px;
    margin: -104px 0 20px 28px;
  }
  .talk--single .talk__speakers .speaker__photo { width: 270px; }

  /* Duo: überlappende Kreise links, Text fließt rechts vorbei und darunter –
     spiegelbildlich zu den Einzelsprechern, füllt die Fläche (kein Leerraum) */
  .talk--duo .talk__heading { max-width: none; margin: 0 0 24px 520px; }
  .talk--duo .talk__speakers {
    float: left;
    width: 470px;
    margin: -100px 40px 8px 0;
    align-items: center;
  }
  .talk--duo .talk__speakers .speaker__photo { width: 250px; }
  .talk--duo .talk__photos { gap: 0; justify-content: center; }
  .talk--duo .speaker__photo:first-child { position: relative; z-index: 1; }
  .talk--duo .speaker__photo:nth-child(2) { margin-left: -44px; margin-top: 28px; }
  /* Aufzählung fließt rechts neben den Fotos; Bios danach über volle Breite */
  .talk--duo .talk__list { padding-top: 4px; overflow: hidden; }
  .talk--duo .talk__bio { clear: left; }

  /* Panel: Titel links, Gesichter rechts */
  .panel__top { flex-direction: row; align-items: flex-end; gap: 24px; }
  .panel__top .talk__heading {
    flex: 1;
    max-width: none;
    text-align: left;
    margin: 0 0 42px 40px;
  }
  .panel__faces { justify-content: flex-end; flex-wrap: nowrap; }
}

/* Tablet quer / kleiner Desktop */
@media (max-width: 1024px) {
  .intro { padding-left: 38%; }
  .claim { padding-left: var(--pad-x); }
}

/* Tablet hoch – zweispaltige Bereiche brechen um */
@media (max-width: 820px) {
  .intro { padding-left: var(--pad-x); }
  .intro__deco { opacity: .18; height: 100%; }

  .audience__card { min-width: 100%; }

  .talk__speakers { margin-top: -80px; }
  .panel__faces { margin-bottom: -52px; }
  .panel .talk__card { padding-top: 78px; }

  /* Agenda: einspaltige Timeline, Linie links – Texte/Pills bewusst
     größer als das Desktop-clamp-Minimum, damit nichts „schrumpft" */
  .timeline { gap: 32px; }
  .timeline__spine { left: 14px; }
  .timeline__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 42px;
  }
  .timeline__pill-cell { order: -1; justify-content: flex-start; }
  .timeline__pill-cell--right { justify-content: flex-start; }
  .timeline__text--right { text-align: left; }
  .timeline__text,
  .timeline__text--lg { font-size: 18px; line-height: 1.45; }
  .time-pill { font-size: 20px; padding: 12px 22px; }

  /* Location: Bilder mittig über Text */
  .location__inner { flex-direction: column; }
  .location__title { text-align: center; }
  .location__text { text-align: center; }

  /* Organizer-Reihen: Logo immer oben, zentriert */
  .org-row, .org-row--reverse { flex-direction: column; text-align: center; }
  .org-logo { margin: 0 auto; }
  .org-text { text-align: center; }

  .tim { flex-direction: column; text-align: center; }
  .tim__body { text-align: center; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__partners { justify-content: center; gap: 32px; }
}

/* Smartphone */
@media (max-width: 560px) {
  :root { --pad-x: 18px; }

  /* Zielgruppen-Raster einspaltig */
  .audience__grid { grid-template-columns: 1fr; gap: 22px; }

  /* Video randnah, mehr Breite fürs Bild */
  .recap__video iframe { border-radius: 12px; }

  .talk__card { border-radius: 20px; }
  .talk__speakers--duo .talk__photos { gap: 12px; }

  /* Partner-Gruppen: Label über den Logos, Logos umbrechend zentriert */
  .partners { gap: 26px 32px; }
  .partners__group,
  .footer__partners .partners__group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
  }
  .partners__label { flex-basis: 100%; text-align: center; }
  .footer__partners { flex-direction: column; align-items: center; text-align: center; }

  .location__media { transform: scale(.85); transform-origin: top center; }
}

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
