/* ============================================================================
   Base layout & theme — sleek, minimalistic, Material-influenced, accessible.
   Tweak the palette below; the rest of the sheet reads from these variables.
   ========================================================================== */

:root {
  color-scheme: light;

  /* ---- palette (configurable) ---- */
  --c-primary:        #06189e;   /* dark blue primary accent color            */
  --c-primary-strong: #0f2747;   /* hover / pressed                           */
  --c-accent:         #f48917;   /* orange - accent + focus                   */
  --c-bg:             #f9f6f6;   /* page background (faint, keeps card white) */
  --c-surface:        #ffffff;   /* the content card                          */
  --c-text:           #333333;   /* body text                                 */
  --c-text-muted:     #4f4f4f;   /* secondary text                            */
  --c-border:         #e4e8ef;   /* hairlines                                 */

  /* ---- scale ---- */
  --measure: 52rem;              /* card width on larger screens              */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 32, 51, .06), 0 10px 30px rgba(20, 32, 51, .07);
  --space: 1rem;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 2.25rem) 1rem clamp(1rem, 4vw, 4rem);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* The card is the single width authority: one max-width, everything nests in it.
   The banner fills the card edge-to-edge; all text sits in the padded .content,
   so every section shares one width and resizes together. */
main {
  width: 100%;
  max-width: var(--measure);
  background: var(--c-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;                            /* clip banner to rounded corners */
}

/* ---- banner (full-width placeholder graphic) ---- */
.banner {
  display: block;
  width: 100%;
  height: clamp(140px, 30vw, 220px);
}

/* ---- content column: holds every text section at one consistent width ---- */
.content {
  padding: clamp(1.5rem, 5vw, 3rem);
}

/* ---- typography ---- */
h2 {
  margin: 2.25rem 0 .5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c-primary);
}

strong {
  color: var(--c-primary);
}

p { margin: 0 0 1rem; }

a {
  color: var(--c-primary);
  text-underline-offset: 2px;
}

/* ---- lists ---- */
ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style: none;
}
ul li {
  position: relative;
  padding-left: .5rem;
  margin-bottom: .35rem;
}
ul li::before {
  content: "";
  position: absolute;
  left: -.75rem;
  top: .7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ---- Veranstaltung: dense key/value list ---- */
.details {
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1rem;
  row-gap: .5rem;
  align-items: start;
}
.details dt {
  color: var(--c-primary);
}
.details dd { margin: 0; }

/* Material-style outline icons (hand-drawn, stroke-based, no icon font). */
.detail-icon {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: .2rem;            /* optically centers icon on the first text line */
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.detail-icon .dot {
  fill: currentColor;
  stroke: none;
}

/* keep text for screen readers when a label is shown as an icon */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---- Ablauf: participants as Material-style chips ---- */
/* lead-in reads as body text within the section; the icon carries the accent */
.people-lead {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
}
.people-lead .detail-icon {
  margin-top: 0;
  color: var(--c-primary);
}
.people {
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
/* outline-only chips, matching the stroke-icon look */
.people li {
  margin-bottom: 0;
  padding: .25rem .75rem;
  border: 1px solid var(--c-accent);
  border-radius: 8px;
  font-size: .95rem;
  color: var(--c-text);
}
.people li::before { content: none; }

/* ---- primary action (Material-style filled button) ---- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;                          /* ≥44px touch target */
  margin-top: .25rem;
  padding: .75rem 1.5rem;
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(20, 32, 51, .25);
  transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.cta:hover { background: var(--c-primary-strong); box-shadow: 0 3px 10px rgba(20, 32, 51, .22); }
.cta:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(20, 32, 51, .25); }

/* ---- separator & fine print ---- */
hr {
  margin: 2.5rem 0 1.25rem;
  border: 0;
  border-top: 1px solid var(--c-border);
}

.privacy,
.note {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* the accessibility note sits within a section — set it apart like a callout */
.note {
  margin-top: .75rem;
  padding-left: .875rem;
  border-left: 3px solid var(--c-accent);
}
.note strong { color: var(--c-primary); }

img { max-width: 100%; height: auto; }

/* ---- logo ---- */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0 .5rem;
}
.logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 1px solid var(--c-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-bg);
  font-size: .7rem;
  letter-spacing: .05em;
}
.logo::after {
  content: "LOGO";
}

/* ---- accessibility ---- */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

