/* ============================================================
   Günther Reiter – Modern Redesign 2026
   Color palette: medium steel-blue header, sky-blue accents
   ============================================================ */

:root {
  --navy:      #3d6b9e;
  --navy-dark: #2e5585;
  --accent:    #5b9bd5;
  --accent-lt: #7db3e0;
  --bg:        #f5f7fa;
  --bg-card:   #ffffff;
  --text:      #2c2c2c;
  --text-muted:#6b7280;
  --border:    #d8e4f0;
  --white:     #ffffff;
  --shadow:    0 4px 24px rgba(61,107,158,.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-area {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex: 1;
}
.logo-name {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.01em;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: .02em;
}
.logo-title {
  font-size: .75rem;
  color: #a8b8d8;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: .25rem;
}

.nav-link {
  color: #c5d3e8;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: .45rem .9rem;
  border-radius: 6px;
  letter-spacing: .03em;
  transition: background .2s, color .2s;
}
.nav-link:hover,
.nav-link.active {
  background: var(--accent);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  padding: .5rem 1.5rem 1rem;
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 1rem; padding: .6rem .75rem; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
  padding: 4rem 1.5rem 5rem;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-image-wrap {
  flex-shrink: 0;
}
.hero-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  border: 3px solid rgba(255,255,255,.2);
}

.hero-headline {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.01em;
  font-size: 2rem;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .75rem;
}
.hero-sub {
  color: #c5d3e8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: .7rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-primary:hover {
  background: #e8edf7;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}

/* ── INTRO CARDS ─────────────────────────────────────────── */
.intro-cards {
  max-width: 900px;
  margin: -2.5rem auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(42,58,92,.15);
}
.card-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: .6rem;
}
.card h3 {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.01em;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PAGE CONTENT (inner pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.page-hero h1 {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.01em;
  font-size: 1.8rem;
  color: var(--white);
}

.page-body {
  max-width: 760px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

.profile-wrap {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.profile-photo {
  width: 118px;
  height: 168px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  border: 3px solid var(--border);
}

.section-box {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.section-box h2 {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.01em;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.skill-list, .ref-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .45rem .75rem;
  padding: 0;
}
.skill-list li, .ref-list li {
  font-size: .95rem;
  color: var(--text);
  padding: .35rem .6rem;
  background: var(--bg);
  border-radius: 6px;
  border-left: 3px solid var(--accent-lt);
}

.ref-list {
  grid-template-columns: 1fr;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.contact-item {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.contact-item h3 {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.01em;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: .5rem;
}
.contact-item p, .contact-item a {
  color: var(--text-muted);
  font-size: 1rem;
  text-decoration: none;
}
.contact-item a:hover { color: var(--accent); }

.contact-photo {
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  display: block;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow);
}

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.legal-box {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
  line-height: 1.75;
}
.legal-box h2 {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.01em;
  color: var(--navy);
  font-size: 1.3rem;
  margin: 1.25rem 0 .5rem;
}
.legal-box h2:first-child { margin-top: 0; }
.legal-box p { font-size: .95rem; color: var(--text-muted); margin-bottom: .75rem; }
.legal-box strong { color: var(--text); }

.btn-back {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: .65rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s;
}
.btn-back:hover { background: var(--accent); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: var(--navy-dark);
  padding: 1.25rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8898bb;
  font-size: .85rem;
}
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: #8898bb; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .hero-content { flex-direction: column; text-align: center; gap: 1.5rem; }
  .hero-headline { font-size: 1.5rem; }
  .hero-image { width: 160px; height: 120px; }

  .intro-cards { grid-template-columns: 1fr; margin-top: -1.5rem; }

  .profile-wrap { flex-direction: column; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .skill-list { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: .5rem; text-align: center; }
}
