/* ==========================================================================
   ext-vl.de — main stylesheet
   v1.0 — 04.05.2026
   ========================================================================== */

/* CSS Variables
   ----------------------------------------------------------------- */
:root {
  /* Colors */
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --bg-card: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;
  --border: #e5e7eb;
  --border-strong: #d1d5db;

  --primary: #1e3a8a;
  --primary-hover: #1e40af;
  --primary-soft: #eff6ff;

  --green: #059669;
  --green-hover: #047857;
  --green-soft: #ecfdf5;

  --red: #dc2626;

  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe57;
  --telegram: #0088cc;
  --telegram-hover: #0077b3;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --gutter: 24px;
  --radius: 12px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset & base
   ----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Layout
   ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  section {
    padding: 88px 0;
  }
}

/* Headings
   ----------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 12px;
}

h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Header
   ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo:hover {
  color: var(--primary);
}

.logo-img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.logo-text strong {
  font-weight: 700;
}

.logo-text small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: -2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  font-size: 14px;
  font-weight: 600;
}

.lang-switch a {
  padding: 6px 10px;
  color: var(--text-muted);
  border-radius: 6px;
}

.lang-switch a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

@media (min-width: 768px) {
  .header-phone {
    display: inline-flex;
  }
}

.header-phone-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
}

.header-phone-mobile:hover {
  background: var(--green-hover);
  color: #fff;
}

@media (min-width: 768px) {
  .header-phone-mobile {
    display: none;
  }
}

/* Buttons
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  color: #fff;
}

.btn-telegram {
  background: var(--telegram);
  color: #fff;
}

.btn-telegram:hover {
  background: var(--telegram-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

/* Hero
   ----------------------------------------------------------------- */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%);
}

@media (min-width: 768px) {
  .hero {
    padding: 96px 0 80px;
  }
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 20px;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-badge span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Cards grid
   ----------------------------------------------------------------- */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 10px;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Format blocks (Section 3)
   ----------------------------------------------------------------- */
.format-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.format-block {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
}

.format-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.format-block-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}

.format-block-icon svg {
  width: 20px;
  height: 20px;
}

.format-block h3 {
  margin: 0;
  font-size: 17px;
}

.format-block ul {
  display: grid;
  gap: 8px;
}

.format-block li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.format-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.mitwirkung {
  grid-column: 1 / -1;
  background: var(--green-soft);
  border-left: 4px solid var(--green);
}

.mitwirkung .format-block-icon {
  background: var(--green);
}

.mitwirkung li::before {
  background: var(--green);
}

.mitwirkung-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.format-disclosure {
  margin-top: 32px;
  text-align: center;
}

/* Disclosure (full duties)
   ----------------------------------------------------------------- */
.disclosure {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  background: var(--bg-card);
  max-width: 880px;
  margin: 32px auto 0;
  overflow: hidden;
}

.disclosure summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.disclosure[open] summary::after {
  transform: rotate(-135deg);
}

.disclosure-body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--border);
}

.disclosure-body h4 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text);
}

.disclosure-body ul {
  margin-bottom: 12px;
}

.disclosure-body li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

.disclosure-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--text-muted);
  border-radius: 50%;
}

.disclosure-body blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  background: var(--green-soft);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
}

.disclosure-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}

.disclosure-body th,
.disclosure-body td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.disclosure-body th {
  background: var(--bg-alt);
  font-weight: 600;
  white-space: nowrap;
}

/* Price section
   ----------------------------------------------------------------- */
.price {
  background: var(--bg-alt);
}

.price-table {
  max-width: 540px;
  margin: 0 auto 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table th {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.price-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text);
}

.price-table tr.minimum td {
  background: #fef9c3;
}

.price-note {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 14px 18px;
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--text);
}

.price-includes {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto 40px;
}

@media (min-width: 768px) {
  .price-includes {
    grid-template-columns: 1fr 1fr;
  }
}

.price-includes-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.price-includes-block h3 {
  font-size: 17px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-includes-block.included h3 {
  color: var(--green);
}

.price-includes-block.excluded h3 {
  color: var(--red);
}

.price-includes-block ul {
  display: grid;
  gap: 10px;
}

.price-includes-block li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.price-includes-block li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.price-includes-block.included li svg {
  color: var(--green);
}

.price-includes-block.excluded li svg {
  color: var(--red);
}

.kuendigung {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
}

.kuendigung p {
  margin-bottom: 8px;
}

.kuendigung p:last-child {
  margin-bottom: 0;
}

.kuendigung strong {
  color: var(--primary);
}

/* About
   ----------------------------------------------------------------- */
.about {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-role {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.about-text {
  text-align: left;
  font-size: 16px;
  line-height: 1.65;
}

.about-text p {
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--primary);
}

/* FAQ
   ----------------------------------------------------------------- */
.faq {
  background: var(--bg-alt);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item-body {
  padding: 0 22px 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* Contact
   ----------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
  }
}

.contact-channels h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.contact-channels ul {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-channels li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.15s ease;
}

.contact-channels li a:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.contact-channels li svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-channels li[data-c="phone"] svg {
  color: var(--text);
}

.contact-channels li[data-c="whatsapp"] svg {
  color: var(--whatsapp);
}

.contact-channels li[data-c="telegram"] svg {
  color: var(--telegram);
}

.contact-channels li[data-c="email"] svg {
  color: var(--primary);
}

.contact-address {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact-address strong {
  color: var(--text);
}

/* Form
   ----------------------------------------------------------------- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .form-card {
    padding: 32px;
  }
}

.form-card h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group label .required {
  color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-submit {
  width: 100%;
}

.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: var(--green-soft);
  color: var(--green-hover);
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  display: block;
  background: #fef2f2;
  color: var(--red);
  border: 1px solid #fecaca;
}

/* Honeypot — hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Footer
   ----------------------------------------------------------------- */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 32px;
  font-size: 14px;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #334155;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
}

/* Legal pages (Impressum / Datenschutz)
   ----------------------------------------------------------------- */
.legal {
  padding: 48px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal h1 {
  margin-bottom: 24px;
  font-size: 32px;
}

.legal h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 22px;
}

.legal p,
.legal ul {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.65;
}

.legal ul {
  padding-left: 24px;
  list-style: disc;
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Utilities
   ----------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
