/* ==========================================================================
   fielen.de — Startseite (index.css)
   Werte exakt aus design/Startseite.dc.html
   ========================================================================== */

/* ---------- Hero ---------- */
.fn-hero {
  max-width: 1192px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding: clamp(40px, 7vw, 72px) 24px clamp(44px, 7vw, 76px);
}

.fn-hero h1 { margin: 22px 0 18px; }

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--c-muted);
  max-width: 540px;
  margin: 0 0 30px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-faint);
}

/* Hero-Visual rechts */
.hero-visual {
  position: relative;
  min-height: 420px;
}

.fn-tile {
  position: absolute;
  right: 12px;
  top: 24px;
  width: 300px;
  height: 300px;
  background: var(--c-primary);
  border-radius: 64px;
  transform: rotate(-7deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fn-tile span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 120px;
  color: #FFFFFF;
  transform: rotate(7deg);
}

.assistant-card {
  position: absolute;
  left: 24px;
  bottom: 12px;
  width: 360px;
  max-width: calc(100% - 24px);
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(44, 36, 28, .14);
  padding: 22px;
}
.assistant-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.assistant-card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15.5px;
}
.assistant-card__status {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-success);
  background: var(--c-success-bg);
  border-radius: 999px;
  padding: 4px 10px;
}
.assistant-card__rows {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.assistant-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.assistant-row__dot {
  width: 9px;
  height: 9px;
  background: var(--c-primary);
  border-radius: 999px;
  flex: none;
  transform: translateY(-1px);
}
.assistant-row__label {
  font-size: 14.5px;
  font-weight: 700;
  flex: 1;
}
.assistant-row__time {
  font-size: 12.5px;
  color: var(--c-faint);
}
.assistant-card__foot {
  border-top: 1px solid rgba(44, 36, 28, .08);
  margin-top: 16px;
  padding-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-faint);
}

/* ---------- Leistungen ---------- */
.services {
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 24px 72px;
}
.services h2 { margin: 0 0 10px; }
.services .section-lead {
  font-size: 16.5px;
  color: var(--c-muted);
  margin: 0 0 32px;
  max-width: 560px;
  line-height: 1.6;
}

.fn-svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-card h3 {
  font-size: 23px;
  margin: 0;
}
.svc-card.card h3 { font-size: 21px; }
.svc-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
}

.svc-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--c-on-tint);
  background: #FFFFFF;
  border-radius: 999px;
  padding: 5px 12px;
}

.svc-checks {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}
.svc-check {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.svc-check__mark {
  color: var(--c-primary);
  font-weight: 800;
}
.svc-check__text {
  font-size: 14.5px;
  font-weight: 600;
}

.svc-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.svc-price__amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--c-on-tint);
}
.svc-price__detail {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-muted);
}

/* ---------- Referenzen ---------- */
.references {
  background: var(--c-bg-alt);
}
.references__inner {
  max-width: 1192px;
  margin: 0 auto;
  padding: 64px 24px;
}
.references h2 { margin: 0 0 10px; }
.references .section-lead {
  font-size: 16.5px;
  color: var(--c-muted);
  margin: 0 0 32px;
  max-width: 600px;
  line-height: 1.6;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 20px;
}

.ref-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ref-card:hover { box-shadow: 0 10px 28px rgba(44, 36, 28, .1); }

.ref-card__badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--c-on-tint);
  background: var(--c-tint);
  border-radius: 999px;
  padding: 5px 12px;
}
.ref-card h3 {
  font-size: 21px;
  margin: 2px 0 0;
}
.ref-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
}
.ref-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: none;
  margin-top: auto;
}

/* ---------- Über mich ---------- */

.fn-about {
  max-width: 1192px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 52px;
  align-items: center;
  padding: clamp(44px, 7vw, 72px) 24px;
}

.fn-photo {
  width: 380px;
  height: 440px;
}
.fn-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}
.about-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-muted);
}

.about-text h2 {
  font-size: 36px;
  margin: 18px 0 16px;
}
.about-text p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 0 0 14px;
  max-width: 560px;
  text-wrap: pretty;
}
.about-text p:last-of-type { margin-bottom: 24px; }

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.about-pill {
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid rgba(44, 36, 28, .15);
  border-radius: 999px;
  padding: 8px 15px;
}

.about-more {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--c-primary);
  text-decoration: none;
}

/* ---------- CTA-Banner ---------- */
.cta-section {
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.fn-cta {
  background: var(--c-primary);
  border-radius: 28px;
  padding: clamp(30px, 5vw, 52px) clamp(24px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.fn-cta h2 {
  font-size: clamp(25px, 3.6vw, 34px);
  color: #FFFFFF;
  margin: 0 0 10px;
}
.fn-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, .92);
  margin: 0;
  line-height: 1.55;
}

.fn-ctab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cta-phone {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
}

/* ---------- Responsiv (Breakpoint 880px) ---------- */
@media (max-width: 880px) {
  .fn-hero { grid-template-columns: 1fr; gap: 36px; }
  .fn-svc { grid-template-columns: 1fr; }
  .fn-about { grid-template-columns: 1fr; gap: 32px; }
  .fn-photo { width: 100%; max-width: 420px; }
  .fn-cta { grid-template-columns: 1fr; }
  .fn-ctab { align-items: flex-start; }
  .fn-tile { width: 240px; height: 240px; border-radius: 52px; }
  .fn-tile span { font-size: 96px; }
}
