/* ==========================================================================
   Wallstreet Fuchs – Link-Seite
   Farben und Schriften sind an Banner & Thumbnails angelehnt.
   ========================================================================== */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --mint: #eef8f0;
  --white: #ffffff;
  --ink: #1b1a18;
  --ink-soft: #55534f;
  --orange: #e7601c;
  --green: #23a447;
  --shadow: rgba(27, 26, 24, 0.16);

  --font-head: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-ui: "Oswald", "Arial Narrow", sans-serif;
  --font-text: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --border: 3px solid var(--ink);
  --radius: 14px;

  color-scheme: light;
}

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

html {
  background: var(--mint);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Seite
   -------------------------------------------------------------------------- */

.page {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(48px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
    calc(28px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

/* Profil */

.avatar {
  display: block;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: var(--border);
  background: var(--white);
  box-shadow: 5px 6px 0 var(--shadow);
  object-fit: cover;
}

.title {
  margin: 22px 0 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(36px, 11.5vw, 46px);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: skewX(-10deg);
}

.title span {
  color: var(--orange);
}


/* Links */

.links {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 14px;
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 10px 56px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 4px 5px 0 var(--shadow);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
}

.button svg {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
}

@media (hover: hover) {
  .button:hover {
    transform: translate(-1px, -2px);
    box-shadow: 6px 8px 0 var(--shadow);
  }
}

.button:active {
  transform: translate(3px, 4px);
  box-shadow: 1px 1px 0 var(--shadow);
}

/* Kontakt-Panel */

button.button {
  width: 100%;
  font: inherit;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.button .chevron {
  left: auto;
  right: 18px;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.button[aria-expanded="true"] .chevron {
  transform: translateY(-50%) rotate(180deg);
}

.contact {
  margin-top: 10px;
  padding: 18px 18px 18px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 4px 5px 0 var(--shadow);
  text-align: center;
  animation: drop 0.2s ease;
}

.contact__label {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact__mail {
  margin: 6px 0 16px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(18px, 5.6vw, 22px);
  letter-spacing: 0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}

.contact__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  background: var(--white);
  border: var(--border);
  border-radius: 11px;
  box-shadow: 3px 4px 0 var(--shadow);
  font: inherit;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  touch-action: manipulation;
}

.action svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.action--primary {
  background: var(--orange);
  color: var(--white);
}

.action .icon-check,
.action.is-done .icon-copy {
  display: none;
}

.action.is-done .icon-check {
  display: block;
}

.action.is-done {
  background: var(--green);
}

.action:active {
  transform: translate(2px, 3px);
  box-shadow: 1px 1px 0 var(--shadow);
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* Fußzeile */

.footer {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  gap: 22px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 2px;
}

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

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */

.doc {
  max-width: 680px;
  align-items: stretch;
  padding-top: calc(28px + env(safe-area-inset-top));
}

.doc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 10px;
  background: var(--white);
  border: var(--border);
  border-radius: 10px;
  box-shadow: 3px 4px 0 var(--shadow);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.back svg {
  width: 18px;
  height: 18px;
}

.back:active {
  transform: translate(2px, 3px);
  box-shadow: 1px 1px 0 var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.brand span {
  font-family: var(--font-head);
  font-size: 20px;
  text-transform: uppercase;
  transform: skewX(-10deg);
}

.brand b {
  font-weight: 400;
  color: var(--orange);
}

.doc h1 {
  margin: 40px 0 4px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(38px, 10vw, 54px);
  line-height: 1.05;
  text-transform: uppercase;
  transform: skewX(-10deg);
  transform-origin: left;
}

.doc__sub {
  margin: 0 0 24px;
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.prose {
  font-size: 16px;
  line-height: 1.65;
  color: #2c2b28;
}

.prose h2 {
  margin: 34px 0 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.prose p,
.prose ul {
  margin: 0 0 14px;
}

.prose ul {
  padding-left: 20px;
}

.prose li {
  margin-bottom: 4px;
}

.prose li::marker {
  color: var(--orange);
}

.prose a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.card {
  margin: 0 0 16px;
  padding: 18px 20px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 4px 5px 0 var(--shadow);
}

.card p:last-child {
  margin-bottom: 0;
}

/* Platzhalter – vor dem Livegang ersetzen! */
.todo {
  background: #fff1d6;
  border: 2px dashed var(--orange);
  border-radius: 6px;
  padding: 0 5px;
  color: #a2410c;
}

.doc .footer {
  justify-content: flex-start;
}

/* 404 */

.lost {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.lost .title {
  white-space: normal;
}

.lost p {
  margin: 16px 0 28px;
  max-width: 30ch;
  color: var(--ink-soft);
}

.lost .button {
  width: 100%;
  max-width: 320px;
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .back,
  .action,
  .chevron {
    transition: none;
  }
  .contact {
    animation: none;
  }
}

@media (min-width: 720px) {
  .page {
    padding-top: 80px;
  }
}
