/* Hadi Sekeryemez IT-Beratung – Stylesheet
   Keine externen Schriften/Skripte: Seite lädt nichts von Drittanbietern (DSGVO). */

:root {
  --brand: #5148ff;
  --brand-2: #7b74ff;
  --brand-dark: #3a31d6;
  --cyan: #5ee1ff;
  --brand-tint: #eeedff;
  --night: #07071a;
  --night-2: #0e0d2b;
  --ink: #0f1020;
  --text: #3d4150;
  --muted: #6b7080;
  --line: #e6e6ef;
  --line-dark: rgba(255, 255, 255, .1);
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --radius: 18px;
  --max: 1180px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 750; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--night); color: rgba(255, 255, 255, .72); overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--brand-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section--dark .section-head p { color: rgba(255, 255, 255, .62); }
.grad {
  background: linear-gradient(90deg, var(--brand-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; line-height: 1;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -8px rgba(81, 72, 255, .7); }
.btn--brand:hover { background: var(--brand-dark); box-shadow: 0 14px 34px -8px rgba(81, 72, 255, .85); }
.btn--ghost { border-color: rgba(255, 255, 255, .22); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-tint); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 26, .72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: .92rem; }
.brand__sub { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-2); }

.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, .75); font-weight: 550; font-size: .94rem; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
.nav .nav__cta { background: var(--brand); color: #fff; margin-left: 10px; padding: 9px 20px; }
.nav .nav__cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  border-radius: 10px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--night);
  margin-top: -73px; padding-top: 73px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before { /* Raster */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.glow--1 { width: 620px; height: 620px; background: var(--brand); right: -120px; top: -160px; animation: float 14s ease-in-out infinite; }
.glow--2 { width: 420px; height: 420px; background: #2a9dff; left: -160px; bottom: -180px; opacity: .3; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-40px, 30px) scale(1.06); } }
.hero__mark {
  position: absolute; right: -90px; bottom: -110px; width: 520px; opacity: .06;
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-top: 96px; padding-bottom: 112px;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px; margin-bottom: 28px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .85);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(94, 225, 255, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(94, 225, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 225, 255, 0); } }
.hero h1 { color: #fff; margin-bottom: 28px; }
.hero__lead { font-size: 1.2rem; line-height: 1.65; color: rgba(255, 255, 255, .7); max-width: 590px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Animierte Architekturgrafik */
.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 520px; margin: 0; }
.arch { display: block; width: 100%; height: auto; overflow: visible; transition: transform .4s ease-out; will-change: transform; }
.arch .spin { transform-origin: 260px 260px; animation: spin 60s linear infinite; }
.arch .spin--rev { animation-duration: 40s; animation-direction: reverse; }
.arch .flow { stroke-dasharray: 6 10; animation: dash 2.4s linear infinite; }
.arch .node { animation: bob 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -32; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
.ai-label {
  position: absolute; right: 0; bottom: -8px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .6);
}
.ai-label svg { width: 12px; height: 12px; }

/* Kennzahlen-Leiste */
.strip { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 28px 24px; border-left: 1px solid var(--line-dark); }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 650; }
.strip__item span { font-size: .92rem; color: rgba(255, 255, 255, .55); }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px 30px; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 50px -20px rgba(81, 72, 255, .35); }
.service:hover::before { transform: scaleX(1); }
.service__num { position: absolute; right: 24px; top: 20px; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: #f0effa; line-height: 1; }
.service p { margin: 0; color: var(--muted); font-size: .98rem; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--brand), #2a9dff);
  display: grid; place-items: center; margin-bottom: 22px;
  box-shadow: 0 10px 24px -8px rgba(81, 72, 255, .6);
}
.icon svg { width: 24px; height: 24px; }

/* Arbeitsweise */
.section--dark .glow--3 { width: 500px; height: 500px; background: var(--brand); left: 50%; top: -260px; transform: translateX(-50%); opacity: .35; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-dark);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px;
  border-radius: 12px; border: 1px solid rgba(123, 116, 255, .5); background: rgba(81, 72, 255, .15);
  font-weight: 700; color: #fff; font-size: .95rem;
}
.step p { margin: 0; font-size: .97rem; }
.principles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.principles span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-dark); color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 550;
}
.principles svg { width: 16px; height: 16px; color: #3ee08f; }

/* Technologien */
.focus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.focus__group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.focus__group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.focus__group h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--brand), var(--cyan)); transform: rotate(45deg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: .9rem; font-weight: 550; color: #2b2690; background: var(--brand-tint); border-radius: 999px; padding: 6px 14px; }

/* Projekte */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s;
}
.project:hover { border-color: #cfccff; box-shadow: 0 20px 44px -24px rgba(81, 72, 255, .35); }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.badge { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.badge--year { background: var(--brand); color: #fff; border-color: var(--brand); }
.project p { color: var(--muted); font-size: .98rem; }
.project ul { margin: auto 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); list-style: none; font-size: .94rem; }
.project li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.project li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
/* Mandate nach Themenfeldern */
.pstats { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0 0 36px; padding: 0; }
.pstats li { display: flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.pstats strong { font-size: 1.15rem; background: linear-gradient(135deg, var(--brand), #1fb6e0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pstats span { color: var(--muted); font-size: .92rem; }
.clusters { display: grid; gap: 20px; }
.cluster {
  display: grid; grid-template-columns: minmax(260px, .85fr) 1.6fr; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s;
}
.cluster:hover { border-color: #cfccff; box-shadow: 0 20px 44px -24px rgba(81, 72, 255, .35); }
.cluster__head {
  position: relative; padding: 30px; color: #e9e8ff;
  background: radial-gradient(120% 90% at 0% 0%, rgba(94, 225, 255, .18), transparent 60%), linear-gradient(160deg, #15124a, var(--night));
}
.cluster__head > div { margin: 16px 0 10px; }
.cluster__head h3 { color: #fff; font-size: 1.25rem; margin: 2px 0 0; }
.cluster__head p { color: #b9b7e6; font-size: .94rem; margin: 0 0 18px; }
.cluster__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--cyan)); box-shadow: 0 10px 24px -10px rgba(94, 225, 255, .6);
}
.cluster__icon svg { width: 22px; height: 22px; }
.cluster__count { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.cluster__head .tags li { background: rgba(255, 255, 255, .08); color: #dcdaff; border: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; padding: 4px 11px; }
.mandates { list-style: none; margin: 0; padding: 12px 30px; }
.mandate { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.mandate:last-child { border-bottom: 0; }
.mandate__year { position: relative; align-self: start; font-size: .8rem; font-weight: 700; color: var(--brand); padding-top: 3px; }
.mandate h4 { font-size: 1.04rem; margin: 0 0 6px; }
.mandate p { color: var(--muted); font-size: .95rem; margin: 0 0 10px; }
.mandate__role { display: inline-block; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-tint); color: #2b2690; }
.projects-more { margin-top: 36px; color: var(--muted); font-size: .97rem; }

/* Über mich */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.about__img { position: relative; isolation: isolate; width: 65%; justify-self: end; }
.about__img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; background: #fff; }
.about__img::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: 24px;
  background: linear-gradient(135deg, var(--brand), var(--cyan)); opacity: .9; z-index: -1;
}
.about__img .about__mark {
  position: absolute; right: -12px; bottom: -12px; width: 60px; height: 60px; padding: 12px;
  background: var(--night); border-radius: 16px; box-shadow: 0 16px 34px -10px rgba(7, 7, 26, .6);
}
.about__text p { font-size: 1.07rem; }
.about__text .btn { margin-top: 12px; }

/* Kontakt */
.contact {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px;
  background: var(--night); color: rgba(255, 255, 255, .72);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.contact .glow { width: 480px; height: 480px; background: var(--brand); right: -120px; top: -200px; opacity: .55; }
.contact .hero__mark { width: 300px; right: -40px; bottom: -60px; }
.contact > * { position: relative; z-index: 1; }
.contact > .glow, .contact > .hero__mark { position: absolute; z-index: 0; pointer-events: none; }
.contact h2 { color: #fff; }
.contact p { font-size: 1.12rem; max-width: 540px; }
.contact__box { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); border-radius: 20px; padding: 30px; backdrop-filter: blur(10px); }
.contact__row { display: flex; gap: 16px; align-items: center; }
.contact__row + .contact__row { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.contact__row .icon { margin: 0; width: 46px; height: 46px; flex: none; }
.contact__row .icon svg { width: 20px; height: 20px; }
.contact__row small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .5); }
.contact__row a, .contact__row span { color: #fff; font-weight: 600; font-size: 1.05rem; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer img { height: 52px; width: auto; }
.footer nav { display: flex; gap: 22px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }

/* Rechtstexte */
.legal { padding: 72px 0 96px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2em; }
.legal address { font-style: normal; }

/* Einblenden beim Scrollen (nur mit JS aktiv) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; padding-top: 80px; padding-bottom: 88px; }
  .hero__visual { justify-self: center; max-width: 460px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 64px; }
  .about__img { width: 100%; max-width: 240px; justify-self: start; }
  .contact { grid-template-columns: 1fr; padding: 52px 40px; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; background: var(--night);
    border-bottom: 1px solid var(--line-dark); display: none;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; border-radius: 10px; }
  .nav .nav__cta { margin: 10px 0 0; text-align: center; padding: 14px; }
}
@media (max-width: 860px) {
  .cluster { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mandates { padding: 4px 20px; }
  .cluster__head { padding: 24px 20px; }
  .mandate { grid-template-columns: 1fr; gap: 6px; }
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero__inner { padding-top: 56px; padding-bottom: 72px; }
  .hero__visual { max-width: 100%; }
  .ai-label { bottom: -16px; }
  .services, .steps, .focus, .projects { grid-template-columns: 1fr; }
  .strip__item { padding: 20px 12px; }
  .strip__item:nth-child(odd) { padding-left: 0; }
  .strip__item strong { font-size: 1.02rem; }
  .about__img { max-width: 190px; }
  .contact { padding: 40px 22px; border-radius: 22px; }
  .brand__name { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
