/* worknetplus+ Landingpage. Schwarz, Grau, Orange. */
@font-face { font-family: Barlow; font-weight: 400; src: url(schriften/barlow-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 600; src: url(schriften/barlow-latin-600-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 700; src: url(schriften/barlow-latin-700-normal.woff2) format('woff2'); font-display: swap; }

:root {
  --schwarz: #000;
  --graphit: #1c1d1f;
  --grau: #b7b9bd;
  --hellgrau: #d3d4d7;
  --orange: #f97316;
  --glut: #ffc48c;
  --rand: clamp(20px, 5vw, 80px);
}
@property --arm { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--schwarz); scroll-behavior: smooth; }
body { margin: 0; color: #fff; font: 400 clamp(18px, 1.35vw, 21px)/1.5 Barlow, 'Segoe UI', sans-serif; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.03em; line-height: 1.03; text-wrap: balance; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
main:focus { outline: none; }
.breite { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--rand); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; top: -90px; left: 12px; z-index: 5; padding: 10px 16px; background: #fff; color: #000; }
.sprung:focus { top: 12px; }

.marke { font-weight: 700; letter-spacing: -.035em; line-height: 1; color: #fff; text-decoration: none; white-space: nowrap; }
.marke span { color: var(--orange); }

/* Kopf */
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; }
.kopf .marke { font-size: clamp(27px, 2.4vw, 36px); }
.kopf nav { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.kopf nav a { color: var(--grau); text-decoration: none; padding: 10px 0; }
.kopf nav a:hover { color: #fff; }

/* Start */
.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: clamp(40px, 6vw, 110px); min-height: calc(100svh - 92px); padding-block: 24px 72px; }
h1 { font-size: clamp(42px, 5.1vw, 82px); }
h1 span { display: block; }
.start-text p { margin-top: 26px; max-width: 31em; color: var(--grau); }
.knopf { display: inline-flex; align-items: center; min-height: 58px; margin-top: 36px; padding: 0 32px; border-radius: 6px; background: var(--orange); color: #000; font-weight: 600; font-size: 20px; text-decoration: none; }
.knopf:hover { background: var(--glut); }
.knopf:focus-visible { outline-color: #fff; }

/* Das Plus: die Lücke zwischen vier Feldern, von innen beleuchtet */
.beispiel { width: 100%; max-width: 640px; justify-self: end; }
.plusfeld { --spalt: clamp(26px, 3.2vw, 50px); --arm: 50%; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--spalt); transition: --arm .9s cubic-bezier(.2,.8,.2,1); }
.plusfeld.dunkel { --arm: 4%; transition-duration: .3s; }
.plus { position: absolute; inset: 0; pointer-events: none; filter: drop-shadow(0 0 14px rgba(249,115,22,.75)) drop-shadow(0 0 60px rgba(249,115,22,.45)); }
.plus i {
  --s: calc(var(--spalt) / 2);
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, #fff3e4 0, var(--glut) 9%, var(--orange) 34%, #e4570a 72%);
  clip-path: polygon(
    calc(50% - var(--s)) calc(50% - var(--arm)), calc(50% + var(--s)) calc(50% - var(--arm)),
    calc(50% + var(--s)) calc(50% - var(--s)), calc(50% + var(--arm)) calc(50% - var(--s)),
    calc(50% + var(--arm)) calc(50% + var(--s)), calc(50% + var(--s)) calc(50% + var(--s)),
    calc(50% + var(--s)) calc(50% + var(--arm)), calc(50% - var(--s)) calc(50% + var(--arm)),
    calc(50% - var(--s)) calc(50% + var(--s)), calc(50% - var(--arm)) calc(50% + var(--s)),
    calc(50% - var(--arm)) calc(50% - var(--s)), calc(50% - var(--s)) calc(50% - var(--s)));
}
.feld { --ecke: 100% 100%; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1 / .92; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(14px, 1.7vw, 28px); border-radius: 4px; background: linear-gradient(160deg, #2c2d30, var(--graphit) 55%, #101113); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.feld:nth-of-type(2) { border-top-left-radius: 26px; }
.feld:nth-of-type(3) { border-top-right-radius: 26px; --ecke: 0% 100%; }
.feld:nth-of-type(4) { border-bottom-left-radius: 26px; --ecke: 100% 0%; }
.feld:nth-of-type(5) { border-bottom-right-radius: 26px; --ecke: 0% 0%; }
/* Licht, das vom Plus auf das Feld fällt */
.feld::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--ecke), rgba(249,115,22,.62), rgba(249,115,22,.14) 42%, transparent 68%); opacity: 0; transition: opacity .5s; }
.feld.an::before { opacity: 1; }
.feld h2 { font-size: clamp(16px, 1.35vw, 21px); font-weight: 600; letter-spacing: 0; color: var(--hellgrau); }
.feld b { display: block; font-size: clamp(22px, 2.5vw, 40px); line-height: 1.05; letter-spacing: -.025em; font-variant-numeric: tabular-nums; color: var(--grau); transition: color .4s; }
.feld.an b { color: #fff; }
.feld p span { display: block; margin-top: 6px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.25; color: var(--hellgrau); }
.beispiel figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin-top: 18px; font-size: 17px; color: var(--grau); }
.beispiel button { padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.beispiel button:hover { color: #fff; }
.beispiel button:disabled { visibility: hidden; }

/* Die Rechnung: Teile untereinander, Plus davor, Strich, Ergebnis */
.drin { background: linear-gradient(180deg, #e2e3e5, var(--hellgrau) 60%, #bfc1c5); color: #000; padding-block: clamp(72px, 9vw, 150px); }
.drin h2, .cloud h2 { font-size: clamp(38px, 4.8vw, 78px); }
.summe { margin-top: clamp(40px, 5vw, 80px); }
.summe li { display: grid; grid-template-columns: 1.1em minmax(0, 6.2em) minmax(0, 1fr); align-items: baseline; font-size: clamp(38px, 4.4vw, 70px); line-height: 1; padding-block: .16em; }
.summe li::before { content: ''; }
.summe li + li::before { content: '+'; font-weight: 700; }
.summe h3 { font-size: 1em; }
.summe p { font-size: clamp(18px, 1.5vw, 23px); line-height: 1.4; color: #26272a; }
.ergebnis { margin-top: clamp(18px, 2vw, 32px); padding: clamp(16px, 1.8vw, 28px) 0 0 1.1em; border-top: 10px double #000; font-size: clamp(38px, 4.4vw, 70px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }

/* Cloud */
.cloud { background: linear-gradient(120deg, #ff8a2b, var(--orange) 45%, #e8610c); color: #000; padding-block: clamp(80px, 10vw, 170px); }
.cloud .breite { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 32px clamp(40px, 6vw, 110px); }
.cloud p { font-size: clamp(19px, 1.6vw, 25px); line-height: 1.42; max-width: 28em; }

footer { padding-top: clamp(64px, 7vw, 110px); overflow: hidden; }
footer p { color: var(--grau); }
.riesig { margin-top: clamp(20px, 2.4vw, 40px); padding-bottom: .24em; font-size: min(15.6vw, 258px); }

@media (max-width: 900px) {
  .start { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 28px 64px; }
  .beispiel { justify-self: start; }
  .cloud .breite { grid-template-columns: minmax(0, 1fr); }
  .summe li { grid-template-columns: 1.1em minmax(0, 1fr); padding-block: .24em; }
  .summe p { grid-column: 2; margin-top: 8px; }
}
@media (max-width: 480px) {
  .kopf { min-height: 76px; }
  .kopf nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { transition: none !important; } }
