/* =========================================================
   Manfred Patock — Homepage
   Marken-Look nach Skill mp_design-pig
   Primär (Patock Blau) #0091C8 · Text (Anthrazit) #1A1A1A
   Grau #595959 · Hellblau-Fläche #E6F4FA · Weiß #FFFFFF
   Schrift: geometrische Sans (Headlines), klare Sans (Text).
   Fonts werden systemseitig geladen (DSGVO-freundlich, kein
   externes CDN). Später optional Montserrat selbst hosten.
   ========================================================= */

:root {
  --blau: #0091C8;
  --blau-dunkel: #007aa8;
  --anthrazit: #1A1A1A;
  --grau: #595959;
  --hellblau: #E6F4FA;
  --weiss: #FFFFFF;
  --rand: #e3e7ea;

  --font-head: "Century Gothic", "Futura", "Montserrat", system-ui, "Segoe UI", sans-serif;
  --font-body: system-ui, "Segoe UI", Calibri, Arial, sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--anthrazit);
  background: var(--weiss);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: .2px; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }
a { color: var(--blau); text-decoration: none; }
a:hover { color: var(--blau-dunkel); }
img { max-width: 100%; height: auto; display: block; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blau);
  margin: 0 0 .6rem;
}
.eyebrow.center { text-align: center; }
.eyebrow.light { color: rgba(255,255,255,.85); }
.center { text-align: center; }
.muted { color: var(--grau); }
.light { color: var(--weiss); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: .3px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blau); color: #fff; }
.btn-primary:hover { background: var(--blau-dunkel); color: #fff; }
.btn-ghost { background: transparent; color: var(--blau); border-color: var(--blau); }
.btn-ghost:hover { background: var(--blau); color: #fff; }
.section-blue .btn-ghost { color: #fff; border-color: rgba(255,255,255,.8); }
.section-blue .btn-ghost:hover { background: #fff; color: var(--blau); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--rand);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { display: block; height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list a { color: var(--anthrazit); font-weight: 600; font-size: .98rem; }
.nav-list a:hover { color: var(--blau); }
.nav-cta { background: var(--blau); color: #fff !important; padding: .55rem 1.1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--blau-dunkel); }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--anthrazit); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0; background: linear-gradient(180deg, var(--hellblau) 0%, #fff 100%); }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; }
.hero-text .lead { font-size: 1.15rem; color: var(--grau); max-width: 38ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-photo { display: flex; justify-content: center; }
.hero-photo img {
  width: 100%; max-width: 320px;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.18));
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--hellblau); }
.section-blue { background: var(--blau); }
.section h2.center { margin-bottom: 2.2rem; }

/* ---------- Säulen ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pillar {
  background: #fff; border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--hellblau);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 1rem;
}
.pillar h3 { color: var(--anthrazit); }
.pillar p { color: var(--grau); }
.pillar-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.pillar-list li { padding-left: 1.5rem; position: relative; margin-bottom: .4rem; color: var(--anthrazit); }
.pillar-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--blau); }

/* ---------- Über mich ---------- */
.about-inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2.5rem; align-items: center; }
.about-photo img {
  width: 100%; max-width: 280px; margin: 0 auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-text .btn { margin-top: .6rem; }

/* ---------- Instagram ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 1.8rem; }
.ig-item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: var(--hellblau); }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ig-item:hover img { transform: scale(1.06); }
.ig-item .ig-overlay {
  position: absolute; inset: 0; background: rgba(0,145,200,.0);
  display: flex; align-items: center; justify-content: center; transition: background .25s ease; color: #fff; font-size: 1.6rem; opacity: 0;
}
.ig-item:hover .ig-overlay { background: rgba(0,145,200,.45); opacity: 1; }
.ig-loading { grid-column: 1 / -1; text-align: center; color: var(--grau); padding: 1.5rem 0; }

/* ---------- Kontakt ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rand); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--grau); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthrazit); color: #cfd4d8; padding: 3rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 2rem; }
.footer-tagline { color: #9aa1a7; margin-top: .6rem; }
.footer-legal p { margin: 0 0 .25rem; font-size: .92rem; color: #b9bfc4; }
.footer-legal strong { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: #cfd4d8; }
.footer-links a:hover { color: var(--blau); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: #8a9197; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 240px; }
  .pillars { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-photo { order: -1; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 72px; right: 0; left: 0;
    background: #fff; border-bottom: 1px solid var(--rand);
    flex-direction: column; gap: 0; padding: .5rem 0;
    transform: translateY(-130%); transition: transform .25s ease; box-shadow: var(--shadow);
  }
  .nav-list.open { transform: translateY(0); }
  .nav-list li { width: 100%; text-align: center; }
  .nav-list li a { display: block; padding: .9rem 0; }
  .nav-cta { display: inline-block; margin: .5rem auto; }
}
