/* Gemeinsames Seiten-CSS, ausgelagert aus dem <style>-Block der Seiten.
   Unveraendert uebernommen; Reihenfolge im <head> wie zuvor. */
:root {
  --primary: #f67813;
  --primary-dark: #df6608;
  --primary-light: #ff9a3d;
  --secondary: #234f7e;
  --secondary-light: #2f6ca8;
  --background: #080d16;
  --card: #111827;
  --foreground: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --border: rgba(148, 163, 184, 0.18);
  --shadow-heavy:
    0 8px 20px rgba(0, 0, 0, 0.18), 0 24px 60px rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] {
  --background: #f6f8fb;
  --card: #ffffff;
  --foreground: #102033;
  --muted: #5f6f84;
  --muted-strong: #334155;
  --border: rgba(15, 23, 42, 0.12);
  --shadow-heavy:
    0 10px 25px rgba(15, 23, 42, 0.08), 0 28px 70px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-main);
  overflow-x: hidden;
}

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

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

.page {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(246, 120, 19, 0.28),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 22%,
      rgba(35, 79, 126, 0.28),
      transparent 32%
    ),
    radial-gradient(
      circle at 55% 78%,
      rgba(246, 120, 19, 0.16),
      transparent 38%
    ),
    linear-gradient(135deg, #080d16 0%, #101827 44%, #1a1110 100%);
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(246, 120, 19, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 120, 19, 0.16) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

html[data-theme="light"] .page {
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(246, 120, 19, 0.1),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 18%,
      rgba(35, 79, 126, 0.1),
      transparent 34%
    ),
    linear-gradient(180deg, #f9fbfe 0%, #eef3f8 48%, #f8fafc 100%);
}

html[data-theme="light"] .page::before {
  display: none;
}

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

.content-wrap {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-light),
    var(--secondary-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(246, 120, 19, 0.16);
  border: 1px solid rgba(246, 120, 19, 0.34);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(246, 120, 19, 0.75);
}

.back-section {
  padding: 2rem 0 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--primary);
  font-weight: 800;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.back-link:hover {
  color: var(--primary-light);
  transform: translateX(-5px);
}

.profile-hero {
  position: relative;
  min-height: calc(100vh - 4rem);
  display: grid;
  align-items: center;
  padding: clamp(4rem, 7vw, 7rem) 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-orb.one {
  width: 30rem;
  height: 30rem;
  top: 5rem;
  right: -8rem;
  background: rgba(246, 120, 19, 0.34);
  animation: orbFloatA 9s ease-in-out infinite alternate;
}

.hero-orb.two {
  width: 34rem;
  height: 34rem;
  left: -10rem;
  bottom: 3rem;
  background: rgba(35, 79, 126, 0.34);
  animation: orbFloatB 11s ease-in-out infinite alternate;
}

@keyframes orbFloatA {
  to {
    transform: translate(-4rem, 2rem) scale(1.1);
  }
}

@keyframes orbFloatB {
  to {
    transform: translate(5rem, -2rem) scale(1.12);
  }
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.profile-image-card {
  position: relative;
  max-width: 34rem;
  margin: 0 auto;
}

.profile-image-card::before {
  content: "";
  position: absolute;
  inset: -0.65rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.85;
  filter: drop-shadow(0 28px 55px rgba(246, 120, 19, 0.18));
}

.profile-image {
  position: relative;
  z-index: 2;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 1.8rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-heavy);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) saturate(0) contrast(1.08) brightness(0.9);
  transition:
    filter 0.45s ease,
    transform 0.45s ease;
}

.profile-image-card:hover img {
  filter: grayscale(0) saturate(1.08) contrast(1.03) brightness(1);
  transform: scale(1.035);
}

.initials-badge {
  position: absolute;
  z-index: 5;
  right: -1.1rem;
  bottom: -1.1rem;
  width: 6.2rem;
  height: 6.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: 5px solid var(--card);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  font-size: 2rem;
  font-weight: 900;
}

.profile-content {
  max-width: 48rem;
}

.profile-title {
  margin-bottom: 1.6rem;
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 700;
}

.profile-position {
  color: var(--primary);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-line {
  width: 7rem;
  height: 0.25rem;
  margin: 2rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.profile-lead {
  max-width: 44rem;
  margin-bottom: 2rem;
  color: var(--muted-strong);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.55;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.meta-card {
  min-width: 12rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background:
    linear-gradient(
      145deg,
      rgba(246, 120, 19, 0.08),
      rgba(35, 79, 126, 0.08)
    ),
    rgba(17, 24, 39, 0.86);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .meta-card {
  background: #ffffff;
}

.meta-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-value {
  color: var(--foreground);
  font-size: 1.25rem;
  font-weight: 900;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 1.65rem;
  border-radius: 1rem;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 18px 42px rgba(246, 120, 19, 0.24);
}

.btn-secondary {
  background: rgba(246, 120, 19, 0.1);
  border: 1px solid rgba(246, 120, 19, 0.28);
  color: var(--primary);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 26px 65px rgba(246, 120, 19, 0.34);
}

.section {
  position: relative;
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.section-title {
  position: relative;
  z-index: 2;
  margin-bottom: 1.3rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.quote-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--border);
  border-radius: 2rem;
  background:
    linear-gradient(
      135deg,
      rgba(246, 120, 19, 0.18),
      rgba(35, 79, 126, 0.16)
    ),
    rgba(17, 24, 39, 0.9);
  box-shadow: var(--shadow-heavy);
  text-align: center;
}

html[data-theme="light"] .quote-panel {
  background: #ffffff;
}

.quote-panel::before {
  content: "“";
  position: absolute;
  top: -3rem;
  left: 2rem;
  color: rgba(246, 120, 19, 0.16);
  font-size: 18rem;
  line-height: 1;
  font-weight: 900;
}

.quote-panel blockquote {
  position: relative;
  z-index: 2;
  max-width: 64rem;
  margin: 0 auto;
  color: var(--foreground);
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.detail-column {
  display: grid;
  gap: 2rem;
  align-content: start;
}

.info-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background:
    linear-gradient(
      145deg,
      rgba(246, 120, 19, 0.07),
      rgba(35, 79, 126, 0.08)
    ),
    rgba(17, 24, 39, 0.9);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .info-card {
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.info-card::before {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  right: -8rem;
  top: -8rem;
  border-radius: 999px;
  background: rgba(246, 120, 19, 0.12);
}

.info-card p {
  position: relative;
  z-index: 2;
  color: var(--muted-strong);
  font-size: 1.05rem;
  line-height: 1.85;
}

.info-card p + p {
  margin-top: 1.1rem;
}

.tag-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(246, 120, 19, 0.24);
  border-radius: 999px;
  background: rgba(246, 120, 19, 0.1);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.contact-item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(8, 13, 22, 0.34);
}

html[data-theme="light"] .contact-item {
  background: #f8fafc;
}

.contact-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 900;
}

.contact-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-item a {
  color: var(--foreground);
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-item a:hover {
  color: var(--primary);
}

.team-cta {
  text-align: center;
}

.team-cta-panel {
  position: relative;
  overflow: hidden;
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem);
  border: 1px solid var(--border);
  border-radius: 2rem;
  background:
    linear-gradient(
      135deg,
      rgba(246, 120, 19, 0.18),
      rgba(35, 79, 126, 0.16)
    ),
    rgba(17, 24, 39, 0.9);
  box-shadow: var(--shadow-heavy);
}

html[data-theme="light"] .team-cta-panel {
  background: #ffffff;
}

.cta-icon {
  position: relative;
  z-index: 2;
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  margin: 0 auto 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 2.3rem;
}

.team-cta h2,
.team-cta p,
.team-cta a {
  position: relative;
  z-index: 2;
}

.team-cta h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.team-cta p {
  max-width: 54rem;
  margin: 0 auto 2.2rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.site-footer {
  width: 100%;
  padding: 4rem 0 2rem;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(246, 120, 19, 0.16),
      transparent 32%
    ),
    linear-gradient(135deg, #111827 0%, #0b1220 55%, #15100d 100%);
  color: white;
  border-top: 1px solid rgba(246, 120, 19, 0.18);
}

.footer-inner {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.25fr;
  gap: 3rem;
}

.footer-logo {
  height: 2.3rem;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-description,
.footer-links a,
.footer-contact-row,
.footer-contact-card a {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-column h4 {
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
}

.footer-links a:hover,
.footer-contact-card a:hover {
  color: var(--primary);
}

.footer-contact-card {
  padding: 1.2rem;
  border-radius: 0.9rem;
  background: linear-gradient(
    135deg,
    rgba(246, 120, 19, 0.12),
    rgba(246, 120, 19, 0.04)
  );
  border: 1px solid rgba(246, 120, 19, 0.22);
}

.footer-contact-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(246, 120, 19, 0.16);
}

.footer-icon {
  color: var(--primary);
  font-weight: 900;
}

.footer-legal {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1100px) {
  .profile-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .profile-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-line {
    margin-left: auto;
    margin-right: auto;
  }

  .meta-row,
  .button-row {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .content-wrap,
  .footer-inner {
    padding: 0 1rem;
  }

  .profile-hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .profile-title {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

  .profile-position {
    font-size: 0.95rem;
  }

  .profile-image-card {
    max-width: 21rem;
  }

  .initials-badge {
    width: 4.8rem;
    height: 4.8rem;
    font-size: 1.45rem;
  }

  .meta-card,
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .button-row {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
