/* lern-digital.de/services — Andreas Reis */

*,*::before,*::after { box-sizing: border-box; }

:root {
  --bg: #0b0e14;
  --bg-soft: #11151d;
  --bg-card: #161b25;
  --line: #232a37;
  --line-soft: #1b2230;
  --text: #e6ebf2;
  --text-mute: #9aa4b2;
  --text-dim: #6f7a89;
  --accent: #4dd0e1;
  --accent-bright: #80deea;
  --accent-deep: #00838f;
  --warn: #ffb84d;
  --max: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --pad: clamp(16px, 4vw, 32px);
}

html { scroll-behavior: smooth; }

/* ---------- SOFT-LAUNCH BANNER (entfernen vor finalem Live-Gang) ---------- */
.soft-banner {
  background: #3a2a05;
  color: #ffd99a;
  border-bottom: 2px solid #ffb84d;
  font-size: 14px;
  padding: 10px var(--pad, 16px);
  text-align: center;
  line-height: 1.5;
}
.soft-banner strong { color: #ffb84d; }
.soft-banner code {
  background: rgba(0,0,0,.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #ffd99a;
}
.soft-banner a { color: #ffd99a; text-decoration: underline; }
.soft-banner a:hover { color: #fff; }

/* ---------- TBD Inline-Marker ---------- */
.tbd {
  display: inline-block;
  font-size: 11px;
  background: rgba(255, 184, 77, 0.15);
  color: #ffb84d;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px dashed rgba(255, 184, 77, 0.45);
  margin-left: 4px;
  vertical-align: middle;
  white-space: nowrap;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 5.5vw, 52px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.6vw, 36px); font-weight: 700; margin-bottom: .5em; }
h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- NAV ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 12px var(--pad);
  background: rgba(11,14,20,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-nav .brand {
  font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none;
}
.site-nav nav {
  margin-left: auto;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.site-nav nav a {
  color: var(--text-mute);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  min-height: 36px;
  display: inline-flex; align-items: center;
}
.site-nav nav a:hover { color: var(--text); background: var(--bg-card); text-decoration: none; }
.site-nav nav .cta-mini {
  background: var(--accent); color: #002b30; font-weight: 600;
}
.site-nav nav .cta-mini:hover { background: var(--accent-bright); color: #002b30; }
.site-nav nav .lang {
  border: 1px solid var(--line); font-weight: 600; color: var(--text-mute);
}

@media (max-width: 720px) {
  .site-nav nav a { padding: 6px 10px; font-size: 13px; }
  .site-nav nav { gap: 4px; }
}

/* ---------- HERO ---------- */
.hero {
  padding: clamp(48px, 9vw, 100px) 0 clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at 80% -20%, rgba(77, 208, 225, .14), transparent 50%),
    radial-gradient(circle at -10% 100%, rgba(0, 131, 143, .14), transparent 55%),
    var(--bg);
}
.hero .eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px; font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: .02em;
}
.hero h1 { max-width: 18ch; }
.hero .lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-mute);
  max-width: 60ch;
  margin: 18px 0 28px;
}
.hero .lede strong { color: var(--text); }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn.primary { background: var(--accent); color: #002b30; }
.btn.primary:hover { background: var(--accent-bright); color: #002b30; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-card); border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 14px; background: transparent; color: var(--accent); border: 1px solid var(--line); }
.btn.small:hover { background: var(--accent); color: #002b30; text-decoration: none; }

.trust-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  color: var(--text-dim); font-size: 13px;
}
.trust-row li {
  position: relative; padding-left: 18px;
}
.trust-row li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}

/* ---------- STATS ---------- */
.stats {
  padding: 32px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-grid > div { display: flex; flex-direction: column; }
.stats-grid strong {
  font-size: clamp(24px, 4vw, 38px);
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.stats-grid span {
  color: var(--text-mute);
  font-size: 13px;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- SERVICES ---------- */
.services { padding: clamp(48px, 8vw, 90px) 0; }
.section-lede {
  color: var(--text-mute); font-size: 17px; max-width: 60ch; margin: 0 0 32px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card.highlight {
  border-color: var(--accent-deep);
  background: linear-gradient(180deg, rgba(77,208,225,.08), var(--bg-card));
}
.card-tag {
  display: inline-block; align-self: flex-start;
  padding: 3px 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(77,208,225,.1);
  border-radius: 999px;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-mute); margin: 0 0 14px; font-size: 15px; }
.card ul {
  margin: 0 0 18px; padding: 0; list-style: none;
  font-size: 14px; color: var(--text-mute);
}
.card ul li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.card ul li::before { content: "·"; position: absolute; left: 4px; top: -2px; color: var(--accent); font-weight: 700; font-size: 20px; line-height: 1; }
.card .price { color: var(--text); margin: auto 0 14px; font-size: 15px; }
.card .price strong { color: var(--accent); font-size: 17px; }

/* ---------- PORTFOLIO ---------- */
.portfolio {
  padding: clamp(48px, 8vw, 90px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.port-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
  display: block;
}
.port-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--text);
  text-decoration: none;
}
.port-meta {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.port-card h3 { margin-bottom: 8px; }
.port-card p { color: var(--text-mute); font-size: 14px; margin: 0 0 14px; }
.port-link { color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---------- PORTFOLIO FEATURED ---------- */
.port-feature {
  grid-column: span 2;
  background: linear-gradient(180deg, rgba(77,208,225,.10), var(--bg-card));
  border-color: var(--accent-deep);
}
.port-feature h3 { font-size: clamp(20px, 2.6vw, 26px); }
@media (max-width: 760px) {
  .port-feature { grid-column: span 1; }
}

/* ---------- STACK SECTION ---------- */
.stack-section {
  padding: clamp(48px, 8vw, 90px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}
.stack-cluster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 18px;
}
.stack-col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.stack-col h3 {
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 14px;
  font-weight: 600;
}
.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill-list li {
  font-size: 13px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-mute);
  background: var(--bg-soft);
}

/* ---------- DIFFERENTIATOR ---------- */
.differentiator {
  padding: clamp(48px, 8vw, 90px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.diff-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.diff-item h3 {
  color: var(--text);
  font-size: 17px;
  margin-bottom: 10px;
}
.diff-item h3::before {
  content: "→ ";
  color: var(--accent);
  font-weight: 700;
}
.diff-item p {
  color: var(--text-mute);
  font-size: 15px;
  margin: 0;
}

/* ---------- PRICING ---------- */
.pricing { padding: clamp(48px, 8vw, 90px) 0; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.price-table th, .price-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.price-table th {
  background: var(--bg-soft);
  color: var(--text-mute);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover td { background: var(--bg-soft); }
.price-table td:last-child { color: var(--accent); font-weight: 600; white-space: nowrap; }
.micro { color: var(--text-dim); font-size: 13px; margin-top: 12px; }

@media (max-width: 640px) {
  .price-table { font-size: 13px; }
  .price-table th, .price-table td { padding: 10px 10px; }
}

/* ---------- PROCESS ---------- */
.process {
  padding: clamp(48px, 8vw, 90px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.steps li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.steps li strong {
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}
.steps li p { color: var(--text-mute); margin: 0; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(48px, 8vw, 90px) 0; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 8px;
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  padding: 4px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
  min-height: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  font-size: 24px; line-height: 1;
  color: var(--accent);
  font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-mute); margin: 10px 0 4px; font-size: 15px; }

/* ---------- CONTACT ---------- */
.contact {
  padding: clamp(48px, 8vw, 90px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.contact-line { margin: 0 0 8px; color: var(--text-mute); font-size: 15px; }
.contact-line strong { color: var(--text); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid; gap: 12px;
}
.contact-form label {
  display: flex; flex-direction: column;
  font-size: 13px; color: var(--text-mute); font-weight: 600;
  gap: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 40px;
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.contact-form button { margin-top: 6px; }

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

/* ---------- FOOTER ---------- */
.site-foot {
  padding: 40px 0 24px;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  color: var(--text-mute);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.foot-grid a { color: var(--text-mute); display: block; padding: 2px 0; min-height: 24px; }
.foot-grid a:hover { color: var(--accent); text-decoration: none; }
.foot-grid strong { color: var(--text); display: block; margin-bottom: 8px; font-size: 14px; }
.foot-bottom {
  margin: 0;
  padding: 16px var(--pad) 0;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- A11Y / FOCUS ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
