/* 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;
  background: #181B21;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #f5f5f5;
  background: #181B21;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a { 
  color: #C34B14; 
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, .footer-nav a:hover, .footer-social a:hover { 
  color: #F98657;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 12px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 42px #2E5A3D22;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 18px;
  color: #eee;
  opacity: 0.97;
}
strong, b {
  color: #F98657;
  font-weight: 600;
}
small {
  display: block;
  font-size: 0.92rem;
  opacity: 0.75;
}

/* FORM ELEMENTS */
input, textarea, select, button {
  font: inherit;
  border-radius: 8px;
  border: none;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #2E5A3D;
}

/* GENERAL CONTAINER + CONTENT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px; padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 22px;
  background: linear-gradient(120deg, #23272f 0%, #181B21 100%);
  box-shadow: 0 6px 24px 0 #15583722;
  position: relative;
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px; 
  position: relative;
  background: #191e24;
  border-radius: 14px;
  box-shadow: 0 2px 22px 0 #2E5A3D33;
  padding: 24px 20px;
}
.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;
  box-shadow: 0 2px 18px #122d2a44, 0 0 0 2px #2E5A3D11;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #fff;
  color: #23272f;
  flex-direction: column;
  border-left: 5px solid #F98657;
  max-width: 500px;
}
.testimonial-card p {
  color: #181B21;
  font-size: 1.1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom for PfotenFreude feature grid (matching provided HTML class) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: #181B21;
  border-radius: 12px;
  box-shadow: 0 2px 20px #2E5A3D33;
  margin-right: 0;
  padding: 28px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
  border-left: 3px solid #2E5A3D;
}
.feature-grid img {
  width: 40px; height: 40px; margin-bottom: 6px;
  filter: drop-shadow(0 0 8px #F98657BB);
}
.feature-grid h3 {
  color: #F98657;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* TIP CARDS (pflege-tipps) */
.tip-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  justify-content: flex-start;
}
.tip-card {
  flex: 1 1 240px;
  background: #23272f;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 2px 20px #2E5A3D33;
  border-bottom: 3px solid #F98657;
  transition: box-shadow 0.25s, border-bottom 0.25s;
}
.tip-card h3 {
  color: #F98657;
}
.tip-card:hover {
  box-shadow: 0 5px 35px 0 #F986572e;
  border-bottom: 3px solid #2E5A3D;
}

/* ABOUT & TEXT SECTION */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

/* BUTTONS - CTA */
.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  transition: background 0.23s, color 0.18s, box-shadow 0.2s;
  cursor: pointer;
  background: #23272f;
  color: #F98657;
  box-shadow: 0 2px 16px 0 #F9865733;
  margin-top: 8px;
  text-align: center;
}
.cta-btn.primary {
  background: #F98657;
  color: #fff;
  box-shadow: 0 4px 22px #F986572a, 0 0 0px #2E5A3D11;
  border: 2px solid #F98657;
}
.cta-btn:hover, .cta-btn:focus {
  background: #C34B14;
  color: #fff;
  box-shadow: 0 8px 32px 0 #C34B144a;
  text-decoration: none;
  outline: none;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #181B21;
  box-shadow: 0 4px 24px #23272f12;
  position: sticky;
  top: 0; left: 0; z-index: 999;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 0;
}
.main-nav a {
  color: #F98657;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.18s;
  position: relative;
}
.main-nav a.cta-btn {
  margin-left: 16px;
}
.main-nav img {
  width: 140px;
  height: 40px;
  object-fit: contain;
  margin-right: 20px;
  filter: drop-shadow(0 0 10px #2E5A3D22);
}
.main-nav a:hover {
  color: #C34B14;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 18px;
  background: transparent;
  border: none;
  color: #F98657;
  font-size: 2rem;
  z-index: 1101;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: #C34B14;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #181B21EE;
  z-index: 1200;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.68, -0.55, 0.27, 1.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F98657;
  font-size: 2.1rem;
  position: absolute;
  top: 28px;
  right: 24px;
  cursor: pointer;
  z-index: 1300;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #C34B14;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  padding: 110px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 10px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  min-width: 200px;
}
.mobile-nav a:hover {
  color: #F98657;
  background: #23272f;
}

/* FOOTER */
footer {
  width: 100%;
  background: #23272f;
  color: #eee;
  padding: 36px 0 10px;
  border-top: 4px solid #2E5A3D;
  margin-top: 60px;
}
.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 0 16px;
}
.footer-wrapper > * { margin-bottom: 18px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #F98657;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  opacity: 0.8;
  transition: color 0.18s;
  line-height: 1.55;
}
.footer-address {
  font-size: 0.98rem;
  color: #f5efee;
  opacity: 0.9;
}
.footer-address a {
  color: #C34B14;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social img {
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 6px #F9865780);
  transition: filter 0.18s;
}
.footer-social a:focus img, .footer-social a:hover img {
  filter: drop-shadow(0 0 8px #C34B14);
}
.footer-wrapper img {
  max-width: 70px;
  margin-bottom: 8px;
}

/* HERO/SECTION SPECIFIC STYLES */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(120deg, #23272f 40%, #181B21 100%);
  border-radius: 22px;
  box-shadow: 0 6px 24px 0 #15583722;
  position: relative;
}
section .cta-btn {
  margin-top: 16px;
}

/* CARDS GENERAL */
.card {
  background: #23272f;
  border-radius: 13px;
  box-shadow: 0 2px 18px #2E5A3D38;
  padding: 32px 26px;
  border-left: 5px solid #2E5A3D;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 #2E5A3D36;
  border-left: 5px solid #C34B14;
}

/* CTA Banner Section */
section .cta-btn.primary {
  font-size: 1.21rem;
  padding: 16px 48px;
  margin-top: 30px;
  border-radius: 44px;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 10050;
  background: #23272f;
  color: #fff;
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  box-shadow: 0 -2px 32px #111d15a8;
  justify-content: center;
  animation: cb-slidein 0.61s cubic-bezier(.23,2.18,.91,.77) 1;
}
@keyframes cb-slidein {
  0% { transform: translateY(100%); opacity: 0.0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 230px;
  font-size: 1.07rem;
  margin: 0;
  color: #fff;
}
.cookie-banner .cookie-btn {
  background: #2E5A3D;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 11px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 12px #2E5A3D27;
}
.cookie-banner .cookie-btn.accept {
  background: #F98657;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #181B21;
  color: #fff;
  border: 2px solid #2E5A3D;
}
.cookie-banner .cookie-btn.settings {
  background: #C34B14;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #2E5A3D;
  box-shadow: 0 2px 24px #C34B1445;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(20,30,24,0.93);
  z-index: 10099;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popupfadein 0.38s cubic-bezier(.68,0,.72,1);
}
@keyframes popupfadein {
  from { opacity: 0;}
  to { opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #23272f;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 #2E5A3D55;
  padding: 40px 32px 30px;
  width: 95%;
  max-width: 370px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal h3 {
  color: #2E5A3D;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #C34B14;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
  margin-bottom: 6px;
  font-size: 1rem;
}
.cookie-modal .cookie-cat[data-essential="true"] label {
  opacity: 0.6;
  cursor: default;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #eee;
  border-radius: 18px;
  border: 1px solid #C34B14;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #F98657;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px #2E5A3D14;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal .cookie-footer {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 78px;
}

/* ----- RESPONSIVENESS ----- */
@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  .content-wrapper {
    max-width: 97vw;
  }
  .feature-grid>div, .tip-card {
    min-width: 150px;
    flex: 1 1 150px;
    padding: 18px 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.48rem; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 0px;
  }
  .card-container, .feature-grid, .content-grid, .tip-cards {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  section, .section { padding: 26px 10px; margin-bottom: 32px; }
  .card, .testimonial-card {
    padding: 16px 10px;
    max-width: 100vw;
  }
}
@media (max-width: 500px) {
  html { font-size: 13px; }
  .container { padding-left: 2vw; padding-right: 2vw; }
}

/* MICROS & ANIMATION */
.cta-btn, .cookie-btn, .main-nav a, .mobile-nav a, .feature-grid > div, .testimonal-card, .tip-card {
  transition: box-shadow 0.2s, color 0.18s, background 0.16s, border 0.22s;
}
.cta-btn:active, .cookie-btn:active { filter: brightness(0.84); }

input[type="checkbox"], input[type="radio"] {
  accent-color: #2E5A3D;
}

::-webkit-selection { background: #C34B14; color: #fff; }
::selection { background: #F98657; color: #fff; }

/* Hide scrollbars on mobile menu */
.mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: #F98657 #23272f;
}
.mobile-menu::-webkit-scrollbar {
  width: 4px; background: #23272f;
}
.mobile-menu::-webkit-scrollbar-thumb {
  background: #F98657;
}

/* Ensures all interactive elements have focus styles */
:focus {
  outline: 2px solid #F98657;
  outline-offset: 2px;
}

/*--- Extra Spacing (ensure no overlap) ---*/
section, .section, .testimonial-card, .card {
  margin-bottom: 40px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}
