/* Hundekosten-Rechner (Haustier Dealz) – Quelle: diese Datei. Farben: Navy/Grün/Creme, Variablennamen historisch. */
.hk {
  --cream: #f8f4e8;
  --terracotta: #4d7f2c;        /* Akzent (Grün, dunkel genug für weiße Schrift) */
  --terracotta-light: #7ab94a;  /* Marken-Grün */
  --brown-dark: #1a2d52;        /* Navy */
  --brown-mid: #2a3650;
  --warm-white: #ffffff;
  --sand: #e9e3d0;
  --sand-dark: #cdc4a8;
  --green-accent: #7ab94a;
  --text-body: #2a3650;
  --text-muted: #6b7388;
  --shadow: rgba(15, 27, 54, 0.10);
  --hk-link: #1a2d52;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-body);
  text-align: left;
}
.hk *, .hk *::before, .hk *::after { box-sizing: border-box; }
.hk h2, .hk h3, .hk h4 { margin: 0; letter-spacing: 0; }
.hk p { margin: 0; }
.hk button { font-family: inherit; }

.hk.calculator-wrap {
    max-width: 680px;
    margin: -28px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
  }

.hk .calculator-card {
    background: var(--warm-white);
    border-radius: 20px;
    box-shadow: 0 8px 40px var(--shadow), 0 2px 8px rgba(94, 148, 54,0.08);
    overflow: hidden;
  }


  /* ── PROGRESS BAR ── */
.hk .progress-bar-wrap {
    background: var(--sand);
    height: 5px;
  }

.hk .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light));
    border-radius: 0 3px 3px 0;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }


  /* ── STEP INDICATORS ── */
.hk .step-dots {
    padding: 20px 28px 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }

.hk .step-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--sand);
    transition: all 0.3s;
  }

.hk .step-dot.active { background: var(--terracotta); transform: scale(1.4); }

.hk .step-dot.done { background: var(--green-accent); }

.hk .step-label {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
  }


  /* ── STEP CONTENT ── */
.hk .step-panel {
    display: none;
    padding: 28px 28px 0;
    animation: hkFadeSlide 0.35s ease;
  }

.hk .step-panel.visible { display: block; }

@keyframes hkFadeSlide {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
  }

.hk .step-panel.slide-back { animation: hkFadeSlideBack 0.35s ease; }

@keyframes hkFadeSlideBack {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
  }

.hk .step-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--brown-dark);
    margin-bottom: 6px;
    line-height: 1.25;
  }

.hk .step-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.5;
  }


  /* ── FORM ELEMENTS ── */
.hk .field-group { margin-bottom: 20px; }

.hk .field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brown-mid);
    margin-bottom: 8px;
  }

.hk .input-field, .hk .select-field {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: 10px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    color: var(--text-body);
    background: var(--cream);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    outline: none;
  }

.hk .select-wrap { position: relative; }

.hk .select-wrap::after {
    content: '▾';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.9rem;
  }

.hk .input-field:focus, .hk .select-field:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(94, 148, 54,0.12);
  }


  /* Stepper for number */
.hk .number-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--sand-dark);
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
    background: var(--cream);
  }

.hk .stepper-btn {
    width: 46px; height: 46px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--brown-mid);
    transition: background 0.15s;
    display: flex; align-items: center; justify-content: center;
  }

.hk .stepper-btn:hover { background: var(--sand); }

.hk .stepper-val {
    min-width: 56px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown-dark);
    border-left: 1px solid var(--sand-dark);
    border-right: 1px solid var(--sand-dark);
    padding: 0 8px;
    height: 46px;
    line-height: 46px;
  }


  /* Radio cards */
.hk .radio-cards {
    display: grid;
    gap: 10px;
  }

.hk .radio-cards.cols-2 { grid-template-columns: 1fr 1fr; }

.hk .radio-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }

.hk .radio-card input { display: none; }

.hk .radio-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border: 1.5px solid var(--sand-dark);
    border-radius: 12px;
    cursor: pointer;
    background: var(--cream);
    transition: all 0.2s;
    text-align: center;
  }

.hk .radio-card label:hover { border-color: var(--terracotta-light); background: #fff; }

.hk .radio-card input:checked + label {
    border-color: var(--terracotta);
    background: rgba(94, 148, 54,0.06);
    box-shadow: 0 0 0 3px rgba(94, 148, 54,0.1);
  }

.hk .radio-card .rc-icon { font-size: 1.6rem; line-height: 1; }

.hk .radio-card .rc-title { font-size: 0.82rem; font-weight: 600; color: var(--brown-dark); }

.hk .radio-card .rc-sub { font-size: 0.7rem; color: var(--text-muted); font-weight: 300; }


  /* Checkbox chips (multi-select) */
.hk .chip-group { display: flex; flex-wrap: wrap; gap: 8px; }

.hk .chip input { display: none; }

.hk .chip label {
    display: flex; align-items: center; gap: 6px;
    padding: 9px 14px;
    border: 1.5px solid var(--sand-dark);
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brown-mid);
    background: var(--cream);
    transition: all 0.2s;
    white-space: nowrap;
  }

.hk .chip label:hover { border-color: var(--terracotta-light); }

.hk .chip input:checked + label {
    border-color: var(--terracotta);
    background: var(--terracotta);
    color: #fff;
  }

.hk .chip label .chip-icon { font-size: 1rem; }


  /* Toggle (Ja/Nein) */
.hk .toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--cream);
    border: 1.5px solid var(--sand-dark);
    border-radius: 10px;
    margin-bottom: 10px;
  }

.hk .toggle-label-text { font-size: 0.92rem; font-weight: 500; color: var(--brown-dark); }

.hk .toggle-switch { position: relative; width: 48px; height: 26px; }

.hk .toggle-switch input { opacity: 0; width: 0; height: 0; }

.hk .toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--sand-dark);
    border-radius: 100px;
    transition: background 0.25s;
  }

.hk .toggle-slider::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    background: white;
    border-radius: 50%;
    top: 3px; left: 3px;
    transition: transform 0.25s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  }

.hk .toggle-switch input:checked + .toggle-slider { background: var(--terracotta); }

.hk .toggle-switch input:checked + .toggle-slider::after { transform: translateX(22px); }


  /* Textarea */
.hk textarea.input-field {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
  }


  /* ── NAVIGATION ── */
.hk .step-nav {
    padding: 24px 28px 28px;
    display: flex;
    gap: 12px;
    align-items: center;
  }

.hk .btn-back {
    padding: 13px 22px;
    border: 1.5px solid var(--sand-dark);
    background: none;
    border-radius: 10px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
  }

.hk .btn-back:hover { border-color: var(--brown-mid); color: var(--brown-dark); }

.hk .btn-next {
    flex: 1;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(94, 148, 54,0.3);
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }

.hk .btn-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(94, 148, 54,0.4);
  }

.hk .btn-next:active { transform: translateY(0); }


  /* ── RESULT PANEL ── */
.hk #step-result { display: none; padding: 28px 28px 0; animation: hkFadeSlide 0.4s ease; }

.hk #step-result.visible { display: block; }

.hk .result-header {
    text-align: center;
    margin-bottom: 24px;
  }

.hk .result-header .emoji { font-size: 3rem; display: block; margin-bottom: 12px; }

.hk .result-header h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--brown-dark);
    margin-bottom: 4px;
  }

.hk .result-header p { font-size: 0.85rem; color: var(--text-muted); }

.hk .cost-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }

.hk .cost-card {
    background: var(--cream);
    border: 1.5px solid var(--sand);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
  }

.hk .cost-card.highlight {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    border-color: transparent;
    color: white;
  }

.hk .cost-card .cost-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
  }

.hk .cost-card.highlight .cost-label { color: rgba(255,255,255,0.75); }

.hk .cost-card .cost-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--brown-dark);
    line-height: 1;
  }

.hk .cost-card.highlight .cost-value { color: white; }

.hk .cost-card .cost-unit {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
  }

.hk .cost-card.highlight .cost-unit { color: rgba(255,255,255,0.75); }

.hk .cost-breakdown {
    background: var(--cream);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
    border: 1.5px solid var(--sand);
  }

.hk .cost-breakdown h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
  }

.hk .breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--sand);
    font-size: 0.88rem;
  }

.hk .breakdown-item:last-child { border-bottom: none; }

.hk .breakdown-item .bi-label { color: var(--text-muted); display: flex; align-items: center; gap: 8px; }

.hk .breakdown-item .bi-label span { font-size: 1rem; }

.hk .breakdown-item .bi-amount { font-weight: 600; color: var(--brown-dark); }

.hk .disclaimer {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    padding: 0 8px;
    margin-bottom: 20px;
  }


  /* CTA */
.hk .cta-block {
    background: var(--brown-dark);
    margin: 0 -28px;
    padding: 28px 28px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

.hk .cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(94, 148, 54,0.4) 0%, transparent 70%);
  }

.hk .cta-block .cta-paws {
    font-size: 1.4rem;
    opacity: 0.3;
    position: absolute;
    top: 12px; left: 20px;
    letter-spacing: 4px;
  }

.hk .cta-block h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--warm-white);
    margin-bottom: 8px;
    position: relative;
  }

.hk .cta-block p {
    font-size: 0.85rem;
    color: var(--sand);
    margin-bottom: 18px;
    position: relative;
    font-weight: 300;
    line-height: 1.5;
  }

.hk .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(94, 148, 54,0.5);
    transition: all 0.2s;
    position: relative;
  }

.hk .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(94, 148, 54,0.6); }

.hk .btn-reset {
    display: block;
    margin: 12px auto 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    cursor: pointer;
    position: relative;
    text-decoration: underline;
  }

.hk .btn-reset:hover { color: rgba(255,255,255,0.75); }


  /* Divider */
.hk .section-divider {
    border: none;
    border-top: 1px solid var(--sand);
    margin: 8px 0 20px;
  }


  /* ── RESPONSIVE ── */
@media (max-width: 500px) {
.hk .radio-cards.cols-3 { grid-template-columns: 1fr 1fr; }

.hk .cost-grid { grid-template-columns: 1fr 1fr; }

.hk .step-panel, .hk #step-result { padding: 20px 18px 0; }

.hk .step-nav { padding: 18px 18px 22px; }

.hk .step-dots { padding: 16px 18px 0; }

.hk .cta-block { margin: 0 -18px; padding: 22px 18px 26px; }

  }


  
/* ── Seite /hund/hundekosten-rechner ── */
.hk-page .hk-hero .container { padding-bottom: 72px; }
.hk-page .hk-hero h1 .accent { color: var(--green-dark, #5e9436); }
.hk-page .hk.calculator-wrap { margin-top: -44px; margin-bottom: 48px; }
.hk-page .hk-after { padding-bottom: 32px; }
.hk-page .hk-info { max-width: 760px; margin: 0 auto 40px; }
.hk-page .hk-info ul { padding-left: 1.2em; }
.hk-page .hk-info li { margin-bottom: 0.5em; }
