/* tobiaslallinger.com – gemeinsames Design für alle Seiten
   Nur diese Farben (Tobis Vorgabe 27.10.2026): #272727 (Dunkelgrau, Hintergrund), #FFFFFF (Weiß),
   #00CC99 (freegreen, Druck: Pantone 3395 C), #D1A247 (Gold: STILL, Simply Life). Kein Hellgrau. */

:root {
  --gruen: #00CC99;
  --gold: #D1A247;
  --dunkel: #272727;
  --weiss: #FFFFFF;
  --ecke: 4px;
}

/* Schrift: Myriad Set Pro (Tobis Entscheidung 27.10.2026, Lizenzhinweis siehe ANLEITUNG.md).
   Fehlt eine Schriftdatei, greift automatisch die Systemschrift. */
@font-face { font-family: "Myriad Set Pro"; src: url("/fonts/myriad-set-pro-500.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Myriad Set Pro"; src: url("/fonts/myriad-set-pro-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Myriad Set Pro"; src: url("/fonts/myriad-set-pro-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dunkel);
  color: var(--weiss);
  font-family: "Myriad Set Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.tl { padding: 64px 16px 40px; }
.tl-wrap { max-width: 1040px; margin: 0 auto; }

/* ---------- Kopf Startseite ---------- */
.tl-kopf { text-align: center; margin-bottom: 48px; }
.tl-foto { width: 148px; height: 148px; margin: 0 auto 28px; }
/* Foto mit goldenem Rand und weichem Goldschein wie auf der OS-Startseite (Tobi 13.11.2026) */
.tl-foto img {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  box-sizing: border-box; border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(209, 162, 71, .12), 0 0 22px rgba(209, 162, 71, .25);
}
/* Logo „TL TOBIAS LALLINGER“ als Hauptüberschrift: weiß mit durchlaufendem Goldglanz wie im OS */
.tl-name { margin: 0; line-height: 0; }
.tl-name-logo {
  display: block; width: min(420px, 100%); aspect-ratio: 1200 / 275; margin: 0 auto;
  -webkit-mask: url("/bilder/tobias-lallinger-logo.png") center / contain no-repeat;
  mask: url("/bilder/tobias-lallinger-logo.png") center / contain no-repeat;
  background: linear-gradient(90deg, var(--weiss) 40%, var(--gold) 50%, var(--weiss) 60%);
  background-size: 200% 100%;
  animation: tl-glanz 4s linear infinite;
}
@keyframes tl-glanz { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.tl-unsichtbar {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
/* „MEINE PROJEKTE“ als goldene Kapitelzeile mit feinen Linien */
.tl-untertitel {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 32px 0 0; font-family: "Myriad Set Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .32em; padding-left: .32em;
  text-transform: uppercase; color: var(--gold);
}
.tl-untertitel::before, .tl-untertitel::after { content: ""; width: 48px; height: 1px; background: var(--gold); }

/* ---------- Projekt-Karten ---------- */
.tl-karten {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}
.tl-karte {
  --akzent: var(--gruen);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 40px 32px 32px;
  background: var(--weiss); color: var(--dunkel);
  border: 3px solid var(--akzent); border-radius: var(--ecke);
  transition: transform .25s ease;
}
/* Gold-Karten: STILL Bayerwald und Simply Life */
.tl-karte.tl-gold { --akzent: var(--gold); }
.tl-karte:hover { transform: translateY(-4px); }
.tl-logo { height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.tl-logo img { display: block; max-height: 90px; max-width: min(320px, 100%); width: auto; height: auto; }
.tl-logo img.tl-still { max-height: 88px; max-width: 260px; }
.tl-logo img.tl-simply { max-height: 140px; max-width: 260px; }
.tl-rubrik {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--akzent); border: 1px solid var(--akzent); border-radius: var(--ecke);
}
.tl-karte p { margin: 0 0 28px; font-size: 16px; color: var(--dunkel); flex: 1; max-width: 400px; }
.tl-knopf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; max-width: 320px; padding: 14px 24px;
  font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--weiss); background: var(--dunkel); border-radius: var(--ecke);
  transition: background .2s ease, color .2s ease;
}
.tl-knopf:hover, .tl-knopf:focus-visible { background: var(--akzent, var(--gruen)); color: var(--dunkel); }
.tl-knopf:focus-visible { outline: 3px solid var(--akzent, var(--gruen)); outline-offset: 3px; }

/* ---------- Fuß ---------- */
.tl-fuss { margin-top: 56px; text-align: center; }
.tl-fuss > p { margin: 0 auto 20px; max-width: 560px; font-size: 17px; color: var(--weiss); }
.tl-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tl-social a {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--weiss);
  border: 1px solid var(--weiss); border-radius: var(--ecke);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.tl-social a:hover, .tl-social a:focus-visible { color: var(--dunkel); background: var(--gold); border-color: var(--gold); }
.tl-social svg { width: 20px; height: 20px; flex: none; }
.tl-recht {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px;
  font-size: 14px; color: var(--weiss);
}
.tl-recht a {
  color: var(--weiss); text-decoration: none; padding: 4px 10px; border-radius: var(--ecke);
  transition: background .2s ease, color .2s ease;
}
.tl-recht a:hover, .tl-recht a:focus-visible { color: var(--dunkel); background: var(--gold); }
.tl-recht a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- Unterseiten (Impressum, Datenschutz, 404) ---------- */
.tl-leiste { max-width: 760px; margin: 0 auto 24px; }
.tl-heim {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; text-decoration: none; color: var(--weiss);
}
.tl-heim img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  box-sizing: border-box; border: 2px solid var(--gold); box-shadow: 0 0 10px rgba(209, 162, 71, .25);
}
.tl-heim:hover span { color: var(--gruen); }
.tl-text {
  max-width: 760px; margin: 0 auto; padding: 40px;
  background: var(--weiss); color: var(--dunkel); border-radius: var(--ecke);
}
.tl-text h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 36px); line-height: 1.2; letter-spacing: -.02em; }
.tl-text h2 { margin: 32px 0 8px; font-size: 19px; line-height: 1.3; }
.tl-text p, .tl-text li { color: var(--dunkel); }
.tl-text p { margin: 0 0 12px; }
.tl-text ul { margin: 0 0 12px; padding-left: 20px; }
.tl-text a:not(.tl-knopf) { color: var(--dunkel); text-decoration-color: var(--gruen); text-decoration-thickness: 2px; }
.tl-text .tl-stand { margin-top: 32px; font-size: 14px; }
.tl-text.tl-mitte { text-align: center; }
.tl-text.tl-mitte .tl-knopf { margin-top: 16px; }

/* ---------- sanftes Einblenden ---------- */
@media (prefers-reduced-motion: no-preference) {
  .tl-kopf, .tl-karte, .tl-fuss { animation: tl-rein .6s ease both; }
  .tl-karte:nth-child(1) { animation-delay: .08s; }
  .tl-karte:nth-child(2) { animation-delay: .16s; }
  .tl-karte:nth-child(3) { animation-delay: .24s; }
  .tl-karte:nth-child(4) { animation-delay: .32s; }
  .tl-fuss { animation-delay: .4s; }
}
@keyframes tl-rein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .tl-name-logo { animation: none; background: var(--weiss); }
}

@media (max-width: 600px) {
  .tl { padding-top: 40px; }
  .tl-foto { width: 120px; height: 120px; }
  .tl-karte { padding: 32px 20px 24px; }
  .tl-text { padding: 28px 20px; }
}
