/* ahw Ingenieure – Linktree (mobile first) */

:root {
  --navy: #004680;
  --navy-deep: #00365f;
  --sky: #bfd0df;
  --sky-soft: #e8eff5;
  --grey: #888b8d;
  --white: #ffffff;
  --radius: 14px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

html, body { margin: 0; min-height: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  background:
    radial-gradient(120% 60% at 50% 115%, var(--sky) 0%, var(--sky-soft) 55%, var(--white) 100%)
    fixed;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.page {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 56px 20px 32px;
  display: flex;
  flex-direction: column;
}

/* Logo */
.head {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}

.logo {
  width: 72%;
  max-width: 260px;
  height: auto;
  display: block;
}

/* Buttons */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 10px 18px 10px 10px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 6px 16px -10px rgba(0, 54, 95, 0.9);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.link:hover { background: var(--navy-deep); }
.link:active { transform: scale(0.98); }

.link:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sky);
  display: grid;
  place-items: center;
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon svg .dot { fill: var(--navy); stroke: none; }

/* Footer */
.foot {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--grey);
}

.foot p { margin: 0; }
.foot p + p { margin-top: 6px; }

.foot a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 4px;
}

.foot a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
  .link:active { transform: none; }
}
