/* ============================================================
   LinkBuddy — Landing Page
   Light · Apple-clean · Bauhaus-geometric · accent #3B8EFF
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ink: #0b0d12;
  --ink-soft: #5b6172;
  --line: #e6e9f0;

  --blue: #3b8eff;
  --blue-deep: #1f6fe6;
  --blue-tint: #e9f1ff;

  /* Bauhaus-Primärakzente, sehr sparsam eingesetzt */
  --accent-yellow: #ffc23d;
  --accent-coral: #ff6a4d;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 18px;

  --font-display: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;

  --shadow: 0 1px 2px rgba(11,13,18,.04), 0 12px 32px rgba(11,13,18,.07);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
em { font-style: normal; color: var(--blue); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- shared section heads ---------- */
.sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-num {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: .25em; color: var(--blue);
  border: 2px solid var(--blue); border-radius: 100px; padding: 4px 14px; margin-bottom: 22px;
}
.sec-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 16px; }
.sec-head p { color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.sec-head--light h2, .sec-head--light p { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
  padding: 14px 26px; border-radius: 100px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(59,142,255,.35); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(59,142,255,.42); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { border-radius: 9px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav__links a { font-size: .98rem; color: var(--ink-soft); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: #fff !important; background: var(--blue); padding: 9px 20px; border-radius: 100px;
  font-family: var(--font-display); font-weight: 500;
}
.nav__cta:hover { background: var(--blue-deep); }
.nav__lang {
  font-family: var(--font-display); font-weight: 500; font-size: .88rem !important;
  border: 1.5px solid var(--line); padding: 6px 13px; border-radius: 100px;
}
.nav__lang:hover { border-color: var(--blue); color: var(--blue) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) var(--pad) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero__inner { position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  font-size: .82rem; color: var(--ink-soft); margin-bottom: 22px;
}
.eyebrow span { color: var(--blue); margin: 0 4px; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 700; margin-bottom: 24px; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 30ch; margin-bottom: 32px; }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero__note { font-size: .92rem; color: var(--ink-soft); }

/* Bauhaus-Geometrie */
.hero__geo { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.geo { position: absolute; border-radius: 50%; }
.geo--circle { width: 190px; height: 190px; background: var(--blue); opacity: .10; top: 4%; right: 30%; }
.geo--ring   { width: 260px; height: 260px; border: 28px solid var(--blue-tint); top: -40px; right: -60px; }
.geo--square { width: 120px; height: 120px; border-radius: 26px; background: var(--accent-yellow); opacity: .9; bottom: 8%; right: 6%; transform: rotate(12deg); }
.geo--dot    { width: 46px; height: 46px; background: var(--accent-coral); bottom: 22%; left: 40%; }

/* Produkt-Shot (Platzhalter) */
.hero__shot { position: relative; z-index: 2; }
.shot__frame {
  background: linear-gradient(160deg, #fff, var(--bg-soft));
  border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow);
  aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden;
}
.shot__placeholder { display: grid; justify-items: center; gap: 14px; color: var(--ink-soft); }
.shot__placeholder img { opacity: .9; border-radius: 16px; }
.shot__placeholder span { font-size: .85rem; letter-spacing: .04em; }

/* ============================================================
   STRIP
   ============================================================ */
.strip {
  background: var(--ink); color: #fff; text-align: center;
  padding: clamp(20px, 3vw, 30px) var(--pad);
  font-family: var(--font-display); font-size: clamp(1rem, 1.7vw, 1.35rem); font-weight: 400;
}
.strip strong { color: var(--blue); font-weight: 600; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--pad); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 1rem; }

/* Bauhaus-Geometrie-Marken statt skeuomorpher Icons */
.card__icon { position: relative; display: block; width: 52px; height: 52px; margin-bottom: 22px; }
.card__icon::before, .card__icon::after { content: ""; position: absolute; }
.card__icon[data-shape="screen"]::before { inset: 0; border: 4px solid var(--blue); border-radius: 10px; }
.card__icon[data-shape="screen"]::after  { width: 22px; height: 4px; background: var(--blue); bottom: 8px; left: 50%; transform: translateX(-50%); border-radius: 2px; }
.card__icon[data-shape="files"]::before  { width: 38px; height: 30px; border: 4px solid var(--blue); border-radius: 8px; top: 0; left: 0; }
.card__icon[data-shape="files"]::after   { width: 38px; height: 30px; border: 4px solid var(--accent-coral); border-radius: 8px; bottom: 0; right: 0; background: #fff; }
.card__icon[data-shape="sms"]::before    { inset: 0 6px 12px 0; border: 4px solid var(--blue); border-radius: 12px 12px 12px 2px; }
.card__icon[data-shape="bell"]::before   { width: 40px; height: 40px; border: 4px solid var(--blue); border-radius: 50% 50% 14px 14px; top: 2px; left: 6px; }
.card__icon[data-shape="bell"]::after    { width: 12px; height: 12px; background: var(--accent-yellow); border-radius: 50%; bottom: -2px; left: 20px; }
.card__icon[data-shape="clip"]::before   { width: 30px; height: 30px; border: 4px solid var(--blue); border-radius: 8px; top: 0; left: 0; }
.card__icon[data-shape="clip"]::after    { width: 30px; height: 30px; background: var(--blue-tint); border: 4px solid var(--blue); border-radius: 8px; bottom: 0; right: 0; }
.card__icon[data-shape="media"]::before  { width: 52px; height: 40px; border: 4px solid var(--blue); border-radius: 10px; top: 6px; }
.card__icon[data-shape="media"]::after   { width: 16px; height: 16px; background: var(--accent-coral); border-radius: 50%; top: 14px; left: 10px; }

/* ============================================================
   VERGLEICH / KDE CONNECT
   ============================================================ */
.compare { background: var(--blue-tint); }
.compare__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vw, 110px) var(--pad); }
.compare__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: 14px; }
.compare__list li {
  background: #fff; border-radius: var(--radius); padding: 26px 28px; position: relative;
  padding-left: 56px;
}
.compare__list li::before {
  content: ""; position: absolute; left: 24px; top: 30px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 6px rgba(59,142,255,.16);
}
.compare__list strong { display: block; font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; margin-bottom: 6px; }
.compare__list span { color: var(--ink-soft); font-size: .98rem; }
.compare__note { margin-top: clamp(28px, 4vw, 44px); color: var(--ink-soft); font-size: .85rem; opacity: .8; }

/* ============================================================
   DATENSCHUTZ
   ============================================================ */
.privacy {
  max-width: var(--maxw); margin: 0 auto; text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--pad);
}
.privacy .sec-num { margin-bottom: 28px; }
.privacy h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 700; margin-bottom: 26px; }
.privacy p { color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 60ch; margin: 0 auto; }

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download { max-width: var(--maxw); margin: 0 auto; padding: clamp(20px, 4vw, 40px) var(--pad) clamp(80px, 10vw, 130px); }
.download .sec-head { margin-left: auto; margin-right: auto; text-align: center; }
.download__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 34px); max-width: 820px; margin: 0 auto; }
.dl-card {
  border: 1px solid var(--line); border-radius: 24px; padding: 40px 36px; text-align: center;
  display: grid; justify-items: center; gap: 14px; background: linear-gradient(170deg, #fff, var(--bg-soft));
}
.dl-card h3 { font-size: 1.5rem; }
.dl-card p { color: var(--ink-soft); }
.qr { width: 110px; height: 110px; border: 2px dashed var(--line); border-radius: 16px; display: grid; place-items: center; color: var(--ink-soft); font-size: .8rem; text-align: center; margin-top: 8px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--pad); }
.pricing .sec-head { margin-left: auto; margin-right: auto; text-align: center; }
.pricing__trial { text-align: center; margin: 0 auto clamp(26px, 4vw, 38px); }
.pricing__trial span {
  display: inline-block; background: var(--blue-tint); color: var(--blue-deep);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: 8px 18px; border-radius: 100px;
}
.pricing__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 34px); max-width: 820px; margin: 0 auto; }
.price-card {
  position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 42px 36px; text-align: center;
  display: grid; justify-items: center; gap: 10px; background: linear-gradient(170deg, #fff, var(--bg-soft));
}
.price-card--feature { border: 2px solid var(--blue); box-shadow: 0 14px 40px rgba(59,142,255,.16); }
.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: .78rem; letter-spacing: .04em; padding: 5px 14px; border-radius: 100px; white-space: nowrap;
}
.price-card h3 { font-family: var(--font-display); font-size: 1.4rem; }
.price-card__amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; color: var(--ink); }
.price-card__amount span { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card p { color: var(--ink-soft); }
.pricing__note { text-align: center; color: var(--ink-soft); font-size: .92rem; max-width: 62ch; margin: clamp(22px, 3vw, 34px) auto 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line); max-width: var(--maxw); margin: 0 auto;
  padding: 40px var(--pad); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }
.footer__brand img { border-radius: 7px; }
.footer__links { display: flex; gap: 26px; }
.footer__links a { color: var(--ink-soft); font-size: .95rem; }
.footer__links a:hover { color: var(--blue); }
.footer__copy { color: var(--ink-soft); font-size: .9rem; }

/* ============================================================
   LEGAL / CONTENT PAGES
   ============================================================ */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--pad); }
.legal h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.legal__updated { color: var(--ink-soft); margin-bottom: 36px; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 1.2em; margin-bottom: 12px; }
.legal a { color: var(--blue); }
.legal address { font-style: normal; color: var(--ink); line-height: 1.85; margin-bottom: 16px; }
.legal strong { color: var(--ink); }

/* ============================================================
   REVEAL MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .hero__shot { order: -1; max-width: 360px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .compare__list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav__links a:not(.nav__cta):not(.nav__lang) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .download__cards { grid-template-columns: 1fr; }
  .pricing__cards { grid-template-columns: 1fr; }
  .hero__sub { max-width: none; }
  .geo--ring, .geo--circle { display: none; }
}
