/* Folien8.de – gemeinsame Styles */
:root {
  --bg: #0f1419;
  --surface: #1a222c;
  --border: #2a3544;
  --text: #e8eef5;
  --muted: #9aacbd;
  --accent: #3d9eff;
  --accent-hover: #6ab4ff;
  --accent-soft: rgba(61, 158, 255, 0.12);
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(61, 158, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 40%, rgba(61, 158, 255, 0.06), transparent 45%);
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 99;
}

.wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 22px;
}

.wrap--wide {
  max-width: 1080px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 20, 25, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
    padding: 8px 0 16px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .nav-list a {
    padding: 10px 0;
  }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}

.nav-list a {
  color: #c5d0dc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--accent);
}

main {
  padding: 40px 0 72px;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.45;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

h1 {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin: 0 0 14px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 28px;
}

.prose p {
  margin: 0 0 16px;
  color: #c5d0dc;
}

.prose h2 {
  font-size: 1.28rem;
  font-weight: 700;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.prose h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 26px 0 10px;
  color: #dce4ec;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 1.25em;
  color: #c5d0dc;
}

.prose li {
  margin-bottom: 8px;
}

.card-grid {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

@media (min-width: 560px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.topic-card {
  display: block;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.topic-card:hover {
  border-color: rgba(61, 158, 255, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.topic-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  border: none;
  padding: 0;
  color: var(--text);
}

.topic-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.topic-card .more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}

.panel > h2:first-child,
.panel > h3:first-child {
  margin-top: 0;
}

.link-grid {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.link-grid a {
  display: block;
  padding: 12px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.link-grid a:hover {
  border-color: var(--accent);
  background: rgba(61, 158, 255, 0.2);
}

.link-grid a span {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: rgba(26, 34, 44, 0.65);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq-list details[open] summary {
  margin-bottom: 10px;
}

.faq-list details p {
  margin: 0;
  color: #c5d0dc;
  font-size: 0.98rem;
}

.trust-strip {
  display: grid;
  gap: 16px;
  margin: 32px 0;
  padding: 22px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(26, 34, 44, 0.4);
}

@media (min-width: 600px) {
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-strip h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  border: none;
  padding: 0;
}

.trust-strip p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7d8fa3;
}

.site-footer a {
  display: block;
  margin-bottom: 6px;
  color: #b4c0ce;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom a {
  display: inline;
  margin-right: 16px;
}
