/* Pfeffer Immobilien – Website-Stylesheet */

/* Selbst gehostete Schriftarten (statt Google Fonts CDN) – keine
   Verbindung zu externen Servern nötig, daher kein Consent erforderlich. */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/lora-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lora-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/work-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/work-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/work-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/work-sans-latin.woff2') format('woff2');
}

:root{
  --bg:#FBF8F3;
  --bg-alt:#F4EDE0;
  --bg-deep:#2B2622;
  --text:#2B2622;
  --text-muted:#6E6459;
  --primary:#29B6F6;
  --primary-dark:#1A8FCB;
  --primary-tint:#E4F5FD;
  --accent:#C97B4A;
  --accent-tint:#F5E6DA;
  --border:#E7DCC9;
  --white:#FFFFFF;
  --max:1180px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Work Sans', system-ui, -apple-system, sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{ font-family:'Lora', Georgia, serif; margin:0; font-weight:600; line-height:1.18; }
p{ margin:0; line-height:1.65; }
a{ color:var(--primary-dark); text-decoration:none; }
a:hover{ color:var(--accent); }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }

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

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:15px 30px; border-radius:999px; font-weight:600; font-size:15px;
  cursor:pointer; white-space:nowrap; border:1px solid transparent; font-family:inherit;
}
.btn-primary{ background:var(--primary); color:#fff; border-color:var(--primary); }
.btn-primary:hover{ background:var(--primary-dark); border-color:var(--primary-dark); color:#fff; }
.btn-secondary{ background:transparent; color:var(--text); border-color:var(--border); }
.btn-secondary:hover{ background:var(--white); color:var(--text); border-color:var(--text-muted); }
.btn-block{ width:100%; justify-content:center; }

.eyebrow{ font-size:13px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--primary-dark); }
.icon{ width:24px; height:24px; display:block; flex-shrink:0; }

/* Header */
.site-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:0 24px; height:88px; background:var(--white);
  border-bottom:1px solid var(--border); position:sticky; top:0; z-index:50;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; width:100%; padding:0; }
.logo img{ height:50px; width:auto; }
.main-nav{ display:flex; align-items:center; gap:32px; }
.main-nav a{ font-size:15px; font-weight:500; color:var(--text-muted); }
.main-nav a.active{ color:var(--text); font-weight:600; }
.header-right{ display:flex; align-items:center; gap:22px; }
.phone-link{ display:flex; align-items:center; gap:8px; font-size:15px; font-weight:600; color:var(--text); }
.phone-link .icon{ width:18px; height:18px; color:var(--primary-dark); }
.nav-toggle{
  display:none; background:none; border:1px solid var(--border); border-radius:8px;
  width:42px; height:42px; align-items:center; justify-content:center; cursor:pointer;
}
.nav-toggle .icon{ color:var(--text); }

@media (max-width: 900px){
  .logo img{ height:36px; }
  .main-nav{
    position:absolute; top:88px; left:0; right:0; background:var(--white);
    border-bottom:1px solid var(--border); flex-direction:column; align-items:flex-start;
    gap:0; padding:8px 24px 20px; display:none;
  }
  .main-nav.open{ display:flex; }
  .main-nav a{ padding:12px 0; width:100%; border-bottom:1px solid var(--border); }
  .header-right .phone-link{ display:none; }
  .nav-toggle{ display:flex; }
  .site-header .btn-primary{ padding:11px 18px; font-size:14px; }
}

/* Hero */
.hero{ padding:88px 0 76px; background:linear-gradient(180deg,var(--primary-tint) 0%, var(--bg) 100%); }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.85fr; gap:56px; align-items:center; }
.hero h1{ font-size:50px; letter-spacing:-0.01em; margin-top:16px; }
.hero p.lead{ font-size:18px; color:var(--text-muted); margin-top:20px; max-width:520px; }
.hero-actions{ display:flex; gap:16px; margin-top:32px; flex-wrap:wrap; }
.hero-simple{ max-width:720px; }
.hero-simple h1{ font-size:42px; }

.hero-photo{ position:relative; }
.hero-photo img{ width:100%; height:auto; border-radius:20px; border:1px solid var(--border); object-fit:cover; }
.hero-badge{
  position:absolute; left:-14px; bottom:-14px; background:var(--white); border:1px solid var(--border);
  border-radius:14px; padding:12px 18px; display:flex; align-items:center; gap:10px;
  box-shadow:0 12px 28px rgba(43,38,34,0.12); max-width:calc(100% + 28px);
}
.hero-badge span{ font-size:13.5px; font-weight:600; }
.hero-badge .icon{ width:18px; height:18px; color:var(--primary-dark); }

@media (max-width:760px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero h1{ font-size:36px; }
  .hero-photo{ order:-1; }
}

/* Sections */
section{ padding:76px 0; }
.section-alt{ background:var(--bg-alt); }
.section-head{ max-width:640px; }
.section-head h2{ font-size:32px; margin-top:12px; }

/* Cards grid */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:44px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin-top:44px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }

.card{ background:var(--white); border:1px solid var(--border); border-radius:16px; padding:32px 28px; display:flex; flex-direction:column; gap:14px; }
.card-icon{ width:50px; height:50px; border-radius:12px; background:var(--primary-tint); display:flex; align-items:center; justify-content:center; color:var(--primary-dark); }
.card-icon.accent{ background:var(--accent-tint); color:var(--accent); }
.card h3{ font-size:19px; }
.card p{ color:var(--text-muted); font-size:15px; }
.card-link{ font-size:14px; font-weight:600; display:flex; align-items:center; gap:6px; margin-top:auto; }

.value{ }
.value-icon{
  width:44px; height:44px; border-radius:50%; background:var(--white); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color:var(--primary-dark); margin-bottom:14px;
}
.value h3{ font-size:16.5px; }
.value p{ color:var(--text-muted); font-size:14.5px; margin-top:8px; }

@media (max-width:900px){
  .grid-3{ grid-template-columns:1fr 1fr; }
  .grid-4{ grid-template-columns:1fr 1fr; }
}
@media (max-width:600px){
  .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr; }
}

/* Steps (Maklertätigkeit) */
.steps-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.steps-col h2{ font-size:25px; }
.steps-col > p{ color:var(--text-muted); font-size:15px; margin-top:8px; }
.step-list{ display:flex; flex-direction:column; gap:24px; margin-top:28px; }
.step{ display:flex; gap:16px; }
.step-num{
  flex-shrink:0; width:36px; height:36px; border-radius:50%; background:var(--white);
  border:1.5px solid var(--primary); color:var(--primary-dark); font-family:'Lora',serif;
  font-weight:600; display:flex; align-items:center; justify-content:center; font-size:15px;
}
.step h3{ font-size:16px; }
.step p{ color:var(--text-muted); font-size:14.5px; margin-top:5px; }

@media (max-width:760px){
  .steps-grid{ grid-template-columns:1fr; gap:40px; }
}

/* Verwaltung: feature rows */
.feature-row{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:start; }
.feature-row .lead-col h2{ font-size:27px; margin-top:6px; }
.feature-row .lead-col p{ color:var(--text-muted); font-size:15px; margin-top:12px; }

.checklist{ display:flex; flex-direction:column; gap:18px; }
.checkline{ display:flex; gap:12px; align-items:flex-start; }
.checkline .icon{ width:22px; height:22px; color:var(--primary-dark); }
.checkline p{ font-size:15px; }

@media (max-width:900px){
  .feature-row{ grid-template-columns:1fr; }
}

/* CTA banner */
.cta-banner{
  background:var(--bg-deep); border-radius:22px; padding:48px 52px;
  display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
}
.cta-banner h2{ font-size:26px; color:#fff; }
.cta-banner p{ color:#C9C0B3; margin-top:10px; font-size:15px; max-width:480px; }

/* Footer */
.site-footer{ background:var(--bg-deep); color:#EFE9DF; padding:56px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:38px; border-bottom:1px solid rgba(255,255,255,0.12); }
.footer-brand{ font-family:'Lora',serif; font-weight:700; font-size:19px; color:#fff; }
.footer-tag{ margin-top:12px; font-size:14px; color:#C9C0B3; max-width:260px; }
.footer-label{ font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:#9C927F; margin-bottom:14px; }
.footer-links{ display:flex; flex-direction:column; gap:9px; }
.footer-links a{ color:#EFE9DF; font-size:14px; }
.footer-links a:hover{ color:var(--primary); }
.footer-contact p{ font-size:14px; color:#EFE9DF; margin-top:9px; }
.footer-contact p:first-child{ margin-top:0; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:22px; font-size:13px; color:#9C927F; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:#9C927F; }
.footer-bottom-links{ display:flex; gap:22px; }

@media (max-width:760px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px 24px; }
}
@media (max-width:480px){
  .footer-grid{ grid-template-columns:1fr; }
}

/* Cookie-Banner */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:200;
  background:var(--bg-deep); color:#EFE9DF;
  border-top:1px solid rgba(255,255,255,0.12);
  box-shadow:0 -8px 24px rgba(43,38,34,0.18);
}
.cookie-banner-inner{
  max-width:var(--max); margin:0 auto; padding:20px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
}
.cookie-banner-inner p{ font-size:13.5px; color:#C9C0B3; max-width:640px; }
.cookie-banner-inner a{ color:var(--primary); }
.cookie-banner-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.cookie-banner .btn{ padding:11px 22px; font-size:14px; }
.cookie-banner .btn-secondary{ background:transparent; color:#EFE9DF; border-color:rgba(255,255,255,0.3); }
.cookie-banner .btn-secondary:hover{ background:rgba(255,255,255,0.08); color:#fff; }

@media (max-width:600px){
  .cookie-banner-inner{ padding:18px 20px; }
  .cookie-banner-actions{ width:100%; }
  .cookie-banner-actions .btn{ flex:1; justify-content:center; }
}

/* Externe Inhalte (z. B. Google Maps) – erst nach Einwilligung laden */
.map-embed{ position:relative; }
.map-placeholder{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center;
  justify-content:center; text-align:center; padding:18px; gap:10px;
}
.map-placeholder p{ font-size:12.5px; color:var(--text-muted); }
.map-placeholder .btn{ padding:9px 18px; font-size:13px; }

/* Contact page */
.contact-grid{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:48px; align-items:start; }
.contact-cards{ display:flex; flex-direction:column; gap:18px; }
.contact-card{ background:var(--white); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; align-items:flex-start; }
.contact-card h3{ font-size:15.5px; }
.contact-card p{ color:var(--text-muted); font-size:14.5px; margin-top:6px; }

.contact-form{ background:var(--white); border:1px solid var(--border); border-radius:18px; padding:40px; }
.contact-form h2{ font-size:21px; }
.contact-form > p{ color:var(--text-muted); font-size:14px; margin-top:6px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:24px; }
.form-group{ margin-top:18px; }
.form-row .form-group{ margin-top:0; }
.form-group label{ font-size:13px; font-weight:600; color:var(--text); display:block; margin-bottom:7px; }
.field, select.field, textarea.field{
  width:100%; padding:12px 15px; border-radius:10px; border:1px solid var(--border);
  background:var(--bg); font-family:inherit; font-size:14.5px; color:var(--text);
}
textarea.field{ resize:vertical; min-height:100px; }
.field:focus, select.field:focus, textarea.field:focus{ outline:2px solid var(--primary); outline-offset:1px; }
.form-note{ font-size:12.5px; color:var(--text-muted); margin-top:12px; }
.form-error{ background:var(--accent-tint); color:var(--accent); border-radius:10px; padding:12px 16px; font-size:14px; margin-bottom:18px; }

@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .form-row{ grid-template-columns:1fr; }
}

/* Area / map card */
.area-card{
  background:var(--bg-alt); border-radius:22px; padding:44px 48px;
  display:flex; align-items:center; justify-content:space-between; gap:36px; flex-wrap:wrap;
}
.area-card h2{ font-size:23px; margin-top:10px; }
.area-card p{ color:var(--text-muted); font-size:15px; margin-top:10px; max-width:480px; }

/* Virtueller Rundgang */
.tour-frame{
  width:100%; height:520px; border-radius:18px; overflow:hidden;
  border:1px solid var(--border); background:var(--bg-deep);
}
.tour-frame #panorama{ width:100%; height:100%; }
.tour-rooms{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.tour-room-btn{
  padding:10px 18px; border-radius:999px; border:1px solid var(--border);
  background:var(--white); font-family:inherit; font-size:14px; font-weight:600;
  color:var(--text); cursor:pointer; transition:background .15s,color .15s,border-color .15s;
}
.tour-room-btn:hover{ border-color:var(--primary); }
.tour-room-btn.active{ background:var(--primary); border-color:var(--primary); color:var(--white); }
.tour-note{
  display:flex; gap:12px; align-items:flex-start; background:var(--primary-tint);
  border-radius:14px; padding:16px 18px; margin-top:22px;
}
.tour-note .icon{ flex-shrink:0; margin-top:2px; color:var(--primary-dark); }
.tour-note p{ font-size:14px; color:var(--text-muted); margin:0; }
.tour-hint{ font-size:13.5px; color:var(--text-muted); margin-top:10px; }
@media (max-width:600px){
  .tour-frame{ height:340px; }
}

/* Danke page */
.thanks{ min-height:60vh; display:flex; align-items:center; justify-content:center; padding:80px 24px; }
.thanks-box{ text-align:center; max-width:480px; }
.thanks-box .icon-big{ width:56px; height:56px; color:var(--primary-dark); margin:0 auto 20px; }
.thanks-box h1{ font-size:30px; }
.thanks-box p{ color:var(--text-muted); margin-top:14px; font-size:16px; }
.thanks-box .btn{ margin-top:28px; }
