/* Startseite – seitenspezifische Styles */

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  min-height: min(calc(100vh - var(--header-h) - 34px), 760px);
  display: flex; align-items: center;
  padding: clamp(72px, 10vw, 120px) 0 clamp(88px, 11vw, 130px);
  background:
    linear-gradient(115deg, rgba(28, 18, 30, .94) 0%, rgba(60, 16, 62, .84) 45%, rgba(128, 32, 130, .62) 100%),
    url("../img/frankfurt-skyline.jpg") center 60% / cover no-repeat;
  background-color: var(--dark);
}
/* feines Raster + Lichtschein als Dekoration */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 20% 40%, #000 0%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(20, 12, 22, .45));
}
.hero__glow {
  position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 92, 199, .45) 0%, rgba(128, 32, 130, 0) 65%);
  filter: blur(10px); animation: hero-glow 12s ease-in-out infinite alternate;
}
@keyframes hero-glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.15); } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 7px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); color: #f2def3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #e59be7; box-shadow: 0 0 0 4px rgba(229, 155, 231, .25); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.6vw, 4rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: .45em; }
.hero__slogan {
  background: linear-gradient(90deg, #f6c9f7 0%, #d77ad9 55%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: #ecdcec; max-width: 600px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.hero .btn--light:hover { background: var(--primary-light); border-color: var(--primary-light); color: var(--primary-dark); }

.hero__facts {
  list-style: none; margin: 0; padding: 26px; display: grid; gap: 14px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.hero__facts li { display: flex; align-items: center; gap: 16px; color: #e6d6e7; font-size: .97rem; line-height: 1.5; }
.hero__facts li + li { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero__facts strong { color: #fff; display: block; font-weight: 600; }
.hero__fact-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #b24db4 100%); color: #fff; box-shadow: 0 8px 20px rgba(128, 32, 130, .45);
}
.hero__fact-icon svg { width: 24px; height: 24px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; border: 1px solid rgba(255, 255, 255, .35); animation: hero-bounce 2.2s ease-in-out infinite;
}
.hero__scroll:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.hero__scroll svg { width: 22px; height: 22px; }
@keyframes hero-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__facts { max-width: 560px; }
}
@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__facts { padding: 20px; }
  .hero__scroll { display: none; }
}

/* ---------- Intro / Standort ---------- */
.intro__media { position: relative; margin: 0; }
.intro__media img { aspect-ratio: 4 / 3; }
.intro__badge {
  position: absolute; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--radius); padding: 12px 18px 12px 14px; box-shadow: var(--shadow-lg);
  font-size: .85rem; line-height: 1.35; color: var(--text);
}
.intro__badge svg { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--primary-light); color: var(--primary); flex: none; }
.intro__badge strong { display: block; color: var(--dark); font-size: .95rem; }
@media (max-width: 860px) { .intro__media { order: -1; } .intro__badge { left: 12px; bottom: 12px; } }

/* ---------- Leistungen ---------- */
.service-card { position: relative; overflow: hidden; }
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), #c45cc7); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .icon-badge { background: var(--primary); color: #fff; }
.service-card .icon-badge { transition: background .25s, color .25s; }
.services-more { margin: 44px 0 0; }

/* ---------- Ihr Anliegen / Einsatzgebiete ---------- */
.anliegen__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 48px; }
.anliegen__head h2 { margin-bottom: 0; }
.anliegen__head .lead { margin: 0; }
@media (max-width: 860px) { .anliegen__head { grid-template-columns: 1fr; } }
.areas { list-style: none; margin: 0; padding: 0; }
.area {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--primary-light) 0%, #fff 75%); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.area__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--primary); color: #fff;
}
.area__icon svg { width: 24px; height: 24px; }
.area h3 { font-size: 1.1rem; margin-bottom: .3em; }
.area p { margin: 0; font-size: .93rem; }

/* ---------- Statement ---------- */
.statement {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(128, 32, 130, .45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(128, 32, 130, .25) 0%, transparent 70%),
    var(--dark);
}
.statement__figure { max-width: 860px; margin: 0 auto; text-align: center; }
.statement__mark { width: 56px; height: 56px; margin: 0 auto 18px; color: #c45cc7; }
.statement__quote { margin: 0 0 32px; }
.statement__quote p { color: #f1eaf1; font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.65; font-weight: 300; margin: 0; }
.statement__quote strong { color: #fff; font-weight: 600; }
.statement__author { display: inline-flex; align-items: center; gap: 16px; text-align: left; color: #b9bcc1; font-size: .92rem; line-height: 1.4; }
.statement__author strong { display: block; color: #fff; font-size: 1.05rem; }
.statement__avatar {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--primary) 0%, #c45cc7 100%); color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: .04em;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08);
}

/* ---------- FAQ (details/summary, ohne JS) ---------- */
.faq__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 961px) { .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); } }
@media (max-width: 960px) { .faq__layout { grid-template-columns: 1fr; } }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(35, 36, 37, .04);
  transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] { border-color: rgba(128, 32, 130, .35); box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative; padding: 18px 60px 18px 22px;
  color: var(--dark); font-weight: 600; line-height: 1.45; border-radius: var(--radius);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }
.faq__item summary:hover { color: var(--primary); }
.faq__item summary:focus-visible { outline-offset: -3px; }
.faq__item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23802082' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s, background-color .25s;
}
.faq__item[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
}
.faq__item[open] summary { color: var(--primary); }
.faq__answer { padding: 0 22px 20px; }
.faq__answer p { margin-bottom: .8em; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 32px; }
.cta__phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 1.15rem; line-height: 1.3; text-align: left; }
.cta__phone:hover { color: #fff; }
.cta__phone small { display: block; font-size: .78rem; font-weight: 400; color: #ecd4ed; }
.cta__phone svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); flex: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__glow, .hero__scroll { animation: none; }
}
