/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F7F9;
  color: #27405B;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: #27405B;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB100;
  outline: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: #27405B;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }

p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 24px;
}
strong {
  font-weight: 700;
}
.subheadline { font-size: 1.25rem; color: #27405B; margin-bottom: 28px; }
.privacy-note { font-size: 0.95rem; color: #506283; margin-top: 14px; }

/* === CONTAINER LAYOUTS & SPACING === */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(39,64,91,0.07);
  padding: 24px 18px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(39,64,91,0.16);
  transform: translateY(-4px) 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 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  color: #212E42;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(39,64,91,0.08);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 600px;
}
.testimonial-card .client-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #27405B;
  margin-bottom: 2px;
}
.testimonial-card .testimonial-rating {
  color: #FFB100;
  letter-spacing: 0.2em;
  font-size: 1.2rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 22px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(39,64,91,0.06);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-snippet-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-snippet-list > div {
  flex: 1 1 330px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(39,64,91,0.08);
  padding: 20px 18px;
  margin-bottom: 20px;
}

.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(39,64,91,0.06);
  padding: 22px 18px;
  flex: 1 1 300px;
  min-width: 270px;
  transition: box-shadow 0.15s, transform 0.15s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-article h3 {
  margin-bottom: 12px;
}
.blog-article a {
  margin-top: 8px;
  color: #FFB100;
  font-weight: 500;
  align-self: flex-end;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.blog-article a:hover {
  color: #27405B;
}

.usp-list {
  margin-top: 22px;
  background: #F6F7F9;
  border-left: 4px solid #FFB100;
  border-radius: 10px;
  padding: 20px 16px;
}
.usp-list h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #27405B;
}
.usp-list ul {
  padding-left: 20px;
}

/* === HERO SECTION === */
.hero {
  background: #27405B;
  color: #fff;
  padding-top: 50px;
  padding-bottom: 60px;
  border-radius: 0 0 42px 42px;
  box-shadow: 0 12px 40px rgba(39,64,91,0.17);
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero h1, .hero .subheadline {
  color: #fff;
}
.hero .cta {
  margin-top: 15px;
}

/* === FEATURES SECTION === */
.features {
  background: #F6F7F9;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
}
.feature-grid li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(39,64,91,0.10);
  padding: 28px 18px 20px 18px;
  min-width: 240px;
  max-width: 360px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}

/* === CTA BUTTONS === */
.cta {
  display: inline-block;
  background: #FFB100;
  color: #27405B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 9px;
  padding: 14px 34px;
  margin-top: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(39,64,91,0.11);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, outline 0.13s;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #27405B;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,177,0,0.16);
  outline: 2px solid #FFB100;
  outline-offset: 2px;
}

/* === HEADER / NAV === */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(39,64,91,0.10);
  position: sticky;
  top: 0;
  z-index: 80;
}
header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 12px 20px 12px 20px;
}
.logo img {
  max-height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #27405B;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 10px;
  border-radius: 7px;
  transition: background 0.17s, color 0.16s;
  position: relative;
}
.main-nav a:not(.cta):hover, 
.main-nav a:not(.cta):focus {
  background: #F6F7F9;
  color: #FFB100;
}
.main-nav .cta {
  margin-left: 10px;
}

.mobile-menu-toggle {
  background: #FFB100;
  color: #27405B;
  font-size: 2rem;
  border: none;
  border-radius: 7px;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(39,64,91,0.10);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #27405B;
  color: #fff;
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  width: 100vw;
  height: 100vh;
  background: rgba(39,64,91,0.97);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.61,-0.04,.37,1.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 32px 0 0;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 48px 0 0 40px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 10px 0;
  border-radius: 0px 9px 9px 0px;
  transition: background 0.14s, color 0.14s;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB100;
  color: #27405B;
}

/* === FOOTER === */
footer {
  margin-top: 60px;
  background: #fff;
  border-top: 2px solid #F6F7F9;
  box-shadow: 0 -2px 10px rgba(39,64,91,0.07);
}
.footer-main {
  padding: 48px 20px 24px 20px;
}
.footer-main .container {
  flex-direction: column;
}
.footer-main .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  flex: 2 2 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.footer-nav a {
  color: #27405B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFB100;
}
.footer-legal {
  flex: 1 1 180px;
  color: #506283;
  font-size: 0.96rem;
  margin-bottom: 6px;
}
.footer-legal a {
  color: #506283;
  margin: 0 4px;
  transition: color 0.12s;
}
.footer-legal a:hover, .footer-legal a:focus {
  color: #FFB100;
}
.footer-contact-info {
  flex: 1 1 200px;
  color: #27405B;
  font-size: 1rem;
}
.footer-contact-info img {
  width: 17px;
  margin-right: 7px;
}
.footer-contact-info a {
  color: #27405B;
  font-weight: 500;
  transition: color 0.13s;
}
.footer-contact-info a:hover, .footer-contact-info a:focus { color: #FFB100; }
.footer-brand {
  flex: 2 2 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-brand img {
  max-height: 50px;
  margin-bottom: 5px;
}
.footer-brand span {
  color: #27405B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}
.footer-brand small {
  color: #506283;
  font-size: 0.93rem;
  margin-top: 7px;
}

/* === TABLE (Preisübersicht) === */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(39,64,91,0.09);
  overflow: hidden;
  margin-bottom: 24px;
}
thead tr {
  background: #FFB100;
  color: #27405B;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
}
th, td {
  padding: 15px 13px;
  text-align: left;
  border-bottom: 1px solid #F6F7F9;
  font-size: 1rem;
}
thead th {
  font-size: 1.05rem;
  font-weight: 700;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* === CONTACT INFO SNIPPET === */
.contact-info-snippet {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  color: #27405B;
}
.contact-info-snippet img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
}

/* === COOKIES BANNER + MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9000;
  width: 100vw;
  background: #27405B;
  color: #fff;
  box-shadow: 0 -4px 24px rgba(39,64,91,0.15);
  padding: 24px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.37s cubic-bezier(.6,0,.41,1.17);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 8px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  box-shadow: 0 1px 7px rgba(255,177,0,0.12);
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  padding: 10px 22px;
  cursor: pointer;
  outline: none;
}
.cookie-accept { background: #FFB100; color: #27405B; }
.cookie-accept:hover, .cookie-accept:focus { background: #FFD67A; color: #192837; box-shadow: 0 4px 22px rgba(255,177,0,0.17); }
.cookie-reject { background: #fff; color: #27405B; border: 1px solid #FFB100; }
.cookie-reject:hover, .cookie-reject:focus { background: #27405B; color: #fff; box-shadow: 0 2px 14px rgba(39,64,91,0.16); }
.cookie-settings { background: transparent; color: #FFB100; border: 1px solid #FFB100; }
.cookie-settings:hover, .cookie-settings:focus { background: #FFB100; color: #27405B; }

.cookie-modal-backdrop {
  position: fixed;
  z-index: 9100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,64,91,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #27405B;
  border-radius: 17px;
  box-shadow: 0 4px 32px rgba(39,64,91,0.14);
  padding: 32px 24px 25px 24px;
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.cookie-modal h2 {
  color: #27405B;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-category-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
}
.cookie-toggle {
  accent-color: #FFB100;
  background: #F6F7F9;
  width: 22px;
  height: 22px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #27405B;
  font-size: 1.8rem;
  position: absolute;
  top: 18px;
  right: 23px;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal .cookie-save { background: #FFB100; color: #27405B; }
.cookie-modal .cookie-save:hover { background: #FFD67A; }
.cookie-modal .cookie-cancel { background: #fff; color: #27405B; border: 1px solid #FFB100; }
.cookie-modal .cookie-cancel:hover { background: #27405B; color: #fff; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 1110px) {
  .footer-main .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .footer-contact-info, .footer-brand, .footer-nav, .footer-legal {
    flex-shrink: 0;
    min-width: 200px;
  }
}

@media (max-width: 990px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid, .project-snippet-list, .article-list {
    gap: 17px;
  }
}
@media (max-width: 870px) {
  .main-nav {
    gap: 17px;
  }
  .footer-main .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 820px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .project-snippet-list {
    flex-direction: column;
    gap: 20px;
  }
  .article-list {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.28rem; }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-main .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card-container {
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 620px) {
  .hero { border-radius: 0 0 28px 28px; padding-top: 30px; padding-bottom: 24px; }
  .section { padding: 22px 4px; margin-bottom: 35px; }
}
@media (max-width: 480px) {
  .footer-main { padding: 29px 2px 15px 2px; }
}

/* === MICRO-INTERACTIONS & ANIMATIONS === */
.card, .blog-article, .testimonial-card, .project-snippet-list > div {
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .blog-article:hover, .testimonial-card:hover, .project-snippet-list > div:hover {
  box-shadow: 0 6px 20px rgba(39,64,91,0.13);
  transform: translateY(-3px) scale(1.02);
}
.cta:active, .cookie-accept:active, .cookie-reject:active, .cookie-settings:active, .mobile-menu-toggle:active {
  transform: scale(0.96);
}

/* === GEOMETRIC/STRUCTURED ACCENTS === */
.feature-grid li, .blog-article, .card, .testimonial-card, .project-snippet-list > div {
  border-radius: 13px 30px 13px 30px;
  /* geometric accent corners */
}
.section, .usp-list, .feat-card,
.feature-item, .footer-brand {
  border-radius: 12px;
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.w100 { width: 100%; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.jc-between { justify-content: space-between; }

/* === PRINT SUPPORT === */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  header, footer { box-shadow: none; }
}
