@charset "UTF-8";
/* krankenkassewechseln2027.ch — landing page styles
   Service von Optisura · seasonal lead-gen for "Krankenkasse wechseln 2027" */
:root {
  --blue: #0f8a4c;
  --blue-deep: #0a5e34;
  --green: #16b364;
  --green-deep: #0f8a4c;
  --ink: #101828;
  --body: #475467;
  --muted: #7a8699;
  --bg: #f7f9fc;
  --line: #e4e9f2;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 18px 50px -24px rgba(16, 38, 76, 0.35);
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Montserrat, system-ui, sans-serif; color: var(--ink); line-height: 1.18; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--blue); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap { padding: 72px 0; }
.center { text-align: center; }
.accent { color: var(--green-deep); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: 16px 30px; border-radius: 999px;
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: .2s; }
.btn-cta { background: var(--green); color: #fff; box-shadow: 0 12px 28px -10px rgba(22,179,100,.6); }
.btn-cta:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--blue-deep); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display:inline-flex; align-items:center; gap:10px; font-family: Montserrat, sans-serif; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.15rem; }
.brand b { color: var(--blue); }
.brand span { display: block; line-height: 1.05; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.1; margin-top: 2px; }
.ch-flag { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 5px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.ch-flag.sm { width: 18px; height: 18px; box-shadow: none; }
.header-cta { font-size: .9rem; padding: 11px 20px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; font-family: Montserrat, sans-serif; font-weight: 700; color: var(--blue-deep); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.header-phone svg { width: 24px; height: 24px; fill: var(--green-deep); }
.header-phone span { display: block; line-height: 1.04; }
.header-phone span small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.1; margin-top: 1px; }

/* Hero */
.hero { position: relative; overflow: hidden; background-color: #0a5e34; color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: -8%; z-index: 0;
  background-image: url("../images/herobgimg.jpg");
  background-image: -webkit-image-set(url("../images/herobgimg.webp") type("image/webp"), url("../images/herobgimg.jpg") type("image/jpeg"));
  background-image: image-set(url("../images/herobgimg.webp") type("image/webp"), url("../images/herobgimg.jpg") type("image/jpeg"));
  background-position: center center; background-size: cover; background-repeat: no-repeat;
  animation: heroDrift 42s ease-in-out infinite alternate;
  will-change: transform;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, rgba(10,94,52,.88) 0%, rgba(15,138,76,.84) 55%, rgba(22,179,100,.82) 100%);
}
.hero > .container { position: relative; z-index: 1; }
@keyframes heroDrift {
  0%   { transform: translate3d(-2.5%, -1.4%, 0) scale(1.06); }
  20%  { transform: translate3d(2.2%, -2.4%, 0) scale(1.09); }
  40%  { transform: translate3d(2.8%, 1.8%, 0) scale(1.05); }
  60%  { transform: translate3d(-1.6%, 2.6%, 0) scale(1.08); }
  80%  { transform: translate3d(-2.8%, 0.4%, 0) scale(1.06); }
  100% { transform: translate3d(1.6%, -1.2%, 0) scale(1.07); }
}
@media (prefers-reduced-motion: reduce){ .hero::before { animation: none; transform: scale(1.04); } }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.18rem; color: #dff3e7; max-width: 540px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero ul.usp { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero ul.usp li { display: flex; gap: 10px; color: #e6f6ec; }
.hero ul.usp li::before { content: "\2713"; color: #6ee7a8; font-weight: 800; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); color: #e6f6ec; padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }

/* Form card */
.card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: .95rem; font-family: inherit; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,179,100,.18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; color: var(--muted); margin: 6px 0 14px; }
.consent span { line-height: 1.4; }
.consent input { margin-top: 3px; flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .75rem; color: var(--muted); text-align: center; margin-top: 10px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 15px; padding-right: 38px; cursor: pointer; }
.field select:invalid { color: var(--muted); }
.field.error input, .field.error select { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.14); }
.err-msg { color: #e5484d; font-size: .72rem; font-weight: 600; margin-top: 4px; }
.consent.error { color: #e5484d; }
.consent.error input[type=checkbox] { outline: 2px solid #e5484d; outline-offset: 1px; }

/* Custom dropdown (styled select) */
.field select.enhanced { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cselect { position: relative; }
.cselect-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-family: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; text-align: left; }
.cselect-trigger.placeholder { color: var(--muted); }
.cselect-trigger::after { content: ""; width: 14px; height: 14px; flex: 0 0 auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s ease; }
.cselect.open .cselect-trigger { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,179,100,.18); }
.cselect.open .cselect-trigger::after { transform: rotate(180deg); }
.cselect-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; max-height: 244px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none; }
.cselect.open .cselect-list { display: block; }
.cselect-opt { padding: 9px 12px; border-radius: 8px; font-size: .92rem; color: var(--ink); cursor: pointer; }
.cselect-opt:hover, .cselect-opt.active { background: #e7f7ee; color: var(--green-deep); }
.cselect-opt[aria-selected="true"] { font-weight: 700; color: var(--green-deep); }
.field.error .cselect-trigger { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.14); }
.cselect-list::-webkit-scrollbar { width: 11px; }
.cselect-list::-webkit-scrollbar-thumb { background: #d7dee8; border-radius: 8px; border: 3px solid #fff; }

/* Trust bar */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: center; padding: 18px 20px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; font-size: .9rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.feature .ico { width: 56px; height: 56px; border-radius: 14px; background: #e7f7ee; display: grid; place-items: center; margin: 0 auto 14px; font-size: 26px; }
.feature h3 { font-size: 1.05rem; }
.feature p { font-size: .92rem; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: s; }
.step { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; position:relative; }
.step::before { counter-increment:s; content: counter(s); position:absolute; top:-16px; left:24px; width:34px; height:34px; background:var(--green); color:#fff; border-radius:50%; display:grid; place-items:center; font-weight:800; }
.deadline { background: #fff4e5; border: 1px solid #ffd79a; color: #7a4a00; border-radius: var(--radius); padding: 18px 22px; text-align:center; font-weight:600; }

/* FAQ */
.faq details { background:#fff; border:1px solid var(--line); border-radius:12px; padding:16px 20px; margin-bottom:10px; }
.faq summary { font-family:Montserrat,sans-serif; font-weight:700; color:var(--ink); cursor:pointer; }
.faq p { margin:.6rem 0 0; font-size:.95rem; }

/* CTA band */
.band { background: linear-gradient(135deg,var(--green-deep),var(--green)); color:#fff; text-align:center; }
.band h2 { color:#fff; }

/* Footer */
.site-footer { background: var(--ink); color: #9fb0c9; font-size:.88rem; }
.site-footer a { color:#cdd9ec; }
.site-footer .container { padding: 36px 20px; display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; }

/* Insurer strip */
.insurers { background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.insurers .container { padding: 22px 20px; text-align:center; }
.insurers p.eyebrow { font-size:.74rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin:0 0 12px; }
.insurers .names { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 26px; }
.insurers .names span { font-family:Montserrat,sans-serif; font-weight:700; color:#9aa6b8; font-size:1.05rem; }

/* Testimonials */
.testimonials { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.tcard { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.tcard .stars { color:#f5b50a; letter-spacing:2px; font-size:1rem; }
.tcard p { margin:12px 0 16px; color:var(--ink); }
.tcard .who { display:flex; align-items:center; gap:12px; }
.tcard .av { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--green)); color:#fff; display:grid; place-items:center; font-family:Montserrat,sans-serif; font-weight:800; }
.tcard .who b { display:block; color:var(--ink); font-size:.95rem; }
.tcard .who span { font-size:.82rem; color:var(--muted); }

/* Cookie banner */
.cookie { position:fixed; left:16px; right:16px; bottom:16px; z-index:90; max-width:560px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); padding:16px 18px; display:none; }
.cookie.show { display:block; }
.cookie p { font-size:.85rem; margin:0 0 12px; color:var(--body); }
.cookie .row { display:flex; gap:10px; flex-wrap:wrap; }
.cookie .btn { padding:10px 18px; font-size:.85rem; }

@media (max-width: 880px){
  .hero-grid{ grid-template-columns:1fr; gap:28px; padding-top:40px; padding-bottom:40px; }
  .features{ grid-template-columns:1fr 1fr; }
  .steps{ grid-template-columns:1fr; gap:34px; }
  .testimonials{ grid-template-columns:1fr; }
  .wrap{ padding:48px 0; }
}
@media (max-width:480px){ .features{ grid-template-columns:1fr; } .row2{ grid-template-columns:1fr; } .header-cta{ display:none; } .header-phone span{ display:none; } .header-phone{ font-size:0; } .header-phone svg{ width:22px; height:22px; } }
@media (max-width:560px){
  .brand{ font-size:.82rem; gap:7px; }
  .brand small{ font-size:.55rem; letter-spacing:.1em; }
  .ch-flag{ width:22px; height:22px; }
  .header-cta{ padding:8px 13px; font-size:.78rem; }
  .site-header .container{ height:58px; }
}

/* ── Scroll-reveal animations ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
/* Staggered groups (feature / step / FAQ grids) */
.reveal-group > * { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(1){ transition-delay: .00s; }
.reveal-group.in > *:nth-child(2){ transition-delay: .10s; }
.reveal-group.in > *:nth-child(3){ transition-delay: .20s; }
.reveal-group.in > *:nth-child(4){ transition-delay: .30s; }
.reveal-group.in > *:nth-child(5){ transition-delay: .40s; }
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

