/* Plyora Roam Renovierung - Warm Friendly Style */
/* 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  border-style: none;
  max-width: 100%;
  vertical-align: middle;
}

/* THEME COLORS & FONTS */
:root {
  --primary: #234D63;
  --secondary: #909698;
  --accent: #EFDEB6;
  --bg: #fdf8f3;
  --card-bg: #fffdfa;
  --section-bg: #faf4ed;
  --hero-bg: #f9ede2;
  --text-main: #2d3039;
  --text-light: #565a6a;
  --shadow: 0 2px 14px rgba(60,37,18,0.08), 0 1.5px 8px rgba(110,94,55,0.07);
  --border-radius: 18px;
  --btn-radius: 24px;
  --transition: 0.19s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

html {
  font-size: 16px;
  box-sizing: border-box;
  background: var(--bg);
}
body {
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text-main);
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.75;
}

/* UTILITY CLASSES & STRUCTURE */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 24px rgba(60,37,18,0.17);
  transform: translateY(-2px) scale(1.012);
}

.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(34,77,99,0.13);
  transform: translateY(-4px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.13;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.19;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.23;
}
p, li, address {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
  color: var(--primary);
}

/* LINKS & UI STYLES */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: #A66B07;
  text-decoration: underline;
}
.cta-btn {
  padding: 12px 32px;
  border: none;
  border-radius: var(--btn-radius);
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 8px;
  min-width: 160px;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffe7ad;
  color: #1d3341;
  box-shadow: 0 8px 16px rgba(34,77,99, 0.12);
  transform: translateY(-1px) scale(1.025);
}

button {
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 4px 18px rgba(34,77,99,0.04);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  padding: 0;
  margin-bottom: 32px;
  z-index: 99;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  color: var(--primary);
  padding: 0 4px;
  font-weight: 500;
  font-size: 1.01rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
nav a:hover, nav a.active {
  background: var(--accent);
  color: #1d3341;
}
header .cta-btn {
  margin-left: 28px;
  margin-right: 10px;
}

/* HERO SECTION */
.hero {
  background: var(--hero-bg);
  padding: 48px 0 56px 0;
  border-radius: var(--border-radius);
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}
.hero .container {
  align-items: center;
}
.hero h1 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.14rem;
  color: var(--text-light);
  max-width: 630px;
}

/* FEATURES, ABOUT, SERVICES, FAQ, ETC. */
.features, .about, .services, .projects, .legal, .faq, .contact {
  background: var(--section-bg);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.features h2, .about h2, .services h2, .projects h2, .legal h2, .faq h2, .contact h2 {
  margin-bottom: 12px;
}
.features ul, .about ul, .services ul, .projects ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.features li, .about li, .services li, .projects li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  font-size: 1rem;
  color: var(--text-main);
  flex: 1 1 280px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.features li img, .services li img {
  height: 38px;
  margin-bottom: 8px;
}
.features li:hover, .services li:hover {
  box-shadow: 0 8px 24px rgba(34,77,99,0.12);
  transform: translateY(-3px) scale(1.01);
}

/* CONTACT INFO BLOCKS */
.info-block {
  background: var(--accent);
  border-radius: var(--border-radius);
  padding: 18px 14px;
  margin-bottom: 20px;
  color: var(--primary);
  box-shadow: var(--shadow);
  font-size: 1.02rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-block img {
  vertical-align: middle;
  width: 24px;
  height: 24px;
  margin-right: 7px;
}
.contact-snippet {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.contact-snippet img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 5px;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
  background: var(--section-bg);
  padding: 40px 20px 10px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.testimonials h2 {
  margin-bottom: 14px;
}
.testimonials .testimonial-card {
  background: #fff;
  color: #2e373b;
  margin-bottom: 20px;
  min-width: 180px;
  border-left: 6px solid var(--accent);
  box-shadow: var(--shadow);
}
.testimonials .testimonial-card p {
  color: #2d3039;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.testimonials .testimonial-card span {
  font-size: 0.99rem;
  color: var(--secondary);
  font-family: var(--font-display);
  font-style: italic;
  margin-left: 10px;
}

/* CTA SECTION */
.cta {
  background: var(--accent);
  color: var(--primary);
  padding: 38px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 45px;
  box-shadow: var(--shadow);
}
.cta h2,
.cta p {
  color: var(--primary);
}
.cta .contact-snippet {
  margin-top: 19px;
}

/* FOOTER */
footer {
  background: #fff;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  box-shadow: 0 -2px 14px rgba(34,77,99,0.06);
  padding: 26px 0 20px 0;
  margin-top: 52px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
}
footer img {
  height: 32px;
  margin-bottom: 13px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
footer address {
  font-style: normal;
  color: var(--text-light);
  text-align: center;
  font-size: 0.99rem;
  margin-top: 4px;
}

/* LEGAL PAGES */
.legal ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}
.legal li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 16px 15px;
  color: var(--text-main);
  margin-bottom: 14px;
}

/* FAQ */
.faq h3 {
  margin-top: 24px;
  margin-bottom: 6px;
  color: var(--primary);
}
.faq p {
  color: var(--text-main);
  margin-bottom: 8px;
}

/* PROJECTS */
.projects ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.projects h3 {
  margin-top: 18px;
  color: var(--primary);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1111;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 -4px 20px rgba(34,77,99,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 8px 20px 8px;
  gap: 32px;
  font-size: 1rem;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  transition: transform var(--transition), opacity var(--transition);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  padding: 9px 18px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--accent);
  transition: background var(--transition), color var(--transition);
  box-shadow: var(--shadow);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: #fffdfa;
}
.cookie-banner .settings-btn {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

/* COOKIE PREFS MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2222;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34,77,99,0.13);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadein 0.3s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffdfa;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 36px 28px 28px 28px;
  max-width: 375px;
  width: 93vw;
  color: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: slideinmodal 0.35s;
}
@keyframes slideinmodal {
  from { transform: translateY(50px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.38rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 1.02rem;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--primary);
}
.cookie-modal .btn-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 17px;
  margin-top: 8px;
}
.cookie-modal .close-btn {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #fff;
  color: var(--primary);
  font-size: 1.2rem;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  background: var(--accent);
  color: #a66b07;
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--primary);
  font-size: 2.15rem;
  line-height: 1;
  border: none;
  padding: 6px 14px;
  border-radius: 50%;
  margin-left: 18px;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 2001;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: #a66b07;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fffdfa;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.89,.03,.13,.98);
  box-shadow: 0 10px 30px rgba(34,77,99,0.21);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 23px;
  font-size: 2rem;
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 2100;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--accent);
  color: #a66b07;
}
.mobile-nav {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding-left: 36px;
  padding-right: 16px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.15rem;
  padding: 10px 0;
  border-radius: 12px;
  transition: background var(--transition), color var(--transition);
  display: block;
  width: 100%;
  font-weight: 600;
}
.mobile-nav a:focus, .mobile-nav a:hover, .mobile-nav a.active {
  background: var(--accent);
  color: #a66b07;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1140px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 980px) {
  nav {
    gap: 10px;
  }
  .footer-nav {
    gap: 10px;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .features ul,
  .about ul,
  .services ul {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }

  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    flex-direction: row;
    padding-top: 10px; padding-bottom: 10px;
  }
  nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    gap: 9px;
    font-size: 0.97rem;
  }
  .hero {
    padding: 38px 0 33px 0;
  }
  .section, .features, .about, .services, .projects, .legal, .faq, .contact, .testimonials {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .hero h1 {
    font-size: 2.15rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .features ul,
  .about ul,
  .services ul {
    flex-direction: column;
    gap: 12px;
  }
  .info-block {
    padding: 13px 8px;
  }
  .projects ul {
    gap: 4px;
  }
  .card {
    padding: 20px 12px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.54rem;
  }
  .contact-snippet p,
  footer address {
    font-size: 0.93rem;
  }
  .testimonial-card p {
    font-size: 1rem;
  }
  .cta-btn {
    font-size: 1.02rem;
    padding: 11px 7vw;
  }
  .cookie-modal {
    max-width: 96vw;
    padding: 20px 4vw 15px 4vw;
  }
}

/* MICRO-INTERACTIONS */
.cta-btn:active, .cookie-banner button:active, .cookie-modal .btn-row button:active {
  transform: scale(0.97);
}
.card:active, .testimonial-card:active {
  transform: scale(0.995) !important;
}

/* OVERLAPPING & SPACING */

.features li, .about li, .services li, .projects li, .testimonial-card, .card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .features ul, .about ul, .services ul {
  gap: 20px;
}

/* Prevent unwanted content overlap */
.section, .card, .testimonial-card, .features li, .about li, .services li {
  box-sizing: border-box;
}

/* Buttons and links focus visible */
a:focus,
button:focus,
.cta-btn:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus,
.cookie-banner button:focus,
.cookie-modal .close-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Hide scrollbar in mobile menu */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Smooth section transitions */
.section, .features, .about, .services, .projects, .testimonials, .cta {
  transition: box-shadow 0.23s cubic-bezier(0.4,0,0.2,1);
}

/* Cookie Consent Example Classes (Use in HTML):
<div class="cookie-banner">
 <span>Diese Website verwendet Cookies, um Ihr Erlebnis zu verbessern.</span>
 <div class="cookie-actions">
  <button class="accept-btn">Alle akzeptieren</button>
  <button class="reject-btn">Ablehnen</button>
  <button class="settings-btn">Cookie-Einstellungen</button>
 </div>
</div>
<!-- Modal Structure -->
<div class="cookie-modal-overlay">
 <div class="cookie-modal">
  <button class="close-btn">✕</button>
  <h2>Cookie-Einstellungen</h2>
  <div class="cookie-categories">
    <label><input type="checkbox" checked disabled> Essenzielle Cookies (immer aktiv)</label>
    <label><input type="checkbox"> Analytics Cookies</label>
    <label><input type="checkbox"> Marketing Cookies</label>
  </div>
  <div class="btn-row">
    <button class="accept-btn">Speichern &amp; Akzeptieren</button>
    <button class="reject-btn">Nur Essenzielle</button>
  </div>
 </div>
</div>*/
