  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg:           #F5F2EE;
    --surface:      #FFFFFF;
    --border:       #E2DDD8;
    --border-focus: #1A1A2E;
    --text:         #1A1A2E;
    --text-muted:   #6B6760;
    --accent:       #1A1A2E;
    --accent-light: #F0EDE8;
    --success-bg:   #EAF3DE;
    --success-text: #27500A;
    --error-bg:     #FCEBEB;
    --error-text:   #791F1F;
    --error-border: #F09595;
    --tag-bg:       #EEE9E3;
    --tag-active:   #1A1A2E;
    --tag-active-t: #FFFFFF;
    --radius:       14px;
    --radius-sm:    8px;
    --shadow:       0 2px 24px rgba(26,26,46,.06), 0 1px 4px rgba(26,26,46,.04);
    --transition:   .18s cubic-bezier(.4,0,.2,1);
  }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 1.6;
  }

  /* ── Header ── */
  .site-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
  }
  .logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -.01em;
  }
  .logo img {
    /* Sorgt dafür, dass das Bild nie breiter als sein Container wird */
    max-width: 100%; 
    /* Erhält das Seitenverhältnis aus der viewBox */
    height: auto;    
    /* Verhindert das 0x0 Problem in Flex-Containern */
    width: 15rem;    /* Oder ein relativer Wert wie 20% */
    display: block;
  }
  .header-nav { display: flex; gap: 1.5rem; }
  .header-nav a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: .02em;
    transition: color var(--transition);
  }
  .header-nav a:hover { color: var(--text); }

  /* ── Main layout ── */
  .page-wrap {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 3rem 1.25rem 4rem;
  }
  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 560px;
    padding: 2.75rem 2.5rem 2.25rem;
  }

  /* ── Card header ── */
  .card-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .75rem;
  }
  .card-eyebrow::before {
    content: '';
    display: block;
    width: 18px;
    height: 1px;
    background: var(--text-muted);
  }
  .card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
    color: var(--text);
  }
  .card-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 2rem;
  }

  /* ── Alerts ── */
  .alert {
    border-radius: var(--radius-sm);
    padding: .875rem 1rem;
    font-size: 14px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: .625rem;
  }
  .alert svg { flex-shrink: 0; margin-top: 1px; }
  .alert-success { background: var(--success-bg); color: var(--success-text); }
  .alert-error   { background: var(--error-bg);   color: var(--error-text); border: 1px solid var(--error-border); }
  .alert-error ul { padding-left: 1rem; margin-top: .25rem; }
  .alert-error li { margin-bottom: .15rem; }

  /* ── Form fields ── */
  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
  }
  label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .4rem;
  }
  label .opt {
    font-weight: 400;
    font-size: 11px;
    color: var(--text-muted);
    opacity: .65;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 4px;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .7rem .9rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text);
    transition: border-color var(--transition), background var(--transition);
    outline: none;
    width: 100%;
    -webkit-appearance: none;
  }
  input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: .55; }
  input:hover, textarea:hover { border-color: #C5BFBA; }
  input:focus, textarea:focus { border-color: var(--border-focus); background: var(--surface); }
  textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

  /* Honeypot */
  .hp { display: none !important; }

  /* ── Mehrfachauswahl (Chips) ── */
  .options-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .65rem;
  }
  .chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
  }
  .chip input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
  .chip label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .45rem .9rem;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
    user-select: none;
    transition: all var(--transition);
  }
  .chip label::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--border);
    border-radius: 3px;
    background: var(--surface);
    flex-shrink: 0;
    transition: all var(--transition);
  }
  .chip input:checked + label {
    background: var(--tag-active);
    border-color: var(--tag-active);
    color: var(--tag-active-t);
  }
  .chip input:checked + label::before {
    background: #fff;
    border-color: rgba(255,255,255,.4);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%231A1A2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 8px 7px;
    background-position: center;
    background-repeat: no-repeat;
  }
  .chip label:hover { border-color: var(--border-focus); }

  /* ── Checkboxes (Datenschutz, Cookies) ── */
  .consent-block {
    border-top: 1px solid var(--border);
    margin-top: .5rem;
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-bottom: 1.5rem;
  }
  .consent-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
  }
  .consent-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    background: var(--bg);
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--accent);
    margin-top: 1px;
  }
  .consent-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
  }
  .consent-text a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 2px;
    transition: text-decoration-color var(--transition);
  }
  .consent-text a:hover { text-decoration-color: var(--text); }
  .required-mark { color: #D85A30; }

  /* ── Submit button ── */
  .btn-submit {
    width: 100%;
    padding: .85rem 1.5rem;
    background: var(--accent);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: opacity var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: .01em;
  }
  .btn-submit:hover   { opacity: .88; }
  .btn-submit:active  { transform: scale(.99); opacity: .8; }
  .btn-submit svg { width: 18px; height: 18px; }

  /* ── Footer ── */
  .site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1.25rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }
  .footer-copy { font-size: 12px; color: var(--text-muted); }
  .footer-links { display: flex; gap: 1.25rem; }
  .footer-links a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
  }
  .footer-links a:hover { color: var(--text); }

  /* ── Responsive ── */
  @media (max-width: 560px) {
    .card { padding: 2rem 1.25rem 1.75rem; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .card-title { font-size: 1.65rem; }
    .site-header { padding: 1rem 1.25rem; }
    .header-nav { gap: .9rem; }
    .header-nav a:first-child { display: none; }
    .site-footer { flex-direction: column; align-items: flex-start; }
  }

  /* ── Focus visible ── */
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* ── Success check animation ── */
  .success-check { animation: pop .35s cubic-bezier(.175,.885,.32,1.275) both; }
  @keyframes pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }

  /* ── Fade-in ── */
  .card { animation: fadeUp .35s ease both; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }