/* ---------- RESET / BASIS ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* ---------- HEADER ---------- */
header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  line-height: 1;
}

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

/* ---------- HERO ---------- */
#hero {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

#hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

#hero p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1.8rem;
}

/* ---------- BUTTON ---------- */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: #03c4eb;
  color: #001820;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: #02b3d7;
  transform: translateY(-1px);
}

/* ---------- TRUST (WEISS) ---------- */
#trust {
  padding: 2.5rem 1rem;
  margin: 3rem 0;
}

.trust-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #111;
}

.trust-item span {
  font-size: 0.9rem;
  color: #555;
}

/* ---------- RECHNER ---------- */
#rechner {
  background: #f7f8f9;
  padding: 4rem 1rem;
}

.rechner-inner {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2.4rem;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  text-align: center;
}

.rechner-inner .intro {
  color: #444;
  margin-bottom: 2rem;
}

/* ---------- SLIDER ---------- */
#rechner input[type="range"] {
  width: 100%;
  margin: 1.6rem 0 2.8rem 0;  /* mehr Luft nach unten */
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #e2e2e2;
  border-radius: 2px;
  outline: none;
}

/* Slider Thumb */
#rechner input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #03c4eb;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#rechner input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(3, 196, 235, 0.18);
}

#rechner input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #03c4eb;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* Anzeige */
.slider-output {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

#result {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

/* ---------- RECHNER TYPO-RHYTHMUS (wie Test) ---------- */

.price-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #444;              /* minimal heller */
  margin-bottom: 0.05rem;   /* noch enger */
}

.price-total {
  font-size: 2.6rem;        /* minimal größer für Dominanz */
  font-weight: 600;
  margin-bottom: 0.05rem;   /* enger */
}

.price-per {
  font-size: 0.92rem;       /* minimal kleiner */
  color: #444;
  margin-bottom: 1.3rem;    /* sauberer Übergang zum Slider */
}

.slider-output {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.hint {
  font-size: 0.8rem;
  color: #444;
  margin-top: 1rem;
  line-height: 1.4;
}

/* ---------- RECHNER: KONTEXT ---------- */

.context {
  font-size: 0.9rem;
  color: #027a96;
  margin: 1.6rem 0 1.4rem;
}

/* ================================================= */
/* =============== KONTAKTSEITE ==================== */
/* ================================================= */

/* ---------- KONTAKT INTRO ---------- */
#contact-intro {
  max-width: 700px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
  text-align: center;
}

#contact-intro h1 {
  margin-bottom: 0.8rem;
}

#contact-intro p {
  color: #444;
  font-size: 0.95rem;
}

/* ---------- SUMMARY ---------- */
#summary {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.8rem 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
}

#summary h2 {
  margin-bottom: 1rem;
}

.summary-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.summary-list span {
  color: #03c4eb;
  font-weight: 500;
}

/* ---------- KONTAKTFORMULAR ---------- */
#contact-form {
  background: #f7f8f9;
  padding: 2.5rem 1.5rem;
  border-radius: 6px;
  max-width: 700px;
  margin: 2.5rem auto 4rem;
}

#contact-form h2 {
  margin-bottom: 0.4rem;
}

.form-intro {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.6rem;
}

#contact-form form {
  display: grid;
  gap: 1.2rem;
}

#contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #333;
}

#contact-form input {
  margin-top: 0.3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

#contact-form input:focus {
  outline: none;
  border-color: #03c4eb;
  background: #fff;
}



/* ---------- LEGAL SEITEN ---------- */
.legal {
  max-width: 700px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
}

.legal h1 {
  margin-bottom: 1.5rem;
}

.legal h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.legal p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.8rem;
}

.legal a:hover {
  text-decoration: underline;
}

/* ---------- ACCESSIBILITY: FOCUS (TASTATUR) ---------- */
:focus-visible {
  outline: 3px solid rgba(3, 196, 235, 0.6);
  outline-offset: 2px;
}

/* ---------- ACCESSIBILITY: VISUALLY HIDDEN ---------- */
.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;
}

/* ---------- QUALITÄT / VORTEILE ---------- */
#quality {
  max-width: 700px;
  margin: 2.5rem auto 4rem;
  padding: 0 1rem;
}

#quality h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #111;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: #444;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #03c4eb;
  font-size: 0.85rem;
}

/* ================================================= */
/* ========== DESKTOP FEINSCHLIFF ================== */
/* ================================================= */

@media (min-width: 900px) {

  /* Preisregler sauber zentrieren */
  #rechner input[type="range"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* Zweiter CTA unter dem Rechner zentrieren */
  #rechner .btn-primary {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- LEGAL LINKS (ACCESSIBILITY) ---------- */
.legal a {
  color: #027a96;              /* dunkleres Text-Blau */
  text-decoration: underline; /* nicht nur Farbe */
}

.legal a:hover {
  text-decoration-thickness: 2px;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 2rem;
}

footer a {
  color: #027a96;
  text-decoration: underline;
}

footer a:hover {
  text-decoration-thickness: 2px;
}

/* ---------- LANDINGPAGE FORMULAR (ADS) ---------- */
.lp-form-wrapper {
  background: #ffffff;
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  margin-top: 2rem;
}

.lp-form-wrapper form {
  display: grid;
  gap: 1.2rem;
}

.lp-form-wrapper label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #333;
}

.lp-form-wrapper input {
  margin-top: 0.3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.lp-form-wrapper input:focus {
  outline: none;
  border-color: #03c4eb;
  background: #fff;
}

/* ---------- THANK YOU HIGHLIGHT ---------- */
.thank-highlight {
  color: #03c4eb;
  font-weight: 600;
}

/* ---------- ADS HERO BADGE ---------- */
.hero-badge-static {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  background: rgba(3, 196, 235, 0.08);
  color: #027a96;
  border-radius: 999px;
  font-weight: 500;
}
