:root {
  --primary: #3f6faf;
  --primary-dark: #345f98;
  --soft: #edf4fb;
  --bg: #f7f7fc;
  --surface: #ffffff;
  --text: #19172a;
  --muted: #66637a;
  --border: #e7e5ef;
  --success: #18a76f;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.page,
.footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: .02em;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 11px;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.page {
  padding: 56px 0 72px;
}

.hero {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.12;
}

h2 {
  margin: 36px 0 12px;
  font-size: 23px;
  line-height: 1.25;
}

h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 10px 35px rgba(25, 23, 42, .04);
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--soft);
  border-radius: 14px;
}

ul, ol { padding-left: 22px; }

li + li { margin-top: 5px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-wide { grid-column: 1 / -1; }

label {
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(63, 111, 175, .14);
  border-color: var(--primary);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.success-box {
  padding: 16px 18px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: #eaf8f2;
  color: #116d4b;
  font-weight: 650;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 30px 0 38px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 14px;
}

.company {
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .header-nav { gap: 10px 16px; }

  .page { padding-top: 36px; }

  .form-grid { grid-template-columns: 1fr; }

  .field-wide { grid-column: auto; }
}

/* LEGAL TRANSPARENCY COMPONENTS */

.nowrap {
  white-space: nowrap;
}

.legal-summary {
  margin: 4px 0 28px;
}

.legal-summary strong,
.dispute-box strong {
  display: inline-block;
  margin-bottom: 5px;
}

.legal-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0 0 36px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfbfd;
}

.legal-toc > strong {
  grid-column: 1 / -1;
  color: var(--text);
}

.legal-toc a {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 650;
}

.legal-table-wrap {
  margin: 16px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--soft);
  color: var(--text);
  font-weight: 750;
}

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

.legal-version {
  display: inline-flex;
  margin: 0 0 28px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.rights-grid > div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfbfd;
}

.rights-grid strong,
.rights-grid span {
  display: block;
}

.rights-grid strong {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 14px;
}

.rights-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.dispute-box {
  margin: 18px 0 22px;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .legal-toc,
  .rights-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc > strong {
    grid-column: auto;
  }

  .legal-table th,
  .legal-table td {
    min-width: 180px;
    padding: 12px;
  }
}


/* VACHAR CONTACT DESIGN */

.contact-card {
  padding: 0;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, .82fr) minmax(0, 1.45fr);
}

.contact-intro {
  padding: 38px 34px;
  background:
    linear-gradient(
      145deg,
      #edf4fb 0%,
      #f7f9fd 100%
    );
  border-right: 1px solid var(--border);
}

.contact-kicker,
.contact-form-heading > span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-intro h2,
.contact-form-heading h2 {
  margin: 0 0 10px;
}

.contact-intro > p,
.contact-form-heading p {
  margin: 0;
  color: var(--muted);
}

.contact-types {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-types > div {
  padding: 13px 14px;
  border: 1px solid rgba(63, 111, 175, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}

.contact-types strong,
.contact-types span {
  display: block;
}

.contact-types strong {
  margin-bottom: 2px;
  font-size: 14px;
}

.contact-types span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.contact-security-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(63, 111, 175, .14);
}

.contact-security-note strong {
  font-size: 13px;
}

.contact-security-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.contact-form-panel {
  padding: 38px;
  background: var(--surface);
}

.contact-form-heading {
  margin-bottom: 28px;
}

.contact-form-heading p {
  max-width: 540px;
  font-size: 14px;
}

.contact-form-panel .form-grid {
  gap: 20px;
}

.contact-form-panel .field {
  gap: 8px;
}

.contact-form-panel label {
  color: var(--text);
  font-size: 13px;
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  min-height: 50px;
  border-color: #dedce7;
  background: #fbfbfd;
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.contact-form-panel textarea {
  min-height: 190px;
  padding-top: 14px;
}

.contact-form-panel input:hover,
.contact-form-panel select:hover,
.contact-form-panel textarea:hover {
  border-color: #cbc8d8;
}

.contact-form-panel input:focus,
.contact-form-panel select:focus,
.contact-form-panel textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(63, 111, 175, .09);
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.field-label-row span {
  color: var(--muted);
  font-size: 11px;
}

.contact-submit {
  width: 100%;
  min-height: 52px;
  gap: 10px;
  margin-top: 2px;
  box-shadow: 0 8px 20px rgba(63, 111, 175, .18);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(63, 111, 175, .24);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-privacy {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.contact-success {
  margin: 24px 24px 0;
}

.contact-success strong,
.contact-success span {
  display: block;
}

.contact-success span {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    padding: 26px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .contact-types {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-panel {
    padding: 28px 22px;
  }
}

@media (max-width: 480px) {
  .contact-types {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 24px 18px;
  }
}


/* VACHAR PUBLIC CONTENT DESIGN */

.legal-page,
.support-page,
.community-page,
.delete-page {
  max-width: 900px;
}

.legal-page > h2,
.support-page > h2,
.community-page > h2,
.delete-page > h2 {
  position: relative;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.legal-page > h2:first-child,
.support-page > h2:first-child,
.community-page > h2:first-child,
.delete-page > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-page h2,
.support-page h2,
.community-page h2,
.delete-page h2 {
  letter-spacing: -.015em;
}

.legal-page p,
.support-page p,
.community-page p,
.delete-page p {
  max-width: 790px;
}

.legal-page ul,
.community-page ul,
.delete-page ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 22px;
}

.legal-page li,
.community-page li,
.delete-page li {
  padding-left: 4px;
}

/* SUPPORT */

.support-page h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.support-page h3 + p {
  margin-top: 0;
  color: var(--muted);
}

.support-page h3:not(:first-of-type) {
  margin-top: 25px;
}

.support-page .notice {
  margin-top: 32px;
}

/* DATENSCHUTZ + NUTZUNGSBEDINGUNGEN */

.privacy-page > p:first-child,
.terms-page > p:first-child {
  display: inline-flex;
  margin: 0 0 28px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.privacy-page strong,
.terms-page strong {
  color: var(--text);
}

.privacy-page .notice {
  border-left: 3px solid var(--primary);
}

/* IMPRESSUM */

.imprint-page {
  max-width: 760px;
}

.imprint-page h2 {
  font-size: 18px;
}

.imprint-page p {
  color: var(--muted);
}

.imprint-page p strong {
  color: var(--text);
  font-size: 17px;
}

/* COMMUNITY */

.community-page > h2 {
  margin-bottom: 8px;
}

.community-page > h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--primary);
}

.community-page > h2:first-child::before {
  display: none;
}

/* KONTO LÖSCHEN */

.delete-page > h2 {
  counter-increment: delete-step;
}

.delete-page {
  counter-reset: delete-step;
}

.delete-page > h2::before {
  content: counter(delete-step);
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  vertical-align: 2px;
}

.delete-page .button {
  margin-top: 8px;
}

/* BUTTONS AUF ÖFFENTLICHEN SEITEN */

.support-page .button,
.community-page .button,
.delete-page .button,
.imprint-page .button {
  min-width: 180px;
  box-shadow: 0 7px 18px rgba(63, 111, 175, .15);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.support-page .button:hover,
.community-page .button:hover,
.delete-page .button:hover,
.imprint-page .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(63, 111, 175, .2);
}

/* FOOTER */

.site-footer {
  margin-top: 20px;
}

.footer-links a {
  color: var(--muted);
  transition: color .15s ease;
}

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

/* MOBILE */

@media (max-width: 720px) {
  .legal-page,
  .support-page,
  .community-page,
  .delete-page {
    padding: 24px 20px;
  }

  .legal-page > h2,
  .support-page > h2,
  .community-page > h2,
  .delete-page > h2 {
    margin-top: 32px;
    padding-top: 24px;
  }

  .community-page > h2::before {
    width: 7px;
    height: 7px;
  }
}
