/* =========================================================================
   LKService – Visitenkarten-Website
   Design-System: Linear (dark-mode-native, Inter, Indigo-Akzent)
   ========================================================================= */

:root {
  /* Hintergrund-Flächen */
  --bg: #08090a;
  --bg-panel: #0f1011;
  --surface: #191a1b;
  --surface-2: #28282c;

  /* Text */
  --text: #f7f8f8;
  --text-2: #d0d6e0;
  --text-3: #8a8f98;
  --text-4: #62666d;

  /* Marke & Akzent */
  --brand: #5e6ad2;
  --accent: #7170ff;
  --accent-hover: #828fff;

  /* Rahmen */
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);

  /* Radien */
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --r-xl: 22px;

  /* Layout */
  --maxw: 760px;
  --maxw-wide: 1080px;

  /* Schrift */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-feature-settings: 'cv01', 'ss03';
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Dezenter Indigo-Schein im Hintergrund (Linear-typisch) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px circle at 50% -8%, rgba(94, 106, 210, 0.18), transparent 70%),
    radial-gradient(900px circle at 88% 8%, rgba(113, 112, 255, 0.06), transparent 60%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Layout-Helfer ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.wrap--wide {
  max-width: var(--maxw-wide);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--maxw-wide);
  margin-inline: auto;
  padding-inline: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 590;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand__logo {
  display: block;
  height: 30px;
  width: auto;
  flex: none;
}

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

.nav a {
  font-size: 14px;
  font-weight: 510;
  color: var(--text-3);
  padding: 7px 11px;
  border-radius: var(--r-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav a[aria-current='page'] {
  color: var(--text);
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 510;
  line-height: 1;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  text-align: center;
  padding: clamp(64px, 14vw, 132px) 0 clamp(40px, 8vw, 72px);
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.02);
}

.hero__logo {
  margin: 0 auto 22px;
  line-height: 0;
}

.hero__logo img {
  width: clamp(230px, 62vw, 380px);
  height: auto;
  display: inline-block;
}

.hero p {
  font-size: clamp(1rem, 3.6vw, 1.18rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 30ch;
  margin: 0 auto 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* =========================================================================
   Sektionen
   ========================================================================= */
.section {
  padding: clamp(36px, 7vw, 56px) 0;
}

.section__head {
  margin-bottom: 28px;
}

.section__head h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 510;
  letter-spacing: -0.022em;
  color: var(--text);
  margin-top: 8px;
}

/* ---------- Kontaktkarten ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

a.card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  background: rgba(94, 106, 210, 0.12);
  border: 1px solid rgba(113, 112, 255, 0.25);
  color: var(--accent);
}

.card__icon svg {
  width: 19px;
  height: 19px;
}

.card__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 4px;
}

.card__value {
  font-size: 16px;
  font-weight: 510;
  color: var(--text);
  line-height: 1.5;
}

.card__value span {
  display: block;
  font-weight: 400;
  color: var(--text-2);
}

/* =========================================================================
   Karte (Google Maps – 2-Klick-Lösung)
   ========================================================================= */
.map-card {
  position: relative;
  width: 100%;
  height: clamp(260px, 58vw, 420px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-panel);
}

.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 28px 22px;
  background:
    radial-gradient(420px circle at 50% 40%, rgba(94, 106, 210, 0.12), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 40px),
    var(--bg-panel);
}

.map-consent__icon {
  color: var(--accent);
  opacity: 0.9;
}

.map-consent__icon svg {
  width: 34px;
  height: 34px;
}

.map-consent p {
  font-size: 14px;
  color: var(--text-3);
  max-width: 46ch;
}

.map-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.map-note {
  font-size: 13px;
  color: var(--text-4);
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw-wide);
  margin-inline: auto;
  padding-inline: 22px;
}

.site-footer .brand {
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.copyright {
  width: 100%;
  font-size: 12px;
  color: var(--text-4);
  max-width: var(--maxw-wide);
  margin: 18px auto 0;
  padding-inline: 22px;
}

/* =========================================================================
   Rechtsseiten (Impressum / Datenschutz)
   ========================================================================= */
.legal {
  padding: clamp(48px, 9vw, 80px) 0 64px;
}

.legal .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.legal h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 510;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.legal__meta {
  font-size: 14px;
  color: var(--text-4);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 590;
  letter-spacing: -0.018em;
  color: var(--text);
  margin: 40px 0 12px;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 590;
  color: var(--text);
  margin: 26px 0 8px;
}

.legal p,
.legal li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--accent-hover);
}

.legal strong {
  color: var(--text);
  font-weight: 590;
}

.legal .placeholder {
  color: #e0b341;
  font-style: italic;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 510;
  color: var(--text-3);
  margin-top: 8px;
}

.back-link:hover {
  color: var(--text);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 520px) {
  .site-header__inner {
    height: 56px;
  }

  .nav {
    gap: 2px;
  }

  .nav a {
    padding: 7px 9px;
    font-size: 13px;
  }

  /* Kontakt-Link auf kleinen Screens ausblenden – Inhalt ist direkt auf der
     Seite erreichbar (CTA-Buttons + Kontaktkarten). Impressum & Datenschutz
     bleiben aus rechtlichen Gründen sichtbar. */
  .nav__contact {
    display: none;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  * {
    transition: none !important;
  }
}
