/* ============================================================
   style.css – Smart-Anästhesie Firmenwebsite
   ============================================================ */

/* ---------- CSS-Variablen ---------- */
:root {
  --color-bg:         #f8f8f6;
  --color-surface:    #ffffff;
  --color-border:     #e2e2dc;
  --color-accent:     #1a3a6e;
  --color-accent-lt:  #e8f1f7;
  --color-text:       #1e1e1e;
  --color-muted:      #6b6b6b;
  --color-header-bg:  #ffffff;

  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body:    'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius:   6px;
  --shadow:   0 1px 4px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --max-w:    960px;
  --nav-h:    64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 16px;
}
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 24px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo {
  height: 96px;
  width: auto;
  display: block;
}

/* ---------- Navigation ---------- */
nav {
  margin-left: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

nav a {
  display: block;
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  background: var(--color-accent-lt);
  color: var(--color-accent);
}

/* Hamburger (Mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform .2s;
}

/* ---------- Hauptinhalt ---------- */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ---------- Startseite ---------- */
.hero {
  text-align: center;
  padding: 2px 0 48px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 48px;
}

.hero-logo {
  height: 240px;
  width: auto;
  margin: 0 auto 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: normal;
  color: var(--color-accent);
  margin-bottom: 12px;
  line-height: 1.25;
}

.hero p {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Info-Kacheln */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.info-card-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-accent);
}

.info-card p {
  font-size: .9rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* ---------- Mitarbeiter-Seite ---------- */
.page-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: normal;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.page-intro {
  color: var(--color-muted);
  margin-bottom: 40px;
  font-size: .95rem;
}

.mitarbeiter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.mitarbeiter-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.foto-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-accent-lt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: .8rem;
}
.foto-placeholder svg { opacity: .4; }

.mitarbeiter-info { padding: 20px; }

.mitarbeiter-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.mitarbeiter-position {
  font-size: .8rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.mitarbeiter-bio {
  font-size: .875rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* ---------- Impressum-Seite ---------- */
.impressum-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 680px;
  margin-bottom: 8px;
}

.impressum-box h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: normal;
  color: var(--color-accent);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.impressum-section { margin-bottom: 28px; }

.impressum-section h3 {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.impressum-section p,
.impressum-section address {
  font-style: normal;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 26px;
}

.impressum-section a { color: var(--color-accent); }
.placeholder-text { color: var(--color-muted); font-style: italic; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--color-border);
  text-align: center;
  padding: 24px;
  font-size: .8rem;
  color: var(--color-muted);
}
footer a { color: var(--color-muted); }
footer a:hover { color: var(--color-accent); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--color-header-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 16px 16px;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 2px; }
  nav a { padding: 10px 14px; }

  .header-inner { flex-wrap: wrap; }
  .header-logo { height: 36px; }

  .hero h1 { font-size: 1.5rem; }
  .hero-logo { height: 80px; }

  main { padding: 32px 16px 60px; }
  .impressum-box { padding: 24px 18px; }
}
