/* === CSS RESET & NORMALIZATION === */
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,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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F5F6FA;
  color: #273142;
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.7;
  background: #F5F6FA;
  position: relative;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
ul,ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #7AA5D2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #273142;
  text-decoration: underline;
}
button,input,textarea,select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
}
*:focus {
  outline: 2px solid #C2A878;
  outline-offset: 2px;
}

/* === IMPORT FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* === COLOR VARIABLES / SOFT PASTEL SCHEME === */
:root {
  --primary: #273142;
  --secondary: #C2A878;
  --accent: #F5F6FA;
  --pastel-blue: #B6D8F2;
  --pastel-green: #C8E6C9;
  --pastel-pink: #FADDE1;
  --pastel-yellow: #FFF6D3;
  --pastel-lavender: #e9e4fb;
  --pastel-mint: #D0F5E7;
  --card-bg: #fffdfa;
  --headline: #273142;
  --text: #36435a;
  --shadow: 0 2px 24px 0 rgba(182,187,198,0.12);
}

/* === TYPOGRAPHY === */
h1,h2,h3,h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--headline);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1rem;
}
p, li, address, table, th, td {
  font-size: 1rem;
  color: var(--text);
}
strong {
  font-weight: 700;
  color: var(--primary);
}
.text-section {
  margin-bottom: 24px;
}

/* === LAYOUT & SPACING === */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
main {
  margin-top: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 600px) {
  section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
}

/* === FLEXBOX MANDATORY LAYOUTS === */
.features-grid, .testimonial-container, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px 22px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(182,187,198,0.17);
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: var(--pastel-blue);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-width: 280px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.2s;
  border: 1.5px solid #e6f0fa;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 36px 0 rgba(182,187,198,0.19);
  transform: translateY(-3px) scale(1.012);
}
.testimonial-container {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-lavender);
  border-radius: 16px;
  padding: 24px 18px 22px 18px;
  min-width: 160px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}
.feature-item:hover {
  box-shadow: 0 6px 32px 0 rgba(182,187,198,0.16);
}

/* === CTA BUTTONS === */
.cta-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(90deg, #FADDE1 0%, #B6D8F2 100%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 24px;
  letter-spacing: 0.02em;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.12s;
  box-shadow: 0 2px 8px 0 rgba(182,187,198,0.11);
  border: 1.5px solid #e9e4fb;
  margin-top: 16px;
  margin-bottom: 12px;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #B6D8F2 0%, #C8E6C9 100%);
  color: #0f1924;
  box-shadow: 0 4px 18px 0 rgba(182,187,198,0.14);
  transform: scale(1.033);
}

/* === HEADER/NAVIGATION === */
header {
  background: var(--pastel-yellow);
  box-shadow: 0 1px 9px 0 rgba(182,187,198,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: 0.375em;
  padding-bottom: 0.375em;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header img {
  max-height: 48px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #365175;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 14px;
  padding: 7px 15px;
  transition: background 0.18s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: #FADDE1;
  color: var(--primary);
}
button.mobile-menu-toggle {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 16px;
  font-size: 2rem;
  padding: 6px 14px 8px 14px;
  margin-left: 12px;
  border: 1.5px solid #e9e4fb;
  cursor: pointer;
  display: none;
  transition: background .18s, color .14s;
  z-index: 1012;
}
button.mobile-menu-toggle:hover, button.mobile-menu-toggle:focus {
  background: #B6D8F2;
  color: #36435a;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245, 246, 250, 0.98);
  z-index: 1020;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.74,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 26px 16px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--pastel-pink);
  border-radius: 20px;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 20px;
  padding: 5px 18px;
  cursor: pointer;
  border: 1.5px solid #e9e4fb;
  transition: background 0.14s, color 0.12s;
  z-index: 1050;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFF6D3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.29rem;
  color: #273142;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: left;
  padding: 14px 0 13px 6px;
  border-radius: 12px;
  background: none;
  transition: background 0.17s, color 0.14s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FADDE1;
  color: #365175;
}

@media (max-width: 1020px) {
  header .container nav,
  header .cta-btn {
    display: none !important;
  }
  button.mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  header .container {
    gap: 14px;
  }
}

/* === FOOTER === */
footer {
  background: #f0f1f8;
  padding: 42px 0 28px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -1px 22px 0 rgba(182,187,198,0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #47607a;
  font-size: 1rem;
  padding: 4px 9px;
  border-radius: 10px;
  background: none;
  transition: background 0.12s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #E9E4FB;
  color: #2a3040;
}
.footer-brand img {
  max-width: 54px;
  margin-bottom: 8px;
}
.footer-contact {
  font-size: 0.93rem;
  color: #39505C;
  margin-top: 4px;
}
.footer-contact a {
  color: #273142;
  font-weight: 500;
}

@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-brand { margin-top: 21px; }
}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: 16px;
  margin: 24px 0 16px 0;
  box-shadow: var(--shadow);
}
thead {
  background: #D0F5E7;
}
th, td {
  padding: 14px 14px;
  text-align: left;
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid #FFF6D3;
  background: #D0F5E7;
}
tbody tr {
  border-bottom: 1px solid #F5F6FA;
}
tbody td {
  border-bottom: 1px solid #F5F6FA;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* === ADDRESS & MAP EMBED === */
address {
  margin-bottom: 20px;
  font-style: normal;
  color: #36435a;
  line-height: 1.5;
}
.map-embded {
  background: #EFF7F6;
  border-radius: 10px;
  padding: 20px 10px;
  margin: 1em 0;
  font-size: 1.02em;
  color: #365175;
  box-shadow: var(--shadow);
}

/* === PRICING HIGHLIGHTS === */
.pricing-highlights ul {
  margin-top: 12px;
  margin-left: 0;
  padding-left: 0;
  color: #4e5d73;
}
.pricing-highlights li:before {
  content: '\2022';
  color: #b6d8f2;
  margin-right: 6px;
  font-weight: bold;
}

/* === HERO === */
main section:first-of-type {
  background: linear-gradient(90deg, #E9E4FB 0%, #FFF6D3 100%);
  border-radius: 0 0 30px 30px;
  box-shadow: 0 6px 22px 0 rgba(182,187,198,0.08);
  margin-bottom: 64px;
  padding-top: 52px;
  padding-bottom: 54px;
}
main section:first-of-type .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 630px;
}
main section:first-of-type h1 {
  color: #2A3040;
  font-size: 2.9rem;
}
main section:first-of-type p {
  font-size: 1.18rem;
}
@media (max-width: 600px) {
  main section:first-of-type {
    padding: 38px 10px 35px 10px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 36px;
  }
  main section:first-of-type h1 {
    font-size: 1.6rem;
  }
}

/* === TESTIMONIALS === */
.testimonial-card p {
  font-size: 1.05rem;
  color: #253F5B;
  font-style: italic;
  margin-right: 18px;
  flex: 1;
}
.testimonial-card strong {
  font-size: 1.01em;
  color: var(--secondary);
  font-style: normal;
  min-width: 130px;
}

/* === PROJECT RATINGS (projekte.html) === */
.project-ratings {
  margin-top: 22px;
  background: var(--pastel-lavender);
  padding: 16px 20px;
  border-radius: 9px;
  color: #36435a;
  box-shadow: 0 1px 9px 0 rgba(182,187,198,0.07);
  font-size: 1.07em;
}

/* === BREADCRUMBS (if any) === */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.98rem;
  color: #a0aab4;
}
.breadcrumbs span {
  color: #C2A878;
}

/* === RESPONSIVE: FLEX DIRECTION ON MOBILE === */
@media (max-width: 900px) {
  .features-grid, .testimonial-container, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-brand,
  .footer-contact {
    margin-left: 0 !important;
  }
}
@media (max-width: 800px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .card, .feature-item, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .cta-btn {
    padding: 11px 16px;
    font-size: 1rem;
    border-radius: 17px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: linear-gradient(90deg,#FFF6D3 0%, #E9E4FB 100%);
  box-shadow: 0 -2px 18px 0 rgba(182,187,198,0.14);
  border-radius: 22px 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 26px 16px;
  font-size: 1.04rem;
  transition: transform 0.37s cubic-bezier(.72,0,.26,1);
}
.cookie-banner.hidden {
  transform: translateY(180%);
}
.cookie-banner-content {
  flex: 1;
  min-width: 200px;
  margin-right: 14px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #e9e4fb;
  transition: background 0.16s, color 0.14s, box-shadow 0.15s, transform 0.12s;
}
.cookie-btn.accept {
  background: #C8E6C9;
  color: #273142;
}
.cookie-btn.reject {
  background: #FADDE1;
  color: #273142;
}
.cookie-btn.settings {
  background: #B6D8F2;
  color: #273142;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 4px 16px 0 rgba(182,187,198,0.14);
  transform: scale(1.027);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 6px 19px 6px;
    font-size: 0.99rem;
    gap: 10px;
  }
  .cookie-banner-content {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .cookie-btn {
    padding: 8px 14px;
    border-radius: 12px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(197,210,255,0.38);
  display: none;
  transition: background 0.18s;
}
.cookie-modal-backdrop.active {
  display: block;
  animation: fadeInModalBg 0.23s;
}
@keyframes fadeInModalBg {
  from { background: rgba(197,210,255,0); }
  to   { background: rgba(197,210,255,0.38); }
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 52%;
  transform: translate(-50%, -50%) scale(1);
  background: linear-gradient(120deg,#E9E4FB 0%, #FFF6D3 100%);
  color: #273142;
  z-index: 2200;
  min-width: 320px;
  max-width: 97vw;
  width: 370px;
  border-radius: 26px;
  box-shadow: 0 6px 38px 0 rgba(182,187,198,0.20);
  padding: 32px 22px 20px 22px;
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.26s 1;
}
@keyframes fadeInModal {
  from { transform: translate(-50%,-70%) scale(0.9); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  background: #FFF6D3;
  border-radius: 9px;
  padding: 10px 15px 10px 12px;
}
.cookie-modal .cookie-category:last-child {
  margin-bottom: 0;
}
.cookie-modal .cookie-category-label {
  font-size: 1.03rem;
  color: #253F5B;
  font-weight: 500;
}
.cookie-toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: #E9E4FB;
  border-radius: 15px;
  transition: background 0.15s;
  cursor: pointer;
  margin-left: 12px;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 44px;
  height: 24px;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}
.cookie-toggle-switch .slider {
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  height: 19px;
  width: 19px;
  background: #C8E6C9;
  border-radius: 50%;
  transition: left 0.15s, background 0.16s;
}
.cookie-toggle-switch input:checked + .slider {
  background: #C2A878;
  left: 22px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 17px;
}
.cookie-modal .cookie-btn {
  min-width: 0;
  flex: 1 1 1px;
}
.cookie-modal .cookie-btn.settings {
  background: #B6D8F2;
  color: #273142;
  border-radius: 12px;
}

@media (max-width: 480px) {
  .cookie-modal {
    width: 98vw;
    min-width: unset;
    padding: 19px 3px 13px 6px;
  }
}

/* === UTILITIES === */
.hide, .hidden { display: none !important; }

/* === MICRO-INTERACTIONS === */
.card, .feature-item, .cta-btn, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.2s, background 0.18s, color 0.15s, transform 0.13s;
}

/* === SELECTABLE CATEGORIES (cookie modal) === */
.cookie-category .cookie-category-toggle[disabled] {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-category .cookie-category-label[aria-disabled='true'] {
  color: #bec3cb;
}

/* === FORM ELEMENTS (future proof) === */
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid #E9E4FB;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 9px;
  margin-bottom: 16px;
  background: #FFF;
  color: #273142;
  transition: border 0.15s, box-shadow 0.2s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid #B6D8F2;
  box-shadow: 0 2px 10px 0 rgba(182,187,198,0.14);
}
::placeholder {
  color: #ADC3CE;
  opacity: 1;
}

/* === CUSTOM SCROLLBAR FOR DREAMY/PASTEL LOOK === */
::-webkit-scrollbar {
  width: 10px;
  background-color: #FADDE1;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #E9E4FB;
  border-radius: 7px;
}

/* === ACCESSIBILITY: HIGH CONTRAST ON TESTIMONIALS === */
.testimonial-card,
.testimonial-card p,
.testimonial-card strong {
  color: #273142;
  background: none !important;
  text-shadow: none !important;
}

/* === ERROR/SUCCESS ALERTS (for forms, future proof) === */
.alert {
  padding: 15px 22px;
  border-radius: 11px;
  margin-bottom: 18px;
  font-size: 1.01rem;
}
.alert-success {
  background: #d0f5e7;
  color: #21594a;
}
.alert-error {
  background: #fadde1;
  color: #7d3d3d;
}

/* Ensure min distance between all content cards/sections */
.card:not(:last-child), .feature-item:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 22px;
}

section:not(:last-of-type) {
  margin-bottom: 60px;
}

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