/* ===========================================================
   Positiv Services – Stylesheet
   Akzentfarben aus dem Logo: Violett + Orange
   =========================================================== */

:root {
  --violet:        #5b3a91;
  --violet-dark:   #432a6d;
  --violet-light:  #7a57b4;
  --orange:        #f39200;
  --orange-dark:   #d97e00;
  --ink:           #1f2230;
  --body:          #4a4f60;
  --muted:         #7a8092;
  --line:          #e7e8ef;
  --bg:            #ffffff;
  --bg-soft:       #f6f5fb;
  --bg-violet:     #f1ecfa;
  --white:         #ffffff;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow:        0 18px 40px -22px rgba(67, 42, 109, .35);
  --shadow-soft:   0 10px 30px -18px rgba(31, 34, 48, .25);
  --max:           1180px;
  --font:          "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head:          "Poppins", var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--violet); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-dark); }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 22px;
}

section { padding: clamp(54px, 8vw, 96px) 0; }

.section-soft   { background: var(--bg-soft); }
.section-violet { background: var(--bg-violet); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: .9rem;
}
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 26px -12px rgba(243,146,0,.7); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--violet); border-color: var(--violet-light); }
.btn-ghost:hover { background: var(--violet); color: #fff; }
.btn-light { background: #fff; color: var(--violet); }
.btn-light:hover { background: var(--orange); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: #fff; color: var(--violet); }

/* ===========================================================
   Header / Navigation
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
/* Logo (Wortmarke in CSS nachgebaut) */
.logo { display: flex; align-items: center; }
.logo-img { height: 46px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--head);
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 8px;
}
.nav-links a:hover { background: var(--bg-violet); color: var(--violet); }
.nav-links a.active { color: var(--violet); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(64px, 9vw, 110px) 0 clamp(64px, 9vw, 110px);
  background: linear-gradient(125deg, var(--violet-dark) 0%, var(--violet) 62%, var(--violet-light) 125%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-photo { position: relative; }
.hero-photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: 22px;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.55);
}
.hero-photo::after {
  content: ""; position: absolute; left: -18px; bottom: -18px;
  width: 130px; height: 130px; border-radius: 20px;
  background: var(--orange); z-index: 0;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange); }
.hero p { color: rgba(255,255,255,.9); font-size: 1.18rem; max-width: 52ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2.4rem; padding: 0; list-style: none; }
.hero-tags li { display: flex; align-items: center; gap: .5em; font-weight: 500; font-size: .98rem; color: rgba(255,255,255,.92); }
.hero-tags svg { color: var(--orange); flex: none; }

/* Page hero (Unterseiten) */
.page-hero {
  position: relative;
  color: #fff;
  padding: clamp(70px, 11vw, 120px) 0 clamp(50px, 7vw, 80px);
  background: linear-gradient(120deg, var(--violet-dark), var(--violet));
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--hero-img);
  background-size: cover; background-position: center;
  opacity: .18;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 56ch; font-size: 1.12rem; margin: 0; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--orange); }

/* ===========================================================
   Stats strip
   =========================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--head); font-weight: 800; font-size: 2.4rem; color: var(--violet); line-height: 1; }
.stat .num span { color: var(--orange); }
.stat .lbl { font-size: .98rem; color: var(--muted); margin-top: .4rem; }

/* ===========================================================
   Service cards
   =========================================================== */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-violet); color: var(--violet);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card .more { margin-top: auto; padding-top: 14px; font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--orange-dark); display: inline-flex; align-items: center; gap: .4em; }
/* Ganze Karte klickbar (stretched link) */
.card .more::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .more { color: var(--orange); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.feature { display: flex; gap: 16px; }
.feature .fi {
  flex: none; width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
}
.feature h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.feature p { font-size: .96rem; color: var(--muted); margin: 0; }

/* ===========================================================
   Split / media sections
   =========================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 3/4; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; color: var(--orange); margin-top: 3px; }

/* Detailed service rows */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,60px); align-items: center; padding: clamp(34px,5vw,56px) 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; cursor: zoom-in; transition: transform .45s ease; }
.service-media:hover img { transform: scale(1.05); }
.service-text .num-badge { font-family: var(--head); font-weight: 700; color: var(--orange); letter-spacing: .1em; font-size: .9rem; }

/* ===========================================================
   CTA band
   =========================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--violet-dark), var(--violet) 60%, var(--violet-light));
  color: #fff; border-radius: 24px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,146,0,.35), transparent 70%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 1.6rem; position: relative; }

/* ===========================================================
   Contact
   =========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,56px); align-items: start; }
.contact-card-list { display: grid; gap: 18px; }
.contact-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-soft);
  transition: transform .15s, box-shadow .2s;
}
a.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-item .ci {
  flex: none; width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
}
.contact-item .ci.orange { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.contact-item .label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-item .value { font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.contact-item .sub { font-size: .92rem; color: var(--muted); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--orange); }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 1.2rem; }
.footer-logo img { height: 42px; width: auto; display: block; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; color: var(--orange); margin-top: 4px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center;
  font-size: .88rem; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-credit { text-align: center; font-size: .82rem; color: rgba(255,255,255,.42); padding-top: 16px; }
.footer-credit a { color: rgba(255,255,255,.62); }
.footer-credit a:hover { color: var(--orange); }

/* ===========================================================
   Legal pages (Impressum / Datenschutz)
   =========================================================== */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--body); }
.legal ul { padding-left: 1.2rem; }
.legal .data-block { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 1.2rem 0; }
.legal a { word-break: break-word; }

/* ===========================================================
   Lightbox / Foto-Modal
   =========================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(24, 18, 38, .88);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox-img {
  max-width: min(1180px, 96vw); max-height: 90vh;
  width: auto; height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 90px -20px rgba(0,0,0,.65);
  animation: lb-in .3s ease;
}
@keyframes lb-in { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close {
  position: absolute; top: clamp(14px,3vw,26px); right: clamp(14px,3vw,30px);
  width: 48px; height: 48px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  font-size: 28px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.lightbox-close:hover { background: var(--orange); transform: rotate(90deg); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 940px) {
  .grid-3, .features, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 22px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-130%); transition: transform .35s ease;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 8px; border-radius: 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .split, .service-row, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media,
  .service-row:nth-child(even) .service-media { order: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { order: 2; max-width: 440px; }
  .hero-photo img { aspect-ratio: 16 / 11; }
  .hero-photo::after { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .features, .stats { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .stat .num { font-size: 2rem; }
}
