:root{
  --sage: #5F6F65;
  --mauve: #A67C87;
  --cream: #F5EFEA;
  --text: #1f2321;
  --bg: #faf8f6;
  --line: rgba(31,35,33,.10);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:'Montserrat',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

.container{
  width:92%;
  max-width:1100px;
  margin:0 auto;
}

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

/* ================= HEADER (STICKY) ================= */

header{
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);

  border-bottom: 1px solid #eee;
  padding: 14px 0;

  /* leichter Schatten, damit Header über Content „liegt“ */
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}

.logo img{ height:50px; width:auto; }

.name{
  font-family:'Playfair Display',serif;
  font-size:20px;
  line-height:1.1;
}

.sub{ font-size:13px; opacity:.7; }

nav ul{
  list-style:none;
  display:flex;
  gap:18px;
  padding:0;
  margin:0;
  flex-wrap:wrap;
}

nav a{
  text-decoration:none;
  color:var(--text);
  font-size:14px;
  font-weight:500;
}

nav a.active{
  color:var(--sage);
  font-weight:650;
  border-bottom:2px solid var(--sage);
  padding-bottom:4px;
}

/* ================= BUTTONS ================= */

.btn{
  padding:10px 18px;
  border-radius:999px;
  font-size:14px;
  text-decoration:none;
  font-weight:650;
  display:inline-block;
  transition:.2s;
  border:1px solid transparent;
}

.btn.primary{ background:var(--sage); color:#fff; }
.btn.mauve{ background:var(--mauve); color:#fff; }
.btn.cream{ background:var(--cream); color:var(--text); border-color:var(--line); }

.btn:hover{ transform:translateY(-1px); opacity:.95; }

/* ================= TYPO ================= */

.section-head{
  margin:46px 0 26px;
}

.section-head h2{
  font-family:'Playfair Display',serif;
  font-size:28px;
  margin:0 0 6px 0;
}

.subline{ opacity:.65; margin:0; }

h1{
  font-family:'Playfair Display',serif;
  margin:10px 0 10px 0;
  line-height:1.15;
}

.lead{
  font-size:17px;
  line-height:1.7;
  color:rgba(31,35,33,.85);
}

/* ================= CARDS / FRAMES ================= */

.card{
  background:#fff;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  border:1px solid rgba(31,35,33,.06);
  margin:18px 0;
}

.inner{ padding:28px; }

.text-frame{
  background:#fff;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  border:1px solid rgba(31,35,33,.06);
  padding:28px;
}

.divider{
  height:1px;
  background:rgba(31,35,33,.08);
  margin:18px 0;
}

/* ================= PILLS (größer) ================= */

.pill{
  padding:7px 12px;
  border-radius:999px;
  font-size:13.5px;
  font-weight:650;
  display:inline-block;
  border:1px solid rgba(31,35,33,.08);
  background:#fff;
}

.pill-row{ display:flex; gap:10px; flex-wrap:wrap; }

.pill.sage{ background:rgba(95,111,101,.15); border-color:rgba(95,111,101,.25); }
.pill.mauve{ background:rgba(166,124,135,.15); border-color:rgba(166,124,135,.25); }

/* ================= LISTEN ================= */

.list{
  list-style:none;
  padding:0;
  margin:12px 0 0 0;
}

.list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:10px 0;
}

.check{
  color:var(--sage);
  font-weight:800;
  line-height:1;
  margin-top:3px;
}

/* ================= LAYOUT ================= */

.split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  align-items:start;
}

/* nur Über mich: Bildspalte schmaler -> weniger "Rand" */
.split.about{
  grid-template-columns:1.25fr .75fr;
  align-items:start;
}

/* ================= HERO (Startseite) ================= */

.hero{ margin-top:18px; }

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  align-items:center;
}

.hero-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}

/* HERO LOGO + TEXT nebeneinander (Desktop) */
.hero-top{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:28px;
  align-items:center;
}

/* Logo-Feld im selben Look wie Bilder */
.logo-frame{
  display:inline-block;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px 14px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}

.logo-frame img{
  width:260px;   /* ✅ etwas größer für bessere Balance */
  max-width:100%;
  height:auto;
  border-radius:14px;
}

/* ================= MEDIA (Bilder) ================= */

.media{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  overflow:hidden;
}

.media img{
  width:100%;
  border-radius:14px;
  object-fit:cover;
  object-position:50% 20%;
}

/* Tall (Startseite) */
.media.tall img{ height:520px; }

/* Contain Standard (Kontakt etc.) */
.media.contain{
  background:rgba(95,111,101,.12);
}

.media.contain img{
  height:420px;
  object-fit:contain;
  object-position:50% 50%;
}

/* Fit (Über mich): ganzes Foto, weniger "Riesenrahmen" */
.media.fit{
  padding:8px;
  background:rgba(95,111,101,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}

.media.fit img{
  height:520px;
  width:auto;
  max-width:100%;
  object-fit:contain;
  object-position:50% 50%;
}

/* Sticky */
.sticky{
  position:sticky;
  top:130px; /* wegen sticky header etwas mehr Abstand */
}

/* ================= LOVE (Startseite) ================= */

.love-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:16px;
}

.love-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
}

.love-head{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-bottom:8px;
}

.love-letter{
  font-weight:800;
  font-size:20px;
  letter-spacing:.5px;
}

.love-letter.sage{ color:var(--sage); }
.love-letter.mauve{ color:var(--mauve); }

.love-title{ font-weight:750; font-size:16px; }

.love-card p{
  margin:0;
  color:rgba(31,35,33,.85);
  line-height:1.6;
  font-size:14.5px;
}

/* ================= FOOTER ================= */

footer{
  background:#f3efe9;
  padding:30px 0;
  margin-top:60px;
  font-size:14px;
}

.foot{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
}

.title{ font-weight:700; }

footer a{
  color:var(--text);
  text-decoration:none;
  opacity:.8;
}

footer a:hover{ opacity:1; }

/* ================= RESPONSIVE ================= */

@media(max-width:900px){
  .hero-grid,
  .split,
  .split.about{
    grid-template-columns:1fr;
  }

  .hero-top{
    grid-template-columns:1fr; /* Logo + Text wieder untereinander */
    gap:16px;
  }

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

  .media.tall img{ height:360px; }
  .media.contain img{ height:300px; }
  .media.fit img{ height:360px; }

  .sticky{ position:relative; top:auto; }
}