:root {
  --zv-primary: #1ABC9C;
  --zv-primary-dark: #16A085;
  --zv-warning: #E67E22;
  --zv-warning-bg: #FEF5EC;
  --zv-danger: #C0392B;
  --zv-success: #27AE60;
  --zv-bg: #F8FAFB;
  --zv-card: #FFFFFF;
  --zv-text: #1F2D3D;
  --zv-muted: #5A6B7B;
  --zv-border: #E5EAEE;
  --zv-radius: 14px;
  --zv-shadow: 0 1px 2px rgba(31, 45, 61, .04), 0 4px 16px rgba(31, 45, 61, .06);
  --zv-shadow-lg: 0 2px 4px rgba(31, 45, 61, .04), 0 12px 32px rgba(31, 45, 61, .08);
}

* { box-sizing: border-box; }

body {
  background-color: var(--zv-bg);
  color: var(--zv-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--zv-text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-top: 0; }

a { color: var(--zv-primary-dark); text-decoration: none; }
a:hover { color: var(--zv-primary); text-decoration: underline; }

.zv-nav {
  background: var(--zv-card);
  border-bottom: 1px solid var(--zv-border);
  padding: 1rem 0;
}

.zv-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.zv-logo {
  display: inline-flex;
  align-items: center;
  color: var(--zv-text);
  text-decoration: none;
}
.zv-logo:hover { text-decoration: none; }
.zv-logo-img {
  display: block;
  height: 45px;
  width: auto;
}

.zv-lang-toggle {
  display: inline-flex;
  background: var(--zv-bg);
  border: 1px solid var(--zv-border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.zv-lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--zv-muted);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
}

.zv-lang-toggle button.active {
  background: var(--zv-primary);
  color: #fff;
}

.zv-lang-toggle button:hover:not(.active) {
  color: var(--zv-text);
}

main.zv-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.zv-hero {
  background: linear-gradient(135deg, #FFF7EC 0%, var(--zv-warning-bg) 100%);
  border: 1px solid #F5D8B5;
  border-left: 6px solid var(--zv-warning);
  border-radius: var(--zv-radius);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--zv-shadow);
  margin-bottom: 2rem;
}

.zv-hero .zv-hero-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--zv-warning);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zv-hero h1 {
  margin: 0 0 .5rem;
  color: #6B3F0A;
}

.zv-hero p {
  margin: 0;
  color: #7A4A12;
  font-size: 1.05rem;
}

.zv-section {
  background: var(--zv-card);
  border: 1px solid var(--zv-border);
  border-radius: var(--zv-radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--zv-shadow);
  margin-bottom: 1.25rem;
}

.zv-section h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.zv-section h2 .zv-icon {
  width: 28px;
  height: 28px;
  background: var(--zv-bg);
  color: var(--zv-primary-dark);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zv-section p { margin: 0 0 .9rem; color: var(--zv-text); }
.zv-section p:last-child { margin-bottom: 0; }

.zv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zv-list li {
  position: relative;
  padding: .65rem 0 .65rem 2rem;
  border-bottom: 1px solid var(--zv-border);
}

.zv-list li:last-child { border-bottom: 0; }

.zv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--zv-danger);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'><path d='M6 6l12 12M18 6L6 18'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.zv-list.zv-list-check li::before {
  background: var(--zv-success);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.zv-report {
  background: linear-gradient(135deg, #EAFBF5 0%, #DFF6EE 100%);
  border: 1px solid #B6E8D5;
  border-radius: var(--zv-radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--zv-shadow);
}

.zv-report h2 { color: #0E5A45; }
.zv-report h2 .zv-icon { background: #fff; color: var(--zv-success); }

.zv-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--zv-primary);
  color: #fff;
  border: 0;
  padding: .7rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.zv-btn-primary:hover { background: var(--zv-primary-dark); color: #fff; text-decoration: none; }

.zv-kbd {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--zv-border);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .85em;
  color: var(--zv-text);
}

.zv-footer {
  text-align: center;
  color: var(--zv-muted);
  font-size: .85rem;
  padding: 2rem 1rem 1rem;
}

.zv-footer a { color: var(--zv-muted); }

/* Index page table */
.zv-topic-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--zv-card);
  border-radius: var(--zv-radius);
  overflow: hidden;
  box-shadow: var(--zv-shadow);
}

.zv-topic-table th,
.zv-topic-table td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--zv-border);
  vertical-align: top;
}

.zv-topic-table th {
  background: var(--zv-bg);
  font-weight: 600;
  font-size: .85rem;
  color: var(--zv-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.zv-topic-table tr:last-child td { border-bottom: 0; }

.zv-topic-table code {
  background: var(--zv-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .85em;
  color: var(--zv-primary-dark);
}

/* Language visibility (controlled by JS via html[lang]) */
html[lang="en"] [data-lang="de"],
html[lang="de"] [data-lang="en"] {
  display: none !important;
}

@media (max-width: 600px) {
  main.zv-main { padding: 1.5rem 1rem 3rem; }
  .zv-hero { padding: 1.5rem; flex-direction: column; }
  .zv-section, .zv-report { padding: 1.25rem; }
  .zv-topic-table th, .zv-topic-table td { padding: .65rem .75rem; font-size: .9rem; }
}
