/* ======================== 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F9FB;
  color: #23262B;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/* ======================== SOFT PASTEL VARIABLES ========================= */
:root {
  --primary: #1D2327;
  --secondary: #DAA520;
  --accent: #F7F9FB;
  --pastel-blue: #cbe7f7;
  --pastel-pink: #ffe2ef;
  --pastel-yellow: #f9efd7;
  --pastel-mint: #e0f8f0;
  --pastel-lavender: #e6e6fa;
  --white: #fff;
  --shadow: 0 2px 16px 0 rgba(120, 143, 180, 0.10);
  --danger: #F76C6C;
  --success: #70C8B7;
}

/* ======================== TYPOGRAPHY ========================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--accent);
  color: var(--primary);
}
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
}
p, li, ul {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 24px;
  opacity: 0.85;
}
strong, b {
  font-weight: 600;
}

/* ======================== CONTAINER & LAYOUT ========================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  margin-top: 50px;
  margin-bottom: 0;
  padding: 32px 0 16px 0;
  border-radius: 28px 28px 0 0;
  background: var(--pastel-lavender);
  box-shadow: var(--shadow);
}

.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 {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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 32px 20px 20px;
  background: var(--pastel-blue);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  min-width: 260px;
  max-width: 560px;
  color: #1D2327;
}
.testimonial-card p {
  color: #23262B;
  font-size: 1.1rem;
}
.testimonial-card strong {
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Specific Grids  */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid li {
  background: var(--pastel-mint);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px 18px 18px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--primary);
  font-size: 1.05rem;
  min-width: 240px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}
.feature-list li {
  background: var(--pastel-yellow);
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(240,195,100,.1);
  padding: 14px 18px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  margin-left: 0;
}
.service-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
  margin-left: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 180px;
}
.footer-brand img {
  width: 56px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}

/* ======================== HEADER & NAVIGATION ========================= */
header {
  background: var(--pastel-pink);
  box-shadow: 0 2px 12px 0 rgba(214, 190, 248, 0.10);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}
.main-nav a:hover, .main-nav a:focus {
  border-color: var(--secondary);
  color: var(--secondary);
}
.header-flex img {
  width: 110px;
  height: auto;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
  margin-left: 10px;
  z-index: 1201;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}

/* ======================== BUTTONS ========================= */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  box-shadow: 0 2px 10px 0 rgba(188, 225, 241, 0.07);
  border: none;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(90deg, var(--pastel-blue), var(--pastel-mint), var(--pastel-pink));
  color: var(--primary);
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--pastel-mint), var(--pastel-yellow), var(--pastel-blue));
  color: var(--secondary);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 18px 0 rgba(120, 143, 180, 0.13);
}
.btn-secondary {
  background: var(--pastel-yellow);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px) scale(1.01);
}
.btn[disabled], .btn.disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* ======================== HERO SECTION ========================= */
.hero-section {
  background: linear-gradient(120deg, var(--pastel-blue) 0%, var(--pastel-mint) 100%);
  padding: 48px 0 48px 0;
  min-height: 340px;
  margin-bottom: 54px;
  border-radius: 0 0 3em 3em;
  box-shadow: 0 14px 32px -10px rgba(150, 180, 255, 0.07);
}
.hero-section .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 20px;
}
.hero-section h1 {
  color: var(--primary);
  font-size: 2.75rem;
  margin-bottom: 16px;
}

/* ======================== TESTIMONIALS & CARDS ========================= */
.testimonials-section, .testimonial-section {
  background: var(--pastel-pink);
  border-radius: 2em;
  padding: 32px 0;
  margin-bottom: 60px;
}
/* Testimonials already styled by .testimonial-card above */

/* ======================== SERVICE/CARD LISTS ========================= */
.service-list-section,
.services-section,
.features-section,
.kontakt-info-section,
.cta-section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

/* ======================== COOKIE CONSENT BANNER ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--pastel-blue);
  color: var(--primary);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 8vw 22px 24px;
  box-shadow: 0 0 12px 0 rgba(32,34,78,0.08);
  z-index: 2200;
  border-radius: 20px 20px 0 0;
  animation: cookie-popup 0.6s cubic-bezier(0.6,0.2,0.2,1) 1;
}
@keyframes cookie-popup {
  0% { transform: translateY(110px); opacity: 0; }
  80% { transform: translateY(-12px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 8px;
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  border-radius: 28px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  border: none;
  padding: 11px 22px;
  margin-bottom: 0;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner .accept:hover {
  background: #b9921d;
}
.cookie-banner .reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-banner .reject:hover {
  background: #a63737;
}
.cookie-banner .settings {
  background: var(--pastel-mint);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner .settings:hover {
  background: var(--secondary);
  color: var(--white);
}
/* Modal for cookie settings */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(58, 60, 90, 0.29);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.32s ease 1;
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--pastel-lavender);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 34px 22px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal-content .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-close {
  position: absolute;
  top: 18px;
  right: 12px;
  font-size: 2rem;
  color: var(--danger);
  background: transparent;
  border: none;
  cursor: pointer;
}

/* ======================== MOBILE MENU ========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: var(--pastel-blue);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(110vw);
  opacity: 0;
  transition: transform .35s cubic-bezier(.69,.2,.27,.97), opacity .22s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--danger);
  margin: 26px 30px 18px 0;
  cursor: pointer;
  z-index: 2050;
  transition: color 0.17s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--danger);
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  margin: 28px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  color: var(--primary);
  padding: 6px 0;
  transition: color 0.22s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  border-color: var(--secondary);
}

/* ======================== MEDIA QUERIES ========================= */
@media (max-width: 1130px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 22px 0 10px 0;
  }
}
@media (max-width: 830px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .header-flex {
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 14px; padding-bottom: 14px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .btn {
    padding: 11px 22px;
    font-size: 1rem;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 14px 0 7px 0;
  }
  .section, .hero-section, .testimonials-section, .testimonial-section {
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 26px;
    padding-bottom: 26px;
    border-radius: 24px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid, .feature-list {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    max-width: 97vw; min-width: 0;
    padding-right: 12px;
    padding-left: 10px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .mobile-nav {
    font-size: 1.09rem;
    margin: 13px 0 0 16px;
    gap: 18px;
  }
}
@media (max-width: 545px) {
  h1, .h1 {
    font-size: 1.48rem;
    margin-bottom: 16px;
  }
  h2, .h2 {
    font-size: 1.12rem;
    margin-bottom: 9px;
  }
  .subheadline {
    font-size: 1rem;
    margin-bottom: 14px;
  }
  .footer-brand img {
    width: 40px;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 17px 6vw 17px 10px;
    font-size: 0.94rem;
  }
  .cookie-modal-content {
    padding: 18px 9px 12px 10px;
    min-width: 0;
  }
}

/* ======================== UTILITY CLASSES ========================= */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 4px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.text-center { text-align: center; }

/* ======================== MICRO-INTERACTIONS / HOVERS / FOCUS ========================= */
.btn, .main-nav a, .mobile-nav a, .cookie-banner button, .cookie-modal-content button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s, transform 0.15s;
}
.btn:focus, .main-nav a:focus, .mobile-nav a:focus, .cookie-banner button:focus, .cookie-modal-content button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
a:active {
  opacity: 0.8;
}

/* ======================== MISC ========================= */
::-webkit-input-placeholder { color: #96a1b2; }
::-moz-placeholder { color: #96a1b2; }
:-ms-input-placeholder { color: #96a1b2; }
::placeholder { color: #96a1b2; }

/* Hide scroll on open mobile menu, safe for accessibility (add/remove this on open/close in JS) */
body.mobile-menu-open {
  overflow: hidden;
}
