/* ==========================================================
   verena-michels.de – statische Version auf Bootstrap 5
   ========================================================== */

/* Open Sans lokal (DSGVO-freundlich, keine Google-Fonts-Anfrage) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/open-sans-v15-latin-300.woff2") format("woff2"),
       url("../fonts/open-sans-v15-latin-300.woff") format("woff");
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/open-sans-v15-latin-700.woff2") format("woff2"),
       url("../fonts/open-sans-v15-latin-700.woff") format("woff");
}

:root {
  --vm-primary: #3c3c3c;
  --vm-primary-dark: #2f2f2f;
  --vm-light: #f5f5f5;
  --vm-text: #333333;
  --vm-muted: #6c757d;
  --nav-height: 138px;
  --vm-dark: #3c3c3c;
  --vm-darker: #2f2f2f;
  --vm-label: #4a4a4a;

  /* Bootstrap-Variablen überschreiben */
  --bs-primary: #3c3c3c;
  --bs-primary-rgb: 60, 60, 60;
  --bs-link-color: #3c3c3c;
  --bs-link-color-rgb: 60, 60, 60;
  --bs-link-hover-color: #000;
  --bs-link-hover-color-rgb: 0, 0, 0;
  --bs-body-font-family: 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-font-weight: 300;
  --bs-body-color: #333333;
}

html { scroll-padding-top: var(--nav-height); }

body {
  font-weight: 300;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, strong, b { font-weight: 700; }

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

/* ---------- Buttons ---------- */
.btn-primary {
  --bs-btn-bg: var(--vm-primary);
  --bs-btn-border-color: var(--vm-primary);
  --bs-btn-hover-bg: var(--vm-primary-dark);
  --bs-btn-hover-border-color: var(--vm-primary-dark);
  --bs-btn-active-bg: #222;
  --bs-btn-active-border-color: #222;
  border-radius: 0;
  padding: .75rem 1.75rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.btn-outline-light { border-radius: 0; padding: .75rem 1.75rem; font-weight: 700; }

/* ---------- Navigation ---------- */
.navbar {
  min-height: var(--nav-height);
  background: #fff;
  transition: box-shadow .2s ease, min-height .2s ease;
}
.navbar.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.navbar-brand img { height: 72px; width: auto; }
.navbar .nav-link {
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 1.1rem 1.1rem !important;
  margin-left: .25rem;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active { color: #333; background: #f2f2f2; text-decoration: none; }
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 767.98px) {
  :root { --nav-height: 90px; }
  .navbar-brand img { height: 56px; }
  .navbar .nav-link { margin-left: 0; padding: .75rem 1rem !important; }
}

/* ---------- Sektionen allgemein ---------- */
.section { padding: 4.5rem 0 4rem; }
.section-light { background: var(--vm-light); }
.section-dark { background: var(--vm-dark); color: #fff; }
.section-dark a { color: #fff; }

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 300;
  color: #333;
  margin-bottom: 3rem;
  text-align: center;
}
.section-dark .section-title { color: #fff; }

/* ---------- Start / Projekte-Slider ---------- */
#start { padding-top: calc(var(--nav-height) + 3rem); }
.hero-claim {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--vm-primary);
  text-align: center;
  margin-bottom: .5rem;
}
.hero-claim strong { font-weight: 700; }

.project-slide {
  align-items: center;
}
.project-slide img {
  width: 100%;
  height: auto;
}
.project-slide h3 { color: var(--vm-primary); font-size: 1.6rem; margin-bottom: .25rem; }
.project-slide .subline { font-weight: 700; margin-bottom: 1rem; }

.tag-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li {
  border: 1px solid var(--vm-primary);
  color: var(--vm-primary);
  font-size: .8rem;
  padding: .2rem .65rem;
  font-weight: 700;
}

#projektSlider .carousel-indicators { position: static; margin: 2.5rem 0 0; }
#projektSlider .carousel-indicators [data-bs-target] {
  background-color: var(--vm-primary);
  width: 12px; height: 12px; border-radius: 50%;
}
#projektSlider .carousel-control-prev,
#projektSlider .carousel-control-next { width: 3rem; opacity: .6; }
#projektSlider .carousel-control-prev-icon,
#projektSlider .carousel-control-next-icon { filter: invert(1) grayscale(1) brightness(.2); }
@media (min-width: 1200px) {
  #projektSlider .carousel-control-prev { left: -4rem; }
  #projektSlider .carousel-control-next { right: -4rem; }
}

/* ---------- Leistungen ---------- */
.lead-text { max-width: 760px; margin: 0 auto 3rem; text-align: center; font-size: 1.15rem; }
.service { text-align: center; }
.service img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 1rem; }
.service h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; color: var(--vm-primary); }

/* ---------- Profil ---------- */
.profile-img { max-width: 260px; width: 100%; border-radius: 50%; }
.profile-name { font-size: 2rem; letter-spacing: .1em; margin: 1.5rem 0 1rem; }
.profile-list { list-style: none; padding: 0; margin: 0; }
.profile-list li { font-size: 1.1rem; padding: .15rem 0; }

/* ---------- Lebenslauf ---------- */
.cv-heading {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  background: var(--vm-darker);
  padding: 1.25rem 1.25rem 1.1rem;
  margin-bottom: 1.25rem;
}
.timeline .date { display: block; font-size: 1rem; color: rgba(255,255,255,.85); }
.timeline h4 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; margin: .6rem 0 .75rem; color: #fff; }
.timeline .meta { margin: 0 0 .6rem; font-size: 1.1rem; }
.timeline .meta-text { display: block; margin-bottom: .25rem; }
.timeline .label {
  display: inline-block;
  background: var(--vm-label);
  color: #fff;
  padding: .1rem .45rem;
}
.timeline a.label:hover, .timeline a.label:focus { background: #5c5c5c; text-decoration: none; }
.timeline .place { display: block; font-style: italic; font-size: 1rem; color: rgba(255,255,255,.85); }

/* ---------- Referenzen ---------- */
.ref-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  color: #fff;
  aspect-ratio: 520 / 395;
}
.ref-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ref-overlay {
  position: absolute; inset: 0;
  background: rgba(60,60,60,.92);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.ref-overlay h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.ref-overlay .subline { font-size: .85rem; font-weight: 700; margin-bottom: .75rem; }
.ref-overlay .tags { font-size: .8rem; margin-bottom: 1rem; opacity: .85; }
.ref-overlay .more {
  border: 1px solid #fff; padding: .35rem .9rem; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.ref-card:hover, .ref-card:focus { text-decoration: none; color: #fff; }
.ref-card:hover img, .ref-card:focus img { transform: scale(1.05); }
.ref-card:hover .ref-overlay, .ref-card:focus .ref-overlay { opacity: 1; }
/* Touch-Geräte: Titel immer sichtbar */
@media (hover: none) {
  .ref-overlay {
    opacity: 1;
    inset: auto 0 0 0;
    background: rgba(60,60,60,.85);
    padding: .75rem;
  }
  .ref-overlay .tags, .ref-overlay .more, .ref-overlay .subline { display: none; }
  .ref-overlay h3 { margin: 0; font-size: 1rem; }
}

/* ---------- Kontakt ---------- */
.contact-box { text-align: center; font-size: 1.15rem; }
.contact-box .brand { font-size: 1.4rem; font-style: italic; margin-bottom: 0; }
.contact-box .claim { font-style: italic; opacity: .85; margin-bottom: 2rem; }
.contact-box a { font-weight: 700; font-size: 1.3rem; }
.contact-icon { width: 22px; height: 22px; margin-right: .5rem; vertical-align: -3px; fill: currentColor; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--vm-primary-dark);
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  padding: 1.5rem 0;
}
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.legal { padding: calc(var(--nav-height) + 3rem) 0 4rem; }
.legal h1 { color: var(--vm-primary); margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; color: var(--vm-primary); margin-top: 2.25rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.75rem; }
.legal p, .legal li { max-width: 75ch; }

/* Barrierefreiheit */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--vm-primary); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
