/* SpezialPerfekt – schlankes, eigenständiges Stylesheet (keine externen Ressourcen) */

:root {
  --rot: #cc0000;
  --rot-dunkel: #990000;
  --text: #1a1a1a;
  --grau: #555;
  --hell: #f5f5f5;
  --rand: #e0e0e0;
  --max: 860px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* Nur System-Schriften – nichts wird von externen Servern geladen */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }

/* Kopf */
.site-header {
  background: #111;
  color: #fff;
  padding: 1.2rem 1rem;
}
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.8rem;
}
.site-header .logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}
.site-header .logo .perfekt { color: var(--rot); }
.site-header .claim {
  color: #bbb;
  font-size: 0.95rem;
}

/* Inhaltsbreite */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* Hero / Startseite */
.hero {
  text-align: center;
  padding: 2.5rem 1rem;
  border-bottom: 1px solid var(--rand);
  margin-bottom: 2.5rem;
}
.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grau);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: 1.9rem;
  line-height: 1.25;
}
.hero h1 .rot { color: var(--rot); }
.hero .extern-links {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}
.hero .extern-links a { text-decoration: none; }
.hero .extern-links a:hover { text-decoration: underline; }

/* Karten */
.card {
  border: 1px solid var(--rand);
  border-radius: 10px;
  padding: 1.6rem;
  margin: 0 0 1.6rem;
  background: var(--hell);
}
.card h2 { margin-top: 0; }

.btn {
  display: inline-block;
  background: var(--rot);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 0.5rem;
}
.btn:hover { background: var(--rot-dunkel); color: #fff; }

.hinweis {
  font-size: 0.9rem;
  color: var(--grau);
  margin-top: 0.6rem;
}

/* TeamViewer-Schaltfläche (Logo lokal eingebunden, lädt nichts extern) */
.tv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem;
  margin-top: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.tv-btn:hover { border-color: #0a3d8f; box-shadow: 0 2px 8px rgba(10,61,143,.18); }
.tv-icon { width: 44px; height: 44px; flex: 0 0 auto; }
.tv-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: #0a3d8f;
  font-weight: 700;
  font-size: 1.25rem;
}
.tv-text small {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--grau);
}

/* Rechtstexte */
.rechtstext h1 { font-size: 1.7rem; }
.rechtstext h2 { font-size: 1.25rem; margin-top: 2rem; }
.rechtstext h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.rechtstext address {
  font-style: normal;
  line-height: 1.7;
}
.platzhalter {
  background: #fff8e1;
  border-left: 4px solid #f0b400;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
}

/* Fuß */
.site-footer {
  background: var(--hell);
  border-top: 1px solid var(--rand);
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  color: var(--grau);
}
.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer nav a {
  margin-right: 1rem;
  text-decoration: none;
}
.site-footer nav a:hover { text-decoration: underline; }

@media (max-width: 540px) {
  body { font-size: 17px; }
  .hero h1 { font-size: 1.55rem; }
}
