/* ============================================================
   bartheidel.de — Stylesheet
   Clean · Minimal · Professional
   ============================================================ */

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

/* DESIGN TOKENS */
:root {
  --bg:          #fafaf8;
  --surface:     #ffffff;
  --border:      #e6e4df;
  --text:        #18171a;
  --muted:       #79776e;
  --accent:      #0c1b33;
  --link:        #1d4ed8;
  --radius:      10px;
  --max-w:       900px;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --ease:        0.18s ease;
}

/* BASE */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  transition: opacity var(--ease);
}
.nav-brand:hover { opacity: 0.7; color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 6rem 1.5rem 5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 5rem;
}

.hero-text { flex: 1; }

.hero-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 1.2rem;
}

.hero-text h1 {
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--ease);
  cursor: pointer;
  font-family: var(--font);
  border: none;
}

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

.btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--accent);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg);
}

/* Photo */
.hero-photo { flex-shrink: 0; width: 260px; }

.hero-photo img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(12, 27, 51, 0.12),
    0 4px 16px rgba(12, 27, 51, 0.06);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--bg); border-top: 1px solid var(--border); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 0.6rem;
}

.section-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

/* ============================================================
   CAREER
   ============================================================ */
.career-summary {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.career-summary strong {
  color: var(--text);
  font-weight: 600;
}

.career-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--link);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 0.15rem;
  transition: all var(--ease);
}
.career-link:hover {
  border-bottom-color: var(--link);
  gap: 0.8rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 460px;
  margin-top: 0.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all var(--ease);
}
.contact-card:hover {
  border-color: var(--link);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.07);
  color: var(--text);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; color: var(--link); }

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   URLAUB — PAGE HEADER
   ============================================================ */
.page-header {
  padding: 4rem 1.5rem 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.page-intro {
  font-size: 1rem;
  color: var(--muted);
}

/* ============================================================
   URLAUB — YEAR & TRIP GRID
   ============================================================ */
.year-block { margin-bottom: 3.5rem; }

.year-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.trip-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all var(--ease);
}
.trip-card:hover {
  border-color: var(--link);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.07);
  transform: translateY(-2px);
  color: var(--text);
}

.trip-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.trip-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.trip-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Empty state for trip-add placeholder */
.trip-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: default;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 1.5rem; }

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner a { color: var(--muted); transition: color var(--ease); }
.footer-inner a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .hero-inner { flex-direction: column-reverse; gap: 2.5rem; text-align: center; }
  .hero-photo { width: 180px; }
  .hero-photo img { width: 180px; height: 220px; }
  .hero-actions { justify-content: center; }
  .nav-links { gap: 1.2rem; }
  .section { padding: 3.5rem 1.25rem; }
  .contact-cards { max-width: 100%; }
  .trip-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .nav-links { gap: 0.8rem; }
  .nav-links a { font-size: 0.8rem; }
  .trip-grid { grid-template-columns: 1fr; }
}
