    html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    :root { color-scheme: light dark; }

    /* --- globale Variablen --- */
    :root {
      --accent: #f6cd48;
      --text: #1a1a1a;
      --muted: #555;
      --glass-chrome-start: rgba(255,255,255,.55);
      --glass-chrome-end: rgba(255,255,255,.28);
      --glass-border: rgba(255,255,255,.45);
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.8) 0%, rgba(245,247,255,.9) 40%, transparent 80%),
        linear-gradient(180deg, #f6f7fb 0%, #e9ecf5 100%);
      background-attachment: fixed;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* === Links global: niemals blau === */
    a,
    a:visited,
    footer a,
    footer .footer-links a {
      color: var(--text) !important;
      text-decoration: none !important;
    }

    a:hover,
    footer a:hover,
    footer .footer-links a:hover {
      color: var(--text) !important;
      text-decoration: underline !important;
      text-underline-offset: 3px;
    }

    /* === Header/Footer === */
    .chrome {
      background: linear-gradient(180deg, var(--glass-chrome-start), var(--glass-chrome-end));
      -webkit-backdrop-filter: blur(18px) saturate(160%);
      backdrop-filter: blur(18px) saturate(160%);
    }

    /* ===== HEADER als große Pille (wie Startseite) ===== */
header.chrome {
  position: sticky;
  top: 16px;
  z-index: 1000;
  overflow: visible !important;

  width: min(1280px, 100% - 48px);
  margin: 16px auto;
  border-radius: 999px;

  padding: 14px 40px;
  display: flex;
  align-items: center;

  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);

  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.28));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);

  transition: background .25s, box-shadow .25s, border-color .25s, padding .25s;
}

header.chrome.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
}

    .logo{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.logo .pv-logo{
  height:32px;
  width:auto;
  display:block;
}

    .wrap {
      max-width: 1100px;
      margin: 0 auto;
      width: 100%;
      padding: 80px 20px;
      flex: 1;
    }

    .panel {
      background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.12));
      -webkit-backdrop-filter: blur(18px) saturate(140%);
      backdrop-filter: blur(18px) saturate(140%);
      border: 1px solid rgba(255,255,255,.35);
      border-radius: 22px;
      box-shadow: 0 18px 40px rgba(15,23,42,.10);
      padding: 32px 26px;
      transition: border-color .25s, box-shadow .25s;
    }

    .panel:hover,
    .panel:focus-within {
      border-color: #f6cd48;
      box-shadow: 0 0 0 3px rgba(246,205,72,.25), 0 12px 28px rgba(15,23,42,.12);
    }

.subtitle {
  font-size: 15px;          /* exakt gleiche Größe wie dein Body-Text */
  line-height: 1.5;
  color: #6b7280;           /* gleiches Grau wie deine Counter */
  margin-top: -6px;         /* dichter an der Überschrift */
  margin-bottom: 26px;      /* harmonischer Abstand zu den Feldern */
  font-weight: 400;
}

    footer.chrome {
      margin-top: auto;
      text-align: center;
      padding: 20px 16px;
      font-size: 15px;
    }

    footer .footer-links {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
      justify-content: center;
    }

    footer .divider {
      opacity: 0.4;
    }

    :root { --text-h: 48px; }

/* Abstand & Zeilen-Container wie im Original */
.field{ margin:22px 0; }
.input-row{ position:relative; max-width:760px; }

/* gleiche Pill-Optik + Hover/Focus-Glow (für alle Felder ident) */
.text-input{
  width:100%;
  height:var(--text-h);              /* gleiche Start-Höhe */
  padding:12px 14px;
  border-radius:16px;                /* überall gleiche Rundung */
  border:1px solid rgba(0,0,0,.18);
  background:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.4), inset 0 1px 2px rgba(0,0,0,.03);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.input-row:hover .text-input{
  box-shadow:0 4px 12px rgba(0,0,0,.10), inset 0 1px 2px rgba(0,0,0,.03);
}
.text-input:focus{
  border-color:#f6cd48;
  box-shadow:0 6px 16px rgba(246,205,72,.22), inset 0 1px 2px rgba(0,0,0,.03);
  outline:0;
}

/* Textareas starten gleich hoch wie Inputs; Auto-Resize übernimmt JS */
textarea.text-input{
  min-height:var(--text-h);
  height:var(--text-h);              /* gleiche Anfangshöhe */
  line-height:1.5;
  resize:none;
  overflow:hidden;
  padding:12px 14px;
}

/* Placeholder mittig, solange 1-Zeile */
.textarea-auto{ line-height:calc(var(--text-h) - 24px); }
.textarea-auto::placeholder{ line-height:inherit; }
.textarea-auto:not(:placeholder-shown){ line-height:1.5; }

    /* Text vertikal zentrieren */
.text-input {
  display: flex;
  align-items: center;      /* vertikal zentrieren */
}

/* Für Textareas wieder normales Verhalten (mehrzeilig) */
textarea.text-input {
  display: block;
  padding-top: 14px;
  padding-bottom: 14px;
  line-height: 1.5;
}

/* Zähler direkt unter dem Feld platzieren */
.input-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Zähler rechtsbündig */
  gap: 4px;
}

.char-counter {
  font-size: 13px;
  color: #6b7280;
  margin-right: 4px;
  transition: color 0.2s ease;
}

.char-counter.limit {
  color: #dc2626;
  font-weight: 500;
}

    .label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

    /* zentriert den Brief unter den Feldern */
.letter-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

/* vorhandenes Layout des Briefs anpassen */
.letter-image {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 200px;
  height: 200px;
  cursor: pointer;
}

/* === Brief in Logo-Farbverlauf === */
.animated-mail .body {
  border-color: transparent transparent #ffd43b transparent; /* fallback */
}

/* === Brief-Animation (flache CSS-Version mit Verlauf) === */
.letter-image {
  position: relative;
  width: 200px;
  height: 200px;
  cursor: pointer;
}

.animated-mail {
  position: relative;
  width: 200px;
  height: 150px;
  transition: .4s;
}

/* Umschlagteile */
.animated-mail .body {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 100px 200px;
  border-color: transparent transparent #ffd43b transparent;
  background: linear-gradient(90deg, #ffd43b 0%, #3776ab 100%);
  z-index: 2;
}

.animated-mail .top-fold {
  position: absolute;
  top: 50px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 100px 0 100px;
  border-color: transparent transparent transparent transparent;
  background: linear-gradient(90deg, #ffd43b 0%, #3776ab 100%);
  transform-origin: 50% 0%;
  transition: transform .4s .4s, z-index .2s .4s;
  z-index: 2;
}

.animated-mail .back-fold {
  position: absolute;
  bottom: 0;
  width: 200px;
  height: 100px;
  background: linear-gradient(90deg, #ffd43b 0%, #3776ab 100%);
  z-index: 0;
}

.animated-mail .left-fold {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 0 50px 100px;
  border-color: transparent transparent transparent #ffd43b;
  background: linear-gradient(90deg, #ffd43b 0%, #3776ab 100%);
  z-index: 2;
}

/* Brief selbst */
.animated-mail .letter {
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 160px;
  height: 60px;
  background: #fff;
  z-index: 1;
  overflow: hidden;
  transition: .4s .2s;
}

.animated-mail .letter-border {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #ffd43b,
    #ffd43b 8px,
    transparent 8px,
    transparent 18px
  );
}

.animated-mail .letter-title {
  margin-top: 10px;
  margin-left: 5px;
  height: 10px;
  width: 40%;
  background: linear-gradient(90deg, #ffd43b 0%, #3776ab 100%);
}

.animated-mail .letter-context {
  margin-top: 10px;
  margin-left: 5px;
  height: 10px;
  width: 20%;
  background: linear-gradient(90deg, #ffd43b 0%, #3776ab 100%);
}

.animated-mail .letter-stamp {
  margin-top: 30px;
  margin-left: 120px;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  background: linear-gradient(90deg, #ffd43b 0%, #3776ab 100%);
  opacity: 0.3;
}

.animated-mail .letter-stamp-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Schatten */
.letter-image .shadow {
  position: absolute;
  top: 200px;
  left: 50%;
  width: 400px;
  height: 30px;
  transform: translateX(-50%);
  transition: .4s;
  border-radius: 100%;
  background: radial-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
}

/* Hover-Effekte */
.letter-image:hover .animated-mail {
  transform: translateY(50px);
}

.letter-image:hover .animated-mail .top-fold {
  transform: rotateX(180deg);
  transition: transform .4s, z-index .2s;
  z-index: 0;
}

.letter-image:hover .animated-mail .letter {
  height: 180px;
}

.letter-image:hover .shadow {
  width: 250px;
}

        /* 📱 Handy-Footer identisch zur Hauptseite */
@media (max-width: 480px) {
  footer.chrome {
    padding: 18px 10px;   /* gleiche Innenabstände */
    font-size: 14px;      /* kleinere Schrift wie im Formular */
  }

  footer .footer-links {
    flex-direction: column !important;  /* Links untereinander */
    align-items: center;
    justify-content: center;
    gap: 6px;                           /* gleichmäßiger Abstand */
  }

  footer .divider {
    display: none !important;           /* senkrechte Striche ausblenden */
  }
}
    @media (max-width: 480px) {
  footer .footer-links a[href*="agb"]      { order: 1; }
  footer .footer-links a[href*="impressum"] { order: 2; }
  footer .footer-links a[href*="datenschutz"] { order: 3; }
  footer .footer-links a[href*="leistungen"]  { order: 4; }
  footer .footer-links a[href^="mailto:"]     { order: 5; }

  footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  footer .divider {
    display: none !important;
  }
}
    /* Footer-Links ausgegraut, beim Hover schwarz */
footer .footer-links a {
  color: #b9b9b9 !important;   /* hellgrau wie im Screenshot */
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer .footer-links a:hover {
  color: #000 !important;       /* beim Hover schwarz */
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Trenner auch grau */
footer .footer-links .divider {
  color: #b9b9b9;
  opacity: 1;                   /* damit es genauso wirkt wie im Screenshot */
}

  .footer-copy {
  margin-top: 20px;
  font-size: 11.5px;
  color: rgba(0,0,0,0.55);
  text-align: center;
}

    .footer-copy {
  letter-spacing: 0.2px;
}

    .mode-toggle{
  display:inline-flex;
  gap:8px;
  padding:6px;
  border-radius:999px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 8px 18px rgba(15,23,42,.08);
  margin: 6px 0 10px;
}

.mode-btn{
  border:0;
  background:transparent;
  padding:8px 14px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  color:var(--text);
}

.mode-btn.active{
  background: rgba(0, 0, 0, 0.08);
  color: #1a1a1a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 6px 16px rgba(15,23,42,.12);
}
/* ===== CTA wie im Karriere-Bild ===== */
.career-cta{
  margin-top:32px;
  padding:18px 18px;
  border-radius:18px;
  background:linear-gradient(90deg, rgba(255,212,59,.18), rgba(55,118,171,.08));
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:space-between;
}

.career-cta-text{
  font-size:15px;
  color:#111827;
}

.career-cta-text #t_preq_cta_sub{
  display:block;
  font-size:13px;
  color:#4b5563;
  margin-top:2px;
}

/* CTA Titel immer wie früher */
#cta-request{
  display:block;
  font-weight:700 !important;
  font-size:18px !important;
  line-height:1.25;
  color:#111827 !important;
}

/* Die Titel-Spans dürfen NICHT von span-Regeln klein gemacht werden */
#cta-request #t_preq_cta_title,
#cta-request #t_preq_cta_title_existing{
  font-weight:700 !important;
  font-size:18px !important;
  color:#111827 !important;
}

.career-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

/* Button Optik */
.btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:999px;
  border:none;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  text-decoration:none;
  transition:background .15s,box-shadow .15s,transform .1s,filter .15s;
}

.btn-primary{
  background: #2F5FD7;          /* PlusVision / PRO-Blau */
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(47,95,215,.28);
  text-decoration: none;        /* Basis: kein Unterstrich */
}

.btn-primary:hover{
  background: #244DBA;          /* Hover-Blau */
  box-shadow: 0 12px 28px rgba(47,95,215,.38);
  transform: translateY(-1px);

  text-decoration: underline;  /* ✅ Unterstrich */
  text-decoration-color: #fff; /* ✅ weiß */
  text-underline-offset: 4px;  /* optisch hochwertig */
}

.btn-primary:active{
  transform: translateY(0);
  box-shadow: none;
}

@media(max-width:640px){
  .career-cta{ align-items:flex-start; }
  .career-cta-actions{ width:100%; justify-content:flex-start; }
}

    .header-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  flex-wrap:wrap;
}
.header-actions a{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid transparent;
  text-decoration:none!important;
}
.header-actions a:hover{
  border-color:rgba(0,0,0,0.06);
  background:rgba(255,255,255,0.7);
}

    .headline-with-icon{
  display:flex;
  align-items:center;
  gap:14px;          /* Abstand zwischen Icon & Text */
}

.headline-with-icon img{
  width:54px;        /* Größe nach Geschmack */
  height:auto;
  opacity:0.95;      /* elegant */
}

.headline-with-icon h1{
  margin:0;
}

  /* roter Rahmen bei Fehler */
  .text-input.error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,.18) !important;
  }

      .errorbox{
    margin-top:14px;
    padding:10px 12px;
    border-radius:12px;
    font-size:13px;
    display:none;
    border:1px solid #fecaca;
    background:#fee2e2;
    color:#b91c1c;
  }
  .errorbox.visible{display:block;}


    /* CTA-Titel immer wie früher fett + größer */
#cta-request{
  display:block;
  font-weight:800;
  font-size:20px;
  line-height:1.25;
  color:#111827;
}

/* 📱 Mobile Header – Logo näher an den Rand */
@media (max-width: 640px){

  header.chrome{
    padding: 12px 12px;     /* vorher ~14px 16–40px → weniger Innenrand */
  }

  /* Logo minimal optisch ausbalancieren */
  .logo{
    margin-left: 0;         /* falls irgendwo Margin sitzt → weg */
  }

  .logo .pv-logo{
    margin-left: -2px;      /* Optical alignment (Logo wirkt mittiger) */
  }
}