
/* Preisrechner "Kalkuliere deine Preise" (Startseite und Seite Anfragen) */
#anfrage.scf {
  --scf-bg: #f3ece2;
  --scf-surface: #fbf8f3;
  --scf-ink: #2a1e17;
  --scf-muted: #8a7666;
  --scf-line: #e4d7c6;
  --scf-accent: #c29a6b;
  --scf-accent-ink: #2a1e17;
  --scf-accent-text: #8f6a43;
  --scf-accent-soft: #f0e3d0;
  --scf-error: #b3261e;
  --scf-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --scf-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --scf-card-h: 640px;
  scroll-margin-top: 80px;
}

#anfrage.scf, #anfrage.scf * { box-sizing: border-box; }
#anfrage.scf {
  background: var(--scf-bg);
  color: var(--scf-ink);
  font-family: var(--scf-body);
  font-size: 16px;
  line-height: 1.55;
  padding-block: clamp(36px, 6vw, 80px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
#anfrage .scf-wrap {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 600px; gap: clamp(32px, 5vw, 72px); align-items: center;
}

/* Linke Seite */
.scf-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--scf-accent); display: flex; align-items: center; gap: 8px; }
#anfrage .scf-eyebrow svg { width: 14px; height: 14px; fill: var(--scf-accent); }
#anfrage.scf .scf-title {
  font-family: var(--scf-display); font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em;
  margin: 18px 0 22px; text-wrap: balance;
}
#anfrage.scf .scf-title em { display: block; font-style: italic; color: var(--scf-accent); }
#anfrage .scf-lead { font-size: 1.08rem; color: var(--scf-muted); max-width: 46ch; margin: 0 0 28px; }
#anfrage .scf-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
#anfrage .scf-points li { display: flex; gap: 12px; align-items: baseline; }
#anfrage .scf-points li::before { content: ""; flex: none; width: 8px; height: 8px; transform: translateY(-2px) rotate(45deg); background: var(--scf-accent); }

/* Karte mit fester Größe */
.scf-card {
  width: 100%; height: var(--scf-card-h);
  display: flex; flex-direction: column;
  background: var(--scf-surface);
  border: 1px solid var(--scf-line);
  border-radius: 8px;
  box-shadow: 0 30px 60px -40px rgba(60, 35, 15, .35);
  overflow: hidden;
}
#anfrage .scf-top { flex: none; padding: 22px 28px 0; }
#anfrage .scf-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#anfrage .scf-badge { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--scf-accent-soft); color: var(--scf-accent); padding: 6px 12px; border-radius: 99px; }
#anfrage .scf-count { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--scf-muted); font-variant-numeric: tabular-nums; }
#anfrage .scf-bar { height: 3px; background: var(--scf-line); margin-top: 16px; border-radius: 3px; overflow: hidden; }
#anfrage .scf-bar span { display: block; height: 100%; width: 0; background: var(--scf-accent); border-radius: 3px; transition: width .45s cubic-bezier(.2,.7,.2,1); }

#anfrage .scf-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--scf-muted); min-height: 1.9em; }
#anfrage .scf-total-v { text-transform: none; letter-spacing: 0; text-align: right; }
#anfrage .scf-total strong { font-family: var(--scf-display); font-weight: 400; font-size: 1.35rem; color: var(--scf-ink); font-variant-numeric: tabular-nums; }
#anfrage .scf-total .m { color: var(--scf-accent); font-weight: 700; font-size: .85rem; white-space: nowrap; }
#anfrage .scf-total .pulse { animation: scf-pulse .4s ease; display: inline-block; }
@keyframes scf-pulse { 50% { transform: scale(1.08); color: var(--scf-accent); } }
#anfrage .scf-price { margin-top: 5px; align-self: flex-start; font-style: normal; font-size: .76rem; font-weight: 700; color: var(--scf-accent); background: var(--scf-accent-soft); padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
#anfrage .scf-opt[aria-pressed="true"] .scf-price { background: var(--scf-surface); }
#anfrage .scf-big { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 4px 0 18px; }
#anfrage .scf-big div { display: flex; flex-direction: column; }
#anfrage .scf-big small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--scf-muted); font-weight: 700; }
#anfrage .scf-big b { font-family: var(--scf-display); font-weight: 400; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.1; color: var(--scf-accent); font-variant-numeric: tabular-nums; }
#anfrage .scf-calc { border: 1px solid var(--scf-line); border-radius: 8px; overflow: hidden; }
#anfrage .scf-calc div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--scf-line); font-size: .92rem; }
#anfrage .scf-calc div:last-child { border-bottom: 0; }
#anfrage .scf-calc span:first-child { min-width: 0; }
#anfrage .scf-calc span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
#anfrage .scf-calc .inc span:last-child { color: var(--scf-muted); font-weight: 400; }
#anfrage .scf-fine { font-size: .8rem; color: var(--scf-muted); margin: 12px 0 0; line-height: 1.5; }
#anfrage .scf-stage { flex: 1; min-height: 0; overflow-y: auto; padding: 26px 28px 20px; scrollbar-width: thin; }
#anfrage .scf-step { animation: scf-in .35s ease both; }
#anfrage .scf-step.back { animation-name: scf-in-back; }
@keyframes scf-in { from { opacity: .2; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes scf-in-back { from { opacity: .2; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
#anfrage.scf .scf-q { font-family: var(--scf-display); font-weight: 400; font-size: clamp(1.5rem, 3.6vw, 1.95rem); line-height: 1.15; margin: 0 0 8px; text-wrap: balance; }
#anfrage .scf-sub { color: var(--scf-muted); margin: 0 0 20px; font-size: .95rem; }

#anfrage .scf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#anfrage .scf-grid.list { grid-template-columns: 1fr; }
#anfrage .scf-opt {
  display: flex; align-items: center; gap: 12px; text-align: left;
  font: inherit; color: inherit; background: var(--scf-surface);
  border: 1px solid var(--scf-line); border-radius: 8px; padding: 13px 14px; cursor: pointer; min-width: 0;
  transition: border-color .2s, background .2s;
}
#anfrage .scf-opt:hover { border-color: var(--scf-accent); }
#anfrage .scf-opt:focus-visible { outline: 2px solid var(--scf-accent); outline-offset: 2px; }
#anfrage .scf-opt[aria-pressed="true"] { border-color: var(--scf-accent); background: var(--scf-accent-soft); }
#anfrage .scf-opt svg { flex: none; width: 30px; height: 30px; stroke: var(--scf-accent); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#anfrage .scf-opt .t { display: flex; flex-direction: column; min-width: 0; }
#anfrage .scf-opt b { font-weight: 600; line-height: 1.3; }
#anfrage .scf-opt small { color: var(--scf-muted); font-size: .8rem; line-height: 1.35; }
#anfrage .scf-mark { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--scf-line); border-radius: 50%; display: grid; place-items: center; }
#anfrage .scf-mark.sq { border-radius: 5px; }
#anfrage .scf-opt[aria-pressed="true"] .scf-mark { background: var(--scf-accent); border-color: var(--scf-accent); }
#anfrage .scf-opt[aria-pressed="true"] .scf-mark::after { content: ""; width: 8px; height: 8px; border-radius: inherit; background: var(--scf-accent-ink); }

#anfrage .scf-extra { margin-top: 14px; }
#anfrage .scf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
#anfrage .scf-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
#anfrage .scf-field.full { grid-column: 1 / -1; }
#anfrage .scf-field label, #anfrage .scf-legend { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--scf-muted); }
#anfrage .scf-field label i { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
#anfrage.scf input[type=text], #anfrage.scf input[type=email], #anfrage.scf input[type=tel], #anfrage.scf input[type=url], #anfrage.scf textarea {
  font: inherit; color: var(--scf-ink); background: var(--scf-bg);
  border: 1px solid var(--scf-line); border-radius: 6px; padding: 11px 13px; width: 100%;
}
#anfrage.scf textarea { min-height: 80px; resize: vertical; }
#anfrage.scf input:focus, #anfrage.scf textarea:focus { outline: none; border-color: var(--scf-accent); box-shadow: 0 0 0 3px var(--scf-accent-soft); }
#anfrage.scf .invalid { border-color: var(--scf-error) !important; }
#anfrage .scf-err { color: var(--scf-error); font-size: .8rem; }
#anfrage .scf-err:empty { display: none; }
#anfrage .scf-seg { display: flex; flex-wrap: wrap; gap: 8px; }
#anfrage .scf-seg button { font: inherit; font-size: .9rem; color: inherit; cursor: pointer; background: transparent; border: 1px solid var(--scf-line); border-radius: 99px; padding: 7px 15px; }
#anfrage .scf-seg button[aria-pressed="true"] { background: var(--scf-accent); color: var(--scf-accent-ink); border-color: var(--scf-accent); }
#anfrage .scf-check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--scf-muted); cursor: pointer; }
#anfrage .scf-check input { margin-top: 3px; accent-color: var(--scf-accent); width: 18px; height: 18px; flex: none; }
#anfrage .scf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#anfrage .scf-nav { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 28px 20px; border-top: 1px solid var(--scf-line); }
#anfrage .scf-btn { font: inherit; font-weight: 700; cursor: pointer; border-radius: 99px; padding: 12px 26px; border: 1px solid var(--scf-accent); background: var(--scf-accent); color: var(--scf-accent-ink); transition: opacity .2s; }
#anfrage .scf-btn:disabled { opacity: .35; cursor: not-allowed; }
#anfrage .scf-btn.ghost { background: transparent; color: var(--scf-muted); border-color: transparent; padding-inline: 0; font-weight: 600; }
#anfrage .scf-btn.ghost:hover { color: var(--scf-ink); }
#anfrage .scf-btn:focus-visible { outline: 2px solid var(--scf-accent); outline-offset: 3px; }
#anfrage .scf-btn[hidden] { display: none; }
#anfrage .scf-hint { font-size: .8rem; color: var(--scf-muted); }

#anfrage .scf-done { text-align: center; }
#anfrage .scf-seal { width: 60px; height: 60px; margin: 6px auto 16px; border-radius: 50%; background: var(--scf-accent-soft); display: grid; place-items: center; }
#anfrage .scf-seal svg { width: 26px; stroke: var(--scf-accent); fill: none; stroke-width: 1.8; }
#anfrage .scf-done .scf-sub { max-width: 40ch; margin-inline: auto; }
#anfrage .scf-summary { text-align: left; border-top: 1px solid var(--scf-line); margin: 18px 0 0; padding-top: 14px; display: grid; gap: 7px; font-size: .86rem; }
#anfrage .scf-summary div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 10px; }
#anfrage .scf-summary dt { color: var(--scf-muted); }
#anfrage .scf-summary dd { margin: 0; overflow-wrap: anywhere; }
#anfrage .scf-note { font-size: .78rem; color: var(--scf-muted); margin-top: 14px; }

@container scf (max-width: 1020px) {
  #anfrage .scf-wrap { grid-template-columns: minmax(0, 1fr); max-width: 600px; }
}
@container scf (max-width: 560px) {
  #anfrage .scf-card { --scf-card-h: 600px; }
  #anfrage .scf-top, #anfrage .scf-stage { padding-left: 18px; padding-right: 18px; }
  #anfrage .scf-nav { padding-inline: 18px; }
  #anfrage .scf-grid, #anfrage .scf-fields { grid-template-columns: 1fr; }
  #anfrage .scf-summary div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { #anfrage .scf-step, #anfrage .scf-bar span { animation: none !important; transition: none !important; } }

/* Anpassungen an den Stil der Webseite */
#anfrage.scf { padding-block: clamp(72px, 9vw, 120px); }
#anfrage .scf-wrap { max-width: 1320px; }
#anfrage .scf-eyebrow { font-size: 11.5px; letter-spacing: .3em; font-weight: 600; color: var(--scf-accent-text); }
#anfrage .scf-eyebrow svg { fill: var(--scf-accent); }
#anfrage.scf .scf-title { font-weight: 500; font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1.02; color: var(--scf-ink); }
#anfrage.scf .scf-title em { color: var(--scf-accent); font-weight: 500; }
#anfrage.scf .scf-q { font-weight: 500; font-size: clamp(1.75rem, 4vw, 2.15rem); line-height: 1.1; color: var(--scf-ink); letter-spacing: 0; text-transform: none; }
#anfrage .scf-lead { font-weight: 300; line-height: 1.75; }
#anfrage .scf-points li { font-size: .95rem; }
#anfrage .scf-points li::before { background: var(--scf-accent); }
#anfrage .scf-card { border-radius: 2px; box-shadow: 0 40px 70px -45px rgba(42, 30, 23, .45); }
#anfrage .scf-badge { border-radius: 0; font-size: 10.5px; letter-spacing: .2em; color: var(--scf-accent-text); }
#anfrage .scf-opt, #anfrage .scf-calc { border-radius: 2px; }
#anfrage .scf-opt:hover, #anfrage .scf-opt:focus { background: var(--scf-surface); color: var(--scf-ink); }
#anfrage .scf-opt[aria-pressed="true"], #anfrage .scf-opt[aria-pressed="true"]:hover { background: var(--scf-accent-soft); }
#anfrage .scf-opt svg { stroke: var(--scf-accent-text); }
#anfrage .scf-price, #anfrage .scf-total .m { color: var(--scf-accent-text); }
#anfrage .scf-price { border-radius: 0; }
#anfrage .scf-big b { color: var(--scf-accent-text); font-weight: 500; }
#anfrage .scf-total strong { font-weight: 600; font-size: 1.5rem; }
#anfrage .scf-btn { border-radius: 0; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; padding: 16px 26px; }
#anfrage .scf-btn:hover { background: var(--scf-accent); color: var(--scf-accent-ink); filter: brightness(1.05); }
#anfrage .scf-btn.ghost, #anfrage .scf-btn.ghost:hover { background: transparent; filter: none; }
#anfrage .scf-seg button { border-radius: 0; }
#anfrage .scf-seg button:hover { background: transparent; color: var(--scf-ink); }
#anfrage .scf-seg button[aria-pressed="true"], #anfrage .scf-seg button[aria-pressed="true"]:hover { background: var(--scf-accent); color: var(--scf-accent-ink); }
#anfrage input[type=text], #anfrage input[type=email], #anfrage input[type=tel], #anfrage textarea { border-radius: 0; font-family: var(--scf-body); font-size: 15px; height: auto; margin: 0; box-shadow: none; }
#anfrage button { text-transform: none; letter-spacing: normal; text-shadow: none; box-shadow: none; min-height: 0; margin: 0; line-height: inherit; }
#anfrage .scf-btn { text-transform: uppercase; letter-spacing: .2em; }
#anfrage .scf-check a { color: var(--scf-accent-text); }
#anfrage.scf { container: scf / inline-size; overflow-wrap: normal; }
@container scf (max-width: 1020px) { #anfrage .scf-points { display: none; } #anfrage .scf-lead { margin-bottom: 18px; } }
