/* Trausnitz Immobilien – Clean Premium Design */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:  #1a2744;
  --wine:  #8B1A1A;
  --beige: #f5f0eb;
  --white: #ffffff;
  --text:  #555555;
  --hh:    68px;
  --cw:    1140px;
  --r:     8px;
  --shadow: 0 2px 16px rgba(0,0,0,.07);
}

body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Buttons ────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--navy); color: var(--white);
  padding: 13px 24px; border-radius: 6px;
  font-size: .9rem; font-weight: 600; border: none;
  transition: background .2s; cursor: pointer; white-space: nowrap;
}
.btn-primary:hover { background: #253460; }
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy); padding: 11px 22px; border-radius: 6px;
  font-size: .9rem; font-weight: 600;
  transition: background .2s, color .2s; cursor: pointer; white-space: nowrap;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ── Header ─────────────────────────────────── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hh); background: var(--white);
  transition: box-shadow .25s;
}
.hdr.on { box-shadow: 0 1px 14px rgba(0,0,0,.09); }
.hdr-inner {
  max-width: var(--cw); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.hdr-logo img { height: 38px; width: auto; max-height: 38px; }
.hdr-right { display: flex; align-items: center; gap: 20px; }

/* ── Section base ───────────────────────────── */
.sec { padding: 80px 0; }
.sec-inner { max-width: var(--cw); margin: 0 auto; padding: 0 24px; }
.sec-eyebrow {
  font-size: .72rem; font-weight: 600; color: var(--wine);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px;
}
.sec-h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--navy);
  line-height: 1.25; margin-bottom: 16px;
}
.sec-sub { font-size: 1rem; color: var(--text); line-height: 1.75; max-width: 640px; }

/* ── Hero ───────────────────────────────────── */
.hero { padding-top: var(--hh); background: var(--white); }
.hero-inner {
  max-width: var(--cw); margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 55fr 45fr; gap: 60px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center;
  background: var(--wine); color: var(--white);
  padding: 6px 16px; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 24px;
}
.lp-badge {
  display: inline-flex; align-items: center;
  background: var(--wine); color: var(--white);
  padding: 5px 14px; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-h1 {
  font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem; color: var(--text); line-height: 1.75; margin-bottom: 28px;
}
.hero-checks { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 11px; }
.hero-checks li {
  display: flex; align-items: center; gap: 11px;
  font-size: .95rem; color: var(--navy); font-weight: 500;
}
.hero-checks li::before {
  content: '';
  display: inline-block; width: 20px; height: 20px; flex-shrink: 0;
  background-color: var(--wine); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-google {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; color: var(--navy);
}
.hero-google svg { width: 22px !important; height: 22px !important; flex-shrink: 0; display: inline-block; }
.hero-google .g-stars { color: #f9ab00; letter-spacing: .05em; }
.hero-img { border-radius: var(--r); overflow: hidden; height: 480px; width: 100%; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Pain Cards ─────────────────────────────── */
.pain { background: var(--beige); }
.pain-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pain-card {
  display: flex; flex-direction: column;
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); background: var(--white);
}
.pain-card-img { width: 100%; height: 200px; overflow: hidden; }
.pain-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pain-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pain-card-h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.pain-card-text { font-size: .92rem; color: var(--text); line-height: 1.75; }
.pain-card-cta { margin-top: 18px; }

/* ── Thomas ─────────────────────────────────── */
.thomas { background: var(--white); }
.thomas-inner {
  max-width: var(--cw); margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: start;
}
.thomas-photo { width: 100%; max-width: 420px; height: 500px; border-radius: var(--r); overflow: hidden; }
.thomas-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.thomas-photo-col { display: flex; flex-direction: column; align-items: center; }
.thomas-badge {
  display: block; margin-top: 14px; text-align: center;
  font-size: .85rem; font-weight: 700; color: var(--navy); letter-spacing: .04em;
  line-height: 1.6;
}
.thomas-content { padding-top: 8px; }
.thomas-checks { list-style: none; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 14px; }
.thomas-checks li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: .95rem; color: var(--text); line-height: 1.65;
}
.thomas-checks li::before {
  content: '';
  display: inline-block; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  background-color: var(--wine); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

/* ── Reviews ────────────────────────────────── */
.reviews { background: var(--beige); }
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.rv-card {
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.rv-card-header { display: flex; align-items: center; gap: 12px; }
.rv-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.rv-meta { flex: 1; min-width: 0; }
.rv-name { font-size: .9rem; font-weight: 700; color: var(--navy); }
.rv-location { font-size: .75rem; color: var(--text); }
.rv-card-source { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; }
.rv-source-text { font-size: .72rem; font-weight: 700; color: #00a550; }
.rv-stars { color: #f9ab00; font-size: 1rem; letter-spacing: .04em; }
.rv-text { font-size: .9rem; color: var(--text); line-height: 1.75; font-style: italic; flex: 1; }
.rv-date { font-size: .75rem; color: var(--text); }

/* ── Carousel / Referenzen ──────────────────── */
.refs { background: var(--navy); padding: 80px 0; }
.refs-inner { max-width: var(--cw); margin: 0 auto; padding: 0 24px; }
.refs .sec-h2 { color: var(--white); }
.car-wrap { position: relative; margin-top: 36px; }
.car-outer { overflow: hidden; }
.car-track { display: flex; gap: 16px; transition: transform .42s cubic-bezier(.25,.46,.45,.94); }
.car-item { flex-shrink: 0; border-radius: var(--r); overflow: hidden; position: relative; }
.car-item img { width: 100%; height: 280px !important; object-fit: cover !important; display: block; max-width: none; }
.car-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--wine); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  padding: 4px 10px; border-radius: 4px; text-transform: uppercase;
}
.car-arrows { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.car-arr {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: var(--white);
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  transition: background .2s; border: none; cursor: pointer;
}
.car-arr:hover:not(:disabled) { background: var(--wine); }
.car-arr:disabled { opacity: .3; cursor: default; }

/* ── Funnel Card ────────────────────────────── */
.funnel-card {
  background: var(--white); border-radius: var(--r);
  box-shadow: 0 4px 28px rgba(0,0,0,.09); overflow: hidden;
}
.fn-bar { height: 4px; background: #e0dbd4; }
.fn-bar-fill { height: 100%; background: var(--navy); transition: width .4s; width: 33.33%; }
.fn-body { padding: 36px; }
.fn-step-label {
  font-size: .7rem; font-weight: 600; color: var(--wine);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}
.fn-step h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 22px; }
.fn-choices { display: flex; flex-direction: column; gap: 10px; }
.fn-choice {
  background: #6b7280; color: var(--white);
  padding: 14px 20px; border-radius: 6px;
  font-size: .95rem; font-weight: 600; border: none; text-align: left;
  transition: background .2s;
}
.fn-choice:hover { background: var(--navy); }
.fn-choice.sel { background: var(--navy); }
.fn-inp {
  width: 100%; padding: 13px 16px; font-size: 1rem; font-family: inherit;
  border: 2px solid #ddd; border-radius: 6px;
  outline: none; transition: border-color .2s; color: var(--navy);
}
.fn-inp:focus { border-color: var(--navy); }
.fn-inp.ok  { border-color: #2d9d5e; }
.fn-inp.err { border-color: #cc2222; }
.fn-err { display: none; font-size: .8rem; color: #cc2222; margin-top: 4px; margin-bottom: 8px; }
.fn-inp.err ~ .fn-err { display: block; }
.fn-fields { display: flex; flex-direction: column; gap: 10px; }
.fn-addr-row { display: flex; gap: 10px; }
.fn-addr-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fn-addr-col.narrow { flex: 0 0 90px; }
.fn-next {
  width: 100%; margin-top: 16px;
  background: var(--navy); color: var(--white);
  padding: 14px; border-radius: 6px;
  font-size: 1rem; font-weight: 700; border: none; transition: background .2s;
}
.fn-next:hover { background: #253460; }
.fn-sub {
  width: 100%; margin-top: 16px;
  background: var(--navy); color: var(--white);
  padding: 14px; border-radius: 6px;
  font-size: 1rem; font-weight: 700; border: none; transition: background .2s;
}
.fn-sub:not(:disabled):hover { background: #253460; }
.fn-sub:disabled { opacity: .45; cursor: default; }
.fn-privacy { font-size: .78rem; color: var(--text); text-align: center; margin-top: 12px; }
.fn-back {
  background: none; border: none; color: var(--text); font-size: .85rem;
  cursor: pointer; display: block; margin-top: 8px; padding: 0;
}
.fn-back:hover { color: var(--navy); }
.fn-step { display: none; }
.fn-step.active { display: block; }
.fn-thomas-note { font-size: .85rem; color: var(--text); margin-bottom: 16px; }
.fn-consent {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; margin-top: 16px;
}
.fn-consent input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px;
  accent-color: var(--navy); cursor: pointer;
}
.fn-consent-text {
  font-size: .8rem; color: var(--text); line-height: 1.65;
}
.fn-consent-text a { color: var(--navy); text-decoration: underline; }
.fn-consent-err { display: none; font-size: .8rem; color: #cc2222; margin-top: 6px; }
.fn-consent-err.show { display: block; }

/* ── Funnel Section ─────────────────────────── */
.funnel-sec { background: var(--beige); padding: 80px 0; }
.funnel-sec-inner { max-width: 640px; margin: 0 auto; padding: 0 24px; text-align: center; }
.funnel-sec-inner .sec-h2 { margin-bottom: 8px; }
.funnel-sec-inner .sec-sub { margin: 0 auto 32px; }

/* ── Footer ─────────────────────────────────── */
.footer-top { background: var(--beige); padding: 48px 0 36px; }
.footer-top-inner {
  max-width: var(--cw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start;
}
.footer-logo img { height: auto; max-height: 40px; width: auto; margin-bottom: 10px; }
.footer-slogan { font-size: .83rem; font-style: italic; color: var(--text); }
.footer-address { font-size: .875rem; line-height: 1.9; color: var(--text); }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer-links a { font-size: .875rem; color: var(--text); transition: color .2s; }
.footer-links a:hover { color: var(--navy); }
.footer-bottom { background: var(--navy); padding: 16px 0; }
.footer-bottom-inner {
  max-width: var(--cw); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-credit { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ── Reviews Auto-Scroll Slider ─────────────── */
.rv-slider { overflow: hidden; margin-top: 40px; }
.rv-track-auto {
  display: flex; gap: 20px; width: max-content;
  animation: rv-scroll 32s linear infinite;
}
.rv-track-auto .rv-card { flex: 0 0 340px; width: 340px; }
@keyframes rv-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-1800px); }
}

/* ── Footer Uni (all-navy) ───────────────────── */
.footer-uni { background: var(--navy); padding: 80px 0 0; }
.footer-uni-top {
  max-width: var(--cw); margin: 0 auto; padding: 0 24px 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-uni-brand img { height: 40px; width: auto; margin-bottom: 8px; display: block; filter: brightness(0) invert(1); }
.footer-slogan-uni { font-size: .83rem; font-style: italic; color: rgba(255,255,255,.45); }
.footer-uni-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-uni-nav a { font-size: .9rem; color: rgba(255,255,255,.8); transition: color .2s; }
.footer-uni-nav a:hover { color: var(--white); }
.footer-gruender-text { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-uni-divider { height: 1px; background: rgba(255,255,255,.1); }
.footer-uni-bottom {
  max-width: var(--cw); margin: 0 auto; padding: 14px 24px;
  font-size: .8rem; color: rgba(255,255,255,.45);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-uni-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-uni-links a { font-size: .8rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-uni-links a:hover { color: var(--white); }
.footer-madeby-row { text-align: center; padding: 10px 24px 20px; }
.footer-madeby {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-madeby:hover { color: rgba(255,255,255,.9); }
.footer-madeby-logo {
  height: 18px; width: auto; display: block;
  filter: grayscale(1) invert(1) brightness(4);
  mix-blend-mode: screen;
}

/* ── Headline gray highlight ────────────────── */
.hl-gray {
  background: rgba(180,185,195,.45);
  border-radius: 3px;
  padding: 1px 5px;
}
.hl-light {
  background: rgba(180,185,195,.45);
  border-radius: 3px;
  padding: 1px 5px;
}

/* ── Danke ──────────────────────────────────── */
.danke-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 24px; text-align: center; background: var(--white);
}
.danke-check {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.danke-check svg { width: 36px; height: 36px; color: white; }
.danke-page h1 { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.danke-text { font-size: 1rem; color: var(--text); line-height: 1.75; margin-bottom: 8px; }
.danke-sub { font-size: .95rem; color: var(--wine); font-weight: 600; margin-bottom: 36px; }
.danke-logo img { height: 40px; width: auto; margin: 0 auto; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-img { height: 340px; }
  .thomas-inner { grid-template-columns: 1fr; gap: 40px; }
  .thomas-photo { height: 380px; max-width: 100%; }
  .rv-grid { grid-template-columns: 1fr 1fr; }
  .pain-cards { grid-template-columns: 1fr 1fr; }
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .rv-grid { grid-template-columns: 1fr; }
  .pain-cards { grid-template-columns: 1fr; }
  .footer-top-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 639px) {
  .hero-inner { padding: 48px 24px 56px; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { text-align: center; flex: 1; }
}
