/* =========================================================
   Wertermittlung – KENSINGTON Regensburg (Maximilian Ottow)
   Mobile-first Lead-Capture Landing Page.
   Werte 1:1 aus der Webflow-Vorlage übernommen (computed styles @390px).
   Schriften lokal gehostet (Montserrat) -> keine Drittanbieter-Requests.
   ========================================================= */

@font-face { font-family:"Montserrat"; src:url("../assets/fonts/Montserrat-Regular.ttf")  format("truetype"); font-weight:400; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("../assets/fonts/Montserrat-Medium.ttf")   format("truetype"); font-weight:500; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("../assets/fonts/Montserrat-SemiBold.ttf") format("truetype"); font-weight:600; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("../assets/fonts/Montserrat-Bold.ttf")     format("truetype"); font-weight:700; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("../assets/fonts/Montserrat-ExtraBold.ttf")format("truetype"); font-weight:800; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("../assets/fonts/Montserrat-Black.ttf")    format("truetype"); font-weight:900; font-display:swap; }

:root {
  --green:       #1e493f;   /* Headlines, Titel */
  --green-step:  #1f4a42;   /* Prozess-Box */
  --green-footer:#0e2723;   /* Footer */
  --terra:       #cd9c87;   /* Akzent / Button / Rahmen */
  --cream:       #f7f4ef;   /* Formular-Karte */
  --blush:       #f6ece7;   /* Testimonial-/Kontakt-Karte */
  --blush2:      #f7ece7;
  --line:        #e6e0d8;   /* helle Rahmen / Trennlinien */
  --ink:         #333333;
  --muted:       #7a7a7a;
  --error:       #c0392b;
  --font:  "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
}

*,*::before,*::after { box-sizing:border-box; }
[hidden] { display:none !important; }
html { -webkit-text-size-adjust:100%; }
body {
  margin:0; background:#fff; color:var(--ink); line-height:1.5;
  font-family:var(--font); -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img { max-width:100%; display:block; }
a { color:inherit; }

.container {
  width:100%; max-width:600px; margin:0 auto;
  padding:0 calc(24px + env(safe-area-inset-right)) 0 calc(24px + env(safe-area-inset-left));
}

/* ---------- HERO ---------- */
.hero { position:relative; background:#fff; padding:24px 0 50px; overflow:hidden; }
.logo-wrap { display:flex; justify-content:center; }
.logo { width:90px; height:auto; }

.hero h1 {
  color:var(--green); font-size:28px; font-weight:700;
  line-height:1.05; letter-spacing:-.02em; margin:20px 0 6px;
}
.subtitle { margin:0; color:var(--ink); font-size:14px; font-weight:400; }

.rating { margin:14px 0 18px; }
.rating-count { display:block; margin-bottom:6px; color:var(--ink); font-size:14px; font-weight:500; }
.stars { display:flex; gap:2px; }
.stars img { width:20px; height:20px; }

.arrow {
  position:absolute; top:150px; right:0; width:129px; height:auto;
  z-index:2; pointer-events:none;
}

/* ---------- FORM CARD ---------- */
.form-card { background:var(--cream); border:1px solid var(--line); border-radius:16px; padding:22px; }
.field { margin-bottom:10px; }
.field label { display:block; margin:0 0 5px; color:#000; font-size:14px; font-weight:700; }
.field input {
  width:100%; height:38px; padding:8px 12px;
  font:inherit; font-size:14px; color:#333;
  background:#fff; border:1px solid #ccc; border-radius:0;
}
.field input::placeholder { color:#999; }
.field input:focus { outline:none; border-color:var(--green); }
.field.invalid input { border-color:var(--error); background:#fdf6f4; }
.field-error { display:block; margin-top:4px; color:var(--error); font-size:12px; }

.submit-btn {
  display:inline-block; margin-top:4px; border:0; border-radius:10px;
  background:var(--terra); color:#fff;
  padding:9px 15px; font-family:var(--font); font-size:14px; font-weight:400;
  cursor:pointer; transition:filter .15s ease;
}
.submit-btn:hover { filter:brightness(.97); }
.submit-btn:disabled { opacity:.7; cursor:default; }

.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.form-status { margin:8px 2px 0; color:var(--error); font-size:13px; }
.form-status:empty { display:none; }
.form-success {
  margin-top:6px; padding:14px 16px; border:1px solid var(--line);
  border-radius:12px; background:#eef3f0; color:var(--green); font-size:14px;
}
.footnote { margin:12px 0 0; color:var(--muted); font-style:italic; font-size:12px; }
.footnote a { color:var(--muted); text-decoration:none; }

/* ---------- BULLET ---------- */
.bullet { display:flex; align-items:center; gap:8px; margin-top:16px; }
.bullet img { width:28px; height:28px; flex:0 0 auto; }
.bullet span { color:rgba(0,0,0,.75); font-size:14px; font-weight:500; }

/* ---------- DIVIDER ---------- */
.divider-wrap { display:flex; justify-content:center; padding:18px 0; }
.divider { width:70%; height:1px; background:var(--line); }

/* ---------- SECTION TITLE ---------- */
.section-title { margin:0 0 10px; color:var(--green); font-size:24px; font-weight:700; }

/* ---------- TESTIMONIALS (horizontal carousel) ---------- */
.testimonials { padding:6px 0 0; }
.carousel { position:relative; margin:0 12px; border:1px solid var(--terra); background:var(--blush2); }
.carousel-track {
  display:flex; overflow-x:auto; scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.carousel-track::-webkit-scrollbar { display:none; }
.t-card {
  flex:0 0 100%; scroll-snap-align:center;
  min-height:380px; padding:24px 44px;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center;
}
.t-name { margin:0 0 12px; color:#333; font-family:var(--serif); font-size:16px; font-weight:700; }
.t-text { margin:0 0 16px; color:#333; font-size:14px; line-height:20px; }
.t-stars { display:flex; gap:2px; }
.t-stars img { width:31px; height:31px; }

.carousel-arrow {
  position:absolute; top:0; bottom:0; width:44px; z-index:2;
  display:flex; align-items:center; justify-content:center;
  border:0; background:none; color:#e3d3c8; font-size:34px; line-height:1; cursor:pointer;
}
.carousel-arrow.prev { left:0; }
.carousel-arrow.next { right:0; }

.carousel-dots { display:flex; justify-content:center; gap:8px; padding-top:12px; }
.dot {
  width:26px; height:26px; border-radius:999px; border:0; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  background:var(--blush2); color:#9a8a80; font-family:var(--font); font-size:12px; font-weight:600;
}
.dot.active { background:#fff; color:var(--green); box-shadow:0 0 0 1px var(--line); }

/* ---------- PROCESS ---------- */
.process { padding-top:4px; }
.steps { background:var(--green-step); border:1px solid var(--terra); padding:16px 24px; }
.step h3 { margin:5px 0; color:#fff; font-size:18px; font-weight:700; }
.step p { margin:0 0 5px; color:rgba(255,255,255,.85); font-size:14px; }
.step-line { display:block; width:2px; height:50px; background:var(--terra); margin:14px 0 14px 4px; }

/* ---------- END CTA + FOOTER ---------- */
.cta-footer { position:relative; overflow:hidden; }
.cta { padding:50px 0 0; }
.cta-title { margin:0 0 10px; color:var(--green); font-size:20px; font-weight:400; line-height:1.3; }
.cta-title strong { font-weight:700; }

.contact-card {
  position:relative; z-index:1;
  background:var(--blush); border:1px solid var(--terra);
  padding:20px 24px; padding-right:145px;
}
.agent-name { color:#333; font-size:18px; font-weight:700; }
.agent-role { margin-bottom:6px; color:#000; font-size:14px; }
.agent-phone { display:inline-block; color:#1a5fb4; font-size:16px; font-weight:700; text-decoration:underline; }
.cta-actions { display:flex; gap:12px; margin-top:14px; }
.icon-btn {
  width:44px; height:44px; border-radius:999px; border:1px solid rgba(0,0,0,.6);
  background-position:center; background-repeat:no-repeat; background-size:cover; display:inline-block;
}
.icon-btn.call { background-image:url("../assets/img/phone.png"); }
.icon-btn.mail { background-image:url("../assets/img/email.png"); }

.agent-photo {
  position:absolute; right:0; bottom:0; width:250px; height:auto;
  z-index:3; pointer-events:none;
}

/* ---------- FOOTER ---------- */
.footer { position:relative; z-index:1; background:var(--green-footer); padding:18px 0; margin-top:30px; }
.footer-addr { color:rgba(255,255,255,.6); font-size:10px; line-height:20px; }
.footer-links { display:flex; flex-direction:column; margin-top:6px; }
.footer-links a { color:#8d8d8d; font-size:12px; line-height:20px; text-decoration:underline; }

/* ---------- LARGER SCREENS (mobile-first base above) ---------- */
@media (min-width:600px) {
  .t-card { padding-left:64px; padding-right:64px; }
}

/* ---------- LEGAL PAGES (Impressum / Datenschutz) ---------- */
.legal { color:var(--ink); padding:24px 0; }
.legal .container { max-width:720px; }
.legal-back { display:inline-block; margin-bottom:14px; color:var(--green); font-weight:600; font-size:14px; text-decoration:none; }
.legal-back:hover { text-decoration:underline; }
.legal h1 { color:var(--green); font-size:30px; font-weight:800; margin:0 0 12px; }
.legal h2 { color:var(--green); font-size:18px; font-weight:700; margin:26px 0 8px; }
.legal p { font-size:15px; line-height:1.6; margin:0 0 12px; }
.legal-note { padding:12px 14px; background:var(--cream); border:1px solid var(--line); border-radius:12px; font-style:italic; color:var(--muted); }
