/* ==========================================================================
   Evolus IT-Solutions – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand: #e5484d;
  --brand-600: #cf3a40;
  --brand-50: #fdeeee;
  --ink: #0d1424;
  --ink-2: #1b2438;
  --text: #2a3346;
  --muted: #5d6679;
  --line: #e6e8ee;
  --surface: #f6f7fa;
  --bg: #fff;
  --card: #fff;
  --header-bg: rgba(255, 255, 255, .82);
  --dark: #0d1424;
  --dark-2: #1b2438;
  color-scheme: light;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 20, 36, .04), 0 8px 24px rgba(13, 20, 36, .06);
  --shadow-lg: 0 2px 4px rgba(13, 20, 36, .04), 0 24px 48px rgba(13, 20, 36, .12);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
svg { flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: #c4cad6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: #a7afbf; }
.lead { font-size: 1.2rem; color: var(--muted); }
.text-brand { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn--light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--header-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(13, 20, 36, .05); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { height: 40px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.logo-text span { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  color: var(--ink-2); font: inherit; font-size: .96rem; font-weight: 550; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.nav-link:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"], .nav .is-active > .nav-link { color: var(--brand); }
.nav-link svg { width: 14px; height: 14px; flex: none; transition: transform .2s; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  width: 560px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.has-dropdown:hover .nav-link svg, .has-dropdown.is-open .nav-link svg { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px; }
.dropdown a:hover { background: var(--surface); }
.dropdown .ico { flex: 0 0 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.dropdown .ico svg { width: 20px; height: 20px; }
.dropdown strong { display: block; color: var(--ink); font-size: .95rem; }
.dropdown small { display: block; color: var(--muted); font-size: .82rem; font-weight: 450; line-height: 1.4; }
.dropdown .dropdown-all { grid-column: 1 / -1; justify-content: center; color: var(--brand); font-weight: 650; background: var(--surface); }
.dropdown .dropdown-all svg { width: 16px; height: 16px; flex: none; }
.nav-cta { margin-left: 12px; padding: 12px 20px; }
.nav .nav-cta { color: #fff; background: var(--brand); }
.nav .nav-cta:hover { background: var(--brand-600); color: #fff; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--card); flex-direction: column; align-items: stretch;
    padding: 16px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav button.nav-link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 8px; display: none; grid-template-columns: 1fr; }
  .has-dropdown.is-open .dropdown { display: grid; transform: none; }
  .has-dropdown:hover .dropdown { transform: none; }
  .dropdown a { border-bottom: 0; justify-content: flex-start; font-size: 1rem; }
  .nav-cta { margin: 20px 0 0; }
  .nav .nav-cta { justify-content: center; border-radius: 999px; border: 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(229, 72, 77, .14), transparent 70%),
    radial-gradient(500px 360px at 5% 90%, rgba(229, 72, 77, .07), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--surface));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}
.hero-grid > *, .split > *, .content-layout > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--brand); white-space: nowrap; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 26px; box-shadow: var(--shadow); }
.hero-badge b { background: var(--brand); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .04em; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: var(--muted); font-size: .92rem; }
.stars { display: inline-flex; gap: 2px; color: #f5a524; }
.stars svg { width: 18px; height: 18px; }
.hero-trust strong { color: var(--ink); }
.hero-visual { position: relative; }
.hero-visual img { margin-left: auto; width: min(100%, 500px); filter: drop-shadow(0 30px 50px rgba(13, 20, 36, .15)); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: .88rem; color: var(--muted); line-height: 1.3; animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: 1rem; }
.float-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card--a { left: -24px; bottom: 16%; }
.float-card--b { right: -56px; top: 3%; animation-delay: -3s; }
.float-card .ico--green { background: #e8f8ef; color: #1f9d55; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Logo marquee ---------- */
.logos { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.logos p { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { flex: none; opacity: .6; filter: grayscale(1); transition: opacity .25s, filter .25s; }
.marquee a:hover { opacity: 1; filter: none; }
.marquee img { height: 36px; width: auto; }
.marquee img.logo-white { filter: invert(1); height: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.card { color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--brand-50); color: var(--brand); transition: background .3s, color .3s;
}
.card .ico svg { width: 28px; height: 28px; }
a.card:hover .ico, .card--hover:hover .ico { background: var(--brand); color: #fff; }
.card .more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--brand); font-size: .95rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(4px); }
.card--cta { background: var(--dark); border-color: var(--dark); color: #c4cad6; justify-content: center; }
.card--cta h3 { color: #fff; }
.card--cta p { color: #a7afbf; }
.card--cta .more { color: #fff; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; }

/* ---------- Skills ---------- */
.skills { display: grid; gap: 22px; margin: 32px 0 36px; }
.skill-head { display: flex; justify-content: space-between; font-weight: 650; color: var(--ink); margin-bottom: 8px; font-size: .98rem; }
.skill-head span:last-child { color: var(--brand); font-variant-numeric: tabular-nums; }
.skill-bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.skill-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #ff7b6b); transition: width 1.4s var(--ease); }
.skills.is-visible .skill-bar i { width: var(--w); }

.tech-panel {
  position: relative; padding: 36px; border-radius: 28px; background: var(--dark); color: #c4cad6; overflow: hidden;
}
.tech-panel::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(229, 72, 77, .45), transparent 70%); }
.tech-panel h3 { color: #fff; position: relative; }
.tech-panel p { position: relative; color: #a7afbf; }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-size: .9rem; font-weight: 550; }
.chips--light .chip { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
.code-lines { position: relative; margin-top: 28px; padding: 20px; border-radius: 16px; background: rgba(0, 0, 0, .3); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88rem; line-height: 1.8; color: #a7afbf; }
.code-lines .k { color: #ff8a80; } .code-lines .s { color: #9be7a8; } .code-lines .c { color: #6b7385; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.stat-num { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: .5em; color: var(--brand); vertical-align: top; margin-left: 2px; position: relative; top: .25em; }
.stat p { margin: 10px 0 0; color: #a7afbf; font-size: .95rem; }
.section:not(.section--dark) .stat { background: var(--card); border-color: var(--line); }
.section:not(.section--dark) .stat-num { color: var(--ink); }
.section:not(.section--dark) .stat p { color: var(--muted); }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.project { grid-column: span 2; }
.projects > .project:nth-child(-n+2) { grid-column: span 3; }
.project { display: block; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.project-img { aspect-ratio: 39 / 20; overflow: hidden; background: var(--surface); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project-img img { transform: scale(1.05); }
.project-body { padding: 22px 24px 26px; }
.project-body h3 { margin: 0 0 6px; font-size: 1.2rem; }
.project-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }

/* ---------- Reasons ---------- */
.reasons { display: grid; gap: 16px; margin-top: 32px; }
.reason { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.reason-num { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.reason h3 { font-size: 1.12rem; margin-bottom: 6px; }
.reason p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Testimonials ---------- */
.quote {
  display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); height: 100%;
}
.quote-mark { width: 36px; height: 36px; color: var(--brand); margin-bottom: 18px; }
.quote blockquote { margin: 0 0 24px; font-size: 1.04rem; color: var(--ink-2); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.quote figcaption img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-weight: 750; }
.quote figcaption strong { display: block; color: var(--ink); line-height: 1.2; }
.quote figcaption span { font-size: .88rem; color: var(--muted); }

.review-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-top: 56px; }
.review-logos a { display: grid; place-items: center; height: 76px; padding: 0 28px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.review-logos a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-logos img { max-height: 34px; width: auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 6vw, 72px); background: var(--dark); color: #c4cad6; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(229, 72, 77, .5), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #a7afbf; font-size: 1.1rem; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); background: var(--dark); color: #c4cad6; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(13, 20, 36, .96) 30%, rgba(13, 20, 36, .7) 65%, rgba(13, 20, 36, .45)); }
.page-hero::after { content: ""; position: absolute; width: 600px; height: 600px; left: -200px; bottom: -380px; z-index: -1; background: radial-gradient(circle, rgba(229, 72, 77, .35), transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 820px; }
.page-hero .lead { color: #b8bfcc; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: #5d6679; }
.breadcrumb a { color: #b8bfcc; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Content pages ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose .lead { font-size: 1.25rem; color: var(--ink-2); font-weight: 500; }
.prose img { border-radius: var(--radius); }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist--2 { grid-template-columns: 1fr 1fr; }
.checklist li { position: relative; padding: 14px 16px 14px 52px; background: var(--surface); border-radius: 14px; color: var(--ink-2); font-weight: 550; }
.checklist li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.feature-list { display: grid; gap: 16px; margin: 28px 0 36px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-box { padding: 26px; border-radius: var(--radius); background: var(--surface); }
.side-box h3 { font-size: 1.05rem; margin-bottom: 14px; }
.side-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: .96rem; background: var(--card); }
.side-nav a:hover { color: var(--brand); }
.side-nav a[aria-current="page"] { background: var(--brand); color: #fff; }
.side-nav svg { width: 16px; height: 16px; }
.side-box--dark { background: var(--dark); color: #a7afbf; position: relative; overflow: hidden; }
.side-box--dark::before { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; background: radial-gradient(circle, rgba(229, 72, 77, .5), transparent 70%); }
.side-box--dark > * { position: relative; }
.side-box--dark h3 { color: #fff; font-size: 1.25rem; }
.side-box--dark p { font-size: .95rem; }
.side-box--dark .btn { width: 100%; }
.contact-mini { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.contact-mini a { color: #fff; display: flex; align-items: center; gap: 10px; }
.contact-mini svg { width: 18px; height: 18px; color: var(--brand); }

/* Project detail */
.project-hero-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); margin-top: -56px; position: relative; z-index: 2; background: var(--card); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.info-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.info-list li:last-child { border-bottom: 0; }
.info-list span { color: var(--muted); }
.info-list strong { color: var(--ink); text-align: right; }

/* ---------- About ---------- */
.about-visual { position: relative; padding: 40px; border-radius: 32px; background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #c4cad6; overflow: hidden; }
.about-visual::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -160px; background: radial-gradient(circle, rgba(229, 72, 77, .5), transparent 70%); }
.about-visual > * { position: relative; }
.about-visual .big { font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.05em; }
.about-visual .big span { color: var(--brand); }
.signature { margin-top: 32px; display: flex; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.signature img { width: 150px; filter: invert(1) brightness(2); }
.signature strong { display: block; color: #fff; }
.signature span { font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.contact-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1rem; margin: 0 0 4px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.contact-card p, .contact-card a { margin: 0; color: var(--ink); font-weight: 650; font-size: 1.05rem; }
.contact-card a:hover { color: var(--brand); }
.contact-card small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; margin-top: 4px; }

.form-card { padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 650; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--card); box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 600; display: none; }
.form-note.is-ok { display: block; background: #e8f8ef; color: #17723f; }
.form-note.is-err { display: block; background: var(--brand-50); color: var(--brand-600); }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .95rem; }
.legal td { padding: 18px 20px; background: var(--surface); border-radius: 14px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.legal dt, .legal dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-weight: 650; color: var(--ink); }

/* ---------- Placeholder marker (vor Livegang entfernen) ---------- */
.ph { background: #fff3bf; color: #7a5b00; border: 1px dashed #e0b400; border-radius: 6px; padding: 1px 6px; font-weight: 600; font-size: .92em; }
.ph-box { padding: 20px; border-radius: 16px; background: #fff8db; border: 1.5px dashed #e0b400; color: #7a5b00; font-weight: 550; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #a7afbf; padding: 88px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo-text span { color: #7d8597; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #a7afbf; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer-bottom ul { display: flex; gap: 24px; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 200; width: min(520px, calc(100% - 32px));
  padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: cookie-in .4s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.15rem; margin-bottom: 8px; }
.cookie-banner p { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn--solid { background: var(--ink); color: var(--bg); padding: 13px 18px; }
.btn--solid:hover { background: var(--brand); color: #fff; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.site-footer .link-btn:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .skill-bar i { width: var(--w); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .content-layout { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .grid-3, .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr 1fr; }
  .projects > .project, .projects > .project:nth-child(-n+2) { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .projects, .form-grid, .checklist--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .float-card { display: none; }
  .hero-visual { max-width: 340px; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dt { border-bottom: 0; padding-bottom: 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .card, .quote { padding: 26px; }
}

/* ---------- Dark Mode (folgt der Systemeinstellung) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b1120;
    --card: #121a2b;
    --surface: #0f1727;
    --line: #232d42;
    --ink: #f2f4f8;
    --ink-2: #dbe0ea;
    --text: #b9c0cd;
    --muted: #8c95a8;
    --brand-50: rgba(229, 72, 77, .15);
    --header-bg: rgba(11, 17, 32, .8);
    --dark: #060a13;
    --dark-2: #121a2b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px rgba(0, 0, 0, .45);
  }
  a:hover { color: #ff6b70; }
  .site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
  .hero::before {
    background:
      radial-gradient(600px 400px at 85% 20%, rgba(229, 72, 77, .18), transparent 70%),
      radial-gradient(500px 360px at 5% 90%, rgba(229, 72, 77, .08), transparent 70%),
      linear-gradient(180deg, var(--bg), var(--surface));
  }
  .hero::after { opacity: .35; }
  .hero-visual img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
  /* Dunkle Kundenlogos hell darstellen */
  .marquee a { filter: grayscale(1) invert(1) brightness(1.4); opacity: .55; }
  .marquee a:hover { filter: grayscale(1) invert(1) brightness(1.8); opacity: 1; }
  /* Bewertungsportale behalten ihren hellen Hintergrund (Original-Logos) */
  .review-logos a { background: #fff; border-color: #fff; }
  .card--cta { border-color: var(--line); }
  .section--dark { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .site-footer { border-top: 1px solid var(--line); }
  .field input:focus, .field select:focus, .field textarea:focus { background: var(--card); }
  .form-note.is-ok { background: rgba(31, 157, 85, .15); color: #6ee7a0; }
  .form-note.is-err { color: #ff8a8d; }
  .float-card .ico--green { background: rgba(31, 157, 85, .15); color: #4ade80; }
  .ph { background: #3d3205; color: #ffd84d; border-color: #a88600; }
  .ph-box { background: #2a2306; color: #ffd84d; border-color: #a88600; }
}

/* Mehr Abstand zwischen Eyebrow und Überschrift (z. B. "Was Kunden sagen" / "Über Evolus.") */
.section-head--spaced .eyebrow { margin-bottom: 36px; }

/* Hervorgehobene Hosting-Karte (GPU & AI) */
.card--feature { background: linear-gradient(150deg, var(--dark), #2a1520); border-color: transparent; color: #c4cad6; }
.card--feature h3 { color: #fff; }
.card--feature p { color: #b8bfcc; }
.card--feature .ico { background: rgba(229, 72, 77, .2); }
.card--feature .more { color: #ff8a8d; }

/* Hosting-Produktkarten */
.product { scroll-margin-top: calc(var(--header-h) + 24px); }
.product .checklist { margin: 20px 0 28px; }
.product .checklist li { background: var(--surface); font-size: .95rem; padding-top: 11px; padding-bottom: 11px; }
.card--feature .checklist li { background: rgba(255, 255, 255, .06); color: #fff; }
.product .btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 24px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 650; color: var(--ink); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); font-size: 1.2rem; font-weight: 600; transition: transform .2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item > div { padding: 0 22px 6px; color: var(--muted); }

/* Sprachumschalter */
.lang-switch { display: flex; align-items: center; gap: 2px; margin-left: 10px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.nav .lang-switch a.lang { padding: 6px 10px; border-radius: 999px; font-size: .82rem; color: var(--muted); border: 0; width: auto; }
.nav .lang-switch a.lang:hover { color: var(--ink); background: var(--surface); }
.lang.is-current { background: var(--surface); color: var(--ink); }
.flag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
@media (max-width: 1020px) {
  .lang-switch { margin: 20px 0 0; align-self: flex-start; }
}

/* Serverstandorte (Startseite) */
.locations { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.locations-text { flex: 1 1 260px; }
.locations-text strong { display: block; color: var(--ink); font-size: 1.05rem; }
.locations-text span { color: var(--muted); font-size: .95rem; }
.location-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.location-list li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.location-list .flag { width: 26px; height: 18px; }
.location-list strong { display: block; color: var(--ink); line-height: 1.2; font-size: .98rem; }
.location-list span span, .location-list li > span { font-size: .8rem; color: var(--muted); line-height: 1.2; }

/* Standortkarten (Hosting) */
.location-card { padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.location-card .flag { width: 42px; height: 28px; border-radius: 5px; margin-bottom: 20px; }
.location-card h3 { color: #fff; margin-bottom: 8px; }
.location-card p { margin: 0; color: #a7afbf; }

/* Breite GPU-Karte */
.product--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.product--wide .btn { margin-top: 12px; }
.gpu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gpu-list li { padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.gpu-list strong { display: block; color: #fff; font-size: 1.05rem; }
.gpu-list span { color: #b8bfcc; font-size: .92rem; }
@media (max-width: 1020px) { .product--wide { grid-template-columns: 1fr; } }

.hero-trust-link { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.hero-trust-link:hover { color: var(--ink); text-decoration-color: var(--brand); }
#bewertungen, #reviews { scroll-margin-top: calc(var(--header-h) + 120px); }
.nowrap { white-space: nowrap; }

/* Popup nach dem Absenden des Kontaktformulars */
.toast-backdrop {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px;
  background: rgba(6, 10, 19, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: toast-fade .25s ease;
}
.toast {
  width: min(440px, 100%); padding: 40px 32px 32px; border-radius: 24px; text-align: center;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: toast-pop .35s var(--ease);
}
.toast-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; }
.toast-icon svg { width: 36px; height: 36px; }
.toast--ok .toast-icon { background: #e8f8ef; color: #1f9d55; box-shadow: 0 0 0 8px rgba(31, 157, 85, .08); }
.toast--err .toast-icon { background: var(--brand-50); color: var(--brand); box-shadow: 0 0 0 8px rgba(229, 72, 77, .08); }
.toast h2 { font-size: 1.5rem; margin-bottom: 10px; }
.toast p { color: var(--muted); margin-bottom: 26px; }
.toast .btn { min-width: 160px; }
.toast-backdrop.is-leaving { opacity: 0; transition: opacity .25s; }
@keyframes toast-fade { from { opacity: 0; } }
@keyframes toast-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@media (prefers-color-scheme: dark) {
  .toast--ok .toast-icon { background: rgba(31, 157, 85, .15); color: #4ade80; }
}
.toast:focus { outline: none; }

/* Mobilmenü: backdrop-filter am Header macht ihn zum Bezugsrahmen für position:fixed –
   bei geöffnetem Menü abschalten, damit das Menü den ganzen Bildschirm füllt */
@media (max-width: 1020px) {
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav { top: var(--header-h); bottom: auto; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--bg); z-index: 99; }
}

/* Bewertungsportale: vier gleich große Kacheln */
.review-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.review-logos .review-tile {
  height: auto; padding: 26px 20px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.review-logos .review-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.review-logo { height: 40px; display: flex; align-items: center; justify-content: center; }
.review-logo img { max-height: 100%; width: auto; max-width: 100%; }
/* optisch gleiche Größe trotz unterschiedlicher Bildformate */
.review-logo .rl-googlemaps { height: 32px; }
.review-logo .rl-trustpilot { height: 38px; }
.review-logo .rl-herold { height: 34px; width: 127px; object-fit: cover; object-position: left center; } /* Leerraum rechts im Bild abschneiden */
.review-logo .rl-u24info { height: 27px; }
.review-cta { font-size: .85rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.review-tile:hover .review-cta { color: var(--brand); }
@media (max-width: 860px) { .review-logos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .review-logo .rl-herold { width: 110px; height: 30px; } .review-logo { height: 34px; } }

/* Mobilmenü (iOS-fest): Seite einfrieren, Header fest oben halten */
@media (max-width: 1020px) {
  body.nav-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
  .nav-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
}

/* Hero-Badge: "SEIT 2020" nie umbrechen */
.hero-badge { max-width: 100%; }
.hero-badge b { white-space: nowrap; flex: none; }
@media (max-width: 640px) {
  .hero-badge { font-size: .8rem; gap: 8px; padding: 5px 12px 5px 5px; line-height: 1.3; }
  .hero-badge b { font-size: .68rem; padding: 4px 9px; }
}

/* Hero: schlichte Herkunftszeile statt Pillen-Badge */
.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .95rem; font-weight: 550; color: var(--muted); }
.hero-kicker .flag { width: 22px; height: 15px; border-radius: 2px; }
@media (max-width: 640px) { .hero-kicker { font-size: .88rem; align-items: flex-start; } .hero-kicker .flag { margin-top: 3px; } }

/* Google-Kachel: "G" + Schriftzug, grau wie die anderen Logos, farbig beim Hover */
.review-logo.rl-google { gap: 10px; }
.rl-google .g-mark { width: 30px; height: 30px; filter: grayscale(1) opacity(.55); transition: filter .25s; }
.rl-google > span { font-size: 1.7rem; font-weight: 500; letter-spacing: -.02em; color: #a3a7b3; line-height: 1; }
.review-tile:hover .rl-google .g-mark { filter: none; }

/* ===== Review-Überarbeitung ===== */

/* Kontrast: Fließtext etwas dunkler bzw. heller */
:root { --muted: #4c5568; }
@media (prefers-color-scheme: dark) { :root { --muted: #a3abbc; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stats-note { margin: 18px 0 0; text-align: center; font-size: .82rem; color: #8c95a8; }
.section:not(.section--dark) .stats-note { color: var(--muted); }

/* Hero: Bewertungs-Link ohne Sterne */
.hero-trust { margin-top: 32px; }

/* Hero-Visual: Infrastruktur-Panel statt Stockfoto */
.infra-panel {
  width: min(100%, 460px); margin-left: auto; padding: 28px; border-radius: 24px;
  background: var(--dark); color: #c4cad6; border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--shadow-lg);
}
.infra-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 700; color: #fff; }
.infra-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: #6ee7a0; }
.infra-badge svg { width: 15px; height: 15px; }
.infra-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.infra-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
.infra-list .flag { width: 30px; height: 20px; border-radius: 3px; }
.infra-list strong { display: block; color: #fff; font-size: 1.02rem; line-height: 1.2; }
.infra-list li > span { font-size: .82rem; color: #8c95a8; line-height: 1.3; }
.infra-sub { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8c95a8; margin: 0 0 8px; }
.infra-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.infra-chips:last-child { margin-bottom: 0; }
.infra-chips span { padding: 5px 11px; border-radius: 8px; font-size: .8rem; font-weight: 600; color: #dbe0ea; background: rgba(255, 255, 255, .06); }
@media (max-width: 1020px) { .infra-panel { margin: 0 auto; } }

/* Zwei Einstiegswege unter dem Hero */
.paths { padding: 0 0 clamp(48px, 7vw, 88px); margin-top: -24px; position: relative; }
.path-card {
  display: flex; flex-direction: column; gap: 8px; padding: 32px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); color: var(--text); }
.path-card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 10px; }
.path-card .ico svg { width: 26px; height: 26px; }
.path-card h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 6px; }
.path-card p { margin: 0; color: var(--muted); }
.path-card p strong { color: var(--ink); }
.path-card .more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--brand); }
.path-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.path-card:hover .more svg { transform: translateX(4px); }

/* Vergleichstabelle Hosting */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.compare tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td { color: var(--muted); }
.compare td strong { color: var(--ink); }
.compare td a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; white-space: nowrap; }
.compare td a svg, .stats-note svg { width: 14px; height: 14px; vertical-align: -2px; }
.compare tbody tr:hover { background: var(--surface); }

/* Über uns: Steckbrief */
.facts-title { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.facts { margin: 0; display: grid; gap: 0; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.facts dt { color: #8c95a8; font-size: .92rem; }
.facts dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.facts a { color: #ff8a8d; }
.nav-open .cookie-banner { display: none; }
