/* ═══════════════════════════════════════════════
   ModernEyes — Gemeinsames Stylesheet
   Gilt für: index.html, impressum.html, datenschutz.html
   Stand: Mai 2026
═══════════════════════════════════════════════ */

/* ── LOKALE SCHRIFTEN ── */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter_18pt-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter_18pt-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter_18pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --navy:   #0F1F38;
  --blue:   #1A3259;
  --accent: #1D6FA4;
  --light:  #EAF2F8;
  --muted:  #6B7F96;
  --border: #D8E4EE;
  --bg:     #F7FAFC;
  --white:  #FFFFFF;
}

html { font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
header {
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text span {
  font-weight: 300;
  color: var(--accent);
}

.logo-sub {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Zurück-Link (Unterseiten) */
.back-link {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--navy); }

/* ── MAIN ALLGEMEIN ── */
main {
  flex: 1;
  padding: 64px 24px;
}

/* Zentriert (index.html) */
main.centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.center {
  max-width: 620px;
  width: 100%;
}

/* Unterseiten-Inhalt */
.content {
  max-width: 640px;
  margin: 0 auto;
}

/* ── TYPOGRAFIE ── */
h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 20px;
}

h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

/* Unterseiten h1 */
.content h1 {
  font-size: 1.75rem;
  margin-bottom: 40px;
}

h2 {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 36px 0 12px;
}

h2:first-of-type { margin-top: 0; }

p, address {
  font-size: 0.925rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.75;
  font-style: normal;
}

p + p { margin-top: 12px; }

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

ul {
  margin: 10px 0 10px 20px;
  font-size: 0.925rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.75;
}

/* ── TRENNLINIE ── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* Nur auf index: engerer Abstand nach oben */
.center hr { margin-bottom: 36px; }

/* ── BADGE / SEIT ── */
.seit {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
}

/* ── SEITEN-LABEL (Unterseiten) ── */
.page-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── INTRO-TEXT ── */
.intro {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ── LEISTUNGS-TAGS ── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
}

.tag {
  font-size: 0.78rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  letter-spacing: 0.01em;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
}

.tag:hover {
  border-color: var(--accent);
  background: var(--light);
}

/* ── KONTAKT-BLOCK ── */
.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--light);
}

.contact-link svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── FOOTER ── */
footer {
  padding: 20px 48px;
  border-top: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  header { padding: 20px 24px; }
  footer { padding: 16px 24px; flex-direction: column; align-items: flex-start; }
  .contact-block { padding: 22px 20px; }
  h1 { font-size: 1.5rem; }
  main { padding: 48px 24px; }
}