/* ============================================================
   OVOSHI IN DER KRUSTE – ELEGANT CLASSIC STYLE CSS
   Designed for: Elegant, timeless aesthetic with classic proportions
   Only flexbox layouts – NO CSS Grid, NO Columns
   ============================================================ */
/* --------------
   CSS RESET
--------------*/
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, blockquote, cite, figure, figcaption, nav, header, footer, section, main, article, aside, button, input, textarea, select { font: inherit; color: inherit; background: none; border: none; outline: none; } 
img { max-width: 100%; height: auto; display: block; border: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { cursor: pointer; background: none; border: none; font: inherit; padding: 0; }
:focus { outline: 2px solid #F0B849; outline-offset: 2px; }

/* --------------
   BASE BRAND STYLES
--------------*/
:root {
  --color-primary: #406D2B;
  --color-secondary: #F0B849;
  --color-accent: #FFFFFF;
  --color-muted-bg: #F7F6F3;
  --color-muted-text: #57534c;
  --color-card-bg: #FAF9F7;
  --color-border: #E1DFD7;
  --color-shadow: rgba(64, 109, 43, 0.07);
  --font-display: 'Josefin Sans', 'Georgia', serif;
  --font-body: 'Roboto', 'Georgia', serif;
  --radius-card: 16px;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-primary);
  background: var(--color-muted-bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

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

/* --------------
   TYPOGRAPHY
--------------*/
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}
h1 { font-size: 2.75rem; line-height: 1.15; letter-spacing: -2px; }
h2 { font-size: 2rem; line-height: 1.2; margin-top: 24px; margin-bottom: 16px; }
h3 { font-size: 1.275rem; font-weight: 600; margin-top: 18px; margin-bottom: 10px; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
p, ul, ol { font-size: 1rem; margin-bottom: 14px; color: var(--color-muted-text); }
strong { font-weight: 600; color: var(--color-primary); }
ul, ol { margin-left: 28px; padding-left: 0; }
li { margin-bottom: 8px; }
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  border-left: 4px solid var(--color-secondary);
  padding-left: 18px;
  color: var(--color-primary);
  margin-bottom: 8px;
}
cite {
  font-size: 1rem;
  color: var(--color-secondary);
  font-style: normal;
  margin-left: 10px;
}
.tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  padding-top: 6px;
}

/* --------------
   LAYOUT FLEXBOX PATTERNS
--------------*/
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 16px var(--color-shadow);
  padding: 28px 20px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 34px rgba(64,109,43,0.13);
  transform: translateY(-2px) scale(1.01);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 16px var(--color-shadow);
  border: 1px solid var(--color-border);
  padding: 20px 24px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 410px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card .stars {
  font-size: 1.08rem;
  color: var(--color-secondary);
  font-family: var(--font-display);
  margin-bottom: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(64,109,43,0.16);
  transform: translateY(-2px) scale(1.016);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-list, .steps, .tips-list, .contact-options {
  list-style-type: disc;
  margin-left: 20px;
  color: var(--color-muted-text);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.steps { list-style-type: decimal; }

.how-to-guides, .quick-facts {
  background: var(--color-card-bg);
  border-left: 3px solid var(--color-secondary);
  padding: 18px 18px 14px 22px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
}

.team-photo { margin-top: 18px; }
.team-photo img { width: 96px; border-radius: 50%; box-shadow: 0 2px 10px var(--color-shadow); }

/* --------------
   HEADER NAVIGATION
--------------*/
header {
  background: var(--color-accent);
  width: 100%;
  border-bottom: 1.5px solid var(--color-border);
  box-shadow: 0 2px 8px var(--color-shadow);
  position: sticky;
  top: 0; left: 0; z-index: 11;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 0;
}
header nav > a {
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--color-primary);
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
header nav > a:not(.cta-primary):hover,
header nav > a:not(.cta-primary):focus { background: var(--color-muted-bg); color: var(--color-secondary); }
header nav > a img { height: 38px; width: auto; margin-bottom: -6px; margin-right: 8px; vertical-align: middle; }

.cta-primary {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 12px;
  padding: 7px 22px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-display);
  box-shadow: 0 1px 7px var(--color-shadow);
  transition: background 0.16s, color 0.18s, transform 0.15s, box-shadow 0.15s;
  border: none;
  margin-left: 10px;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-1px) scale(1.035);
  box-shadow: 0 3px 16px var(--color-shadow);
}

/* --------------
   MOBILE NAVIGATION
--------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 6px 17px 3px 13px;
  border: 1px solid var(--color-border);
  margin-left: auto;
  transition: background 0.16s, box-shadow 0.14s;
  z-index: 1001;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: #ffe5b6; box-shadow: 0 2px 10px var(--color-shadow); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--color-accent);
  box-shadow: 0 6px 34px rgba(30,30,30,.13);
  z-index: 1300;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.65,.05,.36,1),opacity 0.18s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 50%;
  padding: 6px 15px 3px 13px;
  border: 1px solid var(--color-border);
  margin: 18px 14px 8px 0;
  transition: background 0.18s;
}
.mobile-menu-close:hover { background: #ffe5b6; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  margin-top: 28px;
  padding-left: 34px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  padding: 9px 0;
  min-width: 160px;
  border-radius: 8px;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-muted-bg);
  color: var(--color-secondary);
}

/* --------------
   FOOTER
--------------*/
footer {
  background: var(--color-accent);
  border-top: 1.5px solid var(--color-border);
  width: 100%;
  margin-top: 60px;
}
footer .container {
  padding-top: 32px;
  padding-bottom: 32px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}
footer nav a {
  font-size: 1rem;
  color: var(--color-primary);
  padding: 7px 12px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* --------------
   BUTTONS & LINKS
--------------*/
a, button {
  transition: background 0.15s, color 0.13s, box-shadow 0.14s, transform 0.13s;
}
a:active, button:active {
  opacity: 0.88;
}

/* --------------
   IMAGES & ICONS
--------------*/
img[alt*="icon"], .feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  background: transparent;
}
.text-section img, .contact-options img {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  margin-bottom: -4px;
  vertical-align: middle;
  opacity: 0.8;
}

/* --------------
   FORMATTED LISTS
--------------*/
.text-section ul, .text-section ol,
.service-list, .steps, .tips-list, .contact-options {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.text-section ul li,
ul.service-list li, ul.tips-list li, ul.contact-options li, ol.steps li {
  margin-bottom: 7px;
}

/* --------------
   SPECIAL BLOCKS
--------------*/
.text-section {
  background: none;
  border-radius: 10px;
  padding: 0;
  color: var(--color-primary);
}

/* --------------
   CARD STYLES
--------------*/
article, .card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 16px var(--color-shadow);
  border: 1px solid var(--color-border);
  padding: 30px 22px 22px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s;
}
article:hover, .card:hover {
  box-shadow: 0 8px 32px rgba(64,109,43,0.14);
  transform: translateY(-1px) scale(1.01);
}

/* --------------
   RESPONSIVE FLEX LAYOUTS AND QUERIES
--------------*/
@media (max-width: 1050px) {
  .container { max-width: 96vw; padding: 0 9vw; }
  .feature-grid, .card-container, .card-grid { gap: 18px; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.10rem; }
  h2 { font-size: 1.5rem; }
  .container { max-width: 98vw; padding: 0 3vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  .section { padding: 32px 8px; margin-bottom: 36px; }
  .testimonial-card, .card, article { padding: 20px 14px; }
  .content-wrapper { gap: 16px; }
  .feature-grid, .card-container, .card-grid { flex-direction: column; gap: 14px; }
  .feature-grid > * { min-width: 0; }
  .testimonial-card { min-width: unset; max-width: 100%; }
}
@media (max-width: 680px) {
  .container { padding: 0 3vw; }
  .section { padding: 22px 0; }
  .testimonial-card, .card, article { padding: 14px 7px; }
  header nav { gap: 4px; }
  footer .container { padding-top: 16px; padding-bottom: 18px; }
}

@media (max-width: 900px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
}
@media (max-width: 700px) {
  .mobile-menu-toggle { display: inline-block; }
  header nav { display: none; }
}
@media (min-width: 701px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  header nav { display: flex !important; }
}

/* --------------
   COOKIE CONSENT BANNER
--------------*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 2000;
  background: var(--color-accent);
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -2px 24px rgba(64,109,43,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 24px 12px 18px 12px;
  font-size: 1rem;
  color: var(--color-primary);
  animation: slideUpBanner 0.5s;
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .action-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.cookie-consent-banner button,
.cookie-modal-actions button {
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-display);
  border: none;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 2px;
  transition: background 0.13s, color 0.13s, box-shadow 0.12s;
}
.cookie-consent-banner .accept {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-consent-banner .accept:hover,
.cookie-consent-banner .accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-consent-banner .reject {
  background: #E1DFD7;
  color: var(--color-primary);
}
.cookie-consent-banner .reject:hover {
  background: #d6d4c9;
}
.cookie-consent-banner .settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-consent-banner .settings:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  z-index: 2500;
  background: var(--color-accent);
  box-shadow: 0 6px 48px rgba(64,109,43,0.14);
  border-radius: 18px;
  border: 1.5px solid var(--color-secondary);
  padding: 34px 28px 20px 28px;
  min-width: 330px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 21px;
  font-size: 1rem;
  color: var(--color-primary);
  animation: fadeInModal 0.28s;
}
.cookie-modal h2 { font-size: 1.3rem; margin-bottom: 4px; color: var(--color-primary); }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 11px;
  gap: 12px;
}
.cookie-modal .category-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.cookie-modal .toggle-switch {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}
.cookie-modal input[type=checkbox] {
  width: 38px;
  height: 20px;
  accent-color: var(--color-primary);
}
.cookie-modal .info {
  font-size: 0.985em;
  margin-left: 5px;
  color: var(--color-muted-text);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 3px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-essential {
  color: var(--color-secondary);
  font-weight: 700;
}
@keyframes fadeInModal {
  from { transform: translate(-50%,-50%) scale(0.97); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}

/* Backdrop for modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2400;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(64, 109, 43, 0.14);
  animation: fadeBackdrop 0.28s;
}
@keyframes fadeBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --------------
   UTILITY CLASSES
--------------*/
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.flex { display: flex !important; }
.flex-row { flex-direction: row !important; }
.flex-col { flex-direction: column !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* --------------
   MICRO-INTERACTIONS
--------------*/
.cta-primary, .mobile-menu-toggle, .mobile-menu-close, .cookie-consent-banner button, .cookie-modal-actions button {
  transition: background 0.14s, color 0.14s, box-shadow 0.15s, transform 0.12s;
}

/* --------------
   ACCESSIBILITY
--------------*/
:focus-visible {
  outline: 2.5px solid var(--color-secondary) !important;
  outline-offset: 2px;
}

/* --------------
   SCROLLBAR FOR CLASSIC TOUCH
--------------*/
body {
  scrollbar-color: var(--color-primary) var(--color-muted-bg);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-muted-bg);
}
::-webkit-scrollbar-thumb {
  background: #DAD8CE;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #BFBBAE;
}
