/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
body {
  background-color: #F7F7F7;
  color: #2D3A5E;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #4D6699;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E55B00;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
ul li, ol li {
  margin-bottom: 12px;
}
button { font-family: inherit; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #2D3A5E;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem; }
p, .text-section p, .content-wrapper p { font-size: 1.125rem; margin-bottom: 18px; }
strong { font-weight: 600; color: #2D3A5E; }

@media (max-width:600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  p, .text-section p { font-size: 1rem; }
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(77,102,153,0.07), 0 1.5px 7px 0 rgba(77,102,153,0.04);
  padding: 40px 28px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@media (max-width:900px) {
  .container, .content-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width:600px) {
  .container, .content-wrapper {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .section {
    padding: 24px 7px;
  }
}

/* FLEXBOX PATTERNS & UTILITY CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  background: #FFF;
  box-shadow: 0 1.5px 8px 0 rgba(77,102,153,0.06);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.17s, box-shadow 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(77,102,153,0.14), 0 4px 18px 0 rgba(77,102,153,0.10);
  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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F7F7F7;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px 0 rgba(77,102,153,0.09);
  padding: 24px 28px;
  margin-bottom: 22px;
  min-width: 0;
  color: #2D3A5E;
}
.testimonial-card strong {
  margin-top: 4px;
  font-weight: 700;
  color: #4D6699;
}
.stars {
  letter-spacing: 1.5px;
  color: #E55B00;
  font-size: 1.45rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER */
header {
  background: #FFFFFF;
  border-bottom: 1.5px solid #EDEDEF;
  box-shadow: 0 2px 12px 0 rgba(77,102,153,0.04);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2D3A5E;
  letter-spacing: 0.01em;
  padding: 3px 0px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #E55B00;
  border-bottom: 2px solid #E55B00;
}
.cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 12px 26px;
  font-size: 1.13rem;
  font-weight: 600;
  background: #4D6699;
  color: #FFFFFF;
  border: none;
  border-radius: 24px;
  margin-left: 24px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px 0 rgba(77,102,153,0.12);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.18s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #2D3A5E;
  color: #FFF;
  box-shadow: 0 8px 24px 0 rgba(77,102,153,0.18);
  transform: scale(1.04);
}
@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
  .cta-button {
    margin-left: 8px;
    padding: 10px 20px;
    font-size: 1.08rem;
  }
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2D3A5E;
  cursor: pointer;
  margin-left: 24px;
  padding: 7px;
  border-radius: 8px;
  transition: background 0.16s;
  z-index: 210;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E5EAF6;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F7F7F7;
  box-shadow: 0 0 50px 10px rgba(45,58,94,0.080);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 28px 0 0;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.77,0.2,0.05,1.0);
  z-index: 600;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: none;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 22px 14px 0;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2D3A5E;
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
  border-radius: 7px;
  padding: 4px 7px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #E55B00;
  background: #E5EAF6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-left: 34px;
}
.mobile-nav a {
  display: block;
  font-size: 1.2rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #2D3A5E;
  margin: 11px 0;
  padding: 9px 5px;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4D6699;
  color: #FFF;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline;
  }
  .cta-button {
    display: none;
  }
}
@media (max-width: 600px) {
  .mobile-menu {
    padding: 0 0px 0 0;
  }
  .mobile-nav {
    gap: 15px;
    margin-left: 19px;
  }
  .mobile-nav a {
    font-size: 1rem;
    padding: 9px 3px;
  }
}

/* FOOTER */
footer {
  background: #4D6699;
  color: #FFF;
  padding-top: 32px;
  padding-bottom: 28px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.footer-nav a {
  color: #FFF;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color .13s, border-color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E55B00;
  border-bottom: 2px solid #E55B00;
}
.contact-info {
  font-size: 1rem;
  color: #FFF;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  margin-top: 14px;
}
.contact-info img {
  height: 17px;
  width: 17px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: -3px;
}
@media (max-width:750px){
  footer .container {
    flex-direction: column;
    gap: 10px;
  }
}

/* SERVICES/FEATURES LISTS */
.feature-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  margin-bottom: 12px;
}
.feature-list li, .service-list li {
  background: #F7F7F7;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px 0 rgba(77,102,153,.08);
  padding: 24px 18px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: box-shadow .15s, transform .15s;
  margin-bottom: 20px;
}
.feature-list li:hover, .service-list li:hover {
  box-shadow: 0 6px 18px 0 rgba(77,102,153,0.12), 0 2px 10px 0 rgba(77,102,153,0.09);
  transform: translateY(-2px) scale(1.012);
}
.feature-list img, .service-list img {
  height: 38px;
  width: 38px;
  margin-bottom: 11px;
}
.service-price {
  font-size: 1.07rem;
  font-weight: 600;
  color: #E55B00;
  margin-left: 6px;
}

@media (max-width: 950px) {
  .feature-list, .service-list {
    flex-direction: column;
    gap: 13px;
  }
  .feature-list li, .service-list li {
    max-width: none;
    flex-basis: 100%;
  }
}

/* TABLES (Preise) */
.service-pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 30px;
  background: #F7F7F7;
  border-radius: 12px;
  overflow: hidden;
  font-size: 1.13rem;
}
.service-pricing-table th, .service-pricing-table td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1.5px solid #E5EAF6;
}
.service-pricing-table th {
  background: #4D6699;
  color: #FFF;
  font-weight: 600;
}
.service-pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width:500px){
  .service-pricing-table th, .service-pricing-table td {
    font-size: 0.92rem;
    padding: 7px 3px;
  }
}

/* HIGHLIGHT LISTS (Galerie) */
.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.highlight-list .text-section {
  background: #F7F7F7;
  border-radius: 9px;
  box-shadow: 0 1px 7px 0 rgba(77,102,153,0.08);
  padding: 28px 22px;
  min-width: 0;
  flex: 1 1 240px;
}

@media (max-width:900px) {
  .highlight-list {
    flex-direction: column;
    gap: 12px;
  }
}

/* BUTTONS */
button, .button, input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  padding: 11px 22px;
  background-color: #4D6699;
  color: #FFF;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.15s, transform 0.14s;
  margin-right: 7px;
  outline: none;
}
button:hover, button:focus, .button:hover, .button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background-color: #2D3A5E;
  box-shadow: 0 4px 18px 0 rgba(77,102,153,0.18);
  color: #FFF;
  transform: scale(1.03);
}

/* FORMS (if present) */
input, textarea, select {
  padding: 8px 12px;
  border: 1.5px solid #C5CCDF;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1.08rem;
  margin-bottom: 14px;
  width: 100%;
  max-width: 480px;
  transition: border-color .14s;
  background: #FFF;
}
input:focus, textarea:focus, select:focus {
  border-color: #4D6699;
  outline: none;
}

/* MISC */
.pricing-notes {
  color: #4D6699;
  margin-top: 24px;
  font-size: 0.98rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: #2D3A5E;
  color: #FFF;
  padding: 26px 18px 22px 22px;
  z-index: 999;
  box-shadow: 0 -4px 32px 0 rgba(77,102,153,0.13);
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0.97;
  font-size: 1rem;
  transition: transform .32s cubic-bezier(.77,.2,.05,1.0);
  animation: banner-in 0.5s cubic-bezier(.7,1.3,.37,1) forwards;
}
@keyframes banner-in { from { transform: translateY(125px);} to { transform: none; } }
.cookie-banner__text {
  flex: 1 1 220px;
  margin-bottom: 8px;
  min-width: 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-top: 5px;
}
.cookie-banner .accept-btn {
  background: #E55B00;
  color: #FFF;
  padding: 11px 22px;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #4D6699;
  color: #FFF;
}
.cookie-banner .reject-btn {
  background: transparent;
  color: #E55B00;
  border: 2px solid #E55B00;
  padding: 11px 20px;
  transition: background .15s, color .15s;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #E55B00;
  color: #FFF;
}
.cookie-banner .settings-btn {
  background: #4D6699;
  color: #FFF;
  padding: 10px 19px;
  border-radius: 20px;
  box-shadow: none;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #E55B00;
  color: #FFF;
}
@media (max-width: 768px){
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    padding: 13px 6px 16px 8px;
    font-size: 0.99rem;
  }
  .cookie-banner__actions {
    gap: 7px;
    flex-direction: column;
    align-items:flex-start;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 2000;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1.05);
  background: #FFF;
  color: #2D3A5E;
  padding: 38px 34px 26px 34px;
  border-radius: 20px;
  box-shadow: 0 24px 80px 10px rgba(45,58,94,0.16), 0 8px 28px 0 rgba(77,102,153,0.12);
  max-width: 375px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 1;
  animation: modal-in .36s cubic-bezier(.77,.2,.05,1.0) both;
}
@keyframes modal-in { from { transform: translate(-50%,-30%) scale(0.91);} to {transform:translate(-50%, -50%) scale(1.05);} }
.cookie-modal h2, .cookie-modal h3 {
  color: #2D3A5E;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal .modal-close {
  align-self: flex-end;
  background: none;
  color: #2D3A5E;
  border: none;
  font-size: 1.45rem;
  margin-bottom: 5px;
  margin-right: -7px;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover {
  color: #E55B00;
}
.cookie-modal .modal-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #4D6699;
  width: 17px;
  height: 17px;
}
@media(max-width:520px){
  .cookie-modal {
    padding: 17px 4px 14px 10px;
  }
}

/* RESPONSIVE: CONTENT SPACING */
@media (max-width: 690px) {
  .content-wrapper {
    padding: 16px 6px;
  }
  .testimonial-card, .highlight-list .text-section, .feature-list li, .service-list li {
    padding: 14px 5px;
    font-size: 0.99rem;
  }
}

/* ACCESSIBILITY: FOCUS RING & CONTRAST HANDLING */
a:focus, button:focus, input:focus, .cta-button:focus {
  outline: 2.5px solid #E55B00;
  outline-offset: 2px;
}

/* GENERAL: SPACING & VISUAL HIERARCHY */
section + section {
  margin-top: 50px;
}

/* UTILITY: CLEARFIX FOR FLEX FALLOUTS */
.clearfix:after {content:"";display:table;clear:both;}

/* PRINT: HIDE NAV & FOOTER */
@media print {
  header,.main-nav,footer,.cookie-banner,.mobile-menu{ display: none!important; }
}
