/* === SOFT PASTEL FLEX – Radiant Drip Tierwissen ===
   Complete, mobile-first, flexbox-only CSS for all HTML pages and UI elements.
   Brand: Montserrat (display), Open Sans (body), Primary #205377, Secondary #6CB142, Accent #F7F7F7
   Pastel Palette: gentle blues, mints, peach, lavender, lemon, powder-pink.
   All spacing/alignment per requirements. No grid/columns. Responsive, accessible, dreamy. */

/* ==== CSS RESET & BASE ==== */
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 { scroll-behavior: smooth; }
body {
  background: linear-gradient(120deg, #fef6fb 0%, #f0f8ff 100%);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #205377;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; border-radius: 8px; }
*, *:before, *:after { box-sizing: inherit; }
a { color: #205377; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #3899c7; text-decoration: underline; }

/* ==== FONT IMPORT (for real usage: @import or <link>) ==== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold');
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular');
  font-display: swap;
}

/* ==== COLOR VARIABLES (WITH FALLBACKS) ==== */
:root {
  --primary: #205377;
  --primary-lt: #e9f0f7;
  --secondary: #6CB142;
  --secondary-lt: #e6f7de;
  --accent: #F7F7F7;
  --pastel-blue: #bee3f8;
  --pastel-mint: #ccf3e3;
  --pastel-peach: #ffeada;
  --pastel-lavender: #f7edff;
  --pastel-lemon: #fffadc;
  --pastel-pink: #ffe3ed;
  --neutral-dark: #23405b;
  --neutral-ink: #4a4e69;
  --card-bg: #fff;
  --shadow: 0 2px 16px 0 rgba(32,83,119,0.07), 0 1.5px 6px 0 rgba(87,138,176,0.08);
  --radius: 16px;
  --transition: 0.25s cubic-bezier(.44,.13,.48,.87);
  --focus: 0 0 0 3px #bee3f8;
}

/* ==== SPACING === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--accent);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container,
.content-grid,
.care-tips-grid,
.nutrition_tips_grid,
.training_tips_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 32px 20px;
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(32, 83, 119,0.11), 0 2px 10px 0 rgba(108,177,66,0.10);
  transform: translateY(-2px) scale(1.01);
}

/* ==== HEADERS & TYPOGRAPHY ==== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #23405b;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
h5 { font-size: 1rem; }
p, li {
  font-size: 1rem;
  color: var(--neutral-ink);
  margin-bottom: 0.5em;
}
strong { color: var(--primary); font-weight: 700; }
.section h2 { margin-bottom: 0.5em; }

/* ==== NAVIGATION ==== */
header {
  background: linear-gradient(90deg, #f5f7fa 0%, #f7edff 100%);
  box-shadow: 0 4px 16px 0 rgba(32,83,119,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
}
header img[alt*="Radiant"] { height: 42px; border-radius: 12px; margin-right: 8px; }
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.main-nav .cta-primary {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  padding: 8px 20px;
  margin-left: 10px;
  box-shadow: 0 2px 10px 0 rgba(108,177,66,.08);
  border-radius: 10px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.main-nav .cta-primary:hover {
  background: #95d46b;
  color: var(--primary);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background var(--transition);
  z-index: 1202;
}
.mobile-menu-toggle:focus {
  outline: none;
  background: var(--pastel-blue);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(246,249,255,0.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-104%);
  transition: transform 0.55s cubic-bezier(.72,-0.03,.34,1.14);
  box-shadow: 0 8px 40px 0 rgba(32,83,119,0.11);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  margin: 20px 20px 10px 0;
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 14px;
  transition: background var(--transition);
}
.mobile-menu-close:focus { outline: none; background: var(--pastel-blue); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  padding: 24px 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.18rem;
  padding: 14px 9px 14px 6px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 1px solid var(--pastel-blue);
  background: none;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (max-width: 540px) {
  .mobile-nav { padding-left: 12px; padding-right: 10px; }
}

/* ==== HERO & SECTIONS ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--pastel-blue);
  box-shadow: var(--shadow);
  transition: background var(--transition);
}
section:nth-child(even) { background: var(--pastel-mint); }
section:nth-child(3n) { background: var(--pastel-pink); }

.section .container, .section .content-wrapper {
  gap: 24px;
  align-items: flex-start;
}

/* ==== FEATURE GRID ==== */
.feature-grid, .topic-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 16px 0 0 0;
}
.feature-grid li, .service-list li {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px 18px 18px 18px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 6px 26px 0 rgba(32, 83, 119, 0.13), 0 2px 10px 0 rgba(108,177,66,0.10);
  transform: translateY(-2px) scale(1.012);
}
.feature-grid img, .service-list img {
  width: 46px; height: 46px; background: var(--pastel-lavender); border-radius: 8px; margin-bottom: 7px;
}
.service-price {
  background: var(--pastel-lemon);
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 6px 14px;
  border-radius: 8px;
  margin-top: 8px;
}

/* ==== ARTICLE LISTS ==== */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.article-list article {
  background: var(--card-bg);
  border-radius: 13px;
  box-shadow: var(--shadow);
  padding: 22px 16px 18px 16px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.article-list article:hover {
  box-shadow: 0 6px 24px 0 rgba(108,177,66,0.10);
  transform: translateY(-2px) scale(1.008);
}
.article-list a {
  font-weight: 700;
  color: var(--secondary);
  margin-top: auto;
  transition: color var(--transition);
}
.article-list a:hover { color: #b4e57a; }

/* ==== SPECIAL GRIDS (PFLEGE, ERNÄHRUNG, TRAINING) ==== */
.care-tips-grid, .nutrition_tips_grid, .training_tips_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  margin-bottom: 18px;
}
.care-tips-grid > div, .nutrition_tips_grid > div, .training_tips_grid > div {
  background: var(--pastel-lemon);
  border-radius: 12px;
  padding: 20px 16px 16px 16px;
  flex: 1 1 180px;
  box-shadow: var(--shadow);
  min-width: 170px;
  margin-bottom: 12px;
  color: #4a6170;
  font-size: 1.01rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.care-tips-grid > div:hover, .nutrition_tips_grid > div:hover, .training_tips_grid > div:hover {
  background: #fffde9;
  box-shadow: 0 6px 20px 0 rgba(108,177,66,0.12);
  transform: translateY(-1px) scale(1.01);
}

.topic-list {
  flex-direction: column;
  gap: 13px;
  margin-bottom: 22px;
  padding-left: 9px;
}
.topic-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #39647e;
  margin-bottom: 0;
  background: none;
  border: none;
  padding: 0;
}

/* ==== TESTIMONIALS ==== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 20px;
  min-width: 230px;
  flex: 1 1 260px;
  background: #fffffa;
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 rgba(32,83,119,0.09), 0 1.5px 6px 0 rgba(108,177,66,0.06);
  border: 1px solid #f3eaff;
  color: #1b2940;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  color: #1b2940;
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-style: italic;
}
.testimonial-card span {
  color: #547983;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.rating-summary {
  background: var(--pastel-blue);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.07rem;
  margin-top: 8px;
}

/* ==== CONTACT & SOCIAL ==== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.contact-info img {
  width: 20px;
  height: 20px;
  filter: brightness(0.7);
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin: 12px 0;
}
.social-links a {
  display: flex;
  align-items: center;
  background: none;
  border-radius: 50%;
  transition: background var(--transition);
}
.social-links a:hover { background: var(--pastel-pink); }
.social-links img { width: 28px; height: 28px; }

/* ==== FOOTER ==== */
footer {
  background: linear-gradient(90deg, #f5f7fa 0%, #f7edff 100%);
  padding: 38px 0 12px 0;
  border-top: 2px solid #ebe7fa;
  margin-top: 40px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
  justify-content: center;
  align-items: center;
}
.footer-menu a {
  color: #5f6c86;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background var(--transition);
}
.footer-menu a:hover { background: var(--pastel-lemon); }
.brandnote {
  text-align: center;
  font-size: 0.92rem;
  color: #9d97bc;
  font-style: italic;
  margin-top: 5px;
}

/* ==== BUTTONS, CTA, FORM ==== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 28px;
  font-size: 1.17rem;
  border-radius: 12px;
  background: linear-gradient(95deg, var(--secondary) 60%, #c2efa1 100%);
  color: #fff;
  box-shadow: 0 3px 16px 0 rgba(108,177,66,0.11);
  margin-top: 6px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cta-primary:hover, .cta-primary:focus {
  background: #89cd5e;
  color: #fff;
  box-shadow: 0 2px 24px 0 rgba(32,83,119,0.13);
  outline: none;
}
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 21px;
  font-size: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
button:hover, .button:hover,
button:focus, .button:focus {
  background: #3899c7;
  color: #fff;
  outline: none;
  box-shadow: 0 2px 10px 0 rgba(32,83,119,0.10);
}

/* ==== COOKIE CONSENT BANNER ==== */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #e9f0f7 0%, #fffadc 100%);
  box-shadow: 0 -4px 32px 0 rgba(116,103,178,0.08);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 18px 32px 18px;
  gap: 24px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.09rem;
  color: #23405b;
  animation: fadeInBanner 0.6s;
}
@keyframes fadeInBanner {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}
#cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 4px;
}
#cookie-banner button, #cookie-banner .button {
  padding: 8px 22px;
  font-size: 1.08rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
#cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
}
#cookie-banner .accept:hover { background: #7ede5b; }
#cookie-banner .reject {
  background: var(--primary-lt);
  color: var(--primary);
}
#cookie-banner .reject:hover { background: #ccd9e7; color: #3983bb; }
#cookie-banner .settings {
  background: none;
  color: var(--primary);
  border: 2px solid var(--primary);
}
#cookie-banner .settings:hover {
  border: 2.5px solid var(--secondary);
  background: var(--pastel-mint);
}

/* ==== COOKIE SETTINGS MODAL ==== */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2990;
  background: rgba(32,83,119,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBanner 0.4s;
}
.cookie-modal-content {
  background: linear-gradient(120deg,#fffafd 60%,#ccf3e3 100%);
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(32,83,119,0.13);
  padding: 36px 28px;
  width: 96%;
  max-width: 380px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #205377;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  position: relative;
}
.cookie-modal-content h2 { font-size: 1.5rem; margin-bottom: 6px; }
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 15px 0 11px 0;
  padding: 0;
}
.cookie-modal-content li {
  background: var(--pastel-lemon);
  border-radius: 8px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #39647e;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-modal-content .toggle {
  width: 38px; height: 22px;
  position: relative;
  display: inline-block;
}
.toggle input { display: none; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #eedbe8;
  border-radius: 22px;
  transition: background 0.2s;
}
.toggle input:checked + .toggle-slider {
  background: var(--secondary);
}
.toggle-slider:before {
  content: "";
  position: absolute;
  left: 3px; bottom: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
}
.toggle input:checked + .toggle-slider:before {
  transform: translateX(16px);
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.17s;
  border-radius: 7px;
  padding: 0 8px;
}
.cookie-modal-content .close-modal:hover {
  background: var(--pastel-blue);
}
.cookie-modal-content .modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 8px;
}

/* ==== MEDIA QUERIES / RESPONSIVE ==== */
@media (max-width: 1024px) {
  .section, section, .card, .feature-grid li, .service-list li, .testimonial-card, .article-list article, .care-tips-grid > div, .nutrition_tips_grid > div, .training_tips_grid > div {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  .footer-menu { gap: 10px; }
  .main-nav .cta-primary { padding: 8px 14px; font-size: 1rem; }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 32px 7vw;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero, .feature-grid, .content-wrapper, .card-container, .content-grid, .article-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch !important;
  }
  .feature-grid li, .service-list li, .testimonial-card, .article-list article {
    min-width: 90vw !important;
    width: 100%;
    margin-bottom: 16px;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .cta-primary, button, .button { font-size: 1rem; padding: 10px 16px; }
  .footer-menu {
    flex-direction: column;
    gap: 6px;
  }
  .cookie-modal-content { padding: 20px 8px; }
}
@media (max-width: 540px) {
  .section, section {
    margin-bottom: 22px;
    padding: 18px 4vw;
  }
  .container {
    padding: 0 3vw;
  }
  .footer-menu { font-size: 0.95rem; }
}

/* ==== ACCESSIBILITY & MISC ==== */
:focus-visible { outline: var(--focus); background: var(--pastel-blue); }
::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

/* Hide scrollbars for mobile menu etc. */
.mobile-menu { overflow-y: auto; }

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