@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/lora-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: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/lora-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: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/work-sans-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: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/work-sans-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;
}

:root {
  color-scheme: light;
  --bg: oklch(97% 0.008 85);
  --bg-alt: oklch(94% 0.012 85);
  --ink: oklch(22% 0.02 155);
  --ink-soft: oklch(40% 0.02 155);
  --green: oklch(45% 0.066 244);
  --green-dark: oklch(32% 0.068 246);
  --slate: oklch(67% 0.032 258);
  --gold: oklch(77% 0.098 82);
  --gold-dark: oklch(65% 0.098 81);
  --line: oklch(88% 0.012 85);
  --card: oklch(99% 0.004 85);
  --font-head: "Lora", serif;
  --font-body: "Work Sans", sans-serif;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; color: var(--ink); margin: 0; }
.eyebrow { font: 600 11px/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: var(--radius); font: 500 14px var(--font-body); border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); color: white; }
.btn-outline { border-color: currentColor; color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: white; }

/* header */
.header-wrap { position: sticky; top: 0; z-index: 30; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: oklch(99% 0.004 90 / 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header.compact .nav-desktop { gap: 16px; }
.brand { display: flex; flex-direction: row; align-items: center; }
.brand img { height: 44px; width: 44px; object-fit: cover; border-radius: 50%; margin-right: 12px; }
.brand > div { display: flex; flex-direction: column; }
.brand-name { font: 500 19px var(--font-head); color: var(--ink); }
.brand-sub { font: 400 12px var(--font-body); color: var(--ink-soft); }
.nav-desktop { display: flex; gap: 18px; align-items: center; }
.nav-desktop a { font: 500 13px var(--font-body); color: var(--ink-soft); }
.nav-desktop a:hover { color: var(--green); }
.nav-cta { background: var(--green); color: white !important; padding: 10px 18px; border-radius: var(--radius); }
.nav-cta:hover { background: var(--green-dark); color: white !important; }
.menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; flex-direction: column; gap: 2px; padding: 8px 24px 16px; background: var(--card); border-bottom: 1px solid var(--line); max-height: calc(100vh - 76px); overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 4px; font: 500 15px var(--font-body); color: var(--ink); border-bottom: 1px solid var(--line); }

/* hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, oklch(15% 0.03 155 / 0), oklch(12% 0.03 155 / 0)); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,0.75), rgba(0,0,0,0) 65%); opacity: 0.5; }
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero-content { max-width: 620px; color: white; padding: 24px; border-radius: 4px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.2; color: white; margin-bottom: 18px; }
.hero p { font-size: 17px; color: oklch(95% 0.01 90); margin-bottom: 28px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* notices */
.notice-band { position: relative; z-index: 2; transform: translateY(-26px); }
.notice-list { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 8px 24px oklch(20% 0.02 155 / 0.10); background: var(--card); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.notice-item { border-left: 3px solid var(--gold); padding: 16px 20px; border-right: 1px solid var(--line); }
.notice-item:last-child { border-right: none; }
.notice-item .t { font: 600 13px var(--font-body); color: var(--ink); display: block; margin-bottom: 4px; }
.notice-item .x { font: 400 13px/1.5 var(--font-body); color: var(--ink-soft); }

/* section basics */
section { padding: 40px 0; }
section h2 { font-size: 28px; margin-top: 8px; }
.section-head { max-width: 600px; margin-bottom: 40px; }

/* intro editorial */
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.intro-grid h2 { margin-bottom: 16px; }
.intro-grid .lead { font-size: 16px; color: var(--ink-soft); }
.body p { font-size: 15px; color: var(--ink-soft); margin: 0 0 14px; }
.body p:last-child { margin-bottom: 0; }
.body h3 { font: 600 16px var(--font-body); color: var(--ink); margin: 22px 0 8px; }
.body h3:first-child { margin-top: 0; }

/* image strip / gallery */
.image-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.image-strip img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }

/* team placeholder avatar */
.team-placeholder { width: 100%; aspect-ratio: 1; border-radius: var(--radius); margin-bottom: 12px; background: var(--card); border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; font: 600 26px var(--font-head); color: var(--slate); }

/* schwerpunkte tags */
.tag-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: 500 13.5px var(--font-body); color: var(--ink); }

/* diagnostik list */
.diag-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; list-style: none; margin: 0; padding: 0; }
.diag-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); display: flex; gap: 10px; }
.diag-list li::before { content: "—"; color: var(--gold-dark); font-weight: 600; }

/* collapsible topic list (vortraege) */
.topics-toggle-row { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.topics-toggle-row p { margin: 0; }
.topics-toggle-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--green); border-radius: var(--radius); background: var(--green); color: white; font: 500 13.5px var(--font-body); cursor: pointer; }
.topics-toggle-btn:hover { border-color: var(--green-dark); background: var(--green-dark); }
.topics-toggle-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.topics-toggle-btn .chevron { transition: transform 0.25s ease; font-size: 11px; }
.topics-toggle-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.diag-list.collapsible { max-height: 0; margin-top: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.4s ease; }
.diag-list.collapsible.open { max-height: 1200px; margin-top: 28px; }

/* team */
.muted-section, .team-section { background: var(--bg-alt); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }
.team-card .name { font: 600 14.5px var(--font-body); color: var(--ink); }
.team-card .roles { margin: 4px 0 0; padding: 0; list-style: none; }
.team-card .roles li { font: 400 12.5px var(--font-body); color: var(--gold-dark); line-height: 1.5; }

/* sprechzeiten */
.hours-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours-table td:first-child { font-weight: 600; color: var(--ink); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }

/* jobs */
.job-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 28px 30px; margin-bottom: 20px; }
.job-card h3 { font-size: 19px; margin-bottom: 6px; }
.job-meta { font: 500 13px var(--font-body); color: var(--slate); margin-bottom: 18px; }
.job-description { color: var(--ink-soft); margin-bottom: 20px; }
.job-description p { margin: 0 0 12px; }
.job-description p:last-child { margin-bottom: 0; }
.job-section { margin-bottom: 20px; }
.job-section h4 { font: 600 12px var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 8px; }
.job-section ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-soft); }
.job-section li { margin-bottom: 4px; }
.job-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 16px; }
.job-cols h4 { font: 600 12px var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 8px; }
.job-cols ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-soft); }
.job-cols li { margin-bottom: 4px; }
.job-apply { font: 500 13.5px var(--font-body); color: var(--ink-soft); padding-top: 12px; border-top: 1px solid var(--line); }
.jobs-empty { color: var(--ink-soft); font-style: italic; }

/* contact / closing */
.contact-section { background: var(--green); color: white; }
.contact-section .eyebrow { color: var(--gold); }
.contact-section h2 { color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-grid p { color: oklch(92% 0.01 90); }
.contact-hours { scroll-margin-top: 96px; }
.contact-hours h3 { margin: 8px 0 12px; color: white; font-size: 22px; }
.contact-hours .hours-table td { border-color: oklch(95% 0.01 90 / 0.3); color: oklch(92% 0.01 90); }
.contact-hours .hours-table td:first-child { color: white; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.contact-actions .btn-primary { background: var(--gold); color: var(--green-dark); }
.contact-actions .btn-primary:hover { background: var(--gold-dark); color: white; }
.contact-actions .btn-outline { border-color: oklch(95% 0.01 90 / 0.6); color: white; }

/* footer */
.site-footer { padding: 28px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); flex-wrap: wrap; gap: 12px; }
.site-footer .links { display: flex; gap: 20px; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: 28px; margin-bottom: 24px; }
.legal h2 { font-size: 18px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 15px; }

/* popup */
.popup-overlay { position: fixed; inset: 0; background: oklch(15% 0.02 155 / 0.55); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.popup-overlay.open { display: flex; }
.popup-box { background: var(--card); border-radius: var(--radius); max-width: 440px; width: 100%; padding: 32px; position: relative; }
.popup-box .eyebrow { margin-bottom: 8px; }
.popup-box h3 { font-size: 20px; margin-bottom: 12px; }
.popup-box p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 22px; }
.popup-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--ink-soft); }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-btn { display: block; }
  .intro-grid, .hours-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .image-strip { grid-template-columns: 1fr 1fr; }
  .image-strip img { height: 160px; }
  .notice-list { grid-template-columns: 1fr; }
  .notice-item { border-right: none; border-bottom: 1px solid var(--line); }
  .notice-item:last-child { border-bottom: none; }
  .diag-list { grid-template-columns: 1fr; }
  .job-cols { grid-template-columns: 1fr; }
  .topics-toggle-row { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  section { padding: 32px 0; }
  .hero { min-height: 480px; }
  .hero-content { background: rgba(0,0,0,0.55); }
  .hero-actions .btn { flex: 1 1 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
