/* =============================
   PARVO SHIELD IMMOBILIEN STYLE
   Luxury Premium Flexbox CSS
   ============================= */

/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, main, section, article, aside, footer, header, nav, figure, figcaption {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; box-sizing: border-box;
}
html { height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; background: #F7F8F9; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
*, *:before, *:after { box-sizing: inherit; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; background: transparent; }
img { max-width: 100%; display: block; height: auto; }
button { background: none; border: none; cursor: pointer; font: inherit; padding: 0; color: inherit; }

/* =============================
   LUXURY-PREMIUM STYLE VARS
   ============================= */
:root {
  --primary: #2C3A47;
  --secondary: #A8B2B7;
  --accent: #E8B06A;
  --text: #24282C;
  --light: #F7F8F9;
  --white: #fff;
  --shadow: 0 8px 32px 0 rgba(44,58,71,0.12), 0 1.5px 5px 0 rgba(0,0,0,0.07);
  --border: 1px solid #EAE4D5;
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all .2s cubic-bezier(.4,0,.2,1);
  --gold-gradient: linear-gradient(90deg,#e8b06a 0%,#f0d191 100%);
  --font-display: 'Montserrat', Arial, sans-serif;  /* Add font-links in HTML or via @import */
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* =============================
   TYPOGRAPHY
   ============================= */
html { font-size: 16px; }
body {
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--light);
  line-height: 1.6;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 24px; }
h3 { font-size: 1.25rem; line-height: 1.35; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, li, blockquote {
  font-size: 1rem; color: var(--text); margin-bottom: 14px;
}
strong, b { font-weight: 600; }
blockquote {
  font-style: italic;
  color: var(--primary);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 10px;
  background: var(--light);
}

/* Responsive typography */
@media (max-width: 900px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
}


/* =============================
   GLOBAL CONTAINERS AND LAYOUT
   ============================= */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.content-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 48px 38px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (max-width: 900px) {
  .content-wrapper { padding: 32px 14px; }
}
@media (max-width: 600px) {
  .content-wrapper { padding: 18px 2px; }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: unset;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@media (max-width: 768px) {
  .section { padding: 24px 5px; margin-bottom: 32px; }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ================================
   FLEXBOX PATTERNS (no Grid used)
   ================================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  transition: box-shadow .18s;
}
.card:hover {
  box-shadow: 0 12px 48px 0 rgba(44,58,71,0.14), 0 2px 8px 0 rgba(232,176,106,0.08);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px 0 rgba(44,58,71,0.07);
  border-left: 4px solid var(--accent);
  margin-bottom: 20px;
  flex-direction: row;
}
.testimonial-card blockquote {
  color: var(--primary);
  margin-right: 16px;
  margin-bottom: 0;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1rem;
}
@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; padding: 16px 12px; gap: 12px; }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================
   FEATURE GRIDS AND LISTS
   ============================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-grid li {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 320px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px 0 rgba(44,58,71,0.07);
  padding: 24px 20px 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s;
  position: relative;
}
.feature-grid li img {
  width: 36px; height: 36px; margin-bottom: 12px;
}
.feature-grid li h3 {
  color: var(--primary); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px;
}
.feature-grid li p { color: var(--text); font-size: 1rem; }
.feature-grid li:hover {
  box-shadow: 0 8px 28px 0 rgba(44,58,71,0.13);
  border-color: var(--accent);
}
@media (max-width: 900px) {
  .feature-grid { gap: 14px; }
  .feature-grid li { min-width: 180px; padding: 17px 10px 13px 10px; }
}
@media (max-width: 650px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid li {
    min-width: unset;
    width: 100%;
    max-width: none;
  }
}

/* =============================
   PRIMARY BUTTONS & LINKS
   ============================= */
.btn-primary,
.btn-primary:visited {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 1.08rem;
  font-weight: bold;
  border-radius: 40px;
  padding: 12px 35px;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(44,58,71,0.11);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  margin-top: 20px;
  min-width: 170px;
  position: relative;
  letter-spacing: 0.03em;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 24px 0 rgba(232,176,106,0.22);
  outline: none;
}
.btn-primary:active {
  background: #f5d0a2;
  color: var(--primary);
}

a { transition: color var(--transition); }
a:hover { color: var(--accent); text-decoration: underline; }

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(44,58,71,0.05);
  z-index: 90;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 12px;
  gap: 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.01rem;
  color: var(--primary);
  padding: 5px 8px;
  position: relative;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover,
header nav a:focus {
  color: var(--accent);
  background: #f8eee1;
  outline: none;
}

header img { height: 44px; width: auto; margin-right: 18px; }
@media (max-width: 700px) {
  header .container { flex-direction: row; justify-content: space-between; gap: 10px; }
  header nav { gap: 10px; }
  header img { height: 38px; min-width: 100px; margin-right: 5px; }
}

/* Hide nav and show burger on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: var(--white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  z-index: 105;
  position: absolute;
  top: 13px;
  right: 20px;
  border: 1px solid #ede6d7;
  box-shadow: 0 2px 6px 0 rgba(44,58,71,0.07);
  transition: background var(--transition);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #f8eee1;
}
@media (max-width: 900px) {
  header nav, header .btn-primary { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =============================
   MOBILE NAVIGATION OVERLAY
   ============================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  z-index: 1800;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,58,71,0.93);
  transform: translateX(-110%);
  transition: transform .33s cubic-bezier(.5,0,.2,1);
  width: 100vw;
  height: 100vh;
  padding: 0 0 0 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  margin: 32px 0 10px 22px;
  font-size: 2.1rem;
  line-height: 1;
  background: none;
  color: var(--accent);
  border-radius: 50%;
  padding: 8px 15px 8px 8px;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #3b4252;
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 20px 35px 0 35px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid rgba(232,176,106,0.15);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover {
  color: var(--accent);
  background: rgba(232,176,106,0.05);
}

@media (max-width: 400px) {
  .mobile-nav { padding-left: 14px; padding-right: 14px; gap: 14px; }
  .mobile-menu-close { margin-left: 10px; }
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--primary);
  color: #faf6f0;
  padding: 48px 0 0 0;
  margin-top: 60px;
}
footer .container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
  background: unset;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav a {
  color: #F9DEB1;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color .18s;
}
.footer-nav a:hover,
.footer-nav a:focus { color: var(--accent); text-decoration: underline; }

.brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.brand-info img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1.5px 8px rgba(232,176,106,0.09));
}
.brand-info p { color: #f6e8d4; font-size: 1rem; margin-bottom: 4px; }

@media (max-width: 700px) {
  footer .content-wrapper { flex-direction: column; gap: 18px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 13px; }
}


/* =============================
   MAP PLACEHOLDER
   ============================= */
.map-placeholder {
  width: 100%;
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 18px;
  background: #F3ECE3;
  color: #A18B57;
  font-family: var(--font-display);
  font-size: 1.01rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  margin-bottom: 12px;
}

/* =============================
   CARD STYLES
   ============================= */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.card:before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 6px;
  background: var(--accent);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  opacity: 0.22;
}

/* =============================
   GENERAL ELEMENTS STYLES
   ============================= */
ul, ol {
  margin-left: 16px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 9px;
  font-size: 1rem;
}
ul li::marker, ol li::marker { color: var(--accent); font-size: 1.03em; }

hr {
  border: none;
  background: var(--accent);
  height: 1.5px;
  width: 40px;
  margin: 18px 0;
  border-radius: 2px;
}

/* =============================
   FORM & INPUT FIELDS (for contact)
   ============================= */
input, textarea, select {
  width: 100%;
  border: 1px solid #e3dccf;
  border-radius: var(--radius-sm);
  padding: 13px 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  background: var(--white);
  margin-bottom: 16px;
  box-shadow: 0 1px 5px 0 rgba(44,58,71,0.04);
  transition: border-color .16s, box-shadow .16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 3px 18px 0 #f3d6b5;
}

/* =============================
   MICRO-INTERACTIONS & EFFECTS
   ============================= */
.card,
.feature-grid li,
.btn-primary,
.testimonial-card {
  transition: box-shadow .16s, border-color .17s, background .18s, color .16s;
}
.feature-grid li:hover,
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(232,176,106,0.15);
  border-color: var(--accent);
}
.btn-primary:after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: var(--gold-gradient);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity .23s;
}
.btn-primary:hover:after, .btn-primary:focus:after {
  opacity: 0.13;
}

/* =============================
   SPACING UTILITY (basic)
   ============================= */
.mt-20 { margin-top: 20px!important; }
.mb-20 { margin-bottom: 20px!important; }
.mb-32 { margin-bottom: 32px!important; }
.pt-18 { padding-top: 18px!important; }

/* =============================
   SCROLLBAR STYLING
   ============================= */
::-webkit-scrollbar {
  width: 12px;
  background: var(--light);
}
::-webkit-scrollbar-thumb {
  background: #E8B06A55;
  border-radius: 9px;
}

/* =============================
   COOKIE CONSENT BANNER + MODAL
   ============================= */
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2100;
  background: var(--primary);
  color: #F7EEDA;
  padding: 14px 26px 20px 26px;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -6px 24px 0 rgba(44,58,71,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  min-height: 54px;
  transition: transform .28s cubic-bezier(0.5,0,0.2,1);
}
#cookie-banner.hide {
  transform: translateY(130%);
}
#cookie-banner .cookie-btns {
  display: flex; flex-direction: row; gap: 13px; align-items: center;
}
#cookie-banner button,
#cookie-banner .btn-primary {
  min-width: 120px;
  font-size: 1rem;
  border-radius: 29px;
  border: none;
  padding: 9px 22px;
  font-family: var(--font-display);
  font-weight: bold;
  margin-top: 0;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 7px 0 rgba(44,58,71,0.07);
  transition: background var(--transition), color var(--transition);
}
#cookie-banner .accept {
  background: var(--accent);
  color: var(--primary);
}
#cookie-banner .accept:hover {filter: brightness(1.08); background: #F8D498;}
#cookie-banner .settings:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 10px 24px 10px;
    font-size: 0.93rem;
  }
  #cookie-banner .cookie-btns { width: 100%; flex-wrap: wrap; }
}

#cookie-modal-overlay {
  position: fixed;
  z-index: 2200;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,58,71,0.44);
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--accent);
  box-shadow: 0 10px 42px 0 rgba(44,58,71,0.22);
  padding: 36px 34px 26px 34px;
  min-width: 320px;
  max-width: 98vw;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 18px;
}
.cookie-toggle {
  display: inline-block;
  position: relative;
  width: 44px; height: 24px;
}
.cookie-toggle input {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.cookie-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--secondary);
  border-radius: 20px;
  transition: background .17s;
}
.cookie-toggle input:checked + .slider {
  background: var(--accent);
}
.cookie-toggle .slider:before {
  content: "";
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  transition: transform .18s;
}
.cookie-toggle input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-category label {
  font-size: 1rem;
  font-family: var(--font-display);
  margin-left: 12px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  min-width: 115px;
  padding: 10px 21px;
  border-radius: 17px;
  font-family: var(--font-display);
  font-weight: bold;
  border: none;
  font-size: .98rem;
}
.cookie-modal .btn-primary { background: var(--accent); color: var(--primary); }
.cookie-modal .btn-primary:hover { filter: brightness(1.09); background: #e9bf83; }
.cookie-modal .btn-secondary { background: var(--secondary); color: var(--primary); }
.cookie-modal .btn-secondary:hover { background: #d1c7be; }
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 1.7rem;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 7px 2px 2px;
  border-radius: 9px;
  transition: background .17s;
}
.cookie-modal .modal-close:hover {
  background: #f1e6d9;
}

@media (max-width: 550px) {
  .cookie-modal {
    padding: 17px 6px 17px 12px;
    min-width: unset;
    max-width: 100vw;
  }
  .cookie-modal .modal-close { right: 7px; }
}


/* =============================
   ACCESSIBILITY: Focus Outlines
   ============================= */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::-moz-focus-inner { border: 0; }

/* =============================
   PRINT STYLE RESET
   ============================= */
@media print {
  header, footer, #cookie-banner, #cookie-modal-overlay, .mobile-menu { display: none!important; }
  .content-wrapper {
    box-shadow: none;
    border-radius: 0;
    background: var(--white);
    padding: 0;
  }
  main, section, .container, body {
    background: var(--white);
    margin: 0!important;
    padding: 0!important;
  }
}

/* =============================
   END OF CSS
   ============================= */
