/* ===================================================
   P&P Freiraum – Stylesheet
   =================================================== */

:root {
  --color-navy: #0a1628;
  --color-navy-deep: #060d1a;
  --color-anthracite: #1c232f;
  --color-white: #ffffff;
  --color-off-white: #ffffff;
  --color-border: #e4e7ec;
  --color-text: #1c232f;
  --color-text-muted: #5b6472;
  --color-accent: #16a34a;
  --color-accent-dark: #128a3e;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-width: 1140px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 22, 40, 0.16);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius);
  z-index: 999;
}
.skip-link:focus {
  left: 24px;
  top: 24px;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); text-align: center; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin: 0 0 16px; color: var(--color-text-muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-align: center;
  margin: 0 0 8px;
}
.eyebrow-light { color: #7fd8a0; }

.section-lead {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.05rem;
}
.section-lead-light { color: #c7cede; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-navy);
}

.btn-small { padding: 9px 16px; font-size: 0.88rem; }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-xl { padding: 20px 44px; font-size: 1.15rem; }

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.btn-primary .icon { fill: currentColor; stroke: none; }
.icon-lg { width: 30px; height: 30px; color: var(--color-navy); }
.icon-xl { width: 34px; height: 34px; color: var(--color-accent-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo-link { flex-shrink: 0; }
.logo-img { height: 55px; width: auto; }

.header-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.header-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}
.header-nav a:hover { color: var(--color-navy); }
.header-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.header-nav a:hover::after { width: 100%; }

.header-cta { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  background: var(--color-white);
  padding: 72px 0 64px;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo { height: 130px; width: auto; margin-bottom: 40px; }
.hero h1 { max-width: 780px; }
.hero-sub {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.hero-phone {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}
.hero-phone a {
  color: var(--color-navy);
  font-weight: 700;
  border-bottom: 2px solid var(--color-accent);
}

/* ---------- Trustbar ---------- */
.trustbar {
  background: var(--color-navy);
  padding: 36px 0;
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-item .icon { color: #7fd8a0; }

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--color-off-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.section-dark {
  background: var(--color-navy);
  color: var(--color-white);
}
.section-dark h2 { color: var(--color-white); }

/* ---------- Cards / Leistungen ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Ablauf / Steps ---------- */
.steps {
  max-width: 720px;
  margin: 48px auto 0;
  position: relative;
  padding-left: 8px;
}
.steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--color-border);
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 0;
  position: relative;
}
.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 1;
}
.step h3 { margin-bottom: 4px; }
.step p { margin-bottom: 0; }

/* ---------- Partner (Vermieter etc.) ---------- */
.partner-inner {
  text-align: center;
  max-width: 680px;
}
.partner-text { color: #c7cede; font-size: 1.05rem; }
.partner-list {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto 36px;
  text-align: left;
}
.partner-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-weight: 500;
}
.partner-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ---------- Einsatzgebiet ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.area-item {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.area-item p { margin-bottom: 0; font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-accent-dark);
  margin-left: 12px;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

/* ---------- Kontakt ---------- */
.kontakt-inner {
  text-align: center;
  max-width: 640px;
}
.kontakt-actions { margin: 32px 0 28px; }
.kontakt-info {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.kontakt-phone, .kontakt-mail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.05rem;
}
.kontakt-phone .icon, .kontakt-mail .icon { color: #7fd8a0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-deep);
  color: #9aa4b5;
  padding: 48px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  height: 35px;
  width: auto;
  margin-bottom: 12px;
  background: var(--color-white);
  border-radius: 6px;
  padding: 6px 10px;
}
.footer-brand p { color: #9aa4b5; margin: 0; font-size: 0.9rem; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a:hover { color: var(--color-white); }
.footer-legal { display: flex; flex-direction: column; gap: 8px; }
.footer-legal a:hover { color: var(--color-white); }
.footer-bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
}

/* ---------- Modal (Impressum/Datenschutz) ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.modal[hidden] { display: none; }
.modal-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 4px 8px;
}
.modal-close:hover { color: var(--color-navy); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform var(--transition), background var(--transition);
}
.whatsapp-float:hover {
  background: var(--color-accent-dark);
  transform: scale(1.06);
}
.whatsapp-float .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .trustbar-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .logo-img { height: 46px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-small { padding: 9px 12px; font-size: 0.82rem; }
  .hero { padding: 56px 0 48px; }
  .hero-logo { height: 100px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .step { gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 1rem; }
  .footer-inner { flex-direction: column; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

@media (max-width: 380px) {
  .header-cta a.btn-small:first-child { display: none; }
}
