/* =========================================================
   Design System
   ========================================================= */

:root {
  --bg: #f8f8f7;
  --surface: #ffffff;
  --surface-soft: #fbf8f7;
  --text: #141414;
  --muted: #5b5b5b;
  --line: #e7e2de;
  --accent: #8f2d1f;
  --accent-dark: #6f2015;
  --accent-soft: #c65a3a;
  --max-width: 1160px;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(20, 20, 20, 0.06);
}

/* =========================================================
   Reset
   ========================================================= */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover,
a:focus {
  text-decoration: underline;
}

p,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 2rem 0 4.5rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf9f8 55%, #f8f8f7 100%);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 110px;
  height: 110px;
  margin-bottom: 0.1rem; 

  display: flex; 
  align-items: center; 
  justify-content: center; 
  overflow: hidden; 
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(143, 45, 31, 0.18);
  background: rgba(143, 45, 31, 0.05);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: 14px; /* Abstand zwischen Logo und Name */
}

.logo-inline {
  width: 110px; 
  height: auto;
}

.hero-title h1 {
  margin: 0;
}

.logo-inline {
  transform: translateY(-16px);
}

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.1rem);
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 10ch;
}

.hero-role {
  font-size: clamp(1.2rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: var(--text);
  max-width: 700px;
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.00rem;
  margin-bottom: 2rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-highlights span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.94rem;
  font-weight: 600;
  color: #2f2f2f;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.portrait-card {
  width: min(100%, 315px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0.9rem;
  box-shadow: var(--shadow);
  position: relative;
}

.portrait-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
}

.portrait-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background: #ece7e3;
}

/* =========================================================
   Sections
   ========================================================= */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  margin-bottom: 0.7rem;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 1.35rem;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

/* =========================================================
   Facts
   ========================================================= */

.facts {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fact {
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.fact-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.fact-value {
  display: block;
  font-weight: 600;
  color: var(--text);
}

/* =========================================================
   Cards
   ========================================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.08rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* =========================================================
   Skills
   ========================================================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.skill-box {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.skill-box h3 {
  margin-bottom: 1rem;
  font-size: 1.08rem;
}

.skill-box ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.skill-box li + li {
  margin-top: 0.42rem;
}

/* =========================================================
   Timeline
   ========================================================= */

.timeline {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.timeline-period {
  font-weight: 700;
  color: var(--accent-dark);
}

.timeline-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.08rem;
}

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

.industry-box {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.industry-box h3 {
  margin-bottom: 0.8rem;
  font-size: 1.08rem;
}

.industry-box p {
  margin-bottom: 0;
  color: var(--muted);
}

/* =========================================================
   Contact
   ========================================================= */

.contact-box {
  max-width: 860px;
}

.contact-list {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.contact-list::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: -1px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
}

.contact-list p {
  margin-bottom: 0.75rem;
}

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

/* =========================================================
   Footer
   ========================================================= */

.footer {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid #eee;
  background: #ffffff;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #666;
  text-decoration: none;
}

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

.footer-copy {
  font-size: 0.9rem;
  color: #999;
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .grid-two,
  .card-grid,
  .skills-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .portrait-card {
    max-width: 420px;
  }
}

@media (max-width: 680px) {
  html {
    font-size: 15px;
  }

  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .hero {
    padding: 1.4rem 0 3.5rem;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
    margin-bottom: 1.5rem;
    border-radius: 18px;
  }

  .hero-highlights {
    gap: 0.6rem;
  }

  .hero-highlights span {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 14px;
  }

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

  .section {
    padding: 4rem 0;
  }

  .card,
  .skill-box,
  .timeline-item,
  .industry-box,
  .contact-list,
  .fact {
    padding: 1.2rem;
  }

  .contact-list::before {
    left: 1.2rem;
    right: 1.2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}