/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0f0f11;
  --bg2:      #16161a;
  --bg3:      #1e1e24;
  --border:   #2a2a32;
  --text:     #e8e8f0;
  --muted:    #7a7a90;
  --accent:   #6c63ff;
  --accent2:  #a78bfa;
  --radius:   14px;
  --max-w:    1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,15,17,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.logo-icon {
  font-size: 1.2rem;
  opacity: 0.85;
}

nav { display: flex; gap: 28px; }
nav a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.15s;
}
nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-inner { max-width: 680px; margin: 0 auto; }

.hero-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Sections ── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-inner h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

/* ── Grid ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ── Cards ── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card-featured {
  border-color: rgba(108,99,255,0.4);
  background: linear-gradient(160deg, var(--bg2) 60%, rgba(108,99,255,0.06));
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  font-size: 2rem;
  border-radius: 12px;
  margin: 20px 20px 0;
}

.card-icon img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 20px;
}

.tag-ios    { background: rgba(52,199,89,0.15);  color: #34c759; }
.tag-ki     { background: rgba(108,99,255,0.15); color: var(--accent2); }
.tag-saas   { background: rgba(255,149,0,0.15);  color: #ff9500; }
.tag-python { background: rgba(59,130,246,0.15); color: #60a5fa; }
.tag-data   { background: rgba(20,184,166,0.15); color: #2dd4bf; }
.tag-mobile { background: rgba(236,72,153,0.15); color: #f472b6; }
.tag-game   { background: rgba(251,191,36,0.15); color: #fbbf24; }

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 14px;
}

.card-tech {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.7;
  margin-bottom: 14px;
  font-family: ui-monospace, monospace;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent2);
  transition: opacity 0.15s;
  align-self: flex-start;
}
.card-link:hover { opacity: 0.75; }

.card-link-muted {
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}

/* ── "Mehr" Card ── */
.card-more {
  border-style: dashed;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.card-more:hover { background: var(--bg2); }

.card-more-inner {
  text-align: center;
  color: var(--muted);
}

.more-icon {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.4;
}

.card-more p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ── About ── */
.about { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-stack h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-stack ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-stack li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
}

.about-stack li span {
  color: var(--text);
  font-weight: 600;
  min-width: 70px;
}

/* ── Contact ── */
.contact-inner { text-align: center; }
.contact-inner h2 { margin-bottom: 12px; }
.contact-inner p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  nav { gap: 18px; }
  .hero { padding: 70px 24px 60px; }
}
