/* ==========================================================================
   Markus Bantle Computer — Homepage Stylesheet
   Ein zentrales Stylesheet für alle Seiten. Farben & Abstände sind als
   CSS-Variablen definiert — hier änderst Du z.B. die Akzentfarbe für die
   ganze Seite auf einmal.
   ========================================================================== */

:root {
  /* Farben */
  --color-bg: #f7f9fc;
  --color-surface: #ffffff;
  --color-text: #1c2333;
  --color-text-muted: #4d4d4d;
  --color-navy: #0b1220;
  --color-navy-2: #131c30;
  --color-accent: #2563eb;
  --color-accent-2: #06b6d4;
  --color-accent-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --color-border: #d6d6d6;
  --color-gray-light: #f5f5f5;
  --color-gray-mid: #a4a4a4;
  --color-success: #16a34a;

  /* Typografie */
  --font-base: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background:
    url("../bilder/texture-binary.png"),
    linear-gradient(160deg, #23262e 0%, #4a4f5a 48%, #1c1f26 100%);
  background-repeat: repeat, no-repeat;
  background-position: top left, top center;
  background-size: auto, 100% 100%;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78em;
  font-weight: 700;
  color: var(--color-accent-2);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

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

.section {
  padding: 76px 0;
}

.section--tight { padding: 48px 0; }

.section-head {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 { color: #fff; }
.section-head .text-muted { color: rgba(255,255,255,0.72); }

.section-copy h2 { color: #fff; }
.section-copy .text-muted { color: rgba(255,255,255,0.72); }

.section--alt {
  background: rgba(0,0,0,0.18);
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--color-accent-gradient);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 7px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.brand-logo img {
  height: 26px;
  width: auto;
  display: block;
}

.brand small {
  display: block;
  font-weight: 400;
  font-size: 0.72em;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
}

.nav-links a.is-active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.is-open { display: flex; }

  .nav-links a {
    padding: 14px 12px;
    border-radius: 8px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(6,182,212,0.25), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/svg%3E"),
    linear-gradient(160deg, rgba(11,18,32,0.94) 0%, rgba(19,28,48,0.92) 100%),
    url("../bilder/hintergrund.jpg");
  background-size: auto, auto, cover, cover;
  background-position: center, center, center, center 35%;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  color: #fff;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(6,182,212,0.08) 55%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { color: #fff; }

.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  margin: 20px 0 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 22px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge svg { flex-shrink: 0; color: var(--color-accent-2); }

.hero-visual {
  background: linear-gradient(150deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-visual-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-visual-row:last-child { border-bottom: none; }

.hero-visual-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(6,182,212,0.15);
  color: var(--color-accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-visual-text strong { display: block; font-size: 0.95rem; color: #fff; }
.hero-visual-text span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 56px; text-align: left; }
}

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(6,182,212,0.20), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/svg%3E"),
    linear-gradient(160deg, rgba(11,18,32,0.94) 0%, rgba(19,28,48,0.92) 100%),
    url("../bilder/hintergrund.jpg");
  background-size: auto, auto, cover, cover;
  background-position: center, center, center, center 35%;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  color: #fff;
  padding: 64px 0 56px;
}

.page-header h1 { color: #fff; }
.page-header p { color: rgba(255,255,255,0.78); margin-top: 14px; max-width: 620px; font-size: 1.08rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

.breadcrumb a { color: rgba(255,255,255,0.75); }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card--photo {
  padding: 0;
  overflow: hidden;
}

.card-photo {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.card--photo .card-body {
  padding: 28px 32px 32px;
}

.card--photo .card-icon {
  margin-top: -46px;
  position: relative;
  z-index: 1;
  border: 3px solid var(--color-surface);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); }

.card ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--color-text-muted);
}

.card ul li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-success); }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 2rem;
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Process steps ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.step:last-child { border-bottom: none; }

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step h3 { margin-bottom: 6px; color: #fff; }
.step p { color: rgba(255,255,255,0.68); }

/* ---------- Quote / CTA banner ---------- */
.cta-banner {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23ffffff' fill-opacity='0.10'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(37,99,235,0.90) 0%, rgba(6,182,212,0.90) 100%),
    url("../bilder/tech-bg.jpg");
  background-size: auto, cover, cover;
  background-position: center, center, center;
  background-repeat: repeat, no-repeat, no-repeat;
  border-radius: var(--radius);
  color: #fff;
  padding: 52px;
  text-align: center;
}

.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 14px auto 28px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37,99,235,0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong { display: block; font-size: 0.98rem; color: #fff; }
.contact-item span, .contact-item a { color: rgba(255,255,255,0.72); font-size: 0.95rem; }

.form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-row input,
.form-row textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.98rem;
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-text);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.65);
  padding: 44px 0 28px;
  margin-top: 60px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  color: #fff;
  font-weight: 700;
}

.footer-brand .brand-logo {
  margin-bottom: 10px;
}

.footer-brand small {
  display: block;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 20px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Legal pages ---------- */
.legal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 820px;
  margin: 0 auto;
}

.legal h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.legal h2:first-child { margin-top: 0; }

.legal p, .legal li {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.legal li { margin-left: 20px; list-style: disc; }

.legal .placeholder {
  background: #fff7ed;
  border: 1px dashed #f59e0b;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.92em;
}
