/* Hessische Fachanwälte für Arbeitsrecht e.V.
   Statische Site, Schriften lokal, keine externen Ressourcen. */

/* ---------- Schriften (SIL Open Font License) ---------- */

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/source-sans-3-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/source-sans-3-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: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/source-serif-4-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: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/source-serif-4-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;
}

/* ---------- Grundlagen ---------- */

:root {
  --petrol: #113844;
  --text: #1b2a30;
  --link: #1f5f80;
  --link-hover: #2a6f9e;
  --grau: #5f7480;
  --linie: #d7e0e4;
  --linie-dunkel: #c3d0d6;
  --flaeche: #f3f6f7;
  --hellblau: #9ccbe8;
  --serif: 'Source Serif 4', Georgia, serif;
  --rand: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
p, h1, h2, h3, dl, dd, dt { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

.huelle { max-width: 1200px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }

/* ---------- Kopf ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf .huelle {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.logo { display: flex; flex-direction: column; line-height: 1.15; color: var(--petrol); }
.logo:hover { color: var(--petrol); }
.logo span { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.hauptnavigation {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
}
.hauptnavigation a { color: var(--text); }
.hauptnavigation a:hover { color: var(--link-hover); }
.hauptnavigation .knopf-rahmen {
  padding: 9px 16px;
  border: 1px solid var(--petrol);
  border-radius: 4px;
  color: var(--petrol);
  font-size: 14px;
  font-weight: 600;
}
.hauptnavigation .knopf-rahmen:hover { background: var(--petrol); color: #fff; }

/* ---------- Bausteine ---------- */

.dachzeile {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--link-hover);
}
.etikett {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grau);
}
.knopf {
  align-self: flex-start;
  padding: 11px 18px;
  border-radius: 4px;
  background: var(--petrol);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.knopf:hover { background: var(--link); color: #fff; }
.knopf-hell {
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--hellblau);
  color: var(--petrol);
  font-size: 15px;
  font-weight: 600;
}
.knopf-hell:hover { background: #fff; color: var(--petrol); }
.textlink { font-size: 15px; font-weight: 600; color: var(--link); }
.textlink:hover { color: var(--petrol); }

.sektion { background: #fff; scroll-margin-top: 96px; }
.sektion-grau { background: var(--flaeche); }
.sektion > .huelle { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.spalte-kopf { display: flex; flex-direction: column; gap: 12px; }
.spalte-breit { grid-column: span 2; min-width: 0; }
.sektion-titel {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  color: var(--petrol);
}
.fliesstext {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.65;
}
.fliesstext .leise { font-size: 15.5px; color: var(--grau); }

/* ---------- Startseite: Bild ---------- */

.titelbild {
  position: relative;
  height: clamp(220px, 36vw, 420px);
  background: #0a2630;
  overflow: hidden;
}
.titelbild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
  transform: scaleX(-1);
}
.titelbild-hinweis {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(10, 38, 48, .6);
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .02em;
  pointer-events: none;
}
.titelbild-siegel-ebene { position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vw, 40px); pointer-events: none; }
.titelbild-siegel-ebene .huelle { display: flex; justify-content: flex-end; }
.siegel {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: clamp(140px, 15vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 40px rgba(10, 38, 48, .3);
  text-align: center;
  padding: 20px;
  transform: rotate(-8deg);
}
.siegel-zahl {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--petrol);
}
.siegel-zahl sup { font-size: .55em; vertical-align: top; color: var(--link-hover); }
.siegel-strich { width: 28px; height: 1px; background: var(--link-hover); }
.siegel-text {
  font-size: clamp(11px, .9vw, 12px);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--text);
}

/* ---------- Startseite: Einstieg ---------- */

.einstieg { background: var(--petrol); color: #fff; }
.einstieg .huelle {
  padding-top: clamp(64px, 9vw, 128px);
  padding-bottom: clamp(56px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}
.einstieg-kopf { display: flex; flex-direction: column; gap: 24px; }
.einstieg-dachzeile {
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hellblau);
}
.einstieg h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #fff;
}
.einstieg-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.einstieg-text {
  grid-column: span 2;
  max-width: 680px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: #e6eef1;
}
.einstieg-aufruf { display: flex; flex-direction: column; gap: 18px; }
.einstieg-aufruf-titel { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 26px); line-height: 1.25; color: #fff; }
.einstieg-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.einstieg-links .pfeillink { font-size: 15px; font-weight: 600; color: var(--hellblau); }
.einstieg-links .pfeillink:hover { color: #fff; }

/* ---------- Startseite: Mitgliedervorteil ---------- */

.vorteil-titel {
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.1;
  color: var(--petrol);
  overflow-wrap: break-word;
}
.infokasten {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: 6px;
  background: #e9f2f7;
}
.infokasten p { font-size: 16px; line-height: 1.55; color: var(--petrol); }
.infokasten .textlink { align-self: flex-start; }

/* ---------- Veranstaltungen: Liste ---------- */

.termine-intro { max-width: 340px; font-size: 16px; line-height: 1.55; color: var(--grau); }
.spalte-kopf .knopf { margin-top: 12px; }
.termine { display: flex; flex-direction: column; border-top: 1px solid var(--linie-dunkel); }
.termin { border-bottom: 1px solid var(--linie-dunkel); }
.termin-zeile {
  display: grid;
  grid-template-columns: minmax(96px, 120px) minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: 26px 0;
}
.termin-datum { display: flex; flex-direction: column; line-height: 1; }
.termin-tag { font-family: var(--serif); font-size: 44px; color: var(--petrol); }
.termin-monat {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grau);
}
.termin-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.termin-text h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; color: var(--text); }
.termin-text p { font-size: 15.5px; color: var(--grau); }
.termin .textlink { white-space: nowrap; }
.termine-leer { padding: 26px 0; font-size: 15.5px; color: var(--grau); border-bottom: 1px solid var(--linie-dunkel); }

/* Archiv vergangener Termine */
.archiv { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-direction: column; gap: 12px; }
.archiv-titel { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--petrol); }
.archiv .termine { margin-top: 8px; }
.archiv .termin-tag { color: var(--grau); }
.archiv .termin-text h3 { color: var(--grau); }

/* ---------- Verein ---------- */

.kennzahlen { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--linie-dunkel); }
.kennzahl { display: flex; flex-direction: column; gap: 4px; }
.kennzahl b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; color: var(--petrol); }
.kennzahl span { font-size: 13.5px; color: var(--grau); }

/* ---------- Mitgliedschaft ---------- */

.mitgliedschaft > .huelle:first-child {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.eckdaten { margin-top: 20px; display: flex; flex-direction: column; border-top: 1px solid var(--linie); font-size: 15.5px; line-height: 1.5; }
.eckdaten div { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.eckdaten .leise { color: var(--grau); }
.downloads { min-width: 0; display: flex; flex-direction: column; }
.downloads-raster { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.kachel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--linie);
  border-radius: 6px;
  color: var(--text);
}
.kachel:hover { border-color: var(--petrol); color: var(--text); }
.kachel-titel { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--petrol); }
.kachel-aktion { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--link); }
.kachel-dunkel { border: 0; background: var(--petrol); color: #fff; scroll-margin-top: 96px; }
.kachel-dunkel:hover { background: var(--link); color: #fff; }
.kachel-dunkel .etikett { color: var(--hellblau); }
.kachel-dunkel .kachel-titel, .kachel-dunkel .kachel-aktion { color: #fff; }

.mitgliedschaft > .huelle:last-child { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.aufruf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 8px;
  background: var(--petrol);
  color: #fff;
}
.aufruf h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.01em; }
.aufruf-text { display: flex; flex-direction: column; gap: 24px; }
.aufruf-text p { max-width: 640px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: #e6eef1; }
.aufruf-text .knopf-hell { align-self: flex-start; padding: 13px 22px; }

/* ---------- Kontakt ---------- */

.kontakt-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  font-size: 16.5px;
  line-height: 1.6;
}
.kontakt-block { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kontakt-block a { overflow-wrap: anywhere; }
.blaettern { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.blaettern-spur { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.blaettern-spur::-webkit-scrollbar { display: none; }
.blaettern-spur > .kontakt-block { flex: 0 0 100%; scroll-snap-align: start; }
.blaettern-steuerung { display: flex; align-items: center; gap: 12px; }
.blaettern-steuerung button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--linie-dunkel);
  border-radius: 4px;
  background: #fff;
  color: var(--petrol);
  font-size: 16px;
  cursor: pointer;
}
.blaettern-steuerung button:hover { border-color: var(--petrol); }
.blaettern-stand { font-size: 13px; color: var(--grau); }

/* ---------- Fuß ---------- */

.fuss { background: var(--petrol); color: var(--linie); }
.fuss .huelle {
  padding-top: 32px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: center;
  gap: 16px 24px;
  font-size: 14px;
}
.fuss nav { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.fuss a { color: var(--linie); }
.fuss a:hover { color: var(--hellblau); }
.fuss-rechts { text-align: right; }

/* ---------- Detailseite Veranstaltung ---------- */

.detail .huelle {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(64px, 8vw, 112px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}
.detail .zurueck { align-self: flex-start; }
.detail .raster { align-items: start; }
.detail-seite { display: flex; flex-direction: column; gap: 14px; }
.detail-datum { display: flex; flex-direction: column; line-height: 1; }
.detail-tag { font-family: var(--serif); font-size: clamp(56px, 6vw, 84px); color: var(--petrol); }
.detail-monat {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grau);
}
.detail-ortzeit { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--grau); }
.detail-haupt { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
.detail-titel { display: flex; flex-direction: column; gap: 10px; }
.detail-titel h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; color: var(--petrol); }
.detail-titel p { font-size: 18px; line-height: 1.5; color: var(--grau); }
.eckwerte { display: flex; flex-direction: column; gap: 6px; }
.eckwerte div {
  display: grid;
  grid-template-columns: minmax(72px, 110px) minmax(0, 1fr);
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
}
.eckwerte dt { color: var(--grau); }
.programm { display: flex; flex-direction: column; }
.programm .dachzeile { margin: 0 0 8px; letter-spacing: .12em; }
.programmpunkt {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--linie);
  font-size: 15.5px;
  line-height: 1.45;
}
.programmpunkt-zeit { color: var(--grau); font-variant-numeric: tabular-nums; }
.programmpunkt strong { font-weight: 600; color: var(--text); }
.programmpunkt-text { display: block; color: var(--grau); }
.hinweistext { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--grau); }

/* ---------- Rechtsseiten ---------- */

.section.legal .container {
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--rand) clamp(64px, 8vw, 112px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 816px;
  font-size: 17px;
  line-height: 1.65;
}
.section.legal h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; color: var(--petrol); margin-bottom: 12px; }
.section.legal h2 { font-size: 24px; line-height: 1.25; color: var(--petrol); margin-top: 18px; }

/* ---------- Mobil ---------- */

@media (max-width: 640px) {
  .logo span { font-size: 22px; }
  .spalte-breit, .einstieg-text { grid-column: auto; }
  .termin-zeile { grid-template-columns: 72px minmax(0, 1fr); }
  .termin .textlink { grid-column: 2; }
  .fuss nav { justify-content: flex-start; }
  .fuss-rechts { text-align: left; }
}

/* ---------- Mitgliedsantrag ---------- */

.antrag-ablauf { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.antrag-leise { font-size: 15.5px; color: var(--grau); }
.antrag { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 36px); margin-top: 8px; }
.antrag-gruppe { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.antrag-gruppe legend {
  padding: 0 0 4px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  color: var(--petrol);
}
.antrag-felder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; }
.antrag-feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.antrag-feld label { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text); }
.antrag-freiwillig { font-weight: 400; color: var(--grau); }
.antrag-feld input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--linie-dunkel);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.antrag-feld input::placeholder { color: var(--grau); opacity: .7; }
.antrag-feld input:hover { border-color: var(--grau); }
.antrag-feld input:focus,
.antrag-wahl input:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.antrag-feld input:user-invalid { border-color: #a63d32; }
.antrag-wahl {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 16.5px;
  line-height: 1.5;
  cursor: pointer;
}
.antrag-wahl input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--petrol); cursor: pointer; }
.antrag-wahl-block { display: flex; flex-direction: column; gap: 4px; }
.antrag-hinweis-klein { padding-left: 30px; font-size: 14.5px; line-height: 1.5; color: var(--grau); }
.antrag-absenden { display: flex; flex-direction: column; gap: 16px; }
.antrag-absenden .knopf { border: 0; font-family: inherit; line-height: 1.4; cursor: pointer; }
.antrag-meldung {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  border-left: 3px solid var(--petrol);
  background: var(--flaeche);
  font-size: 15.5px;
  line-height: 1.55;
}
.antrag-meldung[hidden] { display: none; }
.antrag-meldung a { overflow-wrap: anywhere; }

@media (min-width: 641px) {
  .antrag-felder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .antrag-feld-breit { grid-column: 1 / -1; }
}

/* Mitgliedsantrag: Rückmeldungen und Spamschutz */
.antrag-meldung:not(.ist-sichtbar):not(:target) { display: none; }
.antrag-fehler { border-left-color: #a63d32; }
.antrag-falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.antrag-absenden .knopf:disabled { opacity: .6; cursor: wait; }
.antrag[hidden],
#gesendet:target ~ .antrag { display: none; }
