/*
Theme Name: Hausmeisterservice Petrick
Author: Petrick
Description: Onepager-Theme (Hausmeisterservice Petrick) inkl. Impressum & Datenschutz.
Version: 1.0.4(19.01.26)
Text Domain: hmpetrick.de

=========================================================
Hausmeisterservice Petrick – Onepager CSS (WP/FTP)
Datei: /wp-content/themes/DEIN-THEME/assets/hmpetrick.css
========================================================= */

:root{
  --bg:#343432;
  --panel:#2f2f2d;
  --panel2:#3a3a38;
  --green:#ACC727;
  --white:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --border:rgba(172,199,39,.45);
  --border2:rgba(172,199,39,.28);
  --radius:18px;
  --shadow:0 14px 34px rgba(0,0,0,.35);
  --shadow2:0 18px 44px rgba(0,0,0,.55);
}

/* Reset / Base */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  line-height:1.55;
  color:var(--white);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(172,199,39,0.12), transparent 40%),
    radial-gradient(900px 500px at 90% 10%, rgba(255,255,255,0.06), transparent 35%),
    linear-gradient(180deg, #2f2f2d 0%, #343432 60%, #2a2a29 100%);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

/* Layout */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
}
section{ padding:18px 0; }

/* Header */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--bg);
  border-bottom:1px solid rgba(255,255,255,.14);
}
.nav{
  height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  position:relative; /* für Mobile-Menü */
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:220px;
}
.brand img{ height:56px; width:auto; }
.brand .sub{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}
.brand .name{
  color:var(--green);
  font-size:16px;
  font-weight:900;
  letter-spacing:.2px;
}

nav ul{
  list-style:none;
  display:flex;
  gap:10px;
  margin:0;
  padding:0;
}
nav a{
  color:var(--green);
  font-weight:800;
  padding:10px 12px;
  border-radius:12px;
  white-space:nowrap; /* z.B. "Über mich" nicht umbrechen */
}
/* Externe Seiten (z.B. "Über mich") wirken sonst je nach Browser als "visited" anders */
nav a:visited{ color:var(--green); }
nav a:hover{
  background:rgba(255,255,255,.08);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.16);
  background:#1f1f1e;
  color:#fff;
  cursor:pointer;
  transition:filter .12s ease, transform .12s ease;
}
.btn:hover{ filter:brightness(1.05); transform:translateY(-1px); }
.btn:active{ transform:translateY(0); }
.btn-primary{
  background:#1f1f1e;
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
}
.btn-accent,
.btn-wa{
  background:var(--green);
  color:#1b1b1b;
  border:1px solid rgba(0,0,0,.18);
}

/* Hero */
main.hero{ padding:26px 0 10px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:16px;
  align-items:stretch;
}
.card, .service, .step, .review, .mini, .box{
  background:var(--panel);
  border:2px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}

.side-card{ background:#2b2b29; }

.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(172,199,39,.12);
  border:1px solid rgba(172,199,39,.35);
  color:var(--green);
  font-weight:850;
}

h1,h2,h3,h4{
  margin:0 0 8px;
  color:var(--green);
}
h1{
  font-size:clamp(28px, 3.4vw, 44px);
  line-height:1.08;
  letter-spacing:-.6px;
}
.lead,
.section-title p,
.meta,
.small,
.row span{
  color:var(--muted);
}
.section-title{ margin:0 0 12px; }

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.trustbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.chip{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(172,199,39,.25);
  color:rgba(255,255,255,.90);
  font-weight:800;
}

/* Profilbild mit Köln-Background */
.profile-wrap{
  position:relative;
  display:flex;
  justify-content:center;
  margin-bottom:18px;
  padding:28px;
  border-radius:26px;
  overflow:hidden;
}
.profile-wrap::after{
  content:"";
  position:absolute;
  inset:-40px;
  background-size:cover;
  background-position:center;
  filter:none;
  border-radius:26px;
  z-index:0;
}
/* IMPORTANT:
   Setze per Inline-Style oder per zusätzlicher CSS-Regel das Background-Image:
   .profile-wrap::after{ background-image:url('DEIN-KOELN-BILD.jpg'); }
*/
.profile-wrap img{
  position:relative;
  z-index:1;
  width:180px;
  height:180px;
  object-fit:cover;
  border-radius:50%;
  border:4px solid var(--green);
  box-shadow:0 10px 30px rgba(0,0,0,.4);
}

/* Grid Leistungen */
.grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:14px;
}
.service{ grid-column:span 6; }

.badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  background:rgba(172,199,39,.18);
  border:1px solid rgba(172,199,39,.45);
  color:var(--green);
}
.meta{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
  font-size:14px;
}
ul.clean{ margin:0; padding-left:18px; }
ul.clean li{ margin:6px 0; color:rgba(255,255,255,.88); }

/* Ablauf */
.steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.step .num{
  width:40px;
  height:40px;
  border-radius:16px;
  background:rgba(172,199,39,.24);
  color:#1b1b1b;
  display:grid;
  place-items:center;
  font-weight:1000;
  border:1px solid rgba(0,0,0,.10);
  margin-bottom:10px;
}

/* Bewertungen */
.reviews{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.stars{ letter-spacing:2px; }

/* Kontakt */
.contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.kv{ display:grid; gap:10px; }
.row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  background:var(--panel2);
  border:2px solid var(--border2);
  border-radius:var(--radius);
}

/* Formular */
.form{
  border:2px dashed rgba(172,199,39,.55);
  border-radius:18px;
  padding:16px;
  background:#2b2b29;
  margin-top:18px;
  width:100%;
}
.form label{ display:block; width:100%; }
.form label span{
  display:block;
  margin-bottom:6px;
  color:var(--green);
  font-weight:900;
  font-size:13px;
}
.form input,
.form textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  background:#1f1f1e;
  border:2px solid rgba(172,199,39,.35);
  color:#fff;
  outline:none;
}
.form input::placeholder,
.form textarea::placeholder{ color:rgba(255,255,255,.55); }
.form input:focus,
.form textarea:focus{ border-color:rgba(172,199,39,.70); }
.fgrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-items:stretch;
}
.fgrid > label{ min-width:0; }

/* Galerie */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.gitem{
  background:var(--panel);
  border:2px solid var(--border2);
  border-radius:16px;
  overflow:hidden;
  aspect-ratio:4/3;
}
.gitem img{
  width:100%;
  height:100%;
  object-fit:cover;
  cursor:zoom-in;
}
.gcaption{
  padding:10px 12px;
  font-size:14px;
  color:rgba(255,255,255,.9);
  background:var(--panel);
  border-top:1px solid rgba(172,199,39,.25);
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.88);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  overflow:auto;
  padding:18px;
}
.lightbox-content{
  position:relative;
  margin:40px;
}
.lightbox img{
  max-width:95vw;
  max-height:90vh;
  border-radius:14px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
}
.lightbox-close{
  position:absolute;
  top:-14px;
  right:-14px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--green);
  color:#1b1b1b;
  font-size:20px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

/* Floating WhatsApp */
.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999;
  display:flex;
  gap:10px;
  align-items:center;
}
.wa-bubble{
  background:var(--panel);
  border:2px solid var(--border2);
  box-shadow:0 10px 26px rgba(0,0,0,.16);
  border-radius:16px;
  padding:10px 12px;
  max-width:240px;
  font-size:13px;
  color:rgba(255,255,255,.88);
  display:none;
}
.wa-btn{
  width:60px;
  height:60px;
  border-radius:999px;
  background:var(--green);
  color:#1b1b1b;
  display:grid;
  place-items:center;
  font-size:28px;
  text-decoration:none;
  box-shadow:0 10px 26px rgba(0,0,0,.16);
  border:1px solid rgba(0,0,0,.18);
}

/* Footer */
footer{
  padding:26px 0 90px;
  color:var(--muted);
}
.footer-nav{
  text-align:center;
  margin-top:10px;
}
.footer-nav a{
  color:var(--green);
  font-weight:700;
}
.footer-nav span{
  margin:0 6px;
  color:rgba(255,255,255,.6);
}

/* Mobile Menu */
.menu-btn{
  display:none;
  background:#1f1f1e;
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  padding:10px 12px;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
.mobile-menu{
  display:none;
  position:absolute;
  right:18px;
  top:86px;
  width:min(320px, calc(100vw - 36px));
  background:rgba(47,47,45,.98);
  border:2px solid rgba(172,199,39,.35);
  border-radius:16px;
  box-shadow:var(--shadow2);
  padding:10px;
  z-index:2000;
}
.mobile-menu a{
  display:block;
  padding:12px 12px;
  border-radius:12px;
  color:var(--green);
  font-weight:800;
  white-space:nowrap;
}
.mobile-menu a:visited{ color:var(--green); }
.mobile-menu a:hover{ background:rgba(255,255,255,.08); }
.mobile-menu.open{ display:block; }

/* Desktop + Mobile Feintuning */
@media (min-width: 1100px){
  .container{ max-width:1200px; }
  main.hero{ padding:34px 0 14px; }
  section{ padding:24px 0; }
  .card,.service,.step,.review,.mini,.box{ padding:26px; }
  h1{ font-size:46px; }
  .lead{ font-size:17px; }
}

@media (max-width: 920px){
  nav ul{ display:none; }
  .hero-grid{ grid-template-columns:1fr; gap:12px; }
  .service{ grid-column:span 12; }
  .steps{ grid-template-columns:1fr; }
  .reviews{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; }
  .fgrid{ grid-template-columns:1fr; }
  .hero-actions .btn{ width:100%; }
  .wa-bubble{ display:block; }
  .gallery{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 600px){
  .nav{
    height:auto;
    padding:12px 0;
    flex-wrap:wrap;
    gap:12px;
  }
  .menu-btn{ display:inline-flex; align-items:center; justify-content:center; }
  .brand img{ height:46px; }
  .brand .name{ font-size:15px; }
  .brand .sub{ font-size:13px; }

  main.hero{ padding:18px 0 8px; }
  .btn{ padding:14px 16px; }
  .chip{ padding:10px 12px; }
  .card,.service,.step,.review,.mini,.box{ padding:16px; }

  .pill{ width:100%; justify-content:center; text-align:center; }
  .gallery{ grid-template-columns:1fr; gap:12px; }
  .gitem{ aspect-ratio:16/10; }

  .form input,.form textarea{ font-size:16px; } /* iOS Zoom vermeiden */
  .wa-float{ right:14px; bottom:14px; }
  .wa-btn{ width:58px; height:58px; font-size:26px; }
}
  /* === Über mich – Hintergrund Kölner Dom === */
.vorstellung-hero {
  position: relative;
  background-image: url("assets/img/koelner-dom.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  padding: 60px 30px;
  overflow: hidden;
}

/* dunkle Overlay-Schicht für Lesbarkeit */
.vorstellung-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* Inhalt über dem Overlay */
.vorstellung-hero > * {
  position: relative;
  z-index: 2;
}

