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

:root {
  --color-primary: #000;      /* Schwarz */
  --color-accent: #d4af37;    /* Gold */
  --color-bg: #fff;           /* Weiss */
  --color-text: #111;         /* Dunkles Grau für Lesbarkeit */
  --color-muted: #e9e9e9;     /* Linien/Border */
  --color-soft: #f9f6ef;      /* sehr helles Gold für Flächen */
  --radius: 12px;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
}

.header {
  background: var(--color-bg);
  color: var(--color-text);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-muted);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.6rem 1.2rem 0.8rem 1.2rem;
}

.logo { height: 72px; width: auto; }

.header-titles h1 {
  font-size: 2.2rem;
  margin: 0 0 0.2em 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.subtitle { font-size: 1.05rem; color: #666; margin: 0; }

.header nav {
  display: flex;
  justify-content: center;
  gap: 2.2em;
  padding-bottom: 0.6em;
}

.header nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.2em 0.1em;
  border-bottom: 2px solid transparent;
  transition: border-color .16s, color .16s;
}
.header nav a:hover { color: var(--color-primary); border-color: var(--color-accent); }

.header.stuck { box-shadow: 0 2px 12px 0 #0001; }

.hero {
  text-align: center;
  background: var(--color-bg);
  padding: 3rem 1rem 2.2rem 1rem;
  border-radius: var(--radius);
  margin: 1.5rem auto 2rem auto;
  max-width: 900px;
  border: 1px solid var(--color-muted);
}
.hero h2 { font-size: 2rem; margin-bottom: 0.8em; }

/* Prominentes Logo auf der Startseite */
.hero-logo {
  display: block;
  margin: 0 auto 1rem auto;
  height: 160px;
  width: auto;
}

.cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.85em 2.2em;
  border-radius: 999px;
  font-size: 1.05em;
  margin-top: 1.3em;
  transition: transform .12s ease, opacity .12s ease, background .12s ease;
  text-decoration: none;
}
.cta-btn:hover { transform: translateY(-1px); opacity: 0.95; background: #c39b2a; }
.cta-btn:focus { outline: 3px solid #f1e1a3; outline-offset: 2px; }

main { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

.about, .services {
  margin: 2.5rem 0;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-muted);
  padding: 2rem 1.4rem 2.4rem 1.4rem;
}

.about-wrap { display: flex; flex-wrap: wrap; gap: 2.2rem; align-items: flex-start; margin-top: 1.1rem; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { margin-bottom: 0.7em; font-size: 1.06em; }

.services { margin-top: 2.6rem; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4em; margin-top: 1.2em; }

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius);
  padding: 1.25em 1.1em;
  transition: background .18s, color .18s, border-color .18s;
}
.service-card:hover { background: var(--color-soft); color: var(--color-text); border-color: var(--color-accent); }
.service-card h3 { margin-top: 0; margin-bottom: 0.5em; font-size: 1.12em; color: inherit; }
.service-card p { margin: 0; }

/* Cards als Links */
.service-list a.service-card { display: block; color: inherit; text-decoration: none; }

footer {
  text-align: center;
  background: var(--color-bg);
  color: #555;
  font-size: 0.95em;
  padding: 1.5em 0 1.1em 0;
  border-top: 1px solid var(--color-muted);
  margin-top: 3em;
}
footer a { color: var(--color-text); text-decoration: underline; }
footer a:hover { color: var(--color-accent); }

a { color: var(--color-text); transition: color .14s; }
a:hover { color: var(--color-accent); }

@media (max-width: 820px) {
  .header-bar, .about-wrap { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  main, .hero { padding-left: 0.5rem; padding-right: 0.5rem; }
  .service-list { grid-template-columns: 1fr; gap: 1.1em; }
}

@media (max-width: 520px) {
  .header-titles h1 { font-size: 1.25rem; }
  .logo { height: 44px; }
  .hero-logo { height: 110px; }
  .hero h2 { font-size: 1.13rem; }
  .about, .services, .hero { padding: 1em 0.4em 1.3em 0.4em; margin-top: 0.5em; margin-bottom: 1em; }
}

#scrollToTop {
  position: fixed; bottom: 2.2em; right: 1.3em; z-index: 99;
  display: none; background: var(--color-accent); color: var(--color-primary); border: none;
  border-radius: 50%; width: 48px; height: 48px; font-size: 1.8em; cursor: pointer;
  box-shadow: 0 2px 8px 0 #0002; transition: background .16s, color .16s;
}
#scrollToTop:hover { background: #c39b2a; color: var(--color-primary); }
