/* =========================================================
   HAFEN — The AI-native WordPress theme
   Static FSE look-and-feel prototype
   Design-Tokens aus der hafenstudios-Markenwelt (Teal-Basis,
   Jet-Akzente) + eigener AI/Indigo-Akzent für die Maschinen-Ebene.
   Diese Tokens werden in der echten Theme-Version zu theme.json.
   ========================================================= */

:root {
	/* ---- Marke (hafenstudios) ---- */
	--brand:        #14a08c;
	--brand-dark:   #0d7d6e;
	--brand-light:  #e6f6f3;
	--grad-from:    #14b8a6;
	--grad-to:      #0e9384;

	/* ---- Jet-Produktakzente ---- */
	--linkjet:      #14a08c;
	--linkjet-dark: #0d7d6e;
	--memberjet:    #2f6feb;
	--memberjet-dark:#1d4ed8;
	--adjet:        #f2994a;
	--adjet-dark:   #dd7f2f;

	/* ---- AI / Maschinen-Ebene ---- */
	--ai:           #6d5efc;
	--ai-dark:      #4f46e5;
	--ai-light:     #eef0ff;

	/* ---- Neutrale ---- */
	--text:         #0c1b2e;
	--text-soft:    #3c4c60;
	--muted:        #6b7280;
	--border:       #e5e8ec;
	--border-soft:  #eef1f4;
	--bg:           #ffffff;
	--bg-alt:       #f5f7f9;
	--bg-deep:      #061620;
	--card:         #ffffff;

	/* ---- Form ---- */
	--radius-sm:    12px;
	--radius:       18px;
	--radius-lg:    26px;
	--shadow-sm:    0 1px 2px rgba(12,27,46,.06), 0 2px 6px rgba(12,27,46,.06);
	--shadow:       0 16px 38px -16px rgba(12,27,46,.22);
	--shadow-lg:    0 40px 80px -30px rgba(6,22,32,.42);
	--ring:         0 0 0 4px rgba(20,160,140,.18);

	--maxw:         1180px;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono: "SFMono-Regular", "JetBrains Mono", "Menlo", "Consolas", monospace;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	line-height: 1.62;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: color-mix(in srgb, var(--brand) 26%, transparent); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(66px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: #cfe0e6; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
	color: var(--brand-dark);
}
.eyebrow.ai { color: var(--ai-dark); }
.eyebrow .eb-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.section-head { max-width: 760px; margin-bottom: 58px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(31px, 4.6vw, 50px); margin: 16px 0 18px; }
.section-head p { font-size: clamp(17px, 2vw, 21px); color: var(--text-soft); }
.section--deep .section-head p { color: #9fb4bd; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: 16px; line-height: 1;
	padding: 16px 27px; border-radius: 999px;
	border: 1.5px solid transparent; cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(120deg, var(--grad-from), var(--grad-to)); color: #fff; box-shadow: 0 12px 26px -12px rgba(14,147,132,.85); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(14,147,132,.95); }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-primary::after, .btn-accent::after {
	content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
	transform: skewX(-18deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255,255,255,.78);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 21px; letter-spacing: -.03em; }
.brand .logo-mark {
	width: 40px; height: 40px; border-radius: 12px; flex: none;
	display: grid; place-items: center; color: #fff;
	background: linear-gradient(135deg, var(--grad-from), var(--grad-to));
	box-shadow: 0 8px 18px -8px rgba(14,147,132,.7);
	transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.brand .logo-mark svg { width: 23px; height: 23px; }
.brand .brand-tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ai-dark); background: var(--ai-light); padding: 4px 8px; border-radius: 7px; align-self: center; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--text-soft); transition: color .18s ease; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--brand); transition: width .25s ease; }
.nav-links a:hover { color: var(--brand-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(66px, 10vw, 128px) 0 clamp(56px, 8vw, 104px); }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(1200px 560px at 80% -14%, rgba(20,184,166,.18), transparent 60%),
		radial-gradient(820px 520px at 4% 8%, rgba(109,94,252,.14), transparent 58%),
		radial-gradient(700px 500px at 60% 120%, rgba(47,111,235,.08), transparent 60%);
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
	background-image: linear-gradient(rgba(12,27,46,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(12,27,46,.035) 1px, transparent 1px);
	background-size: 34px 34px;
	-webkit-mask-image: radial-gradient(900px 520px at 60% 20%, #000, transparent 75%);
	mask-image: radial-gradient(900px 520px at 60% 20%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
	padding: 7px 15px 7px 8px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
	background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); color: var(--text-soft);
}
.hero-badge .hb-ic { width: 25px; height: 25px; border-radius: 7px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ai), var(--ai-dark)); }
.hero-badge .hb-ic svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); font-weight: 850; letter-spacing: -.035em; margin: 0 0 22px; }
.hero h1 .grad { background: linear-gradient(115deg, var(--grad-from) 10%, var(--ai) 90%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
.hero-lead { font-size: clamp(18px, 2.3vw, 22px); color: var(--text-soft); max-width: 550px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero-trust .dot { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .dot svg { width: 17px; height: 17px; color: var(--brand); }

/* Hero visual: an AI assistant citing the site */
.hero-visual { position: relative; }
.ai-panel {
	position: relative; background: #fff; border: 1px solid var(--border);
	border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.ai-panel-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); background: linear-gradient(180deg, #fff, #fbfcfd); }
.ai-panel-bar .aidot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ai), var(--ai-dark)); }
.ai-panel-bar .aidot svg { width: 15px; height: 15px; }
.ai-panel-bar b { font-size: 14.5px; font-weight: 800; }
.ai-panel-bar .aimeta { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--brand-dark); background: var(--brand-light); padding: 4px 10px; border-radius: 999px; }
.ai-body { padding: 20px; display: grid; gap: 16px; }
.ai-q { align-self: flex-end; max-width: 82%; background: var(--bg-alt); border: 1px solid var(--border-soft); border-radius: 14px 14px 4px 14px; padding: 12px 15px; font-size: 14.5px; color: var(--text); margin-left: auto; }
.ai-a { max-width: 92%; background: linear-gradient(180deg, #fff, #fcfdff); border: 1px solid var(--ai-light); border-radius: 14px 14px 14px 4px; padding: 15px 16px; font-size: 14.5px; color: var(--text-soft); box-shadow: 0 10px 24px -16px rgba(79,70,229,.4); }
.ai-a .cite { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ai-dark); background: var(--ai-light); padding: 2px 8px; border-radius: 6px; font-size: 12.5px; }
.ai-a .typed::after { content: "▍"; color: var(--ai); animation: caret 1s steps(1) infinite; }
.ai-source {
	display: flex; align-items: center; gap: 11px; margin-top: 2px;
	padding: 12px 14px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--brand) 40%, var(--border));
	background: color-mix(in srgb, var(--brand-light) 60%, #fff);
}
.ai-source .as-ic { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--grad-from), var(--grad-to)); }
.ai-source .as-ic svg { width: 18px; height: 18px; }
.ai-source b { font-size: 13.5px; display: block; }
.ai-source span { font-size: 12px; color: var(--muted); }
.ai-source .as-tag { margin-left: auto; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-dark); }

/* Floating perf badge on the hero visual */
.hero-float {
	position: absolute; right: -18px; bottom: -22px; z-index: 3;
	display: flex; align-items: center; gap: 12px;
	background: #fff; border: 1px solid var(--border); border-radius: 16px;
	padding: 13px 17px; box-shadow: var(--shadow-lg);
	animation: floaty 6s ease-in-out infinite;
}
.hero-float .hf-gauge { width: 44px; height: 44px; }
.hero-float b { font-size: 20px; font-weight: 900; letter-spacing: -.02em; display: block; line-height: 1; }
.hero-float span { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- Logo band ---------- */
.logoband { padding: 26px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: #fff; }
.logoband .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 54px); flex-wrap: wrap; color: var(--muted); font-weight: 700; font-size: 14px; }
.logoband .lb-label { color: var(--text-soft); font-weight: 800; letter-spacing: .02em; }
.logoband .lb-item { display: inline-flex; align-items: center; gap: 9px; }
.logoband .lb-item svg { width: 19px; height: 19px; color: var(--brand); }

/* ---------- Feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat {
	position: relative; background: var(--card); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 30px 26px 28px; box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden;
}
.feat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent, var(--brand)); opacity: .9; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent, var(--brand)) 40%, var(--border)); }
.feat .fic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--accent-grad, linear-gradient(135deg, var(--grad-from), var(--grad-to))); margin-bottom: 18px; box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--accent, var(--brand)) 70%, transparent); }
.feat .fic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 20px; margin-bottom: 10px; }
.feat p { font-size: 15.5px; color: var(--text-soft); }
.feat .ftag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark, var(--brand-dark)); }

/* ---------- Answer-engine blocks (the live theme blocks) ---------- */
.blocks-demo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.blocks-stage { display: grid; gap: 18px; }
.hb {
	position: relative; border-radius: var(--radius); padding: 20px 22px;
	background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.hb-label { position: absolute; top: -10px; left: 18px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--ai-dark); color: #fff; }
.hb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 800; font-size: 15.5px; }
.hb-head .hbic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.hb-head .hbic svg { width: 17px; height: 17px; }
.hb-tldr { border-left: 4px solid var(--brand); }
.hb-tldr .hbic { background: var(--brand-light); color: var(--brand-dark); }
.hb-tldr p { font-size: 15px; color: var(--text-soft); }
.hb-def { border-left: 4px solid var(--ai); }
.hb-def .hbic { background: var(--ai-light); color: var(--ai-dark); }
.hb-def dt { font-weight: 800; font-size: 15.5px; margin-bottom: 4px; }
.hb-def dd { margin: 0; font-size: 15px; color: var(--text-soft); }
.hb-faq { border-left: 4px solid var(--memberjet); }
.hb-faq .hbic { background: #e7eefc; color: var(--memberjet-dark); }
.hb-faq details { border-top: 1px solid var(--border-soft); }
.hb-faq details:first-of-type { border-top: 0; }
.hb-faq summary { list-style: none; cursor: pointer; padding: 11px 0; font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::after { content: "+"; font-size: 20px; font-weight: 300; color: var(--memberjet); transition: transform .2s ease; }
.hb-faq details[open] summary::after { transform: rotate(45deg); }
.hb-faq details p { padding: 0 0 12px; margin: 0; font-size: 14px; color: var(--text-soft); }
.hb-steps { border-left: 4px solid var(--adjet); }
.hb-steps .hbic { background: #fdeede; color: var(--adjet-dark); }
.hb-steps ol { margin: 0; padding: 0; counter-reset: st; display: grid; gap: 8px; }
.hb-steps li { list-style: none; position: relative; padding-left: 32px; font-size: 14.5px; color: var(--text-soft); }
.hb-steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--adjet), var(--adjet-dark)); }

/* The schema output panel next to the blocks */
.schema-out { position: sticky; top: 96px; }
.code-card { background: #0c1728; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.code-card .cc-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.code-card .cc-bar i { width: 11px; height: 11px; border-radius: 50%; background: #33415a; }
.code-card .cc-title { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: #7c8aa0; }
.code-card pre { margin: 0; overflow-x: auto; }
.code-card code { font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #d6e2ee; white-space: pre; }
.c-key { color: #93c5fd; }
.c-str { color: #7dd3c0; }
.c-num { color: #fca5a5; }
.c-punc { color: #64748b; }
.schema-note { margin-top: 16px; display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--text-soft); background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.schema-note svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 1px; }

/* ---------- Machine-readable / llms.txt ---------- */
.mr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.file-card { background: #0c1728; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.file-tabs { display: flex; gap: 2px; padding: 10px 12px 0; background: #0a1422; }
.file-tab { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: #7c8aa0; padding: 9px 14px; border-radius: 9px 9px 0 0; cursor: default; }
.file-tab.active { color: #d6e2ee; background: #0c1728; }
.file-body { padding: 18px 20px; }
.file-body pre { margin: 0; overflow-x: auto; }
.file-body code { font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: #cbd7e6; white-space: pre; }
.ll-h { color: #7dd3c0; font-weight: 700; }
.ll-c { color: #64748b; }
.ll-l { color: #93c5fd; }
.mr-points { display: grid; gap: 18px; }
.mr-point { display: flex; gap: 14px; }
.mr-point .mp-ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ai), var(--ai-dark)); box-shadow: 0 10px 20px -10px rgba(79,70,229,.6); }
.mr-point .mp-ic svg { width: 21px; height: 21px; }
.mr-point h3 { font-size: 18px; margin-bottom: 5px; }
.mr-point p { font-size: 15px; color: var(--text-soft); }

/* ---------- Performance ---------- */
.perf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px; }
.gauge-card { text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 18px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.gauge-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gauge { width: 108px; height: 108px; margin: 0 auto 14px; position: relative; }
.gauge svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.gauge .g-track { stroke: var(--border); }
.gauge .g-fill { stroke: url(#gaugeGrad); stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.16,.8,.3,1); }
.gauge .g-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 900; letter-spacing: -.03em; color: var(--brand-dark); }
.gauge-card h3 { font-size: 15px; margin-bottom: 3px; }
.gauge-card span { font-size: 13px; color: var(--muted); }
.perf-metrics { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.metric-pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; font-size: 14.5px; font-weight: 600; color: var(--text-soft); box-shadow: var(--shadow-sm); }
.metric-pill b { color: var(--text); font-weight: 800; }
.metric-pill svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Jet family ---------- */
.jets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jet-card {
	position: relative; background: var(--card); border: 1px solid var(--border);
	border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden;
}
.jet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.jet-card .jhead { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; }
.jet-card .jicon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--accent-grad); flex: none; box-shadow: 0 12px 22px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.jet-card .jicon svg { width: 27px; height: 27px; }
.jet-card h3 { font-size: 22px; }
.jet-card .jtag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); }
.jet-card p { font-size: 15px; color: var(--text-soft); margin-bottom: 18px; }
.jet-card .jlink { font-weight: 800; font-size: 14.5px; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 7px; }
.jet-card .jlink svg { width: 16px; height: 16px; transition: transform .2s; }
.jet-card:hover .jlink svg { transform: translateX(4px); }
.jet-badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--accent-light); color: var(--accent-dark); }

/* ---------- Design tokens / style guide ---------- */
.tokens-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.swatch { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.swatch .sw-color { height: 66px; }
.swatch .sw-meta { padding: 10px 12px; }
.swatch .sw-meta b { font-size: 13px; display: block; }
.swatch .sw-meta span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.token-list { background: #0c1728; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-lg); }
.token-list pre { margin: 0; overflow-x: auto; }
.token-list code { font-family: var(--mono); font-size: 12.5px; line-height: 1.85; color: #cbd7e6; white-space: pre; }
.type-scale { margin-top: 26px; display: grid; gap: 8px; }
.type-scale .ts-row { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--border-soft); padding-bottom: 8px; }
.type-scale .ts-row span { font-family: var(--mono); font-size: 12px; color: var(--muted); flex: none; width: 62px; }
.type-scale .ts-row b { letter-spacing: -.02em; }

/* ---------- CTA ---------- */
.cta-band {
	position: relative; overflow: hidden;
	background: linear-gradient(125deg, var(--bg-deep), #0c2b38 50%, var(--brand-dark));
	color: #fff; border-radius: var(--radius-lg); padding: clamp(46px, 6.5vw, 82px); text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 78% 0%, rgba(20,184,166,.3), transparent 60%), radial-gradient(560px 320px at 12% 110%, rgba(109,94,252,.26), transparent 60%); }
.cta-band * { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 16px; letter-spacing: -.03em; }
.cta-band p { font-size: 19px; color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-mini { margin-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #b9c7cf; padding: 66px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; color: #8ea3ad; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 15px; color: #b9c7cf; padding: 6px 0; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #7c9099; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { transform: translateX(-32px); }
.reveal-r { transform: translateX(32px); }
.reveal-l.in, .reveal-r.in { transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Skip link ---------- */
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; background: var(--brand-dark); color: #fff; padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-visual { max-width: 520px; }
	.feat-grid, .jets-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
	.blocks-demo, .mr-grid, .tokens-grid { grid-template-columns: 1fr; gap: 34px; }
	.schema-out { position: static; }
	.perf-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
	.nav-links, .nav-cta .btn-ghost { display: none; }
	.nav-toggle { display: block; }
	.site-header.open .nav-links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border-bottom: 1px solid var(--border); padding: 14px 20px 20px; box-shadow: var(--shadow); }
	.site-header.open .nav-links a { padding: 10px 0; width: 100%; }
	.swatches { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.perf-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
	.hero-float { right: 8px; bottom: -16px; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; scroll-behavior: auto !important; }
	.reveal, .reveal-l, .reveal-r { opacity: 1 !important; transform: none !important; transition: none !important; }
	.gauge .g-fill { transition: none !important; }
}

/* ============================================================
   Ergaenzungen fuer den Einbau auf hafenstudios.com
   (self-contained: Inter selbst-gehostet + Cookie-Consent-Banner)
   ============================================================ */

/* ---------- Inter, selbst-gehostet (aus hafenstudios-site/assets/fonts) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/inter-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("../assets/fonts/inter-900.woff2") format("woff2"); }

/* ---------- Cookie-Consent-Banner (deckungsgleich mit style.css) ---------- */
.hs-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: center; opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
.hs-consent.in { opacity: 1; transform: none; }
.hs-consent-inner { width: min(100%, 700px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; }
.hs-consent-text { flex: 1; min-width: 240px; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); margin: 0; }
.hs-consent-text a { color: var(--brand-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hs-consent-actions { display: flex; gap: 10px; flex: none; }
.hs-btn { font: inherit; font-size: 14.5px; font-weight: 700; padding: 11px 20px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, border-color .2s ease, color .2s ease, filter .2s ease; white-space: nowrap; }
.hs-btn-ghost { background: #fff; border-color: var(--border); color: var(--text); }
.hs-btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.hs-btn-accent { background: linear-gradient(120deg, var(--grad-from), var(--grad-to)); color: #fff; box-shadow: 0 10px 22px -12px rgba(14, 147, 132, .9); }
.hs-btn-accent:hover { transform: translateY(-1px); filter: brightness(1.04); }
.hs-consent-reopen { color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.hs-consent-reopen:hover { color: #fff; }
@media (max-width: 560px) {
	.hs-consent { left: 10px; right: 10px; bottom: 10px; }
	.hs-consent-actions { width: 100%; }
	.hs-btn { flex: 1; }
}

/* ---------- Status-Pille "in Entwicklung" fuer die Hafen-Vorschau ---------- */
.soon-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .01em; padding: 7px 14px; border-radius: 999px; background: var(--ai-light); color: var(--ai-dark); border: 1px solid rgba(109,94,252,.25); }
.soon-pill .sp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ai); box-shadow: 0 0 0 0 rgba(109,94,252,.5); animation: spPulse 2.2s infinite; }
@keyframes spPulse { 0% { box-shadow: 0 0 0 0 rgba(109,94,252,.45); } 70% { box-shadow: 0 0 0 8px rgba(109,94,252,0); } 100% { box-shadow: 0 0 0 0 rgba(109,94,252,0); } }