/* ==========================================================
   SEORCH Orbit – Inhaltsseiten (About, Datenschutz, Links,
   Newsletter, SEO Tools, SEO Tipps, Whitelabel, SEO API,
   GEO-/AI-Checks, Bot). Benötigt base.css + pages.css
   ========================================================== */

/* ---------- Shared helpers ---------- */
.panel > h2:only-child { margin-bottom: 0; }
.panel h3.sub { margin: 0 0 14px; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.02em; }
.lead-strong { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.panel ul.ticks, .panel ol.ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad); box-shadow: inset 0 0 0 5px var(--glass-2), 0 0 0 1px var(--stroke-2);
}
.ticks a, .panel p a, .facts a, .linkcard p a { color: var(--text); text-decoration-color: var(--c2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ext::after { content: "↗"; display: inline-block; margin-left: 3px; font-size: .8em; opacity: .6; text-decoration: none; }

/* long hero headlines */
.page-hero h1.h1--long { font-size: clamp(38px, 6.6vw, 88px); hyphens: manual; overflow-wrap: break-word; }

/* code box with header + copy button */
.codebox { border-radius: var(--r); overflow: hidden; background: #0d0d0d; border: 1px solid rgba(255, 255, 255, .06); box-shadow: var(--shadow); min-width: 0; }
.codebox__bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; background: #211d2e; color: #b9b3cf; font: 600 12px var(--mono); letter-spacing: .06em; }
.codebox__bar::before { content: ""; width: 34px; height: 10px; flex: none; background: radial-gradient(circle at 5px 5px, #ff5f57 4px, transparent 4.5px), radial-gradient(circle at 17px 5px, #febc2e 4px, transparent 4.5px), radial-gradient(circle at 29px 5px, #28c840 4px, transparent 4.5px); }
.codebox__bar span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.codebox .copybtn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; flex: none;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #f2f2f2; font: 600 12px var(--font);
  transition: background .2s, border-color .2s, transform .3s var(--spring);
}
.codebox .copybtn:hover { background: rgba(255, 255, 255, .14); transform: scale(1.04); }
.codebox .copybtn.is-copied { border-color: #d9d9d9; color: #d9d9d9; }
.codebox .copybtn svg { width: 15px; height: 15px; }
.codebox .code { border-radius: 0; margin: 0; white-space: pre; }
.code code { background: none; padding: 0; color: inherit; font-size: inherit; border-radius: 0; }
.code .hl { color: #e6e6e6; }
.code .c { color: #8f88ad; }

/* contact card (whitelabel + api) */
.contact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.contact__photo { margin: 0; position: relative; width: clamp(140px, 18vw, 200px); }
.contact__photo img { width: 100%; border-radius: 50%; aspect-ratio: 1; object-fit: cover; padding: 6px; background: var(--grad); box-shadow: var(--shadow-lg); }
.contact__photo figcaption { margin-top: 16px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.contact__card { margin-top: 8px; display: inline-grid; gap: 2px; padding: 16px 20px; border-radius: var(--r); background: var(--glass-2); border: 1px solid var(--stroke); }
.contact__card p { margin: 0 !important; }
.contact__card b { font-size: 20px; color: var(--text); letter-spacing: -.01em; }

/* reveal on scroll (only when JS is active and motion allowed) */
.js-reveal [data-reveal].is-hidden-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================
   ABOUT
   ========================================================== */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: center; }
.portrait { margin: 0; position: relative; width: clamp(200px, 26vw, 320px); justify-self: end; perspective: 900px; }
.portrait__frame { position: relative; display: block; transform: rotate(4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--spring); }
.portrait:hover .portrait__frame { transform: rotate(0deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.portrait__frame::before { content: ""; position: absolute; inset: -10px; border-radius: 14px; background: var(--grad); filter: blur(28px); opacity: .45; }
.portrait img { position: relative; border-radius: 14px; border: 6px solid var(--glass-2); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; width: 100%; }
.portrait figcaption {
  position: absolute; left: -18px; bottom: 18px; transform: rotate(-6deg); padding: 8px 14px; border-radius: 8px;
  background: var(--text); color: var(--bg); font-size: 14px; font-weight: 700; box-shadow: var(--shadow);
}
.about-hero__hello { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.about-hero__hello .wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.4s ease-in-out 1s 2; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }

.timeline-shot { margin: 0; perspective: 900px; }
.timeline-shot img { border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--stroke); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.timeline-shot figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.timeline-shot figcaption::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.facts li {
  position: relative; padding: 22px 20px 20px; border-radius: 10px; font-size: 16px; line-height: 1.45; font-weight: 500;
  background: color-mix(in srgb, var(--c) 12%, var(--glass-2)); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
  transform: rotate(var(--rot, 0deg)); transition: transform .4s var(--spring), box-shadow .3s;
}
.facts li:nth-child(4n+1) { --c: var(--c1); --rot: -1.2deg; }
.facts li:nth-child(4n+2) { --c: var(--c3); --rot: .9deg; }
.facts li:nth-child(4n+3) { --c: var(--c4); --rot: -.6deg; }
.facts li:nth-child(4n+4) { --c: var(--c2); --rot: 1.3deg; }
.facts li:hover { transform: rotate(0) translateY(-4px) scale(1.02); box-shadow: var(--shadow); }
.facts li::before {
  content: counter(list-item, decimal-leading-zero); display: block; margin-bottom: 8px;
  font: 800 13px var(--mono); letter-spacing: .08em; color: var(--c);
}

.offer { background: var(--text); color: var(--bg); border-color: transparent; position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%; background: var(--grad); filter: blur(80px); opacity: .45; pointer-events: none; }
.offer > * { position: relative; }
.offer h2 { color: var(--bg); }
.offer .ticks li { color: color-mix(in srgb, var(--bg) 82%, transparent); }
.offer .ticks li::before { box-shadow: inset 0 0 0 5px var(--text), 0 0 0 1px rgba(255, 255, 255, .2); }
.offer .ticks a { color: var(--bg); }

/* ==========================================================
   LINKS
   ========================================================== */
.linkcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.linkcard {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--stroke);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--shadow);
  transition: transform .4s var(--spring), box-shadow .3s, border-color .3s;
}
.linkcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.linkcard:focus-within { border-color: var(--c); }
.linkcard__mono {
  width: 60px; height: 60px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 24px; letter-spacing: -.03em;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 75%, #fff), var(--c)); box-shadow: 0 12px 24px -10px var(--c), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .5s var(--spring);
}
.linkcard:hover .linkcard__mono { transform: rotate(-8deg) scale(1.08); }
.linkcard strong { display: block; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
.linkcard__host { display: block; margin: 4px 0 12px; font: 600 12px var(--mono); color: var(--c); letter-spacing: .04em; }
.linkcard p { margin: 0; color: var(--text-2); }
.linkcard p a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.linkcard p a:focus-visible { outline: 0; }
.linkcard__go { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--stroke); transition: transform .4s var(--spring), background .3s, color .3s; }
.linkcard:hover .linkcard__go { transform: rotate(-45deg); background: var(--c); color: #fff; }
.linkcard__go svg { width: 18px; height: 18px; }

/* ==========================================================
   NEWSLETTER
   ========================================================== */
.nl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.nl__text { position: relative; }
.nl__badge { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 20px; padding: 8px 14px; border-radius: 8px; background: var(--glass-2); border: 1px solid var(--stroke); font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.nl__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--c4); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c4) 22%, transparent); }
.nl__env { position: relative; height: 170px; margin-top: 32px; }
.nl__env span {
  position: absolute; left: 0; width: 210px; height: 130px; border-radius: 10px; background: var(--glass-2); border: 1px solid var(--stroke); box-shadow: var(--shadow);
  overflow: hidden;
}
.nl__env span::before { content: ""; position: absolute; inset: 0 0 auto; height: 70%; background: linear-gradient(to bottom right, transparent 49.5%, var(--stroke-2) 50%, transparent 51%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49.5%, var(--stroke-2) 50%, transparent 51%) right / 50% 100% no-repeat; }
.nl__env span:nth-child(1) { top: 30px; left: 70px; transform: rotate(9deg); background: color-mix(in srgb, var(--c2) 14%, var(--glass-2)); animation: float 6s ease-in-out infinite alternate; }
.nl__env span:nth-child(2) { top: 10px; left: 30px; transform: rotate(-4deg); background: color-mix(in srgb, var(--c3) 14%, var(--glass-2)); animation: float 7s ease-in-out -2s infinite alternate; }
.nl__env span:nth-child(3) { top: 36px; left: 0; transform: rotate(-12deg); animation: float 8s ease-in-out -4s infinite alternate; }
.nl__env span:nth-child(3)::after { content: ""; position: absolute; right: 16px; bottom: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); }
@keyframes float { to { translate: 0 -10px; } }
.nl__frame {
  padding: 12px; border-radius: 14px; background: linear-gradient(var(--glass-2), var(--glass-2)) padding-box, var(--grad) border-box; border: 2px solid transparent;
  box-shadow: var(--shadow-lg);
}
.nl__frame iframe { display: block; width: 100%; max-width: 100%; height: 505px; margin-inline: auto; border: 0; border-radius: 10px; background: #fff; }

/* ==========================================================
   SEO TOOLS
   ========================================================== */
.toolgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.toolgrid li { display: grid; }
.toolcard {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--stroke); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--shadow);
  text-decoration: none; transition: transform .4s var(--spring), box-shadow .3s, border-color .3s;
}
.toolcard::before { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; background: var(--c); filter: blur(50px); opacity: .14; transition: opacity .4s, transform .6s var(--ease); pointer-events: none; }
.toolcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.toolcard:hover::before { opacity: .32; transform: scale(1.3); }
.toolcard .tile__ico { width: 56px; height: 56px; border-radius: 10px; margin-bottom: 18px; transition: transform .5s var(--spring); }
.toolcard:hover .tile__ico { transform: rotate(-8deg) scale(1.08); }
.toolcard .tile__ico svg { width: 26px; height: 26px; }
.toolcard h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; color: var(--text); padding-right: 40px; }
.toolcard p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.toolcard__go { position: absolute; right: 20px; top: 24px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--stroke); background: var(--glass-2); color: var(--text); transition: transform .4s var(--spring), background .3s, color .3s; }
.toolcard:hover .toolcard__go { background: var(--c); color: #fff; transform: translateX(3px); }
.toolcard__go svg { width: 17px; height: 17px; }
.toolgrid li:first-child .toolcard { background: linear-gradient(var(--glass-2), var(--glass-2)) padding-box, var(--grad) border-box; border: 2px solid transparent; }

/* ==========================================================
   SUCHMASCHINEN-TIPPS
   ========================================================== */
.jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 8px; border-radius: 8px;
  background: var(--glass-2); border: 1px solid var(--stroke); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: transform .3s var(--spring), border-color .2s;
}
.jump a:hover { transform: translateY(-2px); border-color: var(--text); }
.jump a b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 8px; font: 700 11px var(--mono); color: #fff; background: var(--c, var(--c2)); }

.tip { scroll-margin-top: 100px; }
.tip__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.tip__num { flex: none; width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; color: #fff; font: 800 18px var(--mono); background: linear-gradient(145deg, color-mix(in srgb, var(--c) 78%, #fff), var(--c)); box-shadow: 0 12px 24px -10px var(--c); }
.tip__head h2 { margin: 0 !important; }
.tips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.tip__sub { margin: 6px 0 0; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hint { min-width: 0; padding: 22px 22px 8px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--hc) 9%, var(--glass-2)); border: 1px solid color-mix(in srgb, var(--hc) 26%, transparent); }
.hint--good { --hc: var(--c4); }
.hint--bad { --hc: var(--c1); }
.hint--info { --hc: var(--c2); grid-column: 1 / -1; }
.hints > .hint--info:only-child, .hint--wide { grid-column: 1 / -1; }
.hint h4 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.hint ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.hint li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.hint li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--hc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hc) 20%, transparent); }
.hint li b, .hint li strong, .hint li em { color: var(--text); }
.hint a { color: var(--text); text-decoration-color: var(--hc); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hint--code { grid-column: 1 / -1; padding: 0; background: none; border: 0; }
.hint--code h4 { margin: 0 0 10px; }
.hint--wide ul { columns: 2 280px; column-gap: 28px; display: block; }
.hint--wide li { break-inside: avoid; margin-bottom: 8px; }

/* ==========================================================
   WHITELABEL
   ========================================================== */
.wl-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.device { margin: 0; position: sticky; top: 100px; perspective: 1000px; }
.device__screen {
  position: relative; display: block; padding: 14px; border-radius: 14px; background: var(--text); box-shadow: var(--shadow-lg);
  transform: rotateY(-8deg) rotateX(4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease);
}
.device__screen::before { content: ""; position: absolute; top: 5px; left: 50%; width: 60px; height: 4px; margin-left: -30px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.device__screen img { border-radius: 10px; width: 100%; }
.device figcaption { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.device::after { content: ""; position: absolute; inset: 20% -10% -6%; z-index: -1; border-radius: 50%; background: var(--grad); filter: blur(60px); opacity: .3; }

.flow { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: flow; }
.flow li {
  counter-increment: flow; position: relative; padding: 64px 22px 22px; border-radius: var(--r-lg); background: var(--glass-2); border: 1px solid var(--stroke);
  color: var(--text-2); font-size: 16px; line-height: 1.5; transition: transform .35s var(--spring), box-shadow .3s;
}
.flow li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flow li::before {
  content: counter(flow); position: absolute; left: 22px; top: 18px; width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center;
  font: 800 15px var(--mono); color: #fff; background: var(--grad); box-shadow: 0 8px 18px -8px var(--c1);
}
.flow li:last-child { background: var(--text); color: var(--bg); border-color: transparent; }
.flow li:last-child::before { background: var(--bg); color: var(--text); box-shadow: none; }
.flow a { color: inherit; text-decoration-color: var(--c2); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* price table rendered as cards */
.prices, .prices tbody { display: block; }
.prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prices tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.prices tr {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-lg);
  background: var(--glass-2); border: 1px solid var(--stroke); transition: transform .35s var(--spring), box-shadow .3s, border-color .3s;
}
.prices tr:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--stroke-2); }
.prices td { display: block; padding: 0; }
.prices td:nth-child(1) { font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.prices td:nth-child(1) a { color: var(--text); text-decoration: none; background: linear-gradient(var(--c2), var(--c2)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.prices td:nth-child(1) a:hover { background-size: 100% 2px; }
.prices td:nth-child(2) { flex: 1; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.prices td:nth-child(3) {
  margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--stroke-2);
  font-size: 26px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; padding-bottom: .14em; }

/* ==========================================================
   SEO API (docs layout)
   ========================================================== */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.docs__nav { position: sticky; top: 100px; padding: 18px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--stroke); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.docs__nav p { margin: 0 0 8px; font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.docs__nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.docs__nav a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; line-height: 1.35; font-weight: 500; text-decoration: none; color: var(--text-2); transition: background .2s, color .2s; }
.docs__nav a:hover { background: var(--bg-2); color: var(--text); }
.docs__nav a.is-active { background: var(--text); color: var(--bg); }
.docs__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.api-sample { margin-top: 8px; }
.api-sample .codebox .code { max-height: 420px; overflow: auto; }
.api-sample__foot { margin: 12px 0 0 !important; font-size: 14px; }
.endpoint-name { font: 700 14px var(--mono); color: var(--text); white-space: nowrap; }
.params { display: flex; flex-wrap: wrap; gap: 6px; }
.params code { white-space: nowrap; background: color-mix(in srgb, var(--c2) 10%, var(--bg-2)); color: var(--text); }
.endpoints td { min-width: 140px; }
.endpoints td:nth-child(2) { min-width: 260px; color: var(--text-2); }

/* ==========================================================
   GEO & AI CHECKS
   ========================================================== */
.ai-hero h1 { background: none; color: var(--text); -webkit-text-fill-color: currentColor; }
.ai-hero h1 .emoji { display: inline-block; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-6deg); } }
.ai-intro { position: relative; overflow: hidden; background: linear-gradient(var(--glass-2), var(--glass-2)) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.ai-intro::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: conic-gradient(from 90deg, var(--c1), var(--gray), var(--c2), var(--c2), var(--c5), var(--c1)); filter: blur(70px); opacity: .22; pointer-events: none; animation: rot 30s linear infinite; }
.ai-intro > * { position: relative; z-index: 1; }
.ai-intro p { font-size: clamp(17px, 1.7vw, 19px); max-width: 60em; }
.ai-bots { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-bots li { padding: 8px 14px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px; }

.ai-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.ai-stat { position: relative; overflow: hidden; padding: 20px; border-radius: var(--r-lg); background: var(--glass-2); border: 1px solid var(--stroke); }
.ai-stat b { display: block; font-size: clamp(34px, 4.5vw, 56px); line-height: 1; letter-spacing: -.05em; color: var(--c, var(--text)); font-variant-numeric: tabular-nums; }
.ai-stat span { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ai-stat i { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c, var(--grad)); transform-origin: left; transform: scaleX(var(--p, 1)); }
.ai-stat--all b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .14em; }
.ai-stat--all i { background: var(--grad); }

.ai-filter { margin-bottom: 20px; }
.ai-checks, .ai-checks tbody { display: block; }
.ai-checks thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ai-checks tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.ai-checks tr {
  --cc: var(--c2); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 22px 24px; border-radius: var(--r-lg);
  background: var(--glass-2); border: 1px solid var(--stroke); transition: transform .4s var(--spring), box-shadow .3s, border-color .3s;
}
.ai-checks tr[hidden] { display: none; }
.ai-checks tr::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--cc); }
.ai-checks tr::after { content: attr(data-n); position: absolute; right: 14px; bottom: -18px; font-weight: 800; font-size: 96px; line-height: 1; letter-spacing: -.06em; color: var(--cc); opacity: .08; pointer-events: none; }
.ai-checks tr:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--cc) 40%, transparent); }
.ai-checks tr[data-cat="ki"] { --cc: var(--c5); }
.ai-checks tr[data-cat="tech"] { --cc: var(--c4); }
.ai-checks tr[data-cat="geo"] { --cc: var(--c3); }
.ai-checks tr.is-pop { animation: pop .45s var(--spring) both; }
.ai-checks td { display: block; padding: 0; }
.ai-checks td:nth-child(1) { order: 2; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; padding-right: 8px; }
.ai-checks td:nth-child(2) { order: 1; }
.ai-checks td:nth-child(3) { order: 3; font-size: 15px; line-height: 1.55; color: var(--text-2); position: relative; z-index: 1; }
.ai-badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font: 700 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); }
.ai-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ai-checks code { font-size: .82em; overflow-wrap: anywhere; }
.ai-empty { margin: 16px 0 0; color: var(--muted); }

.ai-final { text-align: center; background: var(--text); color: var(--bg); border-color: transparent; position: relative; overflow: hidden; }
.ai-final::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: var(--grad); filter: blur(90px); opacity: .4; pointer-events: none; }
.ai-final > * { position: relative; }
.ai-final h2 { color: var(--bg); margin-inline: auto; }
.ai-final p { color: color-mix(in srgb, var(--bg) 78%, transparent) !important; max-width: 46em; margin-inline: auto !important; }
.ai-final .cta { margin-top: 12px; text-decoration: none; }

/* ==========================================================
   BOT
   ========================================================== */
.bot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.bot__face { position: relative; width: 120px; height: 120px; margin: 20px 0 24px; border-radius: 14px; background: linear-gradient(145deg, color-mix(in srgb, var(--c2) 70%, #fff), var(--c2)); box-shadow: 0 20px 40px -16px var(--c2), inset 0 2px 0 rgba(255, 255, 255, .35); }
.bot__face::before, .bot__face::after { content: ""; position: absolute; top: 44px; width: 18px; height: 22px; border-radius: 6px; background: #fff; animation: blink 5s infinite; }
.bot__face::before { left: 32px; } .bot__face::after { right: 32px; }
.bot__face i { position: absolute; left: 50%; top: -18px; width: 4px; height: 18px; margin-left: -2px; background: var(--c2); border-radius: 2px; }
.bot__face i::after { content: ""; position: absolute; left: 50%; top: -8px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c1) 25%, transparent); animation: pulse 2s ease-in-out infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px transparent; } }
.bot__code { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.bot > *, .nl > *, .api-sample > *, .wl-intro > *, .split > * { min-width: 0; }
.bot__code p { margin: 0 0 10px !important; font-weight: 600; color: var(--text) !important; }

/* ==========================================================
   DATENSCHUTZ
   ========================================================== */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.legal .prose { max-width: 76ch; }
.legal .prose h2 { scroll-margin-top: 100px; display: flex; gap: 14px; align-items: baseline; }
.legal .prose h2 .n { flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 6px; font: 800 18px var(--mono); color: #fff; background: var(--grad); transform: translateY(-4px); }
.legal .prose h3 { scroll-margin-top: 100px; }
.addr { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 1em 0; }
.addr p { margin: 0; padding: 18px 20px; border-radius: var(--r); background: var(--glass-2); border: 1px solid var(--stroke); color: var(--text) !important; line-height: 1.6; }
.optout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: .4em 0 1.2em; }
.optout output { font-size: 14px; font-weight: 600; color: var(--c4); }
.legal .prose a { overflow-wrap: anywhere; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1000px) {
  .docs { grid-template-columns: minmax(0, 1fr); }
  .docs__nav { display: none; }
  .endpoint-name { white-space: normal; }
  .wl-intro { grid-template-columns: minmax(0, 1fr); }
  .device { position: relative; top: 0; max-width: 340px; margin-inline: auto; }
  .flow { grid-template-columns: 1fr 1fr; }
  .nl { grid-template-columns: minmax(0, 1fr); }
  .nl__env { display: none; }
  .bot { grid-template-columns: minmax(0, 1fr); }
  .ai-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1001px) {
  .orb--docs { display: none; }
}
@media (max-width: 680px) {
  .about-hero { grid-template-columns: 1fr; }
  .portrait { justify-self: center; width: min(240px, 70vw); margin-top: 8px; }
  .portrait figcaption { left: -8px; }
  .linkcards { grid-template-columns: 1fr; }
  .linkcard { grid-template-columns: 1fr; }
  .hints { grid-template-columns: 1fr; }
  .tip__head { align-items: flex-start; }
  .tip__num { width: 46px; height: 46px; border-radius: 10px; font-size: 15px; }
  .flow { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; justify-items: start; }
  .nl__frame { padding: 6px; border-radius: 14px; }
  .nl__frame iframe { height: 560px; border-radius: 10px; }
  .facts li { --rot: 0deg !important; }
  .legal .prose h2 .n { min-width: 36px; height: 36px; font-size: 15px; border-radius: 6px; transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .portrait__frame, .device__screen { transform: none !important; }
}

/* ---------- Kopfbereich zentriert (wie Startseite, Tool- und Crawler-Seiten) ---------- */
.page-hero { text-align: center; }
.page-hero .page-hero__crumbs { justify-content: center; }
.page-hero .page-hero__icon { margin-inline: auto; }
.page-hero h1 { margin-inline: auto; max-width: 20em; }
.page-hero .page-hero__lead { margin-inline: auto; }
.page-hero .page-hero__actions { justify-content: center; }
.about-hero { grid-template-columns: 1fr; justify-items: center; }
.about-hero__hello { justify-content: center; }
.about-hero .portrait { justify-self: center; width: clamp(180px, 22vw, 260px); }

/* ---------- Kontrast: Tool-Kacheln einheitlich schwarz, rot beim Hover/Fokus ---------- */
.toolcard::before { background: var(--red); opacity: .06; }
.toolcard:hover::before, .toolcard:focus-visible::before { opacity: .16; }
.toolcard:hover, .toolcard:focus-visible { border-color: color-mix(in srgb, var(--red) 45%, transparent); }
.toolcard:hover .tile__ico, .toolcard:focus-visible .tile__ico { --c: var(--red); }
.toolcard .tile__ico { transition: transform .5s var(--spring), background .25s; }

/* Newsletter: Anmeldung per Link statt eingebettetem Formular */
.nl__frame--link { display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; padding: clamp(28px, 4vw, 48px) 24px; }
.nl__frame--link .cta { text-decoration: none; }
.nl__cta-t { margin: 0; font-size: 18px; font-weight: 700; }
.nl__cta-s { margin: 0; font-size: 13px; color: var(--muted); }
