:root{
  --petrol:#226666;
  --petrol-dark:#1b5252;
  --bg:#ffffff;
  --text:#1f2a2a;
  --muted:#5a6b6b;
  --panel:#dee4e4;
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg)
}
a{color:inherit;text-decoration:none}
p{line-height:1.5;color:var(--muted)}
h1,h2,h3{margin:0 0 10px 0;color:var(--text)}
h2{font-size:28px}
h3{font-size:18px}

.container{max-width:1100px;margin:0 auto;padding:32px 18px}
.section{padding:26px 0}
.section-head{
  display:flex;gap:16px;align-items:baseline;justify-content:space-between;
  border-bottom:1px solid rgba(0,0,0,.08);
  padding-bottom:10px;margin-bottom:18px
}
.section-head p{margin:0}

/* ===== Header / Navigation ===== */
.site-header{
  background:linear-gradient(180deg, var(--petrol) 0%, var(--petrol-dark) 100%);
  color:#fff;
  padding:18px 0 0 0;
}

.nav{
  max-width:1100px;margin:0 auto;padding:0 18px;
  display:flex;align-items:center;justify-content:space-between;
}
.brand{font-weight:800;letter-spacing:.4px}
.nav-links{display:flex;gap:16px;opacity:.95}
.nav a{color:#fff;font-weight:700}
.nav a:hover{opacity:.85}

/* ===== Startseite V4 ===== */
.hero-v3{
  max-width:1100px;
  margin:0 auto;
  padding:46px 18px 28px 18px;   /* Petrol-Bereich Höhe */
  display:grid;
  grid-template-columns: 1fr 300px;  /*Bildbreite rechts ändern*/
  gap:26px;
  align-items:start;
}
.hero-left{min-width:0}

.hero-name{
  color:#fff;
  font-size:54px;
  letter-spacing:.2px;
  margin:0 0 10px 0;
}
.hero-role{
  color:rgba(255,255,255,.92);
  font-weight:800;
  font-size:20px;
  margin-bottom:8px;
}
.hero-focus{
  color:rgba(255,255,255,.86);
  font-weight:700;
  font-size:17px;
  margin-bottom:10px;
}
.hero-edu{
  color:rgba(255,255,255,.78);
  font-size:14px;
  font-weight:600;
}

.hero-right{display:grid;gap:12px}

/* Foto-Kachel (klickbar) */
.me-tile{
  display:block;
  height:220px;                  /* <-- HÖHE hier */
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  box-shadow:0 14px 38px rgba(0,0,0,.18);
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.me-tile:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 38px rgba(0,0,0,.16);
}
.me-tile img{
  width:100%;
  height:100%;
  object-fit:cover;            /* <-- NICHT abgeschnitten */
  object-position:60% 20%;
  background:rgba(255,255,255,.06);
  display:block;
}

/* CV-Kachel (simple) */
.cv-tile{
  display:block;
  border-radius:18px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  text-decoration:none;
  font-weight:900;
  font-size:15px;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.cv-tile:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 38px rgba(0,0,0,.16);
  opacity:.98;
}

/* NDA Hinweis */
.nda-note{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px 16px 18px;
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-weight:600;
  opacity:.9;
}

/* ===== Portfolio ===== */
.portfolio-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.p-card{
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 12px 34px rgba(0,0,0,.10);
  background:#fff;
  transition:transform .18s ease, box-shadow .18s ease;
}
.p-card:hover{transform:translateY(-4px);box-shadow:0 18px 46px rgba(0,0,0,.14)}

.p-img{height:200px;background:var(--panel)}
.p-img img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;display:block}         /* Bild zentrieren */
.p-placeholder{background:linear-gradient(135deg, rgba(34,102,102,.18), rgba(222,228,228,1))}
.p-body{padding:14px}
.p-kicker{font-size:12px;color:var(--muted);font-weight:800;margin-bottom:6px;}
.p-title{font-size:16px;font-weight:900;color:var(--text);margin-bottom:10px;}
.p-tags{display:flex;flex-wrap:wrap;gap:8px}

.ptag{
  font-size:12px;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:var(--panel);
  color:var(--text);
}

.is-hidden{display:none}
.more-wrap{display:flex;justify-content:center;margin-top:18px}

/* ===== Card / Kontakt ===== */
.card{
  background:var(--card);
  border:1px solid rgba(0,0,0,.08);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.contact{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px
}
.label{font-size:12px;color:var(--muted);margin-bottom:4px;font-weight:700}
.footer{padding:18px 0 0 0;color:var(--muted);font-size:13px}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero-v3{grid-template-columns:1fr}
  .portfolio-grid{grid-template-columns:1fr}
  .p-img{height:220px}
  .me-tile{height:220px}
}
@media (max-width: 860px){
  .contact{grid-template-columns:1fr}
  .hero-name{font-size:40px}
}