/* 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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8F9FB;
  color: #153047;
  font-family: 'Open Sans', Arial, Sans-Serif;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 16px; text-align: left; }

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600,700&display=swap');

:root {
  --color-primary: #153047;
  --color-secondary: #FFB81C;
  --color-accent: #F8F9FB;
  --color-brand-blue: #3668A6;
  --color-pink: #FF5CA7;
  --color-green: #48E39B;
  --color-white: #fff;
  --color-black: #21232A;
  --header-height: 74px;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
  transition: background 0.7s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; font-weight: 900; color: var(--color-brand-blue); margin-bottom: 16px; }
h2 { font-size: 2rem; font-weight: 700; color: var(--color-primary); margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 10px; }
h4, h5, h6 { color: var(--color-primary); }

p, ul, ol {
  font-size: 1.08rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.7;
}

strong, b { color: var(--color-brand-blue); font-weight: 700; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 22px;
  box-shadow: 0px 12px 32px 0px rgba(66,90,140,0.05);
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section { padding: 8px 0; }

.text-section ul,
.text-section ol,
.content-wrapper ul,
.content-wrapper ol { padding-left: 22px; margin-bottom: 16px; }

.text-section ul li,
.text-section ol li,
.content-wrapper ul li,
.content-wrapper ol li {
  margin-bottom: 8px;
  position: relative;
  font-size: 1.05em;
}
.text-section ul li::before,
.content-wrapper ul li::before { content: '⦿'; color: var(--color-pink); margin-right: 7px; font-size: 1em; }

.text-section ol li {
  counter-increment: section-ol;
}
.text-section ol {
  counter-reset: section-ol;
}
.text-section ol li::before {
  content: counter(section-ol) '.';
  color: var(--color-brand-blue);
  margin-right: 7px;
  font-size: 1em;
}

/* FEATURE & SERVICE FLEX SECTIONS */
.feature-grid, .service-cards, .service-list, .case-study-grid, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.feature-grid > div, .service-cards > div, .service-list > div, .case-study-grid > div, .faq-list > div {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0px 8px 20px 0 rgba(49,97,132,0.13);
  padding: 24px 20px 20px 20px;
  flex: 1 1 250px;
  min-width: 230px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s;
}

.feature-grid > div:hover,
.service-cards > div:hover,
.service-list > div:hover,
.case-study-grid > div:hover,
.faq-list > div:hover {
  box-shadow: 0 18px 54px 2px rgba(212,76,186,0.12);
  transform: translateY(-5px) scale(1.035) rotate(-1deg);
  z-index: 1;
}

.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 10px var(--color-secondary));
  animation: bounce_in 0.7s ease;
}

@keyframes bounce_in {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

.service-list > div > span {
  font-size: 1.18rem;
  color: var(--color-pink);
  font-weight: 700;
  margin-top: 10px;
}

.case-study-grid {
  gap: 24px;
}
.project-highlight-card {
  background: #fffbe9;
  border-left: 6px solid var(--color-secondary);
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(255, 184, 28, 0.11);
  padding: 20px 20px 16px 20px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s, transform 0.22s;
}
.project-highlight-card:hover {
  box-shadow: 0px 24px 60px 0 rgba(248,93,167,0.12);
  transform: scale(1.023) rotate(0.8deg);
}

.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;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0px 8px 26px rgba(33,45,80,0.12);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 16px 52px 4px rgba(21,48,71,0.13);
  transform: translateY(-3px) scale(1.01);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: 0 4px 22px 0 rgba(255, 184, 28, 0.07);
  margin-bottom: 20px;
  min-width: 260px;
}
.testimonial-card strong {
  color: var(--color-brand-blue);
  font-size: 1.1em;
  font-weight: 700;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: 1em;
  font-weight: 700;
}
.testimonial-card .star-rating {
  font-size: 1.3em;
  color: #FFB81C;
  margin-top: 4px;
  letter-spacing: 0.12em;
}

/* CTA BUTTONS */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(95deg, var(--color-secondary), #F7C873 80%);
  color: var(--color-brand-blue);
  padding: 13px 36px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
  border-radius: 35px 35px 40px 40px;
  font-size: 1.23rem;
  box-shadow: 0 2px 20px 0 rgba(255, 184, 28, 0.09);
  border: 3px solid transparent;
  margin: 14px 0 0 0;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, box-shadow 0.21s, border-color 0.22s, transform 0.29s;
  outline: none;
  z-index: 3;
}
.cta-button:hover, .cta-button:focus {
  color: #fff;
  background: var(--color-pink);
  border-color: var(--color-pink);
  box-shadow: 0 8px 32px 0 rgba(248,93,167,0.16);
  transform: scale(1.03) rotate(-2deg);
}

.cta-button.secondary {
  background: linear-gradient(95deg, var(--color-brand-blue), #5195EA 80%);
  color: #fff;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: var(--color-green);
  color: var(--color-primary);
}

/* HEADER */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 24px 0 rgba(21,48,71,0.08);
  position: sticky;
  z-index: 1040;
  top: 0;
}
header .container {
  min-height: var(--header-height);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-brand-blue);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 6px 9px 6px 9px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
header a img {
  height: 40px; width: auto; margin-right: 8px;
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-pink);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 14px;
  width: 56px; height: 54px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 3px 12px 0 rgba(155,76,186,0.09);
  cursor: pointer;
  z-index: 1050;
  position: fixed;
  right: 18px;
  top: 18px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-brand-blue);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,54,74,0.98);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-101vw);
  transition: transform 0.35s cubic-bezier(.5,1.6,.23,.92);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 8px 44px 5px rgba(49,97,132,0.39);
}
.mobile-menu-close {
  background: var(--color-secondary);
  color: var(--color-brand-blue);
  font-size: 2em;
  border-radius: 22px;
  padding: 6px 18px;
  align-self: flex-end;
  margin: 22px 20px 10px 0;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  z-index: 1210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-pink);
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px 0 38px;
  height: 100%;
  width: 100%;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3em;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--color-white);
  font-weight: 700;
  margin: 0 -10px;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-green);
  color: var(--color-brand-blue);
}

footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 45px 0 30px 0;
  width: 100%;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 34px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: var(--color-accent);
  font-size: 1.04em;
  padding: 3px 0; transition: color 0.12s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-secondary);
  font-size: 1em;
}
footer img {
  height: 48px; width: auto;
}

/* TABLES (preisliste) */
.pricing-table th {
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 1.05em;
  font-weight: 700;
}
.pricing-table tbody tr {
  background: #fff;
  border-bottom: 1px solid #f6e9bf;
  transition: background 0.22s;
}
.pricing-table tbody tr:hover {
  background: #FFE6B7;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1em;
  color: var(--color-primary);
  font-weight: 600;
}
.contact-info img {
  width: 26px; height: 26px;
}
.static-map {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #E8F0FF;
  border-radius: 22px;
  width: 150px;
  height: 96px;
}

/* FAQ ACCORDION CARD STYLE */
.faq-list > div {
  cursor: pointer;
  border: 2px dashed var(--color-secondary);
  transition: border-color 0.19s, box-shadow 0.22s;
}
.faq-list > div:hover {
  border-color: var(--color-pink);
  box-shadow: 0 6px 20px 0 rgba(248,93,167,0.14);
}
.faq-list > div h3 { color: var(--color-brand-blue); }

/* COOKIE CONSENT BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff6d9;
  color: var(--color-primary);
  box-shadow: 0px -2px 16px 3px rgba(255,205,40,0.10);
  width: 100vw;
  padding: 18px 25px 24px 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: consentBannerIn 0.8s cubic-bezier(.5,1.6,.23,.92);
}
@keyframes consentBannerIn {
  0% { transform: translateY(140px); opacity: 0; }
  75% { transform: translateY(-10px); opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-consent-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1em;
  padding: 8px 24px;
  border-radius: 14px;
  background: var(--color-secondary);
  color: var(--color-brand-blue);
  cursor: pointer;
  border: none;
  margin-top: 3px;
  transition: background 0.16s, color 0.15s, transform 0.13s;
  box-shadow: 0 1px 6px 0 rgba(255, 184, 28, 0.13);
}
.cookie-consent-button:hover, .cookie-consent-button:focus {
  background: var(--color-pink);
  color: #fff;
  transform: scale(1.04);
}
.cookie-consent-button.settings {
  background: var(--color-brand-blue);
  color: #fff;
}
.cookie-consent-button.settings:hover,
.cookie-consent-button.settings:focus {
  background: var(--color-green);
  color: var(--color-primary);
}

.cookie-preferences-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%) scale(1);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 72px 10px rgba(21,48,71,0.16);
  z-index: 10021;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 94vw;
  padding: 38px 32px 24px 32px;
  animation: consentModalIn 0.66s cubic-bezier(.5,1.6,.23,.92);
}
@keyframes consentModalIn {
  0% { transform: translate(-50%,-2%) scale(0.8); opacity: 0; }
  85% { transform: translate(-50%,-48%) scale(1.045); opacity: 1; }
  100% { transform: translate(-50%,-52%) scale(1); }
}
.cookie-modal-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25em;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-brand-blue);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-weight: bold;
  color: var(--color-primary);
  cursor: pointer;
  font-size: 1em;
}
.cookie-toggle {
  appearance: none;
  width: 40px; height: 22px;
  background: #ebebeb;
  border-radius: 13px;
  border: 1.5px solid #ddd;
  position: relative;
  outline: none;
  transition: background 0.18s, border-color 0.14s;
}
.cookie-toggle:checked {
  background: var(--color-green);
  border-color: var(--color-green);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(56,148,171,0.08);
  transition: left 0.18s;
}
.cookie-toggle:checked::after {
  left: 20px;
}
.cookie-essential {
  color: var(--color-pink);
  font-size: 1em;
  margin-left: 6px;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal-close {
  background: var(--color-secondary);
  color: var(--color-brand-blue);
  font-family: 'Montserrat', sans-serif;
  border-radius: 14px;
  padding: 7px 24px;
  font-size: 1em;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.12s, transform 0.13s;
  font-weight: 700;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-pink);
  color: #fff;
  transform: scale(1.045);
}

/* ANIMATION micro-interactions */
.cta-button,
.cta-button.secondary,
header nav a,
.mobile-nav a,
.card,
.feature-grid > div,
.service-cards > div,
.case-study-grid > div,
.faq-list > div,
.cookie-consent-button {
  transition: box-shadow 0.18s, color 0.22s, background 0.22s, transform 0.19s;
}

/* Responsive media queries */
@media (max-width: 1020px) {
  .container { max-width: 95vw; }
  footer .container, header .container { flex-direction: column; gap: 18px; align-items: flex-start; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .section { margin-bottom: 36px; padding: 20px 7px; }
  .feature-grid, .service-cards, .service-list, .case-study-grid, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid { flex-direction: column; gap: 16px; }
  .testimonial-card, .card, .project-highlight-card {
    min-width: 0;
    width: 100%;
    padding: 14px;
  }
  .static-map { width: 100px; height: 64px; }
  header nav { display: none !important; }
  .cta-button { padding: 10px 16px; font-size: 1rem; }
  .mobile-menu-toggle { display: flex; }
  .cookie-preferences-modal { min-width: 92vw; padding: 12vw 4vw 5vw 4vw; }
}
/* Always show nav on desktop, hide on mobile, show burger */
@media (max-width: 900px) {
  header nav { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width:901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  header nav { display: flex !important; }
}

/* Utility */
.hide { display: none !important; }

/* Energetic playful touches */
h1::after {
  content: '';
  display: block;
  width: 44px;
  height: 7px;
  background: var(--color-pink);
  border-radius: 8px;
  margin-top: 6px;
  animation: highlightPulse 2s infinite alternate;
}
@keyframes highlightPulse {
  0% { background: var(--color-pink); }
  100% { background: var(--color-secondary); }
}
.feature-grid > div::before {
  content: '';
  position: absolute;
  left: -18px;
  top: -18px;
  width: 30px; height: 30px;
  background: var(--color-green);
  opacity: 0.14;
  border-radius: 50%;
  z-index: 0;
  animation: bubbleFloat 4s infinite both;
}
@keyframes bubbleFloat {
  0% { transform: scale(1.1) translateY(0); opacity: 0.12; }
  70% { transform: scale(1.23) translateY(-18px); opacity: 0.27; }
  98% { opacity: 0.08; }
  100% { opacity: 0.12; }
}

/* Misc spacing for content visually on small screens */
@media (max-width: 500px) {
  h1 { font-size: 1.13rem; }
  .section { padding: 11px 3px; }
  .cookie-consent-banner { padding: 9px 2vw 11px 2vw; font-size: 0.98em; }
  .cookie-preferences-modal { min-width: 99vw; padding: 6vw 3vw 5vw 3vw; }
}

/* visually hidden for accessibility */
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; overscroll-behavior: contain; overflow: hidden!important; padding:0!important; margin:-1px!important; clip: rect(1px, 1px, 1px, 1px)!important; border:0!important; }