/* Profi-Konfigurator — Kaskade im Startseiten-Chrome */
.hero--profi .hero-inner {
  padding-top: 1.35rem;
  padding-bottom: 2.4rem;
}

.hero--profi .hero-copy h1 {
  font-size: clamp(1.7rem, 4.6vw, 2.7rem);
}

.hero--profi .hero-lead {
  margin-bottom: 1rem;
}

#profi {
  --bg: #f4f6f8;
  --card: #fff;
  --ink: #1a2332;
  --muted: #5c6b7a;
  --line: #d8dee6;
  --accent: #f2700d;
  --accent-soft: #fff3e8;
  --warn: #8a5a00;
  --warn-bg: #fff6e0;
  --ask: #6b3d8a;
  --ask-bg: #f5eef9;
  --radius: 6px;
  color: var(--ink);
  line-height: 1.45;
}

#profi,
#profi * {
  box-sizing: border-box;
}

#profi .wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}

#profi .lede {
  color: var(--muted);
  margin: -0.45rem 0 1.1rem;
  font-size: 0.9rem;
}

#profi .card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#profi .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(26, 35, 50, 0.06);
  padding: 0 1.05rem 1.1rem;
  margin: 0;
  overflow: hidden;
}

#profi .card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 -1.05rem 0.85rem;
  padding: 0.75rem 1.05rem 0.85rem;
  background: linear-gradient(to top right, #fff 0%, #fff 52%, #f4f6f8 78%, #e8ebf0 100%);
}

#profi .card-head-text {
  flex: 1;
  min-width: 0;
}

#profi .card-num {
  position: relative;
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#profi .card h2 {
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}

#profi .card-desc {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.35;
}

#profi .card--foto {
  border-color: #ecd9a8;
  background: #fffdf6;
}

#profi .card--foto .card-num {
  background: var(--warn);
}

#profi .card--result {
  background: linear-gradient(180deg, #f4f8fc 0%, #fff 28%);
  border-color: #c8d6e4;
}

#profi .card--result .card-num {
  background: #2c5282;
}

#profi .card--summary .summary {
  margin-top: 0;
}

#profi .card-section {
  margin-bottom: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #eef1f5;
}

#profi .card-section:last-of-type {
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  border-bottom: 0;
}

#profi .card-section-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

#profi .group-intro {
  margin: 0 0 1rem;
}

#profi .group {
  margin: 0 0 1.15rem;
  padding: 0 0 1.1rem;
  border-bottom: 1px solid #eef1f5;
}

#profi .group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

#profi .group-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

#profi .choice-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 560px) {
  #profi .choice-row {
    grid-template-columns: 1fr;
  }
}

#profi .choice {
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 12px 10px;
  cursor: pointer;
  background: #fff;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

#profi .choice:hover {
  border-color: #a8b8c8;
}

#profi .choice.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

#profi .choice strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.92rem;
}

#profi .choice span {
  font-size: 0.78rem;
  color: var(--muted);
}

#profi label.field {
  display: block;
  margin-bottom: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

#profi label.field select,
#profi label.field input,
#profi label.field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

#profi .hint {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}

#profi .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 8px 0 0;
}

#profi .pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 10px;
}

#profi .pill.ok {
  background: var(--accent-soft);
  color: var(--accent);
}

#profi .pill.ask {
  background: var(--ask-bg);
  color: var(--ask);
}

#profi .measures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.15rem;
}

@media (max-width: 480px) {
  #profi .measures {
    grid-template-columns: 1fr;
  }
}

#profi .readonly {
  background: #f7f9fb;
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.9rem;
}

#profi .readonly strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 2px;
}

#profi .foto-box {
  background: var(--warn-bg);
  border: 1px solid #ecd9a8;
  border-radius: 6px;
  padding: 14px;
  color: var(--warn);
  font-size: 0.9rem;
}

#profi .foto-box a {
  color: inherit;
  font-weight: 700;
}

#profi .summary {
  background: #f7f9fb;
  border-radius: 6px;
  padding: 14px;
  font-size: 0.88rem;
  white-space: pre-wrap;
  font-family: ui-monospace, Consolas, monospace;
  line-height: 1.5;
}

#profi .actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

#profi .actions .btn {
  flex: 0 0 auto;
}

#profi .hidden {
  display: none !important;
}

#profi .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#profi .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

@media (max-width: 560px) {
  #profi .contact-grid {
    grid-template-columns: 1fr;
  }
}

#profi .file-name {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

#profi .consent {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  margin: 4px 0 12px;
}

#profi .consent a {
  color: inherit;
  text-decoration: underline;
}

#profi .form-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 0.88rem;
}

#profi .form-status.is-err {
  color: #b42318;
}

#profi .form-status.is-ok {
  color: #027a48;
}

#profi .is-invalid input,
#profi .is-invalid textarea {
  border-color: #b42318;
}

#profi .secure-note {
  margin: 0.75rem 0 0;
}

.profi-side-visual {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.05);
  padding: 0.7rem 0.65rem 0.75rem;
  margin-bottom: 0.65rem;
}

.profi-side-visual-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c6b7a;
}

.profi-side-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.profi-side-visual-item {
  margin: 0;
  min-width: 0;
}

.profi-side-visual-frame {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
}

.profi-side-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% calc(100% * 25 / 35);
}

.profi-side-visual-item figcaption {
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c6b7a;
  line-height: 1.2;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
