/* ====== 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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
  background: none;
}
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F0EFE9;
  color: #19334D;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 10px;
}
ul, ol {
  margin: 0 0 16px 0;
  padding-left: 32px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #A07B48;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #19334D;
  text-decoration: underline;
}
strong {
  font-weight: bold;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, Times, 'Times New Roman', serif;
  color: #19334D;
  font-weight: 700;
  text-shadow: 1px 3px 0px #ede6d7;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: 0.8px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 18px;
}
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  color: #19334D;
  background: #F7F4EC;
  border-left: 4px solid #A07B48;
  padding: 16px 24px;
  border-radius: 22px 8px 22px 8px;
  margin-bottom: 8px;
  margin-top: 8px;
}

/* ====== CONTAINER/WRAPPERS ====== */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  padding-bottom: 16px;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: #19334D;
  color: #fff;
  width: 100%;
  padding: 0;
  box-shadow: 0 5px 22px rgba(25,51,77,0.04), 0 0.5px 0 #A07B48;
}
header .container {
  padding-top: 16px;
  padding-bottom: 16px;
}
header .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
header img[alt="Seitenweise München"] {
  height: 53px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 1.1rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.main-nav a {
  color: #F0EFE9;
  padding: 8px 10px;
  border-radius: 8px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.cta {
  background: #A07B48;
  color: #fff;
  font-weight: 700;
  border-radius: 14px;
  margin-left: 12px;
  box-shadow: 0 2px 14px rgba(160,123,72,0.10);
  transition: background 0.21s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #F0EFE9;
  color: #A07B48;
  box-shadow: 0 3px 18px rgba(160,123,72,0.14);
}
.main-nav a:hover, .main-nav a:focus {
  background: #F0EFE9;
  color: #19334D;
}

/* ====== MOBILE NAVIGATION ====== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1100;
  background: #A07B48;
  color: #fff;
  border: none;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 24px rgba(25,51,77,0.15);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #19334D;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #F0EFE9;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.45s cubic-bezier(.92,-0.01,0,.99);
  box-shadow: -5px 0 28px 8px rgba(25,51,77,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: #A07B48;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  z-index: 1299;
  cursor: pointer;
  box-shadow: 0 1px 10px rgba(160,123,72,0.12);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #19334D;
  color: #fff;
}
.mobile-nav {
  margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #19334D;
  font-size: 1.33rem;
  letter-spacing: 0.5px;
  padding: 12px 8px;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s;
  margin-bottom: 7px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A07B48;
  color: #fff;
}

@media (max-width: 1020px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ====== CTA BUTTONS ====== */
.cta, .cta.primary, .cta.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-size: 1.17rem;
  font-weight: 700;
  color: #fff;
  background: #A07B48;
  padding: 14px 32px;
  border: none;
  border-radius: 19px 6px 19px 6px;
  box-shadow: 0 3px 16px rgba(160,123,72,0.08);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(.3,.71,.5,1.25);
  margin-top: 10px;
  text-shadow: none;
  text-decoration: none;
  letter-spacing: 0.9px;
}
.cta.primary {
  background: #19334D;
  color: #fff;
}
.cta.secondary {
  background: #F0EFE9;
  color: #19334D;
  border: 2px solid #A07B48;
}
.cta:hover, .cta:focus, .cta.secondary:hover, .cta.secondary:focus {
  background: #fff;
  color: #A07B48;
  border-color: #A07B48;
  box-shadow: 0 6px 40px rgba(25,51,77,0.08);
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #19334D;
  border: 2px solid #19334D;
}

/* ====== MAIN LAYOUT: Spacing, Sections ====== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section, .content-wrapper.text-section {
  max-width: 800px;
  margin: 0 auto 32px auto;
}
.feature-grid, .tip-themes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .tip-themes-grid > div {
  background: #fff;
  border-radius: 28px 8px 25px 10px;
  box-shadow: 0 3px 32px rgba(25,51,77,0.08);
  padding: 28px 24px 20px 24px;
  flex: 1 1 260px;
  min-width: 250px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.14s, box-shadow 0.2s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .tip-themes-grid > div:hover {
  transform: translateY(-7px) scale(1.03) rotate(-1.2deg);
  box-shadow: 0 8px 34px rgba(160,123,72,0.14);
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 13px;
  background: #F7F4EC;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(25,51,77,0.10);
}

/* ====== CARDS & FLEX CONTAINERS ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 32px 12px 16px 8px;
  box-shadow: 0 4px 18px rgba(25,51,77,0.07), 0 2px 10px rgba(160,123,72,0.12);
  padding: 32px 22px 24px 22px;
  transition: box-shadow 0.17s, transform 0.13s;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 350px;
}
.card:hover {
  box-shadow: 0 9px 38px rgba(25,51,77,0.12);
  transform: translateY(-5px) scale(1.025) rotate(0.7deg);
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 38px 10px 26px 18px;
  box-shadow: 0 3px 24px rgba(160,123,72,0.07), 0 2px 8px rgba(25,51,77,0.06);
  max-width: 700px;
  transition: box-shadow 0.19s;
  color: #1a2330;
}
.testimonial-card blockquote {
  background: none;
  border-left: 3px solid #A07B48;
  color: #1a2330;
  border-radius: 14px;
  margin: 0 0 5px 0;
  padding: 9px 16px;
  font-size: 1.13rem;
}
.testimonial-card span {
  color: #A07B48;
  font-weight: 700;
  font-size: 0.98rem;
  font-family: 'Open Sans', sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.review-teasers, .reviews-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 18px;
}
.review-teasers > div, .reviews-list > div {
  background: #fff;
  border-radius: 22px 8px 22px 8px;
  box-shadow: 0 3px 18px rgba(25,51,77,.08);
  padding: 20px 19px 12px 21px;
  min-width: 220px;
  max-width: 340px;
  position: relative;
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
}
.review-teasers > div:hover, .reviews-list > div:hover {
  box-shadow: 0 8px 28px rgba(160,123,72,0.12);
}
.highlighted-articles-list ul {
  list-style: disc outside;
  margin-top: 10px;
  margin-bottom: 0;
  margin-left: 18px;
  padding-left: 0;
}

/* ====== SEARCH AND FILTERS ====== */
.search-bar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}
.search-bar input[type="text"] {
  padding: 10px 15px;
  border: 2px solid #A07B48;
  border-radius: 11px;
  font-size: 1.05rem;
  background: #FCFCF9;
  color: #19334D;
  outline: none;
  transition: border 0.14s;
}
.search-bar input[type="text"]:focus {
  border-color: #19334D;
}
.filters {
  margin-top: 18px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}
.filters ul {
  display: flex;
  gap: 14px;
  margin-top: 3px;
  font-family: 'Open Sans', sans-serif;
}
.filters a {
  background: #A07B48;
  color: #fff;
  border-radius: 9px;
  padding: 6px 18px;
  font-size: 1.03rem;
  font-weight: 600;
  transition: background 0.13s, color 0.14s;
}
.filters a:hover, .filters a:focus {
  background: #19334D;
  color: #fff;
}

/* ====== FOOTER ====== */
footer {
  background: #19334D;
  color: #F0EFE9;
  padding: 24px 0 13px 0;
  font-size: 1rem;
  border-top: 2px solid #A07B48;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Merriweather', serif;
  font-size: 1.11rem;
  font-weight: 700;
  color: #F0EFE9;
}
.footer-branding img {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(160,123,72,0.09);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #F0EFE9;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.99rem;
  letter-spacing: 0.2px;
  margin-bottom: 2px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #A07B48;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.99rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  border-radius: 5px;
  background: #F7F4EC;
  padding: 2px;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F7F4EC;
  color: #19334D;
  box-shadow: 0 -3px 16px rgba(25,51,77,0.08);
  z-index: 2000;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  transition: transform 0.45s cubic-bezier(.77,-0.01,0,1);
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  background: #A07B48;
  color: #fff;
  padding: 10px 22px;
  border: none;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  border-radius: 17px 6px 17px 6px;
  font-weight: 700;
  margin: 0 4px;
  transition: background 0.15s, color 0.15s, box-shadow 0.17s;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(160,123,72,0.11);
}
.cookie-btn.settings {
  background: #fff;
  color: #A07B48;
  border: 2px solid #A07B48;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #19334D;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A07B48;
  color: #fff;
}
/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,51,77,0.19);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadeInBg 0.3s cubic-bezier(.6,0,.7,1);
}
@keyframes fadeInBg {
  from { background: rgba(25,51,77,0.0); }
  to { background: rgba(25,51,77,0.19); }
}
.cookie-modal-content {
  background: #fff;
  color: #1a2330;
  border-radius: 22px 7px 22px 11px;
  padding: 40px 32px 28px 32px;
  max-width: 430px;
  min-width: 250px;
  box-shadow: 0 5px 41px rgba(25,51,77,0.16);
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInModal 0.4s cubic-bezier(.6,0,.7,1);
  position: relative;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.90); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #A07B48;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.19rem;
  z-index: 2200;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(160,123,72,0.11);
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #19334D;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A07B48;
  width: 18px;
  height: 18px;
}
.cookie-category.essential label {
  color: #19334D;
}
.cookie-category.essential input {
  pointer-events: none;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 900px) {
  .footer-branding span { display: none; }
  .footer-branding { gap: 8px; }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .main-nav {
    gap: 13px;
    font-size: 1.0rem;
  }
}
@media (max-width: 750px) {
  .container {
    padding-left: 7px; padding-right: 7px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .review-teasers, .review-teasers > div,
  .reviews-list, .reviews-list > div,
  .feature-grid > div, .tip-themes-grid > div,
  .card {
    min-width: 95%;
    max-width: 100%;
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
)
  .feature-grid, .tip-themes-grid, .content-grid {
    gap: 15px;
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 90%;
    max-width: 100%;
  }
  .footer-contact { gap: 4px; }
}
@media (max-width: 768px) {
  .content-wrapper {
    padding-bottom: 0;
  }
  .section {
    margin-bottom: 36px;
    padding: 18px 9px;
  }
  h1 {
    font-size: 1.85rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .main-nav a.cta {
    margin-left: 2px;
    font-size: 1rem;
    padding: 5px 14px;
  }
  .review-teasers, .reviews-list {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    max-width: 100%;
  }
}

/* ====== ANIMATION CLASSES/SUBTLE MICRO-INTERACTIONS ====== */
.cta, .cta.primary, .cta.secondary, .cookie-btn {
  transition: background 0.14s, color 0.12s, box-shadow 0.18s, transform 0.11s;
}
.cta:active, .cta.primary:active, .cta.secondary:active, .cookie-btn:active {
  transform: scale(0.97);
  box-shadow: 0 1px 7px rgba(25,51,77,0.08);
}
.feature-grid > div:active,
.tip-themes-grid > div:active,
.card:active {
  transform: scale(0.97) rotate(0.3deg);
}
.testimonial-card:active {
  box-shadow: 0 2px 11px rgba(25,51,77,0.08);
}
/* Subtle art element for visual hierarchy */
.feature-grid > div::after, .card::after {
  content: "";
  position: absolute;
  bottom: 15px;
  right: 22px;
  width: 24px;
  height: 24px;
  background: #F0EFE9;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.26;
  pointer-events: none;
}
/* Remove decorative blob if not needed on mobile */
@media (max-width: 600px) {
  .feature-grid > div::after, .card::after {
    display: none;
  }
}

/* ====== UTILITY CLASSES ====== */
.hide { display: none !important; }
.sr { /* screenreader only */ position:absolute; width:1px; height:1px;overflow:hidden; }

/* ====== CUSTOM SCROLLBARS ====== */
::-webkit-scrollbar {
  width: 10px;
  background-color: #F0EFE9; }
::-webkit-scrollbar-thumb {
  background: #A07B48;
  border-radius: 10px;
}

/* ====== OTHER FLEXBOX PATTERNS ====== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.expert-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 13px;
}
.advice-teasers ul {
  margin-left: 14px;
  margin-bottom: 0;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-direction: row;
  margin-bottom: 24px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #F7F4EC;
  padding: 7px 15px;
  border-radius: 14px;
}
@media (max-width: 650px) {
  .contact-details {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .contact-details > div {
    width: 100%;
  }
}

/* ====== LITERARY ARTISTIC STYLE ENHANCEMENTS ====== */
.section, .feature-grid > div, .tip-themes-grid > div, .card, .testimonial-card, .review-teasers > div, .reviews-list > div, .content-wrapper, .cookie-modal-content {
  /* hand-drawn artistic border effect (if supported) */
  border: 2.5px solid rgba(160,123,72,0.06);
  border-radius: 30px 10px 30px 8px;
}

.section {
  background: #fff8f1;
  box-shadow: 0 7px 32px rgba(160,123,72,0.09);
}
.text-section {
  background: none !important;
  box-shadow: none !important;
}

/* ================ END ================ */
