/* === 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FCFBF8;
  color: #2C2A27;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: #B08A5B;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2C2A27;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* === FONT IMPORTS (Google Fonts) === */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #2C2A27;
  --secondary: #B08A5B;
  --accent: #E9E6DF;
  --muted: #FCFBF8;
  --error: #a83921;
  --success: #237c56;
  --radius: 18px;
  --shadow: 0 2px 16px rgba(44,42,39,0.08), 0 0.5px 1.5px rgba(44,42,39,0.06);
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1172px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--muted);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

/* === TYPOGRAPHY === */
h1, .hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -2px;
  line-height: 1.17;
  margin-bottom: 18px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  letter-spacing: -1px;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.16rem;
  color: var(--primary);
  letter-spacing: 0.2px;
  margin-bottom: 16px;
}
p, ul li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5em;
}
strong {
  font-weight: 700;
  color: var(--secondary);
}
blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  background: var(--accent);
  color: var(--primary);
  padding: 28px 34px;
  border-left: 7px solid var(--secondary);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

/* === HEADER & NAVIGATION === */
header {
  background: linear-gradient(90deg, var(--accent) 60%, #fff 100%);
  box-shadow: 0 2px 18px rgba(44,42,39,0.09);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 25px 0 18px;
}
.main-nav > a img {
  height: 56px;
  margin-right: 8px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  opacity: 0.86;
  border-radius: 12px;
  padding: 7px 16px;
  transition: background 0.16s, color 0.16s, opacity 0.22s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--accent);
  color: var(--secondary);
  opacity: 1;
}
.cta.primary {
  background: var(--secondary);
  color: #fff;
  padding: 11px 28px 11px 34px;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: 1.11rem;
  border-radius: 45px 18px 38px 18px / 18px 45px 18px 38px;
  box-shadow: 0 2px 10px rgba(44, 42, 39, 0.11);
  letter-spacing: 0.7px;
  position: relative;
  transition: background 0.23s, color 0.23s, box-shadow 0.18s;
  margin-left: 9px;
}
.cta.primary::after {
  content: '';
  display: block;
  position: absolute;
  right: 18px; top: 44%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.15;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 3px 21px rgba(44,42,39,.17);
}
.cta, .cta.secondary {
  display: inline-block;
  background: var(--primary);
  color: var(--accent);
  padding: 11px 32px;
  border-radius: 38px 16px 38px 16px / 16px 38px 16px 38px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.08rem;
  margin-top: 13px;
  box-shadow: 0 2px 14px 0 rgba(44,42,39,0.09);
  transition: background 0.21s, color 0.17s, box-shadow 0.19s;
  letter-spacing: 0.5px;
}
.cta.secondary, .cta:not(.primary) {
  background: var(--secondary);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(44,42,39,0.18);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  padding: 3px 16px;
  transition: background 0.13s;
  margin-left: auto;
  z-index: 170;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(236,233,222,0.98);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.8,.2,.2,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  width: 100vw;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--secondary);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 40px;
  padding: 0 22px 3px 18px;
  margin: 22px 32px 0 0;
  transition: background 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--primary);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 48px 0 0 36px;
  gap: 24px;
  width: 80vw;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  background: transparent;
  padding: 12px 10px 13px 4px;
  border-radius: 10px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 992px) {
  .main-nav ul {
    gap: 14px;
  }
  .main-nav > a img {
    height: 44px;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .main-nav .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 540px) {
  .main-nav > a img {
    height: 32px;
  }
  .mobile-nav {
    margin: 28px 0 0 14px;
    width: 94vw;
  }
}

/* === HERO SECTION === */
.hero {
  background: rgb(231,219,192);
  background: linear-gradient(135deg, var(--accent) 85%, #B08A5B 100%);
  margin-bottom: 60px;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.hero .container {
  padding-top: 42px;
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 19px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.3rem;
  text-shadow: 2px 3px 2px rgba(44,42,39,0.07);
}
.hero .subheadline {
  font-size: 1.15rem;
  color: var(--secondary);
}
.hero .cta {
  margin-top: 18px;
  font-size: 1.07rem;
  min-width: 220px;
}

/* === FEATURE GRID & LISTS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 22px;
}
.feature-grid li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 10px rgba(176,138,91,0.10);
  padding: 29px 27px 24px 27px;
  min-width: 190px;
  flex: 1 1 245px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 18px;
  transition: box-shadow 0.19s, background 0.13s;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 6px 22px rgba(44,42,39,0.12);
  background: var(--accent);
}
.feature-grid li img {
  width: 36px;
  height: 36px;
  margin-bottom: 7px;
  filter: drop-shadow(1px 2px 3px rgba(176,138,91,0.13));
}
.feature-grid li h3 {
  font-size: 1.12rem;
  color: var(--secondary);
  margin-bottom: 2px;
}
.feature-grid li p {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
  margin: 18px 0;
}
.feature-list li {
  background: var(--accent);
  padding: 18px 27px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--primary);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

/* === SERVICE LIST === */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.service-list li {
  background: #fff;
  border-radius: 13px;
  padding: 24px 30px;
  box-shadow: 0 2px 14px 0 rgba(44,42,39,0.09);
  min-width: 225px;
  flex: 1 1 275px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow 0.22s, background 0.16s;
}
.service-list li:hover, .service-list li:focus {
  box-shadow: 0 5px 20px rgba(44,42,39,0.14);
  background: var(--accent);
}

/* === CARDS & CARD CONTAINER === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 12px 0;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, background 0.13s;
}
.card:hover, .card:focus {
  box-shadow: 0 7px 16px rgba(44,42,39,0.17);
  background: var(--accent);
}

/* === CONTENT GRID & TEXT-IMAGE SECTIONS === */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: center;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* === TESTIMONIALS === */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 13px 0 rgba(176,138,91,0.12);
  color: #2C2A27;
  min-width: 250px;
  max-width: 420px;
  flex: 1 1 330px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s, background 0.15s;
  border-left: 6px solid var(--secondary);
}
.testimonial-card p {
  font-size: 1.12rem;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  margin: 0 0 0.3em 0;
}
.testimonial-card span {
  display: block;
  font-size: 0.99rem;
  color: var(--secondary);
  font-family: 'Roboto', Arial, sans-serif;
  margin-left: 5px;
}
.testimonial-card:hover {
  background: var(--accent);
  box-shadow: 0 6px 18px 0 rgba(176,138,91,0.21);
}

/* === FEATURE ITEM (for About/Features) === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* === TEXT SECTION in content (About & Kontakt) === */
.text-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(176,138,91,0.09);
  padding: 34px 26px;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* === FOOTER === */
footer {
  background: linear-gradient(90deg, #fff 86%, var(--accent) 100%);
  border-top: 3px solid var(--secondary);
  padding-top: 32px;
  padding-bottom: 42px;
  color: var(--primary);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 42px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
footer section address {
  font-style: normal;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.footer-menu li a {
  color: var(--primary);
  font-weight: 500;
}
.footer-menu li a:hover {
  color: var(--secondary);
}
.social-links {
  display: flex;
  gap: 16px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  filter: grayscale(28%) drop-shadow(0 2px 3px rgba(176,138,91,0.09));
  transition: filter 0.18s;
}
.social-links a:hover img {
  filter: none;
}
footer small {
  display: block;
  color: var(--secondary);
  font-size: 0.98rem;
  margin-top: 15px;
}

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

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .feature-grid, .service-list, .testimonial-slider {
    gap: 16px;
  }
  .section {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  h1, .hero h1 {
    font-size: 1.85rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .feature-grid, .service-list, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .service-list li, .testimonial-card {
    min-width: 98%;
    flex: 1 1 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .section {
    padding: 20px 7px;
    margin-bottom: 38px;
  }
  .text-section {
    padding: 18px 8px;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 11px 2px;
    margin-bottom: 24px;
  }
  .feature-grid li, .service-list li { padding: 16px 7px; }
  .hero .container { padding-top: 16px; padding-bottom: 18px; }
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.card, .feature-grid li, .service-list li, .testimonial-card, .cta, .cta.primary, .cta.secondary, .main-nav ul li a, .footer-menu li a, .mobile-nav a {
  transition: background 0.15s, color 0.15s, box-shadow 0.14s, transform 0.12s;
}
.card:active, .feature-grid li:active, .service-list li:active, .testimonial-card:active {
  transform: translateY(2px) scale(0.99);
}
.cta:active, .cta.primary:active {
  transform: scale(0.96);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fffbea;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -3px 34px rgba(44,42,27,0.12);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 310;
  padding: 22px 50px 16px 42px;
  gap: 16px;
  animation: cookieIn 0.87s cubic-bezier(.7,.2,.2,1);
}
@keyframes cookieIn {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__info {
  font-size: 1.08rem;
  color: var(--primary);
  flex: 2 1 340px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.btn-cookie {
  font-family: 'Playfair Display', serif;
  font-size: 1.03rem;
  padding: 8px 19px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 11px;
  box-shadow: 0 1px 9px 0 rgba(44,42,39,0.09);
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
  transition: background 0.18s, color 0.14s;
}
.btn-cookie.settings {
  background: var(--primary);
  color: #fffbea;
}
.btn-cookie.reject {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.btn-cookie:hover, .btn-cookie:focus {
  background: var(--primary);
  color: var(--secondary);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px 9px 10px;
  }
  .cookie-banner__actions {
    gap: 11px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,42,39,0.28);
  z-index: 350;
  display: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.active {
  display: block;
  opacity: 1;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  border-radius: 22px;
  padding: 38px 38px 28px 38px;
  z-index: 400;
  box-shadow: 0 3px 44px 0 rgba(44,42,27,0.19);
  max-width: 410px;
  width: 95vw;
  animation: modalIn 0.42s cubic-bezier(.7,.2,.2,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%,-37%) scale(0.93); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(0.98); }
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: var(--secondary);
  margin-bottom: 0.9em;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 18px 0;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-cat input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 1.25em;
  height: 1.25em;
}
.cookie-cat.essential input {
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
}
.btn-cookie.save {
  background: var(--secondary);
  color: #fff;
  font-weight: bold;
}
.btn-cookie.cancel {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}

/* === FORM STYLES (if any forms are added) === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px;
  background: var(--accent);
  border: 1.5px solid var(--secondary);
  border-radius: 7px;
  margin-bottom: 13px;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
}

/* === CUSTOM VISUAL ACCENTS === */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: 32px; top: 24px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.07;
  z-index: 1;
}
.section {
  overflow: visible;
}

/* Some playful underlines for main headlines */
h1, .hero h1, .hero h2 {
  position: relative;
  z-index: 2;
}
h1::after, .hero h1::after, .hero h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 5px;
  border-radius: 5px;
  background: var(--secondary);
  margin: 13px auto 0 auto;
  opacity: 0.19;
}

@media (max-width: 540px) {
  h1::after, .hero h1::after, .hero h2::after {
    width: 38px;
    margin-top: 7px;
  }
}

/* Unique illustrative accent in testimonial cards */
.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  color: var(--accent);
  position: absolute;
  left: 18px; top: 4px;
  opacity: 0.20;
  z-index: 1;
}

.testimonial-card p, .testimonial-card span {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .testimonial-card::before {
    font-size: 2.1rem;
    top: 2px;
    left: 10px;
  }
}

/* Decorative border for social icons */
.social-links a {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(176,138,91,0.09);
  padding: 3px;
  transition: box-shadow 0.18s;
}
.social-links a:hover {
  box-shadow: 0 2px 12px 0 rgba(44,42,39,0.12);
}

/* === ACCESSIBILITY & CONTRAST === */
.testimonial-card {
  background: #fff;
  color: #2C2A27;
  border-left: 6px solid var(--secondary);
}
.testimonial-card:hover {
  background: var(--accent);
  color: #2C2A27;
}

/* === OVERRIDE: PREVENT ABSOLUTE POSITIONING ON CARDS (only decorative allowed above) === */
.card, .feature-grid li, .testimonial-card, .service-list li {
  position: relative;
  z-index: 2;
}

/**** END STYLE CSS ****/
