:root {
  --bg: #1c1f22;
  --bg-soft: #24282d;
  --text: #e6e6e6;
  --text-muted: #b5b5b5;
  --accent: #7da33c;
  --line: #3a3f45;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* ===== Header ===== */

header {
  border-bottom: 2px solid var(--line);
  background: var(--bg);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--accent);
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 1.4rem;
  font-size: 0.95rem;
}

nav a:hover {
  text-decoration: underline;
}

nav strong a {
  color: var(--accent);
  cursor: default;
}

/* ===== Main ===== */

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 4.5rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

h2 {
  font-size: 1.15rem;
  color: var(--accent);
  margin-top: 2.8rem;
  margin-bottom: 0.5rem;
}

p {
  max-width: 72ch;
}

.muted {
  color: var(--text-muted);
}

/* ===== Content Blocks ===== */

.section {
  margin-top: 2.8rem;
}

.block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1.5rem;
  margin-top: 1.2rem;
}

/* ===== Projekte ===== */

.project {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  margin-top: 1.1rem;
}

.project a {
  color: var(--accent);
  text-decoration: none;
}

.project a:hover {
  text-decoration: underline;
}

/* ===== Media (Bilder) ===== */

.media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1d20;
  border: 1px solid var(--line);
  margin-top: 1.2rem;
  overflow: hidden;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .media {
    aspect-ratio: 4 / 3;
  }
}

/* ===== Footer ===== */

footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */

@media (max-width: 820px) {
  nav {
    display: block;
    text-align: center;
    margin-top: 0.8rem;
  }

  nav a {
    margin: 0 0.6rem;
    font-size: 0.9rem;
  }
}


/* ===== Linux-Seite ===== */

.linux-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.linux-aside {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.linux-aside strong {
  color: var(--accent);
  font-weight: 500;
}

.linux-content h2 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 2.2rem;
  margin-bottom: 0.4rem;
}

.linux-content p {
  max-width: 65ch;
}

blockquote {
  margin: 2rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--line);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .linux-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Links global ===== */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/* ===== Dienstleistungen: 2x2 Grid ===== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 1.2rem;
}

.service-box {
  border: 1px solid var(--line);
  padding: 1.3rem 1.4rem;
  background: transparent;
}

.service-box h2 {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--accent);
}

.service-box p {
  margin-bottom: 0;
  max-width: none;
}

/* Mobile: sauber untereinander */
@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
