/* === 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,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF;
  color: #2C2622;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input,button,select,textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}
button {
  cursor: pointer;
  background: transparent;
}

/* === BRAND TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #FFF7F0;
  color: #1B2330;
}
h1,
h2,
h3,
h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #1B2330;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .01em;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #31291E;
}
strong,
b {
  font-weight: 700;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(227,199,157,0.10);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 32px;
    border-radius: 18px;
  }
  .container {
    padding: 0 6px;
  }
}

/* === FLEXBOX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(227,199,157,0.14);
  padding: 24px 20px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(190,147,68,0.20);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF3E4;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(244,181,102,0.12);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.17s, background 0.17s;
  color: #1B2330;
}
.testimonial-card:hover {
  background: #FFE7CA;
  box-shadow: 0 6px 16px rgba(244,187,84,0.17);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  padding: 18px 16px;
  border-radius: 18px;
  box-shadow: 0 1px 7px rgba(227,199,157,0.08);
  margin-bottom: 16px;
}

/* === BRAND COLOR SCHEME === */
:root {
  --color-primary: #1B2330;
  --color-secondary: #3E8E41;
  --color-accent: #F6F7F9;
  --color-warm-1: #FFF7F0;
  --color-warm-2: #FFE4BC;
  --color-warm-3: #FFD8A8;
  --color-warm-4: #FFF3E4;
  --color-warm-5: #E7DDCA;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg,#FFA34F,#FF9B48);
  color: #1B2330;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 8px rgba(244,181,102,0.15);
  margin-top: 14px;
  margin-bottom: 14px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  min-width: 150px;
  cursor: pointer;
  gap: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#FFB262,#FFA862);
  box-shadow: 0 4px 18px rgba(187,127,20,0.14);
  color: #1B2330;
  transform: translateY(-2px) scale(1.018);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #3E8E41;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 26px;
  border: 2px solid #3E8E41;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(62,142,65,0.11);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #EAF7EB;
  color: #206d20;
}

.btn-link {
  color: #3E8E41;
  font-weight: 600;
  background: none;
  border: none;
  text-decoration: underline;
  padding: 0;
  transition: color 0.12s;
}
.btn-link:hover, .btn-link:focus {
  color: #2C531E;
}

/* === NAVIGATION === */
header {
  background: #FFF;
  box-shadow: 0 2px 8px rgba(255,172,66,0.06);
  position: relative;
  z-index: 70;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav a {
  color: #3E8E41;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.13s;
}
nav a:hover, nav a:focus {
  background: #FFF3E4;
  color: #1B2330;
}

@media (max-width: 920px) {
  header .container {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    min-height: unset;
  }
  nav { gap: 10px; }
  .btn-primary { margin-left: 0; }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  color: #3E8E41;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  margin-left: 10px;
  position: absolute;
  right: 28px;
  top: 20px;
  z-index: 90;
}
@media (max-width: 1020px) {
  nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255, 247, 240, 0.97);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.49, 0.45, 0.22, 1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 60px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1B2330;
  z-index: 220;
  padding: 4px 9px;
  border-radius: 9px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FFD8A8;
  color: #3E8E41;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 14px 44px;
}
.mobile-nav a {
  font-size: 1.16rem;
  color: #3E8E41;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 11px;
  min-width: 170px;
  transition: background 0.12s, color 0.15s;
}
.mobile-nav a:hover {
  background: #FFD8A8;
  color: #1B2330;
}
@media (min-width:1021px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* === MAIN LAYOUT & SECTIONS === */
main {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 30px;
  min-height: 60vh;
}
section {
  background: var(--color-warm-1);
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(244,181,102,0.09);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
@media (max-width: 768px) {
  section { padding: 22px 4px; margin-bottom: 32px; border-radius: 13px; }
  main { gap: 18px; }
}

/* === HERO SECTION === */
section:first-child {
  background: linear-gradient(105deg, #FFD8A8 0%, #FFF9F3 100%);
  box-shadow: 0 8px 28px rgba(250,198,94,0.10);
  border-radius: 26px;
  margin-bottom: 50px;
}

/* === FEATURES, SERVICE, CARDS === */
.feature-grid, .service-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.feature-grid li, .service-benefits {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFF;
  border-radius: 16px;
  padding: 14px 14px 14px 10px;
  box-shadow: 0 1px 6px rgba(232,187,75,0.10);
  margin-bottom: 10px;
  font-size: 1.04rem;
  color: #1B2330;
}
.feature-grid img, .service-benefits img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #FFF9F3;
  margin-right: 8px;
  border: 1.5px solid #FFD8A8;
  padding: 6px;
}
@media (max-width: 740px) {
  .feature-grid, .service-benefits {
    flex-direction: column;
    gap: 10px;
  }
}

/* === TABLES (Preise) === */
table {
  width: 100%;
  background: #FFF;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 8px rgba(214,158,67,0.11);
}
thead tr {
  background: #FFD8A8;
}
th, td {
  padding: 12px 12px;
  text-align: left;
  font-size: 1rem;
}
th {
  font-family: 'Roboto Slab', serif;
  font-size: 1.12rem;
}
tbody tr:nth-child(even) {
  background: #FFF3E4;
}

/* === LISTS === */
ul, ol {
  padding-left: 18px;
  margin-bottom: 16px;
  list-style: none;
}
ul > li, ol > li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0px;
  color: #252424;
  font-size: 1.01rem;
}
ul > li::before {
  display: inline-block;
  content: '•';
  color: #FFA34F;
  font-weight: bold;
  margin-right: 8px;
}
ul img {
  margin-right: 8px;
}

/* === FOOTER === */
footer {
  background: #FFE7CA;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 18px rgba(232,187,75,0.11);
  color: #1B2330;
  padding: 36px 0 16px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
footer nav {
  flex-direction: column;
  gap: 10px;
}
.footer-contact ul {
  margin: 0;
  padding: 0;
}
.footer-contact li,
.footer-contact img {
  font-size: 1rem;
  color: #3E8E41;
  margin-bottom: 3px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 15px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  background: #FFF9F3;
  border-radius: 50%;
  border: 1.5px solid #FFD8A8;
  transition: box-shadow 0.13s;
}
.footer-social a img:hover {
  box-shadow: 0 3px 8px rgba(244,181,102,0.23);
}
@media (max-width: 900px){
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFD8A8;
  color: #1B2330;
  box-shadow: 0 -2px 12px rgba(232,187,75,0.13);
  padding: 18px 10px 24px 18px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: bannerIn 0.65s cubic-bezier(.52,0,.26,.87);
}
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner button {
  margin-right: 9px;
}
.cookie-consent-banner .btn-primary,
.cookie-consent-banner .btn-secondary {
  font-size: 1rem;
  padding: 9px 24px;
}
.cookie-consent-banner .btn-link {
  font-size: 0.97rem;
  color: #3E8E41;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 400;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,35,48,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFF6EA;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(244,181,102,0.17);
  padding: 32px 24px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPop 0.3s;
}
@keyframes modalPop {
  from { transform: scale(.96) translateY(30px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 1px 4px rgba(227,199,157,0.11);
  padding: 12px 10px 12px 12px;
}
.cookie-category input[type=checkbox] {
  accent-color: #FFA34F;
  width: 18px;
  height: 18px;
}
.cookie-category.category-essential input,
.cookie-category.category-essential label {
  opacity: 0.66;
}
.cookie-category.category-essential label::after {
  content: ' (immer aktiviert)';
  color: #FFA34F;
  font-weight: 500;
  font-size: 0.92em;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.8rem;
  color: #3E8E41;
  background: none;
  border: none;
  border-radius: 9px;
  padding: 2px 10px;
}
.cookie-modal-close:hover {
  background: #FFD8A8;
  color: #1B2330;
}

/* === UTILITY CLASSES === */
.text-section {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 1px 5px rgba(232,187,75,0.10);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.embedded-map-block {
  background: #FFE4BC;
  border-radius: 13px;
  padding: 16px;
  margin-top: 12px;
  color: #171512;
}
.faq-snippet {
  background: #FFF3E4;
  border-radius: 12px;
  padding: 16px;
  margin-top: 10px;
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
a, .btn-primary, .btn-secondary, .btn-link, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.15s, color 0.14s, box-shadow 0.14s, transform 0.13s;
}

/* === RESPONSIVE TYPOGRAPHY/HEADINGS === */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}
@media (max-width: 420px) {
  h1, .hero h1 { font-size: 1.26rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
}

/* === SPACING ADJUSTMENTS === */
section, .section, .card, .testimonial-card, .feature-item, .faq-snippet, .text-section, .embedded-map-block {
  margin-bottom: 20px;
}

/* === INPUT FIELDS (for future forms) === */
input[type=text], input[type=email], textarea {
  width: 100%;
  border: 1.5px solid #FFD8A8;
  border-radius: 14px;
  padding: 11px 12px;
  font-size: 1rem;
  margin-bottom: 14px;
  background: #FFF;
  resize: vertical;
  box-shadow: 0 1px 2px rgba(244,181,102,0.07);
  transition: border-color 0.14s, box-shadow 0.13s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: #FFA34F;
  box-shadow: 0 2px 8px rgba(244,181,102,0.16);
}

/* === FORM BUTTONS === */
form button, form input[type=submit] {
  margin-top: 6px;
}

/* === ACCESSIBILITY FOCUS === */
a:focus, button:focus, input:focus {
  outline: 2px dashed #FFA34F;
  outline-offset: 2px;
}

/* === HEADING HIERARCHY MARGIN === */
h1, h2, h3, h4 { margin-top: 0; margin-bottom: 12px; }

/* === SHARED ICON STYLES === */
img[alt^="Icon"] {
  vertical-align: middle;
}

/* === DARK TEXT FOR TESTIMONIALS/REVIEWS (ACCESSIBILITY) === */
.testimonial-card {
  color: #1B2330;
  background: #FFF3E4;
}
.testimonial-card strong {
  color: #3E8E41;
}

/* === MISCELLANEOUS === */
hr {
  border: none;
  height: 1px;
  background: #FFD8A8;
  margin: 32px 0;
}

/* === PRINT FRIENDLY === */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
  section, .container, main {
    box-shadow: none !important;
    background: #FFF !important;
    color: #121212 !important;
    padding: 0 !important;
  }
}
