/* sarah schadl — sarahschadl.de */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

/* ─── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --petrol:       #011C26;
  --teal:         #034959;
  --ocean:        #07748C;
  --cyan:         #0A9EBF;
  --light:        #F2F2F2;
  --sand:         #EDEAE3;
  --sand-deep:    #E3DED5;
  --paper:        #F4F2EC;
  --ink:          #2A2521;
  --on-dark-muted:  rgba(242,242,242,0.67);
  --on-light-muted: rgba(1,28,38,0.60);

  --font-mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Newsreader", Spectral, Georgia, serif;

  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  --track-tight:   0.02em;
  --track-label:   0.16em;
  --track-eyebrow: 0.26em;
  --track-subline: 0.34em;

  --text-2xs: 9.5px;
  --text-xs:  10.5px;
  --text-sm:  12px;
  --text-md:  14px;
  --text-lg:  16px;
  --text-xl:  21px;
  --text-2xl: 26px;
  --text-3xl: 34px;

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  22px;
  --space-6:  30px;
  --space-7:  44px;
  --space-8:  64px;

  --radius-sm:   3px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-pill: 999px;

  --shadow-card:   0 14px 46px rgba(0,0,0,0.18);
  --shadow-hero:   0 18px 60px rgba(0,0,0,0.20);

  --max-width:  1160px;
  --sec-pad:    clamp(40px,6vw,96px);
  --gap:        28px;
}

/* ─── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-mono);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
button { font-family: var(--font-mono); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ─── LAYOUT ───────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(20px,4vw,40px);
}
.sec {
  padding-block: var(--sec-pad);
  background: var(--sand);
  color: var(--ink);
}
.sec.on-petrol  { background: var(--petrol); color: var(--sand); }
.sec.on-sand2   { background: var(--sand-deep); color: var(--ink); }
.sec-head       { margin-bottom: clamp(28px,4vw,48px); }

/* ─── TYPOGRAPHY ───────────────────────────────────────────── */
.eyebrow {
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.sec-title {
  font-family: var(--font-mono);
  font-size: clamp(22px,2.8vw,34px);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
}
.wordmark {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  letter-spacing: var(--track-tight);
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s ease, border-color .15s ease;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--cyan);
  color: var(--petrol);
  border-color: var(--cyan);
}
.btn-primary:hover { opacity: .88; }
.btn-ghost {
  background: transparent;
  color: var(--sand);
  border-color: rgba(237,234,227,.45);
}
.btn-ghost:hover { border-color: rgba(237,234,227,.8); }
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(1,28,38,.35);
}
.btn-ghost-dark:hover { border-color: rgba(1,28,38,.7); }

/* ─── CHIP ─────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--on-light-muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: .06em;
  color: var(--on-light-muted);
  white-space: nowrap;
}
.chip-dark {
  border-color: rgba(237,234,227,.35);
  color: rgba(237,234,227,.70);
}
.chip-cyan  { border-color: var(--cyan); color: var(--cyan); }

/* ─── CARD ─────────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid rgba(1,28,38,.10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.card-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(237,234,227,.12);
}

/* ─── HEADER / NAV (DESKTOP) ───────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237,234,227,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px dashed rgba(1,28,38,.20);
}
.nav-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: 14px clamp(20px,4vw,40px);
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
}
.nav-logo .wordmark { font-size: 16px; }
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 11px;
  color: var(--on-light-muted);
  border-radius: var(--radius-sm);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 8px 16px;
  font-size: 11px;
  flex-shrink: 0;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ──────────────────────────────────────────── */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px clamp(20px,4vw,40px) 20px;
  border-top: 1px dashed rgba(1,28,38,.15);
  background: rgba(237,234,227,.97);
}
.mobile-menu a {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 13px 0;
  color: var(--ink);
  border-bottom: 1px dashed rgba(1,28,38,.10);
  display: block;
}
.mobile-menu .btn { margin-top: 14px; justify-content: center; width: 100%; }
[hidden] { display: none !important; }

/* ─── HERO ─────────────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px,5vw,72px);
  align-items: center;
}
.hero-portrait {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
}
.hero-content { display: flex; flex-direction: column; align-items: flex-start; }
.hero-mobile-cta { display: none; margin-bottom: 14px; }
.hero-h1 {
  font-size: clamp(28px,3.6vw,46px);
  font-weight: var(--weight-semibold);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--sand);
  margin-bottom: 8px;
}
.hero-subline {
  font-size: var(--text-xs);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}
.hero-body {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--on-dark-muted);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-band {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--gap);
  margin-top: 36px;
  width: 100%;
}
.stat-item { border-left: 2px solid var(--cyan); padding-left: 14px; }
.stat-num  { font-size: 28px; font-weight: var(--weight-semibold); line-height: 1; color: var(--sand); }
.stat-label { font-size: 10px; color: var(--on-dark-muted); letter-spacing: .06em; margin-top: 6px; line-height: 1.4; }

/* ─── SERVICES (DESKTOP GRID) ──────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: var(--gap);
}
.service-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-glyph  { font-size: 28px; color: var(--cyan); line-height: 1; }
.service-cat    { display: block; font-size: 11px; color: var(--cyan); letter-spacing: .18em; text-transform: uppercase; }
.service-title  { font-size: 17px; font-weight: var(--weight-semibold); line-height: 1.25; color: var(--sand); }
.service-body   { font-size: 13px; line-height: 1.75; color: var(--on-dark-muted); flex: 1; }
.service-punch  { font-size: 12px; color: var(--cyan); margin-top: auto; padding-top: 4px; }

.services-agenturen {
  margin-top: var(--gap);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
}
.agenturen-copy  { display: flex; flex-direction: column; gap: 14px; }
.agenturen-copy p { font-size: 13px; line-height: 1.75; color: var(--on-dark-muted); }

.services-cta { display: flex; justify-content: center; margin-top: 32px; }

/* ─── SERVICES (MOBILE ACCORDION) ─────────────────────────── */
.services-accordion { display: none; flex-direction: column; gap: 8px; }

details.acc-item { border-radius: var(--radius-md); overflow: hidden; }
details.acc-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
}
details.acc-item > summary::-webkit-details-marker { display: none; }
.acc-glyph  { font-size: 22px; color: var(--cyan); flex-shrink: 0; width: 26px; text-align: center; }
.acc-meta   { flex: 1; min-width: 0; }
.acc-cat    { display: block; font-size: 10px; color: var(--cyan); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 3px; }
.acc-title  { display: block; font-size: 14px; font-weight: var(--weight-medium); color: var(--sand); }
.acc-plus   { font-size: 20px; color: var(--cyan); flex-shrink: 0; transition: transform .2s ease; }
details.acc-item[open] > summary .acc-plus { transform: rotate(45deg); }
.acc-body   { padding: 0 20px 20px 60px; display: flex; flex-direction: column; gap: 8px; }
.acc-body p { font-size: 13px; line-height: 1.75; color: var(--on-dark-muted); }
.acc-punch  { font-size: 12px; color: var(--cyan) !important; }

/* ─── LOGO MARQUEE ─────────────────────────────────────────── */
.logo-marquee { overflow: hidden; margin-bottom: var(--gap); }
.logo-strip   {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.logo-marquee:hover .logo-strip { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-strip { animation: none; }
  .logo-marquee { overflow-x: auto; }
}
.logo-card {
  flex-shrink: 0;
  width: 200px;
  height: 84px;
  background: #fff;
  border: 1.5px solid rgba(1,28,38,.10);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}
.logo-card img {
  max-height: 56px;
  max-width: 86%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .82;
}

/* ─── CASE CARDS ───────────────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: var(--gap);
}
.case-card   { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-visual {
  width: 100%; height: 160px;
  background: var(--sand-deep);
  flex-shrink: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--on-light-muted); letter-spacing: .1em; text-transform: uppercase;
}
.case-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.case-kicker { font-size: 11px; color: var(--cyan); letter-spacing: .06em; }
.case-title  { font-size: 15px; font-weight: var(--weight-semibold); line-height: 1.3; }
.case-desc   { font-size: 12.5px; line-height: 1.65; color: var(--on-light-muted); }

/* ─── HALTUNG / ARBEITSWEISE ───────────────────────────────── */
.haltung-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px,4vw,56px);
  align-items: start;
}
.haltung-lead { font-size: 15px; line-height: 1.85; color: var(--on-light-muted); }
.haltung-cards { display: flex; flex-direction: column; gap: 14px; }
.haltung-card  { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.haltung-label { font-size: 12px; letter-spacing: .20em; text-transform: uppercase; color: var(--ocean); font-weight: var(--weight-medium); }
.haltung-body  { font-size: 13px; line-height: 1.75; color: var(--on-light-muted); }

/* ─── KARRIERE ─────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 12px; }

details.timeline-item > summary {
  list-style: none;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
}
details.timeline-item > summary::-webkit-details-marker { display: none; }
details.timeline-item > summary:hover { background: rgba(255,255,255,.04); border-radius: var(--radius-md); }
.tl-date     { font-size: 11px; color: var(--cyan); letter-spacing: .06em; line-height: 1.4; flex-shrink: 0; }
.tl-role     { font-size: 14px; font-weight: var(--weight-medium); line-height: 1.3; color: var(--sand); }
.tl-company  { font-size: 11px; color: var(--on-dark-muted); margin-top: 4px; }
.tl-toggle   {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(237,234,227,.30);
  font-size: 10px; color: rgba(237,234,227,.60);
  white-space: nowrap;
  transition: border-color .15s, color .15s;
  flex-shrink: 0;
}
details.timeline-item[open] > summary .tl-toggle { border-color: var(--cyan); color: var(--cyan); }
.tl-detail   { padding: 2px 20px 18px 198px; font-size: 13px; line-height: 1.7; color: var(--on-dark-muted); }
.tl-detail ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.tl-detail li { list-style: disc; }

/* ─── AUSBILDUNG ───────────────────────────────────────────── */
details.edu-item > summary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
}
details.edu-item > summary::-webkit-details-marker { display: none; }
.edu-title   { font-size: 14px; font-weight: var(--weight-medium); color: var(--ink); }
.edu-sub     { font-size: 11px; color: var(--on-light-muted); margin-top: 4px; }
.edu-toggle  {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--on-light-muted);
  font-size: 10px; color: var(--on-light-muted);
  white-space: nowrap;
  transition: border-color .15s, color .15s;
  flex-shrink: 0;
}
details.edu-item[open] > summary .edu-toggle { border-color: var(--cyan); color: var(--cyan); }
.edu-detail  { padding: 2px 20px 16px; font-size: 13px; line-height: 1.7; color: var(--on-light-muted); }
.edu-detail ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.edu-detail li { list-style: disc; }

/* ─── AUSZEICHNUNGEN ───────────────────────────────────────── */
.awards-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); }
.patent-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; border-color: var(--cyan) !important; }
.patent-title { font-size: 22px; font-weight: var(--weight-semibold); }
.patent-ref   { font-size: 11px; color: var(--on-light-muted); }
.certs-list   { display: flex; flex-direction: column; gap: 10px; }
.cert-item    { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.cert-star    { color: var(--cyan); font-size: 14px; }
.cert-label   { font-size: 13px; }

/* ─── KOMPETENZEN ──────────────────────────────────────────── */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: var(--gap); }
.skill-group { padding: 20px; }
.skill-group-label { font-size: 12px; letter-spacing: .20em; text-transform: uppercase; color: var(--ocean); font-weight: var(--weight-medium); margin-bottom: 14px; }
.chips-wrap  { display: flex; flex-wrap: wrap; gap: 8px; }
.on-petrol .chip {
  border-color: rgba(237,234,227,.25);
  color: var(--on-dark-muted);
}

/* ─── KONTAKT ──────────────────────────────────────────────── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px,5vw,72px);
  align-items: center;
}
.kontakt-title {
  font-size: clamp(24px,3vw,38px);
  font-weight: var(--weight-semibold);
  line-height: 1.15;
  color: var(--sand);
  margin-top: 10px;
  margin-bottom: 16px;
}
.kontakt-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-card  { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-row   { display: flex; align-items: center; gap: 14px; }
.contact-value { font-size: 13px; line-height: 1.4; }

/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer { padding-block: 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo  { display: flex; align-items: center; gap: 10px; }
.footer-logo .wordmark { font-size: 15px; color: var(--sand); }
.footer-copy  { font-size: 11px; color: var(--on-dark-muted); letter-spacing: .06em; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 11.5px; letter-spacing: .10em; text-transform: uppercase; color: var(--cyan); }

/* ─── CHAT WIDGET ──────────────────────────────────────────── */
.chat-widget {
  display: flex;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-panel {
  width: 340px;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: none;
}
.chat-panel.is-open { display: block; }
.chat-header {
  background: var(--petrol);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-header-ring {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(237,234,227,.35);
  flex-shrink: 0;
}
.chat-header-title { font-size: 13px; font-weight: var(--weight-semibold); color: var(--sand); }
.chat-header-sub   { font-size: 10px; color: var(--cyan); }
.chat-voice {
  margin-left: auto;
  display: flex;
  align-items: center;
  color: rgba(237,234,227,.55);
  padding: 4px;
  transition: color .15s;
}
.chat-voice:hover { color: var(--sand); }
.chat-voice.is-on { color: var(--cyan); }
.chat-close { color: rgba(237,234,227,.6); font-size: 16px; line-height: 1; padding: 2px 4px; }
.chat-body  { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-greeting {
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 85%;
}
.chat-suggestions { display: flex; flex-direction: column; gap: 6px; }
.chat-chip {
  display: block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(1,28,38,.18);
  font-size: 11px;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  text-align: left;
  font-family: var(--font-mono);
  transition: border-color .15s, color .15s;
}
.chat-chip:hover { border-color: var(--cyan); color: var(--cyan); }
.chat-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid rgba(1,28,38,.15);
  border-radius: var(--radius-md);
  background: #fff;
}
.chat-placeholder { font-size: 11px; color: var(--on-light-muted); font-family: var(--font-mono); }
.chat-send { color: var(--cyan); font-size: 16px; flex-shrink: 0; }

/* Nachrichtenverlauf */
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.chat-msg {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
  white-space: pre-line;
  overflow-wrap: break-word;
}
.chat-msg-bot  { background: var(--sand); color: var(--ink); align-self: flex-start; }
.chat-msg-user { background: var(--petrol); color: var(--sand); align-self: flex-end; }

/* Tipp-Indikator */
.chat-typing { display: flex; gap: 4px; align-items: center; }
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--on-light-muted);
  animation: chat-typing 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chat-typing {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%           { opacity: 1;  transform: translateY(-3px); }
}

/* Eingabezeile */
.chat-input-row { gap: 8px; }
.chat-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink);
}
.chat-input::placeholder { color: var(--on-light-muted); }
.chat-mic {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 2px;
  color: var(--on-light-muted);
  transition: color .15s;
}
.chat-mic:hover { color: var(--cyan); }
.chat-mic.is-listening {
  color: #c0392b;
  animation: chat-pulse 1.2s infinite ease-in-out;
}
@keyframes chat-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* Datenschutz-Hinweis */
.chat-privacy {
  margin: 0;
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--on-light-muted);
}
.chat-privacy a { color: inherit; text-decoration: underline; }
.chat-fab {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(1,28,38,.30);
  transition: opacity .15s ease;
  cursor: pointer;
}
.chat-fab:hover { opacity: .88; }
.chat-fab-ring {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(1,28,38,.35);
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-portrait { max-width: 240px; margin-inline: auto; }
  .hero-h1 { font-size: 30px; }
  .hero-buttons { display: none; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 18px; }

  .services-grid, .services-agenturen { display: none; }
  .services-accordion { display: flex; }

  .haltung-grid   { grid-template-columns: 1fr; }
  .awards-grid    { grid-template-columns: 1fr; }
  .kontakt-grid   { grid-template-columns: 1fr; }

  details.timeline-item > summary {
    grid-template-columns: 1fr auto;
  }
  .tl-date { display: none; }
  .tl-company::before { content: attr(data-date) " · "; color: var(--cyan); }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }

  .chat-widget    { right: 50%; transform: translateX(50%); }
  .chat-panel     { width: min(340px, calc(100vw - 32px)); }
  .chat-messages  { max-height: 40vh; }
  .chat-fab       { width: 48px; height: 48px; }
  .chat-fab-ring  { width: 24px; height: 24px; }

  .services-agenturen { display: none; }
  .tl-detail      { padding-left: 20px; }
}
