/* Follow4you – minimales Stylesheet, kein Framework */

:root {
  --dark: #101418;
  --text: #1a1d21;
  --muted: #5a6169;
  --line: #dfe3e7;
  --bg-soft: #f6f7f9;
  --link: #1f5fbf;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--link); }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

/* Skip-to-content – sichtbar nur bei Tastatur-Fokus */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
}
.skip-to-content:focus { left: 0; }

/* Sticky Menü */
#site-menu {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
}
.site-menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.site-menu-brand img { width: 26px; height: 26px; display: block; }
.site-menu-links { margin-left: auto; display: flex; gap: 1rem; }
.site-menu-links a { color: #c9cfd6; text-decoration: none; }
.site-menu-links a:hover { color: #fff; text-decoration: underline; }

/* Inhalt */
main { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.25rem 3.5rem; }
main section + section { margin-top: 2.5rem; }

h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 0.75rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
.lead { font-size: 1.1rem; color: var(--muted); }

/* Kontakt-Karte */
.card {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem;
}
.contact-mail {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  word-break: break-all;
  margin-bottom: 0.25rem;
}
.note { color: var(--muted); font-size: 0.95rem; }

/* Hinweis-Box (z.B. AGB-Archivhinweis) */
.hinweis {
  border-left: 3px solid var(--dark);
  background: var(--bg-soft);
  padding: 0.75rem 1rem;
  margin: 0 0 1.75rem;
}
.hinweis p:last-child { margin-bottom: 0; }

/* Footer */
#site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer-links a { color: var(--muted); }

@media (max-width: 30rem) {
  h1 { font-size: 1.6rem; }
  #site-menu { padding: 0.75rem 1rem; }
  main { padding: 2rem 1rem 3rem; }
}

/* Cookie-Hinweis – reine Information, keine Einwilligung */
.cookie-hinweis-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.cookie-hinweis {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--dark);
  color: #e7eaee;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
}
.cookie-hinweis p { margin: 0; }
.cookie-hinweis a { color: #fff; }
.cookie-hinweis-close {
  border: 1px solid #4a525b;
  border-radius: 6px;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-hinweis-close:hover { background: #1c2229; }
.cookie-hinweis-toggle:focus-visible + .cookie-hinweis .cookie-hinweis-close {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.cookie-hinweis-toggle:checked + .cookie-hinweis { display: none; }

/* Platz, damit der Hinweis den Footer nicht überdeckt */
#site-footer { padding-bottom: 6rem; }

/* Print */
@media print {
  #site-menu, .site-footer-links, .cookie-hinweis { display: none !important; }
  #site-footer { padding-bottom: 1rem; }
  body { color: #000; }
  main { max-width: none; }
}
