:root{
  --bg:#0f1115;
  --bg-card:#171a21;
  --accent:#5fb3a3;
  --accent-dark:#3f8377;
  --accent2:#c98b4a;
  --accent3:#8a6fbf;
  --text:#e8e9ec;
  --text-dim:#a7adb8;
  --border:#262b35;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Segoe UI',Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
}
footer{
  text-align:center;
  padding:2.5rem 1.5rem;
  color:var(--text-dim);
  font-size:.85rem;
  border-top:1px solid var(--border);
}
footer a{color:var(--text-dim); text-decoration:underline;}

/* ---------- index.html ---------- */
header{
  padding:4rem 1.5rem 2.5rem;
  text-align:center;
  max-width:800px;
  margin:0 auto;
}
header h1{
  font-size:2.3rem;
  font-weight:600;
  letter-spacing:.5px;
}
header p.sub{
  color:var(--text-dim);
  margin-top:.8rem;
  font-size:1.1rem;
}
main{
  max-width:1000px;
  margin:0 auto;
  padding:1rem 1.5rem 4rem;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.8rem;
  margin-top:2rem;
}
.card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:1.8rem;
  display:flex;
  flex-direction:column;
  transition:transform .15s ease, border-color .15s ease;
}
.card:hover{
  transform:translateY(-4px);
  border-color:var(--accent);
}
.card .tag{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:600;
  padding:.25rem .7rem;
  border-radius:20px;
  display:inline-block;
  margin-bottom:1rem;
  width:fit-content;
}
.tag.sql{background:rgba(95,179,163,.15); color:var(--accent);}
.tag.paar{background:rgba(201,139,74,.15); color:var(--accent2);}
.tag.mann{background:rgba(138,111,191,.15); color:var(--accent3);}
.card h2{
  font-size:1.35rem;
  margin-bottom:.7rem;
}
.card p{
  color:var(--text-dim);
  font-size:.98rem;
  flex-grow:1;
}
.card a.btn{
  margin-top:1.4rem;
  display:inline-block;
  text-align:center;
  padding:.7rem 1.2rem;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  font-size:.95rem;
  transition:opacity .15s ease;
}
.btn.sql{background:var(--accent); color:#0f1115;}
.btn.paar{background:var(--accent2); color:#0f1115;}
.btn.mann{background:var(--accent3); color:#fff;}
.card a.btn:hover{opacity:.85;}

section.about{
  margin-top:3.5rem;
  padding-top:2.5rem;
  border-top:1px solid var(--border);
  display:flex;
  align-items:center;
  gap:2.5rem;
  flex-wrap:wrap;
}
section.about .photo-wrap{
  flex-shrink:0;
  width:180px;
  height:180px;
  border-radius:50%;
  overflow:hidden;
  border:3px solid var(--accent);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
section.about .photo-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 25%;
  display:block;
}
section.about .about-text{
  flex:1;
  min-width:280px;
}
section.about h2{
  font-size:1.5rem;
  margin-bottom:1rem;
}
section.about p{
  color:var(--text-dim);
  max-width:620px;
}
@media (max-width:600px){
  section.about{
    flex-direction:column;
    text-align:center;
  }
  section.about .about-text{
    min-width:0;
  }
}

/* ---------- sql.html ---------- */
nav{
  padding:1.2rem 1.5rem;
  max-width:1000px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--border);
}
nav a{
  color:var(--text-dim);
  text-decoration:none;
  font-size:.95rem;
}
nav a:hover{color:var(--accent);}
nav .brand{color:var(--text); font-weight:600;}
header.hero{
  max-width:900px;
  margin:0 auto;
  padding:4rem 1.5rem 2rem;
  text-align:center;
}
header.hero .tag{
  display:inline-block;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:1.5px;
  font-weight:600;
  color:var(--accent);
  background:rgba(95,179,163,.12);
  padding:.35rem .9rem;
  border-radius:20px;
  margin-bottom:1.2rem;
}
header.hero h1{
  font-size:2.4rem;
  font-weight:600;
  margin-bottom:1rem;
}
header.hero p{
  color:var(--text-dim);
  font-size:1.15rem;
  max-width:650px;
  margin:0 auto;
}
section{margin-top:3rem;}
section h2{
  font-size:1.6rem;
  margin-bottom:1.2rem;
  border-left:4px solid var(--accent);
  padding-left:.8rem;
}

section:first-of-type{
  margin-top:1rem;
}

.grid2{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.5rem;
  margin-top:1.2rem;
}
.item{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:1.4rem;
}
.item h3{
  font-size:1.1rem;
  margin-bottom:.6rem;
  color:var(--accent);
}
.item p{color:var(--text-dim); font-size:.95rem;}
ul.checklist{
  list-style:none;
  margin-top:1rem;
}
ul.checklist li{
  padding:.5rem 0 .5rem 1.8rem;
  position:relative;
  color:var(--text-dim);
  border-bottom:1px solid var(--border);
}
ul.checklist li:last-child{border-bottom:none;}
ul.checklist li::before{
  content:"→";
  position:absolute;
  left:0;
  color:var(--accent);
  font-weight:700;
}
.steps{
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-top:1.2rem;
}
.step{
  display:flex;
  gap:1.2rem;
  align-items:flex-start;
}
.step .num{
  flex-shrink:0;
  width:2.4rem;
  height:2.4rem;
  border-radius:50%;
  background:var(--accent);
  color:#0f1115;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}
.step p{color:var(--text-dim);}
.step strong{color:var(--text);}
.cta{
  margin-top:3.5rem;
  background:linear-gradient(135deg, rgba(95,179,163,.15), rgba(95,179,163,.03));
  border:1px solid var(--border);
  border-radius:16px;
  padding:2.5rem;
  text-align:center;
}
.cta h2{border:none; padding-left:0; margin-bottom:.8rem;}
.cta p{color:var(--text-dim); max-width:550px; margin:0 auto 1.5rem;}
.cta a.btn{
  display:inline-block;
  background:var(--accent);
  color:#0f1115;
  padding:.85rem 2rem;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:background .15s ease;
}
.cta a.btn:hover{background:var(--accent-dark);}
