/* ===== Base ===== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2430;
  background: #f5f6fa;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: #c9912b; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  background: #14161f;
  border-bottom: 3px solid #c9912b;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: 1140px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 48px;
  width: auto;
}
.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.main-nav a {
  color: #f5f6fa;
  font-weight: bold;
}
.header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  white-space: nowrap;
}
.btn-secondary {
  background: transparent;
  border: 2px solid #c9912b;
  color: #c9912b;
}
.btn-secondary:hover {
  background: #c9912b;
  color: #14161f;
  text-decoration: none;
}
.btn-primary {
  background: #c9912b;
  border: 2px solid #c9912b;
  color: #14161f;
}
.btn-primary:hover {
  background: #e3aa3e;
  text-decoration: none;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  background: transparent;
}
.breadcrumbs .container {
  padding-top: 14px;
  font-size: 0.9rem;
  color: #6a6f7d;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumbs a {
  color: #6a6f7d;
}
.breadcrumbs a:hover {
  color: #c9912b;
}

/* ===== Hero ===== */
#hero, #hero-erfahrungen {
  padding: 30px 20px 0;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #14161f;
}
.hero-inner img.hero-banner {
  width: 100%;
  height: auto;
  display: block;
}
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5% 6%;
  background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.05) 100%);
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  margin: 0 0 14px;
  max-width: 600px;
}
.hero-content p {
  color: #e7e7e7;
  max-width: 560px;
  margin: 0 0 20px;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
}
.hero-content .btn-cta {
  align-self: flex-start;
}

/* ===== Main content ===== */
main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  background: #fff;
  border-radius: 10px;
  padding: 28px 28px;
  margin: 24px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
section h2 {
  margin-top: 0;
  color: #14161f;
  border-left: 4px solid #c9912b;
  padding-left: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
table th, table td {
  border: 1px solid #e1e3ea;
  padding: 10px 12px;
  text-align: left;
}
table th {
  background: #f0f1f6;
}

/* ===== TOC accordion ===== */
.toc-accordion {
  background: #fff;
  border-radius: 10px;
  margin: 24px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
}
.toc-accordion summary {
  cursor: pointer;
  list-style: none;
  font-weight: bold;
  font-size: 1.15rem;
  padding: 18px 28px;
  color: #14161f;
  position: relative;
}
.toc-accordion summary::-webkit-details-marker { display: none; }
.toc-accordion summary::after {
  content: "+";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #c9912b;
}
.toc-accordion[open] summary::after {
  content: "\2212";
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0 28px 20px;
  display: flex;
  flex-direction: column;
}
.toc-list li {
  border-top: 1px solid #eceef3;
}
.toc-list li:first-child {
  border-top: none;
}
.toc-list a {
  display: block;
  padding: 10px 4px;
  color: #1f2430;
}
.toc-list a:hover {
  color: #c9912b;
  text-decoration: none;
}

/* ===== FAQ details ===== */
details summary {
  cursor: pointer;
  font-weight: bold;
}
section details {
  border-bottom: 1px solid #eceef3;
  padding: 12px 0;
}

/* ===== Footer ===== */
.site-footer {
  background: #14161f;
  color: #c8c9d2;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a {
  color: #c8c9d2;
}
.footer-links a:hover {
  color: #c9912b;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    padding: 10px 14px;
    gap: 8px;
  }
  .brand img {
    height: 34px;
  }
  .main-nav {
    flex: 0 1 auto;
  }
  .main-nav a {
    font-size: 0.85rem;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: #14161f;
  }
  .hero-inner img.hero-banner {
    border-radius: 12px 12px 0 0;
  }
  .hero-content {
    position: static;
    height: auto;
    width: auto;
    background: none;
    padding: 20px 18px;
  }
  .hero-content h1,
  .hero-content p {
    color: #fff;
  }
  .hero-content p {
    max-width: 100%;
  }
  section {
    padding: 20px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand img { height: 30px; }
  .main-nav a { font-size: 0.78rem; }
  .header-actions .btn {
    padding: 7px 8px;
    font-size: 0.72rem;
  }
  .hero-content h1 {
    font-size: 1.3rem;
  }
  .toc-accordion summary {
    padding: 14px 18px;
    font-size: 1rem;
  }
  .toc-list {
    padding: 0 18px 16px;
  }
}
