/* ============================================================
   WärmeWohl Elegant Classic CSS - style.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,
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;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F7F7F3;
  color: #233347;
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #174068;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7BAF48;
  text-decoration: none;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 7px;
}
strong { font-weight: bold; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* BRAND COLORS & FONTS (Serif feel, sophisticated) */
:root {
  --primary: #174068;
  --secondary: #7BAF48;
  --accent: #F7F7F3;
  --text-main: #233347;
  --text-dark: #141821;
  --text-light: #F7F7F3;
  --border: #D3DED3;
  --shadow: 0 2px 24px 0 rgba(23,64,104,0.08);
  --radius: 12px;
  --radius-sm: 6px;
}

/* Container + Layouts */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* Spacing Patterns for Flex Layouts */
.card-container, .card-grid, .features-grid, .services-grid, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(23,64,104,0.14);
  transform: translateY(-2px) scale(1.01);
}
.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 {
  background: #fff;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px 0 rgba(23,64,104,0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  min-width: 0;
  width: 100%;
  transition: box-shadow 0.18s;
}
.testimonial-card span {
  font-family: 'Montserrat', Georgia, serif;
  font-style: italic;
  color: var(--secondary);
  font-size: 15px;
}
.testimonials .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEX Utilities */
.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.gap-20 { gap: 20px; }

/* Header & Navigation ------------------------------------------------------ */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 17px;
  color: var(--primary);
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.18s, color 0.18s;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
  background: none;
}
.cta-btn {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 18px;
  background: var(--secondary);
  color: var(--accent);
  border: none;
  padding: 11px 30px;
  border-radius: 32px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px 0 rgba(123,175,72,0.07);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.16s, color 0.16s;
  margin-left: 18px;
  outline: none;
  position: relative;
}
.cta-btn:focus,
.cta-btn:hover {
  background: #538c27;
  color: #fff;
  box-shadow: 0 3px 16px 0 rgba(123,175,72,0.13);
}

/* Hamburger (mobile) nav button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 120;
  margin-left: 10px;
  line-height: 1;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 6px;
  }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 820px) {
  header .container {
    min-height: 63px;
    padding-top: 5px;
    padding-bottom: 5px;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .logo img {
    height: 36px;
  }
}

/* MOBILE FULLSCREEN SLIDE MENU --------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(23,64,104,0.15);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.7,.2,.18,1.1);
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
  display: flex;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--primary);
  cursor: pointer;
  margin-top: 22px;
  margin-left: 18px;
  margin-bottom: 24px;
  align-self: flex-start;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
  background: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 38px;
  margin-top: 12px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 22px;
  color: var(--primary);
  padding: 10px 0;
  text-decoration: none;
  transition: color 0.15s;
  border-radius: var(--radius-sm);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--secondary);
  background: rgba(123,175,72,0.07);
}

/* Typography ------------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #163150;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.8rem;
  letter-spacing: 0.01em;
  line-height: 1.22;
  margin-bottom: 20px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.28rem;
  margin-bottom: 11px;
}
h4 {
  font-size: 1.1rem;
}
.text-section h3 {
  margin-top: 20px;
}
p {
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 0.009em;
}

/* Hero Section --------------------------------------------------------- */
.hero {
  background: linear-gradient(110deg, #F7F7F3 60%, #e9e9ed 100%);
  padding-top: 56px;
  padding-bottom: 48px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.28rem;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.2rem;
  max-width: 570px;
  margin-bottom: 28px;
}
.hero .cta-btn {
  font-size: 19px;
  padding: 13px 42px;
  margin-top: 10px;
}

/* Features Grid and Features ------------------------------------------- */
.features-grid, .services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.feature, .service-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 20px 22px;
  flex: 1 1 285px;
  min-width: 265px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--border);
  transition: box-shadow 0.19s, transform 0.19s;
  margin-bottom: 20px;
}
.feature img, .service-block img {
  width: 45px;
  height: 45px;
  margin-bottom: 14px;
}
.feature h3, .service-block h2 {
  font-size: 1.19rem;
  color: var(--primary);
  margin-bottom: 7px;
}
.feature p, .service-block p {
  font-size: 1rem;
  color: var(--text-main);
}
.feature:hover, .service-block:hover {
  box-shadow: 0 6px 16px 0 rgba(23,64,104,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* Blog Post List */
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post-list article {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 24px 20px 22px 20px;
  flex: 1 1 310px;
  min-width: 250px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-post-list article:hover {
  box-shadow: 0 5px 18px 0 rgba(23,64,104,0.12);
  transform: translateY(-2px) scale(1.015);
}
.blog-link {
  color: var(--secondary);
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.15s;
}
.blog-link:hover, .blog-link:focus {
  color: #416120;
  text-decoration: none;
}

/* Lists, FAQ, Address, Text --------------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 17px 18px 15px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(23,64,104,0.07);
  transition: box-shadow 0.16s;
}
.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  color: var(--primary);
  font-weight: 600;
}
.faq-item p {
  font-size: 1rem;
  color: var(--text-main);
}
address {
  font-style: normal;
  color: var(--text-main);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

/* Footer ----------------------------------------------------------------- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding-top: 40px;
  padding-bottom: 18px;
  font-family: 'Montserrat', Georgia, serif;
  border-top: 6px solid var(--secondary);
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.08rem;
  opacity: 0.95;
  transition: color 0.15s, text-decoration 0.15s, opacity 0.13s;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 1rem;
}
.footer-contact p {
  margin-bottom: 6px;
  color: #e0e5e9;
}
.footer-contact img {
  display: inline-block;
  margin-right: 7px;
  vertical-align: text-bottom;
  height: 21px;
  width: 21px;
}
footer > .container > p {
  text-align: center;
  color: #c0d0db;
  margin-top: 23px;
  font-size: 1rem;
}

/* Cookie Consent Banner & Modal ------------------------------------------ */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #f9faf7;
  border-top: 2px solid var(--border);
  box-shadow: 0 -2px 25px 0 rgba(23,64,104,0.10);
  color: var(--primary);
  z-index: 2500;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transition: transform 0.25s, opacity 0.22s;
  font-family: 'Roboto', Georgia, serif;
}
#cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 7px;
  justify-content: center;
}
.cookie-btn,
#cookie-settings-btn,
#cookie-accept-btn,
#cookie-reject-btn {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 16px;
  padding: 9px 24px;
  border-radius: 26px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.15s;
  outline: none;
}
#cookie-accept-btn,.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
#cookie-accept-btn:focus,
#cookie-accept-btn:hover {
  background: #507a22;
}
#cookie-reject-btn,.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}
#cookie-reject-btn:focus,
#cookie-reject-btn:hover {
  background: #efefef;
}
#cookie-settings-btn,
.cookie-btn.settings {
  background: none;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
#cookie-settings-btn:focus,
#cookie-settings-btn:hover {
  background: #e3efd8;
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  z-index: 2600;
  width: 90vw;
  max-width: 420px;
  left: 50%;
  top: 50%;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 64px 0 rgba(23,64,104,0.17);
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  padding: 34px 28px 26px 28px;
  display: none;
  flex-direction: column;
  gap: 20px;
  font-family: 'Roboto', serif;
}
#cookie-modal.active {
  display: flex;
}
#cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #edf2ee;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle-switch {
  width: 44px;
  height: 24px;
  background: #e3efd8;
  border-radius: 12px;
  position: relative;
  transition: background 0.14s;
  margin-left: 12px;
  flex-shrink: 0;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.cookie-toggle-switch span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--secondary);
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle-switch input:checked + span {
  left: 23px;
  background: var(--primary);
}
.cookie-category[data-locked] .cookie-toggle-switch {
  background: #b4c6ae;
}
.cookie-category[data-locked] .cookie-toggle-switch span {
  background: #839c72;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 6px;
  justify-content: flex-end;
}
#cookie-close-modal {
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2.2rem;
  position: absolute;
  right: 16px; top: 12px;
  cursor: pointer;
  transition: color 0.16s;
  line-height: 1;
}
#cookie-close-modal:hover, #cookie-close-modal:focus {
  color: var(--secondary);
}

/* Animations --------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .feature, .service-block, .card {
    transition: box-shadow 0.18s, background 0.2s, color 0.18s, transform 0.17s;
  }
  .mobile-menu, .mobile-menu.active {
    transition: transform 0.36s cubic-bezier(.75,-0.16,.2,1.14);
  }
  #cookie-banner {
    transition: transform 0.25s, opacity 0.22s;
  }
}

/* Responsive Design --------------------------------------------------- */
@media (max-width: 1024px) {
  .features-grid, .services-grid, .card-container, .card-grid, .blog-post-list {
    gap: 18px;
  }
  .feature, .service-block, .card, .blog-post-list article {
    min-width: 210px;
    max-width: 49%;
    flex: 1 1 45%;
  }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 9px;
    margin-bottom: 37px;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .features-grid, .services-grid, .card-container, .card-grid, .blog-post-list {
    flex-direction: column;
    gap: 15px;
  }
  .feature, .service-block, .card, .blog-post-list article {
    min-width: 94vw;
    max-width: 100vw;
  }
  .hero {
    padding-top: 28px;
    padding-bottom: 23px;
  }
  .card, .feature, .service-block {
    padding: 16px 7px 14px 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.58rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.07rem; }
  .footer-contact p, .footer-nav a {
    font-size: .96rem;
  }
  .hero .cta-btn, .cta-btn {
    font-size: 1rem;
    padding: 10px 14px;
  }
}

/* Classic/Elegant Design Details ---------------------------------- */
.card, .feature, .service-block, .faq-item, .testimonial-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card {
  background: #fff;
  min-width: 0;
}
.card-container, .card-grid {
  gap: 24px;
}
section {
  background: transparent;
}
section.testimonials {
  background: #f3f5f1;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Accessibility & Focus --------------------------------------------- */
a, button, .cta-btn, .footer-nav a, .main-nav a, .mobile-nav a {
  outline: none;
}
a:focus, .cta-btn:focus, button:focus, .main-nav a:focus, .mobile-nav a:focus, .footer-nav a:focus {
  box-shadow: 0 0 0 3px #d7eecd;
  border-radius: 5px;
}

/* Misc Utility Classes */
.hidden { display: none !important; }

/* Print Optimizations */
@media print {
  header, footer, #cookie-banner, #cookie-modal, .mobile-menu { display: none !important; }
  section, .card, .content-wrapper, .container { background: #fff !important; color: #000 !important; box-shadow: none !important; }
}
