/* RESET & BASE STYLES */
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;
  min-height: 100vh;
  background: #fff8fa;
  color: #22323F;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #227e75;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #044D40;
  text-decoration: underline;
}
ul, ol {
  list-style: disc inside;
  margin-left: 0;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #E3C24F;
  outline-offset: 2px;
}

/* COLOR PALETTE: Soft Pastel */
:root {
  --brand-primary: #044D40; /* dark emerald */
  --brand-secondary: #E3C24F; /* pastel gold */
  --brand-accent: #FFFFFF;
  --pastel-peach: #FFEEE9;
  --pastel-mint: #D8F6ED;
  --pastel-lilac: #F7E9FF;
  --pastel-yellow: #FCF8E6;
  --pastel-pink: #FFE7F1;
  --brand-bg: #FFF8FA;
  --text-main: #22323F;
  --text-muted: #7C8A97;
  --shadow: 0 4px 20px rgba(196,184,223,0.08);
}

/* TYPOGRAPHY SCALE & CLASSES */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  color: var(--brand-primary);
  font-weight: 700;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-lilac);
  border-radius: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}
.section:nth-child(even) {
  background: var(--pastel-pink);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--pastel-mint);
  margin-bottom: 20px;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 24px rgba(52, 147, 105, 0.12);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-yellow);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(220,203,142,0.15);
  transition: box-shadow 0.15s;
  color: #37353D;
  font-size: 1.05rem;
}
.testimonial-card p {
  color: #2d272d;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--brand-primary);
  margin-left: 12px;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* BUTTONS & CTAS */
.cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #E7EAFD, #FDECEC 90%);
  color: var(--brand-primary);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 2rem;
  border: none;
  padding: 14px 34px;
  box-shadow: 0 4px 16px rgba(156, 223, 221, 0.09);
  margin-top: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.22s, box-shadow 0.22s, transform 0.13s;
  text-shadow: none;
}
.cta-button.primary {
  background: linear-gradient(90deg, #D8F6ED 50%, #FFEEE9 100%);
  color: var(--brand-primary);
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: linear-gradient(90deg, #E3C24F 30%, #D8F6ED 100%);
  color: #22323F;
  box-shadow: 0 8px 32px rgba(210, 196, 83, 0.13);
  transform: translateY(-2px) scale(1.031);
}
.cta-button:active {
  transform: scale(0.99);
  background: #FCF8E6;
}

/* HEADER & MAIN NAVIGATION */
header {
  padding: 0;
  background: linear-gradient(90deg, #FDECEC 0%, #F7E9FF 100%);
  border-bottom: 1px solid #FAE8E5;
  box-shadow: 0 4px 12px rgba(164, 166, 195, 0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-top: 0;
  padding-bottom: 0;
}
header img {
  height: 44px;
  margin-right: 24px;
}
nav {
  display: flex;
  gap: 24px;
}
nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--brand-primary);
  opacity: 0.86;
  padding: 4px 8px;
  border-radius: 8px;
  position: relative;
  transition: background 0.13s, color 0.17s;
}
nav a:hover, nav a:focus {
  background: var(--pastel-pink);
  color: var(--brand-secondary);
  opacity: 1;
}
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-pink);
  border-radius: 50%;
  padding: 10px 13px;
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--brand-primary);
  border: none;
  box-shadow: 0 2px 8px rgba(223,127,127,0.09);
  transition: background 0.17s, box-shadow 0.14s;
  margin-left: 18px;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--pastel-mint);
  color: var(--brand-secondary);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, #F6EBFF 15%, #FFEEE9 89%);
  box-shadow: 0 0 80px 18px rgba(164,97,145,0.16);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--brand-primary);
  background: var(--pastel-pink);
  border-radius: 50%;
  align-self: flex-end;
  margin: 26px 28px 0 0;
  padding: 8px 16px;
  transition: background 0.11s;
  z-index: 10001;
  border: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 48px 0 0 38px;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 14px 12px;
  border-radius: 12px;
  transition: background 0.17s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-mint);
  color: var(--brand-secondary);
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: linear-gradient(90deg, #FFE7F1 70%, #FDECEC);
  color: var(--brand-primary);
  box-shadow: 0 -4px 22px rgba(140,120,140,0.10);
  padding: 26px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  z-index: 99999;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 24px 24px 0 0;
  transition: transform 0.4s;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 60%;
  max-width: 700px;
  color: var(--brand-primary);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Lato', Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 2rem;
  border: none;
  font-size: 1rem;
  margin: 0 2px;
  font-weight: 700;
  cursor: pointer;
  background: var(--pastel-lilac);
  color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(226,194,79,0.04);
  transition: background 0.14s, color 0.14s;
}
.cookie-banner button.accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner button.reject {
  background: var(--pastel-pink);
  color: var(--brand-primary);
}
.cookie-banner button.reject:hover {
  background: #eebdb9;
  color: var(--brand-secondary);
}
.cookie-banner button.settings {
  background: var(--pastel-mint);
  color: var(--brand-primary);
}
.cookie-banner button.settings:hover {
  background: var(--brand-secondary);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(41, 30, 60, 0.25);
  z-index: 100001;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadeIn 0.38s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 38px 30px 28px 30px;
  border-radius: 28px;
  box-shadow: 0 6px 40px 8px rgba(184,123,168, 0.17);
  max-width: 420px;
  width: 95%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-family: 'Playfair Display', serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cookie-category input[type=checkbox]:disabled + label {
  opacity: 0.62;
}
.cookie-modal-content .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #F7E9FF 0%, #D8F6ED 100%);
  padding: 36px 0 20px 0;
  border-top: 1.5px solid #f2e5f5;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
footer img {
  height: 38px;
}
footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto 6px auto;
}
footer nav a {
  color: var(--brand-primary);
  font-size: 1rem;
  opacity: 0.8;
  padding: 2px 6px;
  border-radius: 7px;
  transition: background 0.10s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-secondary);
  background: var(--pastel-pink);
}
footer p {
  color: var(--text-muted);
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0;
  opacity: 0.87;
}
footer img[alt="Telefon"], footer img[alt="E-Mail"] {
  height: 16px;
  vertical-align: middle;
  margin: 0 3px 2px 4px;
}

/* ------ GENERAL SPACING RULES ------ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FORM ELEMENTS (Kontakt) */
input[type="text"],
input[type="email"],
textarea {
  border-radius: 13px;
  border: 1.5px solid #E7EAFD;
  padding: 14px 12px;
  font-size: 1.08rem;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.14s;
  background: var(--pastel-mint);
  color: var(--brand-primary);
}
input:focus, textarea:focus {
  border: 1.5px solid var(--brand-secondary);
}
label {
  font-size: 1.02rem;
  margin-bottom: 7px;
  color: var(--brand-primary);
}

/* LIST ICONS ETC */
ul li img, li img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ------- RESPONSIVE DESIGN ------- */
@media (max-width: 1100px) {
  .container {
    max-width: 99vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 992px) {
  .content-grid {
    gap: 14px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.48rem;
  }
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 7px;
    margin-bottom: 36px;
    border-radius: 19px;
  }
  header .container {
    height: 62px;
    padding: 0 8px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  footer nav {
    gap: 7px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .testimonial-card {
    font-size: 0.98rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 7px 15px 7px;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 9px 12px;
  }
  .cookie-modal-content {
    padding: 18px 10px 14px 10px;
    border-radius: 16px;
  }
  .cookie-modal-content h3 {
    font-size: 1.15rem;
  }
}
@media (max-width: 500px) {
  html, body {
    font-size: 15px;
  }
  header img, footer img {
    height: 30px !important;
  }
  h1, .h1 {font-size: 1.49rem;}
  h2, .h2 {font-size: 1.16rem;}
  .cta-button, .cta-button.primary {
    font-size: 0.98rem;
    padding: 9px 18px;
  }
}

/* ---- MICRO-INTERACTIONS ---- */
.card, .testimonial-card, .cta-button, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.22s, transform 0.15s, background 0.14s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.mt-28 { margin-top: 28px; }
.mr-20 { margin-right: 20px; }
.gap-24 { gap: 24px; }

/* ---- ACCESSIBILITY ---- */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ---- BRAND FONT IMPORT ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Lato:wght@400;700&display=swap');
