/* Conday Digital — styles.css
   Pure CSS, no external resources, no web fonts (system stack only).
   GDPR/DSGVO: zero external network calls. */

:root {
  --bg:          #f7faf9;
  --surface:     #ffffff;
  --ink:         #142a32;
  --ink-soft:    #3c5560;
  --muted:       #5e7681;
  --line:        #d9e4e6;
  --brand:       #176b6b;   /* calm medical teal */
  --brand-dark:  #0f4f4f;
  --brand-soft:  #e3f0ee;
  --accent:      #2f7d6b;   /* green */
  --focus:       #0b6e8a;
  --radius:      14px;
  --maxw:        1080px;
  --shadow:      0 1px 2px rgba(20,42,50,.06), 0 6px 24px rgba(20,42,50,.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 { line-height: 1.2; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0 0 .4em; }
h3 { font-size: 1.18rem; margin: 0 0 .4em; }
p  { color: var(--ink-soft); }

a { color: var(--brand-dark); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,250,249,.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.brand .mark {
  width: 30px; height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 800;
}
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .98rem;
}
.nav-links a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--brand-dark) !important; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--brand-soft); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 76px;
  background:
    radial-gradient(900px 420px at 80% -10%, var(--brand-soft) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 18ch; margin: 0 0 18px; }
.hero .lead { margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { font-size: .92rem; color: var(--muted); }
.hero-note strong { color: var(--ink-soft); }

/* ---------- Generic cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--ink); }
.card p { margin-bottom: 0; }

/* Problem vs Solution */
.compare { align-items: stretch; }
.compare .card { display: flex; flex-direction: column; }
.card-problem { border-top: 4px solid #c1574c; }
.card-solution { border-top: 4px solid var(--accent); }
.tick-list { list-style: none; margin: 14px 0 0; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 14px; height: 14px;
  transform: translateY(-50%);
}
.tick-list.cross li::before {
  content: "✕";
  color: #c1574c;
  font-weight: 700;
  top: .1em;
  width: auto; height: auto;
}
.tick-list.check li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  top: .1em;
  width: auto; height: auto;
}

/* Steps */
.steps { counter-reset: step; }
.step .num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 14px;
}
.callout {
  margin-top: 26px;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--brand-dark);
  font-weight: 500;
}

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg), #eef5f3); }
.price-grid { grid-template-columns: repeat(3, 1fr); }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--brand);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -13px; left: 26px;
  background: var(--brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-name { font-size: 1.25rem; font-weight: 700; margin: 0 0 4px; }
.price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 8px 0 2px;
}
.price-meta { font-size: .9rem; color: var(--muted); min-height: 1.4em; margin-bottom: 16px; }
.price-card ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}
.price-card ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: .98rem;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-card .btn { width: 100%; text-align: center; }

.wartung-card {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.wartung-card .price-amount { margin: 0; font-size: 1.5rem; }
.price-foot {
  margin-top: 22px;
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- Über mich ---------- */
.about .card { max-width: 760px; }
.about p + p { margin-top: 14px; }

/* ---------- Kontakt ---------- */
.contact {
  background: var(--brand-dark);
  color: #eaf4f2;
}
.contact h2 { color: #fff; }
.contact p { color: #cfe4e0; }
.contact .lead { color: #d6e8e5; }
.contact a.btn-light {
  background: #fff;
  color: var(--brand-dark);
}
.contact a.btn-light:hover { background: var(--brand-soft); }
.contact .mailref { color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0c1f24;
  color: #aebfc3;
  padding: 48px 0 36px;
  font-size: .92rem;
}
.site-footer a { color: #cfe0e2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { font-weight: 700; color: #fff; font-size: 1.05rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0; padding: 0;
}
.footer-legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #1d3a40;
  color: #8aa0a4;
  font-size: .85rem;
}

/* ---------- Legal pages / sections ---------- */
.legal { padding: 56px 0; }
.legal .container { max-width: 760px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; margin-top: 32px; }
.legal p, .legal address { color: var(--ink-soft); }
.legal address { font-style: normal; line-height: 1.7; }
.legal .back { display: inline-block; margin-bottom: 24px; font-weight: 600; }
.todo {
  background: #fff7e6;
  border: 1px dashed #d9a441;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 600;
  color: #8a5a00;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .price-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 18px 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-block; }
  section { padding: 56px 0; }
  .hero { padding: 60px 0 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
