.home-page {
  --night: #090c10;
  --ink: #141c25;
  --soft: #465463;
  --silver: #d6e0e9;
  --ice: #f0f3f6;
  --hairline: #c6d1db;
  --glass-edge: #e4effa35;
  --glass-fill: linear-gradient(145deg, #f1f7ff20, #c0d3e507 70%), #15212b9b;
  --shell: clamp(20px, 3.8vw, 60px);
  --section-space: clamp(64px, 8.3vw, 132px);
  background: var(--night);
}

.home-page .wrap { max-width: 1336px; }
.home-page :focus-visible { outline-color: #4a9cca; outline-offset: 4px; }

/* Navigation and photographic opening */
.home-page .masthead {
  background: linear-gradient(110deg, #1a232c, #0b1016 62%);
  border-color: #eef6ff24;
}
.home-page .head-inner { min-height: 84px; }
.home-page .desktop-nav {
  gap: 5px;
  padding: 5px;
  border: 1px solid #e6f4ff22;
  border-radius: 12px;
  background: #dce8f20a;
  box-shadow: inset 0 1px #ffffff0b;
}
.home-page .desktop-nav a,
.home-page .mobile-nav summary {
  display: inline-flex;
  align-items: center;
  min-height: 41px;
  border-radius: 7px;
  padding: 0 clamp(10px, 1.15vw, 18px);
  font-size: .88rem;
  font-weight: 560;
}
.home-page .desktop-nav a:not(.nav-contact):hover { background: #eaf5ff14; text-decoration: none; }
.home-page .nav-contact {
  border: 1px solid #dfeeff5c;
  background: linear-gradient(145deg, #eaf2fe25, #cdd9e712);
  color: #fff;
}
.home-page .nav-contact:hover { background: #e8f0f8; color: var(--ink); }

.home-page .hero {
  min-height: clamp(590px, 80svh, 790px);
  background: #090e14;
}
.home-page .hero-shade {
  background: linear-gradient(90deg, #090e14fa, #0c1116df 30%, #0c11167d 47%, #0c111610 66%, transparent 76%),
              linear-gradient(0deg, #090e14f5, #090e1440 18%, transparent 35%);
}
.home-page .hero-main { padding-block: clamp(56px, 6.3vw, 105px) clamp(30px, 4.5vw, 68px); }
.home-page .hero-copy { width: min(61%, 800px); }
.home-page .hero .kicker { color: #d6e4f0; }
.home-page .hero h1 {
  margin-block: .2em .25em;
  font-size: clamp(3.75rem, 6.65vw, 8.2rem);
  line-height: .96;
}
.home-page .hero h1 em { color: #cbd9e5; }
.home-page .hero-intro { max-width: 47ch; color: #f0f5fa; text-wrap: pretty; }
.home-page .hero-actions { gap: 10px 24px; }
.home-page .action { min-height: 50px; border-radius: 8px; }
.home-page .hero-actions .primary {
  border-color: #f2f7ff;
  color: #14202a;
  background: linear-gradient(160deg, #fafcff, #cddbe7);
  box-shadow: inset 0 1px white, 0 7px 25px #070d1840;
}
.home-page .hero-actions .primary:hover { background: #fff; }
.home-page .hero-actions .text-link { color: #e6eff9; text-decoration-color: #dfedfb80; }
.home-page .hero-actions .text-link:hover { text-decoration-color: #fff; }

.home-page .hero-rotation {
  position: absolute;
  right: var(--edge);
  bottom: clamp(16px, 2.4vw, 32px);
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid #e3effd40;
  border-radius: 50%;
  background: #101923cf;
  color: #e0eaf2;
  box-shadow: inset 0 1px #f4faff18;
}
.home-page .hero-rotation:hover { background: #1c2a38; color: #fff; }

/* Benefits and service photography */
.benefits {
  --benefit-accent: #dceaf8;
  --benefit-icon-bg: #263745;
  padding-block: clamp(52px, 6vw, 96px) var(--section-space);
  border-top: 1px solid #d8ebff28;
  background: radial-gradient(ellipse at 87% -24%, #354e64 0%, transparent 49%),
              linear-gradient(137deg, #0b1118, #15222d 79%, #17252f);
  color: #f2f7fa;
}
.benefits-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: end;
  gap: clamp(18px, 5vw, 78px);
  margin-bottom: clamp(28px, 4vw, 54px);
}
.benefits .kicker { color: #c2d3e3; }
.benefits .kicker + h2 { margin-top: 11px; }
.benefits h2 em { color: var(--silver); }
.benefits-heading > p,
.benefits-grid p { color: #d3dee9; }
.benefits-heading > p { max-width: 44ch; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefits-grid li,
.partnership-details {
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  background: var(--glass-fill);
  box-shadow: inset 0 1px #f0f6ff21, 0 15px 34px #060e1836;
}
.benefits-grid li { padding: clamp(20px, 2.6vw, 39px); }
.benefits-grid h3 { margin-bottom: 7px; font-size: clamp(1.13rem, 1.55vw, 1.44rem); line-height: 1.26; font-weight: 630; }
.benefit-icon {
  position: relative;
  display: block;
  width: 43px;
  height: 43px;
  margin-bottom: 21px;
  border: 1px solid #d1e6f65c;
  border-radius: 12px;
  color: var(--benefit-accent);
  background: var(--benefit-icon-bg);
  box-shadow: inset 0 1px #dcecff35;
}
.benefit-icon::before,
.benefit-icon::after { content: ""; position: absolute; }
.benefit-icon-talk::before { width: 20px; height: 15px; border: 1.5px solid; border-radius: 4px; top: 11px; left: 10px; }
.benefit-icon-talk::after {
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  background: var(--benefit-icon-bg);
  top: 25px;
  left: 15px;
  transform: skewY(-35deg);
}
.benefit-icon-time::before,
.benefit-icon-focus::before { inset: 10px; border: 1.5px solid; border-radius: 50%; }
.benefit-icon-time::after { top: 15px; left: 21px; width: 6px; height: 7px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; }
.benefit-icon-focus::after { inset: 18px; border-radius: 50%; background: currentColor; }

.service-overview {
  padding-block: var(--section-space);
  background: radial-gradient(ellipse at 8% 2%, #fff, transparent 62%), linear-gradient(152deg, #eef2f6, #dce5ed);
  color: var(--ink);
}
.service-overview em,
.home-page .trust em,
.trial-start h2 em { color: #526371; }
.service-overview .section-heading > p { align-self: end; color: var(--soft); }
.service-overview .service-grid-photos {
  gap: clamp(14px, 1.95vw, 30px);
  margin-top: 0;
}
.service-card {
  overflow: hidden;
  border: 1px solid #ffffffdf;
  border-radius: 15px;
  background: linear-gradient(160deg, #fff, #f9fbfde0);
  box-shadow: 0 12px 35px #374c6415, 0 1px 5px #374c6410;
}
.service-card img {
  aspect-ratio: 1.65;
  margin: 0;
  filter: saturate(.77);
}
.service-card-content { padding: clamp(20px, 2.3vw, 32px); }
.service-overview .service-card h3 { font-weight: 630; }
.service-overview .service-grid p { color: var(--soft); }
.service-overview .service-grid-detail {
  gap: clamp(15px, 2.6vw, 42px);
  margin-top: clamp(28px, 4.5vw, 62px);
}
.service-overview .service-grid-detail > div { border-color: #8e9eac; padding-top: 18px; }
.service-grid-detail h3 { font-size: clamp(1.05rem, 1.28vw, 1.27rem); font-weight: 610; }

/* Collaboration, contact and questions */
.partnership {
  padding-block: var(--section-space);
  background: radial-gradient(ellipse at 32% 100%, #293b4b, transparent 70%), #0b1118;
  color: #f5f8fc;
}
.partnership-grid {
  display: grid;
  grid-template-columns: 1.19fr 1fr;
  align-items: center;
  gap: clamp(24px, 5.3vw, 87px);
  padding: clamp(29px, 5vw, 86px);
  border: 1px solid #cadced3c;
  border-radius: 21px;
  background: linear-gradient(95deg, #0b1119f7 9%, #0b1119e8 43%, #0b111979 100%),
              url("assets/webstudio-entwurf.webp") 70% 48% / cover, #101a23;
  box-shadow: 0 16px 70px #04080f48;
}
.partnership h2 em { color: #cee0ee; }
.partnership h2 + p { max-width: 46ch; margin-top: 21px; }
.partnership p { color: #e0e8f0; }
.partnership-details { padding: clamp(21px, 2.7vw, 38px); background-color: #172431e8; }
.partnership-details > div + div { margin-top: 18px; padding-top: 18px; border-top: 1px solid #dceaff33; }
.partnership-details h3,.trial-steps h3 { font-size: 1.12rem; line-height: 1.34; font-weight: 650; }
.partnership-details p,.trial-steps p { margin-top: 7px; }

.trial-start {
  padding-block: var(--section-space);
  background: radial-gradient(ellipse at 90% 8%, #fff, transparent 65%), #e4ebf1;
  color: var(--ink);
}
.trial-start .trial-grid {
  align-items: center;
  gap: clamp(25px, 5vw, 82px);
  padding: var(--shell);
  border: 1px solid #fff;
  border-radius: 21px;
  background: radial-gradient(ellipse at 0% 95%, #d7e4f1b3, transparent 63%),
              linear-gradient(145deg, #fcfdfffa, #f7fbffe6);
  box-shadow: 0 15px 65px #40597c1a, inset 0 1px #fff;
}
.trial-start .trial-copy { color: var(--soft); }
.trial-actions { margin-top: 24px; }
.trial-start .primary {
  border-color: #263748;
  background: linear-gradient(145deg, #2e4657, #101b25);
  color: #fff;
  box-shadow: inset 0 1px #cbdcec36, 0 6px 18px #1e314d25;
}
.trial-start .primary:hover { background: #2d4556; }
.trial-steps { margin: 0; padding: 0; list-style: none; }
.trial-steps li { position: relative; margin-left: 6px; padding: 0 0 23px 24px; border-left: 1px solid #9baebd; }
.trial-steps li:last-child { padding-bottom: 0; border-color: transparent; }
.trial-steps li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid #526e85;
  border-radius: 50%;
  background: #a4b9cc;
  box-shadow: 0 0 0 4px #f6f9fc;
}
.trial-steps p { color: var(--soft); }

.home-page .trust { padding-block: var(--section-space); background: #f7f9fb; }
.home-page .trust-grid { grid-template-columns: .82fr 1fr; }
.home-page .trust-list { border-block: 1px solid var(--hairline); }
.home-page .trust-list details + details { border-top: 1px solid var(--hairline); }
.home-page .trust-list summary {
  display: grid;
  grid-template-columns: 1fr 30px;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 0;
  border-radius: 5px;
  font-size: 1.08rem;
  font-weight: 625;
  line-height: 1.4;
}
.home-page .trust-list summary:hover { color: #305772; }
.home-page .trust-list summary::after {
  content: "";
  display: block;
  width: 29px;
  height: 29px;
  border: 1px solid #afbdc9;
  border-radius: 50%;
  background: linear-gradient(#445e73, #445e73) center / 10px 1px no-repeat,
              linear-gradient(#445e73, #445e73) center / 1px 10px no-repeat, #edf2f7;
}
.home-page .trust-list details[open] summary::after {
  background: linear-gradient(#445e73, #445e73) center / 10px 1px no-repeat, #edf2f7;
}
.home-page .trust-list p { max-width: 60ch; padding: 0 30px 19px 0; color: var(--soft); }
.home-page footer {
  border-top: 1px solid #dceaff28;
  background: linear-gradient(135deg, #192831, #0c121a 70%);
  color: #dae4ed;
}
.home-page .footline { padding-block: clamp(28px, 4vw, 52px); }
.home-page .legal-links { gap: 5px 20px; }
.home-page .legal-links a { text-decoration-color: #c4d9e995; }
.home-page .legal-links a:hover { color: #fff; text-decoration-color: #fff; }

@supports (backdrop-filter: blur(1px)) {
  .home-page .hero-rotation { background-color: #101923a8; backdrop-filter: blur(9px); }
  .partnership-details { background-color: #162430ac; backdrop-filter: blur(14px); }
}

@media (min-width: 761px) and (max-width: 900px) {
  .home-page .hero h1 { font-size: 7.3vw; }
  .home-page .hero-copy { width: 66%; }
}
@media (max-width: 760px) {
  .home-page { --section-space: clamp(53px, 10vw, 76px); }
  .home-page .head-inner { min-height: 66px; }
  .home-page .mobile-nav summary { gap: 9px; border: 1px solid #b1c9df43; background: #c0d9eb10; }
  .home-page .mobile-nav nav {
    padding: 8px var(--edge);
    border-color: #c3d5e650;
    background: #12202cf2;
    box-shadow: 0 16px 24px #04070b54;
  }
  .home-page .mobile-nav nav a { min-height: 44px; }
  .home-page .mobile-nav nav a + a { border-top: 1px solid #d5e8fa23; }
  .home-page .hero { min-height: 0; }
  .home-page .hero-shade {
    background: linear-gradient(180deg, transparent 0, transparent clamp(106px, 34vw, 210px),
                #090e14a3 clamp(179px, 51vw, 294px), #090e14 clamp(210px, 61vw, 350px));
  }
  .home-page .hero-main { padding-block: clamp(166px, 48vw, 285px) 30px; }
  .home-page .hero-copy { width: 100%; }
  .home-page .hero h1 { font-size: clamp(2.42rem, 10.5vw, 4.75rem); }
  .home-page .hero-actions { gap: 7px 19px; margin-top: 18px; }
  .home-page .hero-rotation { top: 12px; bottom: auto; }

  .benefits-heading,
  .benefits-grid,
  .partnership-grid,
  .home-page .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .benefits-grid li { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 15px; }
  .benefit-icon { margin-bottom: 0; }
  .service-overview .service-grid-photos { gap: 20px; }
  .partnership-grid,.trial-start .trial-grid { border-radius: 15px; }
  .partnership-grid {
    padding: var(--shell);
    background-image: linear-gradient(160deg, #0b1119f0, #0b1119bf), url("assets/webstudio-entwurf-mobil.webp");
  }
  .home-page .trust-list summary { min-height: 62px; font-size: 1rem; }
}
