/* =================== 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;
  vertical-align: baseline;
  box-sizing: border-box;
  font: inherit;
}
html {
  line-height: 1.15;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
body {
  background: #F5F5F5;
  color: #263238;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main {
  flex: 1 0 auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
*, *:before, *:after {
  box-sizing: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}
:focus {
  outline: 2px solid #FF1744;
  outline-offset: 2px;
}

/* =================== BRAND VARIABLES =================== */
:root {
  --primary: #263238;
  --secondary: #FF1744;
  --accent: #F5F5F5;
  --accent-dark: #ECECEC;
  --highlight-yellow: #FFE600;
  --highlight-green: #00E676;
  --highlight-blue: #2979FF;
  --danger: #FF3333;
  --white: #fff;
  --shadow: 0 4px 16px rgba(38,50,56,0.10);
  --display-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ================ LAYOUT CONTAINERS & SPACING ================ */
.container {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s; 
}
.card:hover {
  box-shadow: 0 6px 22px rgba(255,23,68,0.22);
}

.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: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(38,50,56,0.10);
  margin-bottom: 24px;
  position: relative;
  border-left: 6px solid var(--secondary);
  color: var(--primary);
  transition: box-shadow .18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(255,23,68,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.faq-list > li {
  background: var(--accent-dark);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(38,50,56,0.07);
  transition: box-shadow .18s;
}
.faq-list > li:hover {
  box-shadow: 0 4px 12px rgba(255,23,68,0.09);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.map {
  border-radius: 12px;
  background: var(--highlight-blue);
  color: var(--white);
  padding: 20px 24px;
  margin-bottom: 20px;
}

/* ===================== BRAND TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.08;
}
h1 {
  font-size: 2.6rem;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 6px;
  color: var(--secondary);
}
h3 {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--primary);
}
h4, h5, h6 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}
body, p, ul, li, a, blockquote {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.65;
}
strong {
  color: var(--secondary);
  font-weight: 700;
}
blockquote {
  color: var(--primary);
  font-style: italic;
  border-left: 5px solid var(--secondary);
  padding-left: 16px;
  margin-bottom: 8px;
}

/* =========== HERO SECTION =========== */
.hero {
  background: linear-gradient(96deg, var(--secondary) 0%, var(--highlight-blue) 110%);
  color: var(--white);
  position: relative;
  margin-bottom: 60px;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 32px rgba(38,50,56,0.06);
  padding: 60px 0 40px 0;
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
}
.hero h1, .hero p {
  color: var(--white);
  text-shadow: 0 3px 24px rgba(38,50,56,0.16);
}
.hero h1 {
  font-size: 2.2rem;
}
.hero p {
  font-size: 1.17rem;
  margin: 14px 0 28px 0;
}

/* =========== CTA BUTTONS =========== */
.cta,
.cta:visited {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 32px;
  border-radius: 34px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 16px rgba(255,23,68,0.13);
  letter-spacing: 0.5px;
  border: none;
  transition: background .18s, box-shadow .20s, transform .12s;
  cursor: pointer;
  position: relative;
  text-align: center;
  z-index: 1;
}
.cta:hover, .cta:focus {
  background: var(--highlight-yellow);
  color: var(--primary);
  box-shadow: 0 6px 24px rgba(255,23,68,0.23);
  transform: translateY(-2px) scale(1.03);
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(38,50,56,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
header img {
  max-height: 42px;
}

/* ========== BURGER MENU (MOBILE NAVIGATION) ========== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  padding: 8px 14px;
  color: var(--secondary);
  background: var(--accent-dark);
  border-radius: 14px;
  transition: background .15s;
  z-index: 120;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--white);
}
.mobile-menu {
  position: fixed;
  z-index: 1201;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(38,50,56,0.93);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .33s cubic-bezier(.8,.34,.33,1.43), opacity .25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  color: var(--highlight-yellow);
  font-size: 2.1rem;
  padding: 18px;
  border: none;
  margin-top: 24px;
  margin-right: 24px;
  transition: color .17s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  margin-top: 40px;
  margin-right: 38px;
}
.mobile-nav a {
  color: var(--highlight-yellow);
  font-family: var(--display-font);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  padding: 10px 16px;
  border-radius: 12px;
  transition: background .15s, color .14s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ====================== FEATURES ====================== */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  margin-top: 14px;
}
.features ul li {
  background: var(--accent-dark);
  border-radius: 18px;
  box-shadow: 0 1px 5px rgba(38,50,56,0.05);
  padding: 20px 22px 24px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 298px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  transition: box-shadow .17s;
  margin-bottom: 20px;
}
.features ul li img {
  max-height: 44px;
}
.features ul li h3 {
  color: var(--secondary);
  font-size: 1.13rem;
}
.features ul li:hover {
  box-shadow: 0 4px 12px rgba(255,23,68,0.11);
  background: var(--highlight-yellow);
}

/* ================ SERVICES OVERVIEW ================ */
.services-overview ul,
.services-detail ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 30px 0;
  align-items: stretch;
}
.services-overview ul li,
.services-detail ul li {
  background: var(--accent-dark);
  border-radius: 18px;
  padding: 22px 26px 22px 22px;
  box-shadow: 0 1px 5px rgba(38,50,56,0.05);
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow .17s;
  position: relative;
}
.services-overview ul li h3, .services-detail ul li h2 {
  color: var(--highlight-blue);
  font-size: 1.1rem;
}
.services-overview ul li:hover, .services-detail ul li:hover {
  box-shadow: 0 7px 22px rgba(41,121,255,0.09);
  background: var(--highlight-green);
}
.services-detail ul li strong {
  color: var(--danger);
}

/* =================== TESTIMONIALS =================== */
.testimonials, .testimonials-projects {
  background: var(--highlight-yellow);
  margin-bottom: 60px;
  border-radius: 24px;
  padding: 40px 20px;
}
.testimonials .testimonial-card,
.testimonials-projects .testimonial-card {
  margin-bottom: 24px;
  background: var(--white);
  color: var(--primary);
}
.testimonials .testimonial-card strong,
.testimonials-projects .testimonial-card strong {
  display: block;
  color: var(--highlight-blue);
  margin-top: 10px;
  font-size: 1.08rem;
  font-weight: 800;
}

/* =============== ABOUT / COOKIE/ LEGAL =============== */
.about, .datenschutz, .gdpr, .cookie-policy, .terms-service, .thank-you, .contact {
  background: var(--accent-dark);
  margin-bottom: 60px;
  border-radius: 22px;
  padding: 40px 20px;
}

.about h1, .thank-you h1, .gdpr h1, .datenschutz h1
{ color: var(--secondary); }

.datenschutz a, .gdpr a, .cookie-policy a, .terms-service a {
  color: var(--highlight-blue);
  text-decoration: underline;
  transition: color .15s;
}
.datenschutz a:hover, .gdpr a:hover, .cookie-policy a:hover {
  color: var(--secondary);
}

/* ============= FOOTER ============= */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 0 0 0 0;
  margin-top: 80px;
}
.footer-top {
  border-bottom: 1.5px solid rgba(245,245,245,0.12);
  padding: 30px 0 16px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.footer-top img {
  max-height: 40px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-menu a {
  color: var(--accent);
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color .14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--highlight-yellow);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  padding: 24px 0;
}
.contact-info {
  color: var(--accent);
  font-size: 1rem;
  font-family: var(--body-font);
  font-weight: 400;
}
.contact-info a {
  color: var(--highlight-blue);
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 4px;
}
.social-links a {
  background: var(--secondary);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  transition: background .14s;
}
.social-links a:hover {
  background: var(--highlight-green);
}
.social-links img {
  height: 26px;
  width: 26px;
  filter: brightness(1.1);
}

/* ============= COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 -4px 26px rgba(38,50,56,0.17);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  justify-content: center;
  padding: 18px 22px;
  transition: transform .32s cubic-bezier(.8,.58,0,1.35), opacity .22s;
  opacity: 0;
  transform: translateY(110%);
  visibility: hidden;
}
.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cookie-banner-message {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1px;
  max-width: 500px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  border-radius: 25px;
  padding: 10px 24px;
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  margin: 0 3px;
  cursor: pointer;
  transition: background .17s, color .13s, transform .11s;
}
.cookie-btn.accept {
  background: var(--highlight-green);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--secondary);
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--highlight-yellow);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 3px 10px rgba(255,23,68,0.10);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3200;
  transform: translate(-50%, -50%) scale(0.97);
  background: var(--white);
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 4px 40px rgba(41,121,255,0.17);
  width: 95vw;
  max-width: 410px;
  padding: 30px 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .17s, transform .23s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1.03);
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-close {
  font-size: 1.4rem;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--highlight-blue);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 14px 0;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  height: 20px;
  width: 38px;
  background: #ddd;
  border-radius: 14px;
  position: relative;
  transition: background .15s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  height: 16px;
  width: 16px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left .17s;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 10px;
}

/* ============= RESPONSIVE & FLEXBOX MEDIA QUERIES ============= */
@media (max-width: 1024px) {
  .container {
    max-width: 920px;
  }
  .features ul,
  .services-overview ul, .services-detail ul {
    gap: 18px;
  }
  .footer-menu {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }
  .footer-bottom, .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 12px;
  }
  .hero {
    padding: 36px 0 16px 0;
    border-radius: 0 0 24px 24px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section, .about, .datenschutz, .gdpr, .cookie-policy, .terms-service, .thank-you, .contact, .testimonials {
    padding: 24px 4px;
    border-radius: 12px;
  }
  .features ul, .card-container, .services-overview ul, .services-detail ul {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-grid, .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-menu {
    gap: 8px;
  }
  .testimonials, .testimonials-projects {
    padding: 20px 4px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.18rem;
  }
  h2 {
    font-size: 1rem;
  }
  .cookie-banner{
    flex-direction: column;
    padding: 12px 2px;
    gap: 14px;
    align-items: flex-start;
  }
  .cookie-banner-message {
    font-size: 1rem;
    max-width: 94vw;
  }
}

/* ====== UTILITIES ====== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}
.hide {
  display: none !important;
  visibility: hidden !important;
}
.show {
  display: block !important;
  visibility: visible !important;
}
/* ====== MICRO-INTERACTIONS ====== */
.card,
.features ul li,
.services-overview ul li,
.services-detail ul li,
.faq-list > li,
.testimonial-card {
  transition: box-shadow .16s, background .14s, transform .13s;
}
.card:hover,
.features ul li:hover,
.services-overview ul li:hover,
.services-detail ul li:hover,
.faq-list > li:hover,
.testimonial-card:hover {
  transform: translateY(-1.5px) scale(1.011);
  box-shadow: 0 8px 26px rgba(255,23,68,0.13);
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar {
  width: 8px;
  background: var(--accent-dark);
}
::-webkit-scrollbar-thumb {
  background: #FF174460;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

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