/* kennzeichen.direct — Shared Site CSS
   Mobile-first, Token-basiert, ohne Framework. */

:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2338;
  --accent: #c89b3c;
  --accent-soft: #f7eecf;
  --text: #1a1a1a;
  --text-dim: #555;
  --bg: #fafafa;
  --bg-card: #ffffff;
  --border: #e5e5e5;
  --success: #1f6e3a;
  --max-width: 1100px;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0,0,0,.07);
  --shadow-strong: 0 8px 32px rgba(26,58,92,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 720px) {
  .container { padding: 0 32px; }
}

/* === Header === */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.site-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.01em;
}
.site-logo .domain { color: var(--accent); }
.site-nav { display: flex; gap: 22px; }
.site-nav a {
  color: #e8e8e8;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}
.site-nav a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .site-nav { display: none; }
}

/* === Hero === */
.hero {
  padding: 72px 0 80px;
  background: linear-gradient(135deg, #fafafa 0%, #fff 70%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0 0 18px;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--text);
}
.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 760px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

/* === USP-Strip === */
.usp-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.usp {
  background: var(--bg-card);
  padding: 22px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.usp .icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: inline-block;
}
.usp h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--text);
}
.usp p {
  margin: 0;
  font-size: .92rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .15s ease;
  font-family: inherit;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26,58,92,.28);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-accent {
  background: #F0A02D;
  color: #1a1a1a;
  border-color: #F0A02D;
  font-weight: 800;
}
.btn-accent:hover {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240,160,45,.35);
}

/* === Sections === */
section { padding: 64px 0; }
section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 14px;
  letter-spacing: -.015em;
}
section .lead {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 760px;
  margin: 0 0 32px;
}

/* === Tables === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: .96rem;
}
.price-table th, .price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: #f5f5f5; }
.price-table .price { font-weight: 700; color: var(--primary); white-space: nowrap; }
.table-note {
  font-size: .85rem;
  color: var(--text-dim);
  margin: 8px 0 0;
}

/* === Steps === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 36px 0 16px;
  counter-reset: step;
}
.step {
  background: var(--bg-card);
  padding: 32px 26px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 24px;
  background: var(--accent);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(200,155,60,.35);
}
.step h3 { margin: 8px 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--text-dim); font-size: .96rem; }

/* === FAQ === */
.faq-list { max-width: 800px; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 12px;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 22px 22px;
  color: var(--text-dim);
  font-size: .96rem;
}
.faq-item .faq-body p:first-child { margin-top: 0; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* === Cross-Cards (Page-zu-Page Verlinkung) === */
.cross-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.cross-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: all .15s ease;
  display: block;
}
.cross-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
  color: var(--text);
}
.cross-card h3 { margin: 0 0 8px; color: var(--primary); font-size: 1.08rem; }
.cross-card p { margin: 0; color: var(--text-dim); font-size: .94rem; }
.cross-card::after {
  content: '→';
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 700;
}

/* === Info-Box === */
.info-box {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: .95rem;
  color: #5a4710;
}

/* === Footer === */
.site-footer {
  background: #1a1a1a;
  color: #f1f5f9;
  padding: 56px 0 28px;
  margin-top: 80px;
  font-size: .94rem;
  line-height: 1.6;
}
.site-footer a { color: #fbbf24; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: #fcd34d; text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-grid h4 {
  color: #fff;
  font-size: .82rem;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid li a { color: #e2e8f0; font-weight: 500; }
.footer-grid li a:hover { color: #fff; }
.footer-grid p { margin: 0 0 16px; color: #e2e8f0; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #404040;
  font-size: .85rem;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.cross-link {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 16px;
  background: #2a2a2a;
  border-radius: 8px;
  font-size: .9rem;
  color: #f1f5f9;
  text-decoration: none;
  border: 1px solid #404040;
  font-weight: 500;
}
.cross-link:hover { border-color: var(--accent); color: #fff; background:#333 }
.cross-link strong { color: #fbbf24; }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* === Breadcrumb === */
.breadcrumb {
  font-size: .85rem;
  color: var(--text-dim);
  padding: 16px 0 0;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 6px; color: #999; }

/* === Utility === */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
