/* 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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F2ED;
  color: #254385;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.6,0.2,0.2,1);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* BRAND COLORS */
:root {
  --brand-primary: #254385;
  --brand-secondary: #F5F2ED;
  --brand-accent: #E2B857;
  --brand-accent2: #F25F5C;
  --brand-accent3: #38C4C0;
  --brand-info: #fffbe9;
  --gray-light: #f7f9fb;
  --gray-medium: #e0e4ea;
  --gray-dark: #546270;
  --text-dark: #254385;
  --text-light: #fff;
}

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

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: -1px;
  color: var(--brand-primary);
  margin-bottom: 16px;
  line-height: 1.16;
  word-break: break-word;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--brand-primary);
  margin-bottom: 16px;
  line-height: 1.18;
  position: relative;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand-primary);
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.subheadline {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-accent2);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}

p, li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  font-family: 'Open Sans', Arial, sans-serif;
}
strong {
  font-weight: 700;
}

/* SPACING & LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 5px 28px -10px #25438523, 0 2px 6px #e2b85711;
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 12px 36px -6px #25438538, 0 4px 12px #ffe2af33;
  transform: translateY(-4px) scale(1.01);
}

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

.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: center;
  gap: 20px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: 36px;
  box-shadow: 0 2px 8px #25438518;
  margin-bottom: 24px;
  border-left: 6px solid var(--brand-accent);
  position: relative;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card span {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.testimonial-card p {
  color: #212c46;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px #25438526;
  transform: scale(1.03) rotate(-1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTIONS */
.hero {
  padding: 48px 0 36px 0;
  background: var(--brand-accent3);
  color: var(--brand-primary);
  border-radius: 0 0 60px 60px;
  box-shadow: 0 12px 32px #e2b85720 inset;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero h1, .hero .subheadline {
  text-align: center;
  color: white !important;
}
footer p {
  color: white;
}

.about-hero, .leistungen-hero, .hundefriseur-hero, .katzenpflege-hero, .zubehoer-hero, .kontakt-hero {
  background: var(--brand-accent2);
  color: var(--brand-secondary);
  box-shadow: 0 20px 40px #e2b85715 inset;
}
.katzenpflege-hero, .cta-cat {
  background: #F25F5C;
  color: #fff;
}
.zubehoer-hero {
  background: #38C4C0;
  color: #254385;
}
.cta-dog {
  background: #E2B857;
  color: #254385;
}
.cta-contact {
  background: #fffbe9;
  color: #254385;
  border-radius: 36px;
  box-shadow: 0 1px 6px #e2b85722;
  margin-top: 32px;
}
.cta-produkte {
  background: #38C4C0;
  color: #254385;
}

@media (max-width: 768px) {
  .hero, .about-hero, .leistungen-hero, .hundefriseur-hero, .katzenpflege-hero, .zubehoer-hero, .kontakt-hero {
    padding: 32px 0 20px 0;
    border-radius: 0 0 36px 36px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .subheadline {
    font-size: 1rem;
  }
  .container {
    padding: 0 10px;
  }
}

/* MAIN NAVBAR */
header {
  background: var(--brand-secondary);
  box-shadow: 0 1px 8px #25438511;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 22px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-accent3);
  color: #fff;
  box-shadow: 0 1px 6px #25438518;
}
.main-nav .cta.primary {
  background: var(--brand-accent);
  color: var(--brand-primary);
  box-shadow: 0 3px 16px #e2b85755;
  font-size: 1.05rem;
  margin-left: 12px;
  transition: transform 0.14s cubic-bezier(.77,0,.18,1), box-shadow 0.2s;
}
.main-nav .cta.primary:hover,
.main-nav .cta.primary:focus {
  background: var(--brand-primary);
  color: #fff;
  transform: scale(1.09);
  box-shadow: 0 8px 28px #25438540;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--brand-accent3);
  color: #fff;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 101;
  margin-left: 8px;
  box-shadow: 0 2px 8px #25438518;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover {
  background: var(--brand-accent2);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 96vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 22px #25438529;
  transform: translateX(110%);
  transition: transform 0.46s cubic-bezier(.66,-0.03,.33,1.09);
  z-index: 2502;
  display: flex;
  flex-direction: column;
  padding: 36px 20px 20px 26px;
  gap: 18px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--brand-accent3);
  color: #fff;
  border-radius: 50%;
  font-size: 1.8rem;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: var(--brand-accent2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  color: var(--brand-primary);
  background: transparent;
  padding: 14px 0 14px 12px;
  border-radius: 15px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent3);
  color: #fff;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding: 10px 9px;
    gap: 2px;
  }
  .mobile-menu {
    padding-left: 10px;
    width: 97vw;
    border-radius: 0 0 0 18px;
  }
}

/* FOOTER */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 38px 0 0 0;
  position: relative;
  z-index: 2;
}
footer .container {
  padding-top: 26px;
  padding-bottom: 12px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer .main-nav a, .footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.15s, background 0.14s;
  padding: 3px 6px;
  border-radius: 11px;
}
footer .main-nav a:hover, footer .footer-menu a:hover {
  color: var(--brand-accent);
  background: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  font-size: 0.99rem;
  line-height: 1.65;
}
.footer-contact img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  transition: background 0.15s, transform 0.15s;
}
.social-links a:hover {
  background: var(--brand-accent3);
  transform: rotate(11deg) scale(1.08);
}
.social-links img {
  width: 19px;
  height: 19px;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 18px 0 0 0;
  }
  .footer-contact {
    max-width: 98vw;
    padding-right: 0;
  }
}

/* BUTTONS & CTAS */
.cta {
  display: inline-block;
  border: none;
  outline: none;
  border-radius: 32px 16px 24px 38px;
  background: var(--brand-accent3);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 13px 36px;
  box-shadow: 0 1px 13px #25438518;
  letter-spacing: 0.4px;
  cursor: pointer;
  position: relative;
  margin-top: 14px;
  margin-bottom: 8px;
  transition: background 0.16s, color 0.14s, box-shadow 0.17s, transform 0.18s;
  animation: bounceIn 1.1s cubic-bezier(.15,.85,.27,1.28) 1;
}
.cta.primary {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
.cta.secondary {
  background: var(--brand-accent2);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 8px 32px #25438533;
  transform: scale(1.05) rotate(-1.5deg);
}

@keyframes bounceIn {
  0%   { transform: scale(0.8); opacity: 0.2; }
  70%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* Animations for icons and playful look */
@keyframes floating {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}
.features img, .footer-contact img, .contact-links img, .social-links img, .testimonial-card:before {
  animation: floating 4s ease-in-out infinite alternate;
}

/* LISTS & ICONS */
.features ul, .about-values ul, .services-detail ul, .hunde-services ul, .katzen-services ul, .contact-cta ul, .kontakt-details ul, .services-short ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.features li, .about-values li, .services-detail li, .hunde-services li, .katzen-services li, .services-short li, .kontakt-details li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
  border-radius: 18px;
  padding: 7px 6px;
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 1px 5px #e2b8571b;
  margin-bottom: 4px;
  min-height: 40px;
}
.features li img, .services-short li img, .contact-cta li img, .footer-contact img, .kontakt-details li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .features ul, .about-values ul, .services-detail ul, .hunde-services ul, .katzen-services ul, .services-short ul {
    gap: 8px;
  }
  .features li, .about-values li, .services-detail li, .hunde-services li, .katzen-services li, .services-short li, .kontakt-details li {
    padding: 6px 4px;
    min-height: 34px;
  }
}

/* THANK YOU SECTION */
.thank-you-section {
  background: var(--brand-accent3);
  color: #fff;
  padding: 70px 0 40px 0;
  min-height: 335px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 44px 44px;
}
.thank-you-section h1,
.thank-you-section p,
.thank-you-section .cta {
  text-align: center;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  z-index: 2400;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--brand-accent2);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 24px 20px;
  box-shadow: 0 -2px 18px #25438538;
  font-size: 1rem;
  gap: 32px;
  transition: transform 0.45s cubic-bezier(.77,0,.18,1), opacity 0.2s;
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 22px;
  margin-right: 4px;
  border: none;
  background: #ffffff;
  color: var(--brand-accent2);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 1px 8px #25438515;
  transition: background 0.13s, color 0.13s, transform 0.13s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: var(--brand-accent2);
}
.cookie-banner .cookie-btn.settings {
  background: var(--brand-accent3);
  color: #fff;
}
.cookie-banner .cookie-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: scale(1.07);
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2500;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37, 67, 133,0.34);
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.cookie-modal-overlay.active {
  display: flex;
  pointer-events: all;
  animation: fadeIn 0.33s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--brand-primary);
  border-radius: 24px;
  box-shadow: 0 4px 38px #25438548, 0 1px 5px #38c4c022;
  min-width: 330px;
  max-width: 88vw;
  padding: 30px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.22s cubic-bezier(0.77, 0, 0.18, 1);
  animation: scalePopIn 0.41s cubic-bezier(.19,.82,.25,1.06);
  position: relative;
}
@keyframes scalePopIn {
  0% { transform: scale(0.85);
        opacity: 0; }
  80% { transform: scale(1.1);
        opacity: 1; }
  100% { transform: scale(1); }
}
.cookie-modal h3 {
  color: var(--brand-primary);
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 9px;
  right: 16px;
  font-size: 1.6rem;
  background: var(--brand-accent3);
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal .category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.cookie-modal .category-item input[type="checkbox"] {
  accent-color: var(--brand-accent3);
  width: 22px;
  height: 22px;
}
.cookie-modal .category-item.essential {
  color: var(--brand-accent2);
  font-weight: bold;
}
.cookie-modal .footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
}

@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
    padding: 18px 12px;
  }
  .cookie-modal {
    padding: 20px 8px 18px 10px;
    min-width: 190px;
    max-width: 98vw;
  }
}

/* RESPONSIVE - GENERAL SECTIONS & MOBILE */
@media (max-width: 950px) {
  .card-container, .content-grid {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid, .about-short .container, .services-short .container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section {
    margin-bottom: 38px;
    padding: 24px 10px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .testimonial-card {
    min-width: 170px;
    padding: 14px 10px;
    margin-bottom: 18px;
  }
}


/********* INTERACTIVE & UTILITY CLASSES ********/ 
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 16px;
}
.contact-links a {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 12px;
  border-radius: 13px;
  background: #f5f2ed;
  color: var(--brand-primary);
  transition: background 0.12s, color 0.13s;
  gap: 8px;
  font-weight: 700;
}
.contact-links a:hover {
  background: var(--brand-accent3);
  color: #fff;
}

.legal {
  background: #fff;
  border-radius: 0 0 42px 42px;
  box-shadow: 0 2px 12px #25438508;
  padding: 36px 0 48px 0;
  margin-bottom: 60px;
}
.legal h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: var(--brand-accent2);
}
.legal h2 {
  font-size: 1.25rem;
  color: var(--brand-primary);
  margin: 19px 0 8px 0;
}
.legal ul {
  margin-bottom: 0.7em;
}
.legal li {
  background: var(--gray-light);
  margin-bottom: 3px;
  padding: 7px 9px;
  border-radius: 10px;
  color: var(--brand-primary);
  box-shadow: 0 1px 4px #38c4c011;
}

/* Micro-animations for section and CTA hover*/
.section, .card, .testimonial-card, .cta, .cookie-banner {
  transition: box-shadow 0.19s, transform 0.15s;
}

/* Playful Decorative Dots (optional for enhancement) */
.hero:after {
  content: '';
  position: absolute;
  bottom: -18px; right: 32px;
  width: 49px; height: 49px;
  background: var(--brand-accent);
  opacity: 0.19;
  border-radius: 50%;
}
.hero:before {
  content: '';
  position: absolute;
  left: 6vw; top: 12px;
  width: 32px; height: 32px;
  background: var(--brand-accent3);
  opacity: 0.13;
  border-radius: 50%;
}

/* Miscellaneous fixes */
::-webkit-input-placeholder { color: #b1b7c4; }
::-moz-placeholder { color: #b1b7c4; }
:-ms-input-placeholder { color: #b1b7c4; }
::placeholder { color: #b1b7c4; }

/* Visually Hidden for accessibility & JS helpers */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/******** HIGHLIGHT SECTIONS (about, services, values, etc.) ********/
.about-short, .services-short, .about-values, .our-team, .facility, .services-detail, .hunde-services, .katzen-services, .kontakt-details {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 12px #25438510;
}

@media (max-width: 700px) {
  .about-short, .services-short, .about-values, .our-team, .facility, .services-detail, .hunde-services, .katzen-services, .kontakt-details {
    border-radius: 17px;
    padding: 18px 7px;
  }
}

/***** END - Ready for integration in all HTML pages *****/
