/* =========================================================
   v2: Hero, Leistungs-Bento, großer Footer
   ========================================================= */
.hero { padding-top: clamp(48px, 7vw, 84px); }
.h1 { max-width: 17ch; font-size: clamp(42px, 6.4vw, 84px); margin-top: 28px; }
.hero .lead { margin-top: 48px; }
.hero-ticks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin-top: 24px; font-size: 15px; color: var(--text); }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%232E3BFF' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.wall { margin-top: clamp(40px, 5vw, 64px); height: clamp(380px, 46vw, 600px); }
.wcard { aspect-ratio: 16 / 10.5; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bt { position: relative; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh); display: flex; flex-direction: column; isolation: isolate; }
.bt-tx { padding: 28px 30px 30px; }
.bt h3 { font-size: 23px; letter-spacing: -.035em; }
.bt-tx p { margin-top: 8px; font-size: 15.5px; max-width: 42ch; }
.bt-design { grid-column: span 7; }
.bt-seo { grid-column: span 5; }
.bt-speed, .bt-text, .bt-mobile { grid-column: span 4; }
.bt-care { grid-column: span 12; flex-direction: row; background: var(--navy); box-shadow: none; }
.bt-design .bt-tx, .bt-seo .bt-tx { padding-bottom: 8px; }

/* Editor */
.ed { margin: 18px 0 0 30px; flex: 1; min-height: 330px; background: #fff; border-radius: 14px 0 0 0; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px rgba(10,15,41,.25); display: flex; flex-direction: column; overflow: hidden; }
.ed-top { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.ed-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.ed-top span { margin-left: 10px; color: var(--ink); font-weight: 500; }
.ed-top b { margin-left: auto; background: var(--blue); color: #fff; font-weight: 600; font-size: 11px; padding: 4px 10px; border-radius: 6px; }
.ed-body { flex: 1; display: grid; grid-template-columns: 118px 1fr 118px; }
.ed-layers, .ed-props { padding: 12px 10px; font-size: 11.5px; display: flex; flex-direction: column; gap: 3px; }
.ed-layers { border-right: 1px solid var(--line); }
.ed-props { border-left: 1px solid var(--line); gap: 6px; }
.ed-layers small, .ed-props small { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 2px 0 4px; }
.ed-layers span { padding: 4px 6px; border-radius: 5px; color: var(--text); white-space: nowrap; }
.ed-layers span.sub { padding-left: 16px; }
.ed-layers span.on { background: var(--blue-l); color: var(--blue); font-weight: 600; }
.ed-props .sw { display: flex; gap: 5px; margin-bottom: 6px; }
.ed-props .sw i { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.ed-props .font { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.ed-props .font span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.ed-props .sp { display: flex; gap: 5px; }
.ed-props .sp span { flex: 1; text-align: center; padding: 4px 0; border-radius: 5px; background: var(--canvas); color: var(--ink); font-weight: 600; }
.ed-canvas { position: relative; background: var(--canvas); background-image: var(--dots); background-size: 16px 16px; padding: 30px 22px 0; overflow: hidden; }
.ed-frame { position: relative; background: #fff; border-radius: 6px 6px 0 0; box-shadow: 0 10px 30px -12px rgba(10,15,41,.3); overflow: hidden; height: 100%; }
.ed-frame img { width: 100%; transition: transform 6s cubic-bezier(.45,.05,.35,1); }
.bt-design:hover .ed-frame img { transform: translateY(-38%); }
.ed-name { position: absolute; left: 22px; top: 9px; font-size: 10.5px; color: var(--muted); }
.ed-sel { position: absolute; left: 30px; top: 58px; width: 46%; height: 30%; border: 1.5px solid var(--blue); pointer-events: none; animation: edSel 6s ease-in-out infinite; }
.ed-sel .hd { width: 8px; height: 8px; border-width: 1.5px; }
.ed-sel .hd.a { left: -4px; top: -4px; } .ed-sel .hd.b { right: -4px; top: -4px; } .ed-sel .hd.c { left: -4px; bottom: -4px; } .ed-sel .hd.d { right: -4px; bottom: -4px; }
.ed-cur { position: absolute; left: 55%; top: 44%; display: flex; gap: 2px; pointer-events: none; animation: edCur 6s ease-in-out infinite; }
.ed-cur svg { width: 18px; height: 18px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }
.ed-cur em { margin-top: 13px; font-style: normal; font-size: 10.5px; font-weight: 600; color: #fff; background: var(--blue); padding: 3px 7px; border-radius: 5px 5px 5px 1px; }
@keyframes edSel { 0%, 40% { left: 30px; top: 58px; width: 46%; height: 30%; } 50%, 90% { left: 30px; top: 150px; width: 34%; height: 10%; } 100% { left: 30px; top: 58px; width: 46%; height: 30%; } }
@keyframes edCur { 0%, 40% { left: 55%; top: 44%; } 50%, 90% { left: 44%; top: 72%; } 100% { left: 55%; top: 44%; } }

/* SERP */
.serp { margin: 18px 30px 30px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.serp-q { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh); font-size: 15px; color: var(--ink); }
.serp-q svg { width: 16px; height: 16px; color: var(--muted); }
.serp-list { position: relative; height: 236px; }
.sr-i { position: absolute; left: 0; right: 0; top: calc(var(--p) * 60px); height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 12px; background: var(--canvas); transition: top .9s var(--ease), background .4s, box-shadow .4s; }
.sr-i b { width: 24px; height: 24px; flex: none; border-radius: 7px; background: #fff; color: var(--muted); font-size: 12px; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.sr-i div { flex: 1; display: grid; gap: 6px; min-width: 0; }
.sr-i div i { height: 7px; border-radius: 4px; background: var(--line-2); }
.sr-i div i.s { width: 60%; background: var(--line); }
.sr-i .u { font-size: 12px; color: var(--green); line-height: 1.2; }
.sr-i .t { font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-i.me { background: #fff; box-shadow: 0 0 0 1.5px var(--blue-m); }
.go .sr-i:not(.me) { top: calc((var(--p) + 1) * 60px); transition-delay: .5s; }
.go .sr-i.me { top: 0; transition-delay: .5s; box-shadow: 0 0 0 2px var(--blue), 0 16px 30px -12px rgba(46,59,255,.45); }
.sr-i.me b { background: var(--blue); color: #fff; box-shadow: none; }
.serp-ai { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: #C9CEE6; font-size: 13.5px; opacity: 0; transform: translateY(8px); transition: .5s 1.4s var(--ease); }
.serp-ai svg { width: 16px; height: 16px; color: #8F98FF; flex: none; }
.serp-ai b { color: #fff; font-weight: 600; }
.go .serp-ai { opacity: 1; transform: none; }

/* Speed */
.gauge-big { position: relative; margin: 30px 30px 0; background: var(--canvas); border-radius: 18px; padding: 30px 20px 18px; text-align: center; }
.gauge-big svg { width: 100%; max-width: 220px; display: block; margin: 0 auto; }
.g-fg { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease); }
.go .g-fg { stroke-dashoffset: 1; }
.g-num { position: absolute; left: 0; right: 0; bottom: 18px; font-size: 52px; font-weight: 700; letter-spacing: -.05em; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.bt-speed .bt-tx, .bt-text .bt-tx, .bt-mobile .bt-tx { margin-top: auto; }

/* Texte (blaue Kachel) */
.bt-text { background: var(--blue); box-shadow: none; }
.bt-text h3 { color: #fff; }
.bt-text .bt-tx p { color: rgba(255,255,255,.8); }
.tx { margin: 30px 30px 0; display: grid; gap: 10px; }
.tx p { padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.4; }
.tx-old { background: rgba(255,255,255,.1); color: rgba(255,255,255,.65); }
.tx-old s { text-decoration-color: #FF9A9A; text-decoration-thickness: 2px; }
.tx .tx-new { background: #fff; color: var(--ink); font-weight: 650; font-size: 18px; letter-spacing: -.02em; min-height: 78px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.4); }
.tx-new span::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--blue); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Handy */
.bt-mobile { background-color: var(--canvas); background-image: var(--dots); background-size: 18px 18px; }
.phone { width: 150px; height: 230px; margin: 30px auto 0; border-radius: 26px 26px 0 0; background: var(--ink); padding: 7px 7px 0; box-shadow: 0 20px 40px -16px rgba(10,15,41,.5); flex: none; }
.phone-in { height: 100%; border-radius: 20px 20px 0 0; overflow: hidden; background: #fff; }
.phone-in img { width: 250%; max-width: none; transform: translateX(-4%); transition: transform 6s cubic-bezier(.45,.05,.35,1); }
.bt-mobile:hover .phone-in img { transform: translate(-4%, -40%); }
.bt-mobile .bt-tx { background: #fff; border-top: 1px solid var(--line); }

/* Betreuung (dunkel, volle Breite) */
.bt-care .bt-tx { flex: 1; padding: clamp(28px, 4vw, 48px); align-self: center; }
.bt-care h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.bt-care .bt-tx p { color: #B8BEDA; font-size: 16.5px; max-width: 48ch; }
.bt-care .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.bt-care .chips span { font-size: 13.5px; font-weight: 500; color: #E3E6F5; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 7px 13px; border-radius: 999px; }
.chat { flex: 1; max-width: 480px; margin: 36px 40px 36px 0; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; opacity: 0; transform: translateY(8px); }
.msg.you { background: rgba(255,255,255,.1); color: #E3E6F5; border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.go .msg { animation: msgIn .45s var(--ease) forwards; }
.go .msg:nth-child(2) { animation-delay: .9s; } .go .msg:nth-child(3) { animation-delay: 1.8s; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.chat-who { align-self: flex-end; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #8F96B8; margin-top: 4px; }
.chat-who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* Großer Footer */
.ftr { position: relative; overflow: hidden; background: var(--navy); color: #9AA1C2; padding: clamp(72px, 9vw, 110px) 0 0; }
.ftr .logo { color: #fff; font-size: 21px; }
.ftr-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid rgba(255,255,255,.1); }
.ftr-cta h2 { color: #fff; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.045em; }
.ftr-cta-r { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ftr-tel { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1.5px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.ftr-tel:hover { border-color: #fff; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding: clamp(48px, 6vw, 64px) 0; }
.ftr-grid p { font-size: 16px; margin-top: 18px; max-width: 340px; line-height: 1.6; }
.ftr-grid h4 { color: #fff; font-size: 15px; letter-spacing: 0; margin-bottom: 18px; }
.ftr-grid ul { display: grid; gap: 12px; font-size: 16px; }
.ftr-grid a { transition: color .2s; }
.ftr-grid a:hover { color: #fff; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 0; color: #767DA0; }
.ftr-word { font-size: clamp(64px, 15.5vw, 240px); font-weight: 700; letter-spacing: -.06em; line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; text-align: center; margin-top: 40px; transform: translateY(8%); user-select: none; }

@media (max-width: 1080px) {
  .bt-design, .bt-seo { grid-column: span 12; }
  .bt-speed, .bt-text { grid-column: span 6; }
  .bt-mobile { grid-column: span 12; }
  .bt-care { flex-direction: column; }
  .chat { margin: 0 24px 24px; max-width: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero .lead { margin-top: 40px; }
  .bt-speed, .bt-text { grid-column: span 12; }
  .bt-tx { padding: 22px 22px 24px; }
  .ed { margin-left: 22px; min-height: 250px; }
  .ed-body { grid-template-columns: 1fr; }
  .ed-layers, .ed-props { display: none; }
  .serp { margin: 14px 22px 22px; }
  .tx, .gauge-big { margin-left: 22px; margin-right: 22px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .ftr-cta-r .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .msg, .serp-ai { opacity: 1; transform: none; }
}
