/* ===========================================================================
   fabriziomarra.ch – Personal Brand Design System
   Basiert auf 365-design-system.md (April 2026)
   Position in Markenarchitektur: Person über livesmart365 (Dachmarke)
   Accent für Fabrizio persönlich: Primary Blue #1A6AFF (die gemeinsame
   «smart»-Farbe aller drei Marken – das verbindende Element).
   Marken-Akzente (Orange / Grün / Violet) erscheinen ausschliesslich in
   den jeweiligen Marken-Karten – Hub-and-Spoke sichtbar gemacht.
   =========================================================================== */

:root {
  /* Basis */
  --color-bg: #FFFFFF;
  --color-bg-soft: #FAFAF7;
  --color-text: #141413;
  --color-text-muted: #737373;

  /* Grautöne */
  --color-gray-50: #F5F5F5;
  --color-gray-100: #E3E3E3;
  --color-gray-400: #979797;
  --color-gray-500: #737373;
  --color-gray-700: #404040;
  --color-gray-900: #141413;

  /* Blau (persönlicher Akzent – die «smart»-Farbe aller drei Marken) */
  --color-accent: #1A6AFF;
  --color-accent-dark: #0B3A9A;
  --color-accent-light: #E6EEFF;
  --color-accent-light-transparent: rgba(26, 106, 255, 0.18);

  /* Deep Blue (Hero, Footer) */
  --color-deep-blue: #082F7B;
  --color-deep-blue-2: #0B3A9A;
  --color-deep-blue-3: #061F50;

  /* Schwestermarken */
  --color-ws365: #EA6020;
  --color-ws365-dark: #C04D10;
  --color-ws365-light: #FDE8D8;
  --color-is365: #10B981;
  --color-is365-dark: #059669;
  --color-is365-light: #D1FAE5;
  --color-ls365: #7C3AED;
  --color-ls365-dark: #5B21B6;
  --color-ls365-light: #EDE9FE;

  /* Radien */
  --radius-card: 16px;
  --radius-icon: 12px;
  --radius-pill: 100px;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 860px;
  --container-padding: 24px;

  /* Schatten */
  --shadow-card: 0 2px 8px rgba(20, 20, 19, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(20, 20, 19, 0.12);
  --shadow-portrait: 0 24px 60px rgba(8, 47, 123, 0.25);
}

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

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 16px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

p { margin: 0 0 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-deep-blue);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow { max-width: var(--container-narrow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-gray-100);
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.site-logo:hover { text-decoration: none; }

.site-logo__monogram {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-accent) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}

.site-logo__photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(26, 106, 255, 0.18), 0 2px 6px rgba(8, 47, 123, 0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.site-logo:hover .site-logo__photo {
  box-shadow: 0 0 0 2px var(--color-accent), 0 4px 10px rgba(8, 47, 123, 0.28);
  transform: scale(1.04);
}

.site-footer .site-logo__photo {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

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

.site-nav a {
  color: var(--color-deep-blue);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-accent-dark);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-deep-blue);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.12s ease, transform 0.12s ease;
}

.site-header__cta:hover { background: var(--color-accent-dark); text-decoration: none; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--color-deep-blue);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--color-deep-blue) 0%, var(--color-deep-blue-3) 100%);
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(26, 106, 255, 0.25) 0%, transparent 60%),
    radial-gradient(700px circle at 85% 110%, rgba(26, 106, 255, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 3vw + 1.25rem, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.hero h1 .accent-work { color: #FFB27A; }
.hero h1 .accent-invest { color: #6EE7B7; }
.hero h1 .accent-live { color: #C4B5FD; }
.hero h1 em { font-style: normal; color: #fff; }

.hero__lead {
  font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.1875rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 0 36px;
  line-height: 1.55;
  font-weight: 400;
}

.hero__lead + .hero__lead { margin-top: -16px; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-portrait);
  background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-accent) 100%);
  max-width: 420px;
  margin-left: auto;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__portrait__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 47, 123, 0.85) 100%);
  color: #fff;
}

.hero__portrait__name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 2px;
}

.hero__portrait__role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-weight: 500;
}

/* ---------- Equation Strip ---------- */
.equation-strip {
  background: var(--color-deep-blue-3);
  color: #fff;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.equation-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.equation-strip__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  width: 100%;
  text-align: center;
  margin-bottom: 4px;
}

.equation__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.equation__pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  text-decoration: none;
}

.equation__pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.equation__pill--ws .dot { background: var(--color-ws365); }
.equation__pill--is .dot { background: var(--color-is365); }
.equation__pill--ls .dot { background: var(--color-ls365); }

.equation__op {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--color-bg-soft); }
.section--deep { background: var(--color-deep-blue); color: #fff; }
.section--deep h2, .section--deep h3 { color: #fff; }

.section__head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head--left { margin-left: 0; text-align: left; }

.section__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section--deep .section__eyebrow { color: #8BB6FF; }

.section__title {
  font-size: clamp(1.875rem, 2vw + 1rem, 2.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--color-deep-blue);
  font-weight: 800;
}

.section--deep .section__title { color: #fff; }

.section__lead {
  color: var(--color-gray-500);
  font-size: 1.125rem;
  margin: 0;
  line-height: 1.55;
}

.section--deep .section__lead { color: rgba(255, 255, 255, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary { background: #fff; color: var(--color-deep-blue); }
.btn--primary:hover { background: var(--color-accent-light); color: var(--color-accent-dark); }

.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-accent-dark); }

.btn--deep { background: var(--color-deep-blue); color: #fff; }
.btn--deep:hover { background: var(--color-deep-blue-2); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-deep-blue);
  border-color: var(--color-gray-100);
}
.btn--ghost:hover {
  border-color: var(--color-deep-blue);
  background: var(--color-gray-50);
}

/* ---------- Brand-Karten (meine Projekte) ---------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--bc, var(--color-accent));
}

.brand-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  text-decoration: none;
  border-color: transparent;
}

.brand-card--ws { --bc: var(--color-ws365); }
.brand-card--is { --bc: var(--color-is365); }
.brand-card--ls { --bc: var(--color-ls365); }

.brand-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
}

.brand-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bc);
  margin: 0;
}

.brand-card__title {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.brand-card__title-prefix { color: var(--bc); }
.brand-card__title-suffix { color: var(--color-text); }

.brand-card__role {
  font-size: 13px;
  font-weight: 600;
  color: var(--bc);
  margin: -6px 0 0;
}

.brand-card__text {
  color: var(--color-gray-700);
  font-size: 0.9375rem;
  margin: 0;
  flex-grow: 1;
  line-height: 1.55;
}

/* Subtile Hervorhebung – Medium statt Bold, gleiche Farbe wie umgebender Text */
.brand-card__text strong,
.hero__lead strong {
  font-weight: 500;
  color: inherit;
}

.brand-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bc);
  font-weight: 700;
  font-size: 0.9375rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  align-self: flex-start;
}

.brand-card:hover .brand-card__link { border-color: var(--bc); }

/* ---------- About / Bio ---------- */
.bio {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.bio__photo {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-accent) 100%);
}

.bio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio__eyebrow {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}

.bio__title {
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2.125rem);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--color-deep-blue);
  line-height: 1.2;
}

.bio__text {
  color: var(--color-gray-700);
  font-size: 1.0625rem;
  margin-bottom: 16px;
  line-height: 1.65;
}

.bio__text--lead {
  font-size: 1.1875rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.55;
}

.bio__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 8px;
}

.bio__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--color-accent-light);
  padding-bottom: 2px;
  margin-top: 16px;
}

.arrow-link:hover { border-color: var(--color-accent); text-decoration: none; }

/* ---------- Principles / Werte ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 48px;
}

.value {
  border-left: 3px solid var(--color-accent);
  padding-left: 20px;
}

.value__number {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.value__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-deep-blue);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.value__text {
  color: var(--color-gray-700);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Stationen (Timeline) ---------- */
.stations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.station {
  background: #fff;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.station:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.station__years {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.station__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-deep-blue);
  margin: 0;
  letter-spacing: -0.01em;
}

.station__role {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-500);
  margin: 0;
}

.station__text {
  color: var(--color-gray-700);
  font-size: 0.9375rem;
  margin: 6px 0 0;
  line-height: 1.6;
}

/* ---------- Contact CTA Band ---------- */
.contact-band {
  background: linear-gradient(180deg, var(--color-deep-blue) 0%, var(--color-deep-blue-3) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px circle at 50% 0%, rgba(26, 106, 255, 0.28) 0%, transparent 60%);
  pointer-events: none;
}

.contact-band > * { position: relative; z-index: 1; }

.contact-band h2 {
  color: #fff;
  font-size: clamp(1.875rem, 2vw + 1rem, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.contact-band__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #061F50;
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.site-footer .site-logo {
  color: #fff;
  margin-bottom: 16px;
}

.site-footer h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 14px;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover { color: #fff; text-decoration: none; }

/* Marken-Wortmarken im Footer – Präfix in Markenfarbe, Suffix hell */
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.footer-brand-link__prefix { color: var(--bc); transition: color 0.15s ease; }
.footer-brand-link__suffix { color: rgba(255, 255, 255, 0.82); transition: color 0.15s ease; }

.footer-brand-link:hover .footer-brand-link__prefix { filter: brightness(1.15); }
.footer-brand-link:hover .footer-brand-link__suffix { color: #fff; }

.footer-brand-link--ws { --bc: #FF8C4B; } /* ws365 Orange, aufgehellt für dunklen BG */
.footer-brand-link--is { --bc: #34D399; } /* is365 Grün, aufgehellt */
.footer-brand-link--ls { --bc: #A78BFA; } /* ls365 Violet, aufgehellt */

/* Marken-Präfixe für Inline-Nutzung im Fliesstext
   Default: volle Sättigung für helle Hintergründe (Bio etc.)
   Override: aufgehellt für dunkle Hintergründe (Footer) */
.brand-prefix { font-weight: 700; }
.brand-prefix--ws { color: var(--color-ws365); }
.brand-prefix--is { color: var(--color-is365); }
.brand-prefix--ls { color: var(--color-ls365); }

.site-footer .brand-prefix--ws,
.contact-band .brand-prefix--ws { color: #FF8C4B; }
.site-footer .brand-prefix--is,
.contact-band .brand-prefix--is { color: #34D399; }
.site-footer .brand-prefix--ls,
.contact-band .brand-prefix--ls { color: #A78BFA; }

/* Inline-Marken-Link im Fliesstext: «smart365»-Suffix erbt Textfarbe,
   nur der Präfix bleibt in Markenfarbe. Hover unterstreicht subtil. */
.brand-link { color: inherit; text-decoration: none; }
.brand-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  color: inherit;
}

.site-footer__brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 420px;
  line-height: 1.6;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-deep-blue);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(8, 47, 123, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  z-index: 30;
}

.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--color-accent-dark); transform: translateY(-2px); }

/* ---------- Legal Page ---------- */
.legal { max-width: 820px; margin: 0 auto; }

.legal h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--color-deep-blue);
}

.legal h2 {
  font-size: 1.375rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--color-deep-blue);
}

.legal p, .legal ul { color: var(--color-gray-700); }

/* ===========================================================================
   Responsive
   =========================================================================== */

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__portrait { max-width: 360px; margin: 0 auto; }
  .brands-grid { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; gap: 40px; }
  .bio__photo { position: static; max-width: 340px; margin: 0 auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 24px;
    border-bottom: 1px solid var(--color-gray-100);
    box-shadow: 0 8px 16px rgba(20, 20, 19, 0.08);
    display: none;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--color-gray-50);
    font-size: 16px;
    white-space: normal;
  }
  .site-nav a[aria-current="page"]::after { display: none; }

  .nav-toggle { display: inline-flex; }

  .site-header__cta { display: none; }
}

@media (max-width: 720px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .contact-band { padding: 56px 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .equation-strip__inner { font-size: 14px; }
  .equation__pill { padding: 10px 16px; font-size: 14px; }
}

@media (max-width: 420px) {
  :root { --container-padding: 18px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .contact-band__ctas { flex-direction: column; align-items: stretch; }
  .contact-band__ctas .btn { width: 100%; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .scroll-top, .nav-toggle, .contact-band { display: none; }
  body { color: #000; }
  .hero { background: #fff; color: #000; padding: 32px 0; }
  .hero h1, .hero__lead { color: #000; }
}

/* ---------- Reduzierte Animation ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
