/* ========================
   CSS 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 {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  background: #F6F4EF;
  color: #3A3747;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
}
a {
  color: #3A3747;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #D7B688;
  outline: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3A3747;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #AB8F5F;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #3A3747;
  letter-spacing: 0.01em;
}

b, strong {
  font-weight: 700;
}

/* ===============
   BRAND COLORS & FONTS
================== */
:root {
  --color-primary: #3A3747;
  --color-secondary: #D7B688;
  --color-accent: #F6F4EF;
  --color-dark: #23202a;
  --color-light: #FDFCF7;
  --color-success: #36967d;
  --color-warning: #ffb347;
  --color-error: #e9583e;
  --shadow: 0 8px 32px rgba(58,55,71,0.10), 0 2px 8px rgba(215,182,136,0.07);
  --radius: 18px;
  --radius-sm: 10px;
  --animation-quick: 0.2s ease;
  --animation-smooth: 0.4s cubic-bezier(.64,.09,.08,1);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===============
   CREATIVE ARTISTIC THEME EXTRAS
================== */
body {
  background-color: var(--color-accent);
  /* Artistic pattern overlay, subtle */
  position: relative;
  min-height: 100vh;
}
body::before {
  content: '';
  pointer-events: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  opacity: 0.08;
  background: url('../assets/illustration-bg.svg') center center/cover no-repeat;
}

/* ===============
   CONTAINER
================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ===============
   HEADER & NAVBAR
================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(58,55,71,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 10px;
}
header a img {
  height: 40px;
  filter: drop-shadow(0 2px 6px rgba(215,182,136,0.14));
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial,sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
}

.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 28px;
  margin-left: 22px;
  transition: background var(--animation-quick), color var(--animation-quick), box-shadow var(--animation-quick);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  text-align: center;
  display: inline-block;
  overflow: hidden;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 28px rgba(58,55,71,0.17);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 10px;
  transition: background var(--animation-quick), box-shadow var(--animation-quick);
  border: none;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(58,55,71,0.22);
}

/* ===============
   MOBILE MENU
================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(58,55,71,0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 28px 28px 28px;
  transform: translateX(-100vw);
  transition: transform 0.45s cubic-bezier(.68,.11,.24,1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  border: none;
  margin-bottom: 36px;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-secondary);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(246,244,239,0.08);
  transition: color var(--animation-quick), background var(--animation-quick);
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--color-secondary);
  background: rgba(215,182,136,0.12);
  border-radius: var(--radius-sm);
  padding-left: 6px;
}

@media (max-width: 1024px) {
  header nav {
    gap: 16px;
  }
  .cta-button {
    padding: 10px 20px;
    margin-left: 12px;
    font-size: 0.99rem;
  }
}
@media (max-width: 900px) {
  .cta-button {display: none;}
}
@media (max-width: 830px) {
  header .container {
    flex-wrap: wrap;
    padding: 8px 10px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===============
   HERO SECTION
================== */
.hero {
  width: 100%;
  background: linear-gradient(135deg, #F6F4EF 70%, #D7B688 100%);
  padding: 68px 0 48px 0;
  box-shadow: 0 2px 32px rgba(58,55,71,0.04);
  margin-bottom: 60px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 650px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--color-primary);
  letter-spacing: -1.2px;
  text-align: center;
  line-height: 1.2;
}
.hero p {
  font-size: 1.2rem;
  color: #3A3747B3;
  text-align: center;
  margin-bottom: 10px;
}
.hero .cta-button {
  margin-top: 16px;
  font-size: 1.09rem;
  box-shadow: 0 16px 48px rgba(215,182,136,0.12);
}

/* ===============
   SECTIONS & SPACING
================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: 0;
  border-radius: var(--radius);
  position: relative;
}

main section {
  margin-bottom: 60px;
  position: relative;
}
.content-wrapper {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@media (max-width: 768px) {
  .section,
  main section {
    margin-bottom: 40px;
    padding: 22px 4px;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* ===============
   FLEXBOX UTILITY LAYOUTS
================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  transition: box-shadow var(--animation-quick), transform var(--animation-smooth);
}
.card:hover,
.card:focus-within {
  box-shadow: 0 16px 48px rgba(215,182,136,0.12), 0 3px 12px var(--color-secondary);
  transform: translateY(-8px) scale(1.02);
}

.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;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 14px rgba(58,55,71,0.12);
  margin-bottom: 24px;
  font-size: 1.05rem;
  color: #23202a;
  position: relative;
  transition: box-shadow var(--animation-quick), transform var(--animation-smooth);
  border-left: 4px solid var(--color-secondary);
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 10px 32px rgba(215,182,136,0.10);
  transform: translateY(-4px) scale(1.01);
  border-left: 4px solid var(--color-primary);
}
.testimonial-card p {
  color: #222;
  margin-bottom: 0;
  font-style: italic;
  flex: 1;
}
.testimonial-card span {
  color: #AB8F5F;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 8px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 14px 10px;
  }
  .testimonial-card span {
    margin-left: 0;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 8px;
  min-width: 180px;
  max-width: 340px;
}

/************
 TEAM CUSTOM LAYOUT
 ************/
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.team-member {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(215,182,136,0.13);
  padding: 22px 18px;
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 340px;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial,sans-serif;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 3.5px solid #D7B68888;
  transition: box-shadow .2s, border-color .2s;
}
.team-member:hover {
  border-left: 3.5px solid var(--color-secondary);
  box-shadow: 0 10px 32px rgba(215,182,136,0.16), 0 2px 8px var(--color-secondary);
}
.team-member h3 {
  color: var(--color-primary);
}

/* ===============
   FEATURE GRID
================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 5vw;
  margin-top: 18px;
}
.feature {
  flex: 1 1 230px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(215,182,136,0.13);
  min-width: 180px;
  max-width: 320px;
  padding: 26px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow var(--animation-quick), transform var(--animation-smooth);
  position: relative;
  border-top: 4.5px solid var(--color-secondary);
  z-index: 1;
  font-size: 1rem;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 6px rgba(215,182,136, 0.11));
}
.feature h3 {
  margin-bottom: 4px;
  font-size: 1.18rem;
  color: var(--color-primary);
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 12px 42px rgba(215,182,136,0.20), 0 3px 12px var(--color-primary);
  transform: translateY(-6px) scale(1.04);
  border-top: 4.5px solid var(--color-primary);
}

@media (max-width:600px) {
  .feature-grid {
    gap: 20px 0;
  }
}

/* ===============
   PROJECTS (GALERIE)
================== */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 16px 0;
}
.project {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 1.5px 8px rgba(58,55,71,0.11);
  padding: 20px 16px 16px 18px;
  min-width: 200px;
  max-width: 325px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow .16s, transform .3s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project h3 {
  font-size: 1.15rem;
  color: var(--color-secondary);
}
.project:hover, .project:focus-within {
  box-shadow: 0 8px 32px rgba(58,55,71,0.17);
  transform: translateY(-4px) scale(1.01);
  border-left: 4px solid var(--color-secondary);
}

/********
   STEP BY STEP (ABLAUF)
********/
.step-by-step-guide ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 16px;
  margin-bottom: 8px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-list,
.steps-list {
  margin-bottom: 12px;
}

/***********
   MAP PLACEHOLDER
***********/
.map-placeholder {
  background: #eee;
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  min-height: 210px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

/*********  ADDRESS CONTACT STYLES *********/
address {
  font-style: normal;
  color: var(--color-primary);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  display: block;
  margin-top: 20px;
}
address img {
  display: inline;
  width: 1.1em;
  height: 1.1em;
  vertical-align: bottom;
  margin-right: 4px;
}

/********* FOOTER STYLES *********/
footer {
  background: #3A3747;
  color: #fff;
  padding: 48px 0 32px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
footer a {
  color: #D7B688;
  font-weight: 500;
  font-family: 'Montserrat',arial,sans-serif;
  font-size: 1rem;
  margin-right: 16px;
  transition: color 0.2s;
}
footer a:focus,
footer a:hover {
  color: #fff;
  text-decoration: underline;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer img {
  max-height: 48px;
  margin-bottom: 10px;
}
@media (max-width: 860px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ===============
   CODE & LEGAL PAGES ADJUSTMENTS
================== */
main section code, main section pre {
  background: #eae7de;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 1em;
  color: #613d19;
}
dt {
  font-weight: 700;
  margin-top: 18px;
  font-family: 'Montserrat',arial,sans-serif;
}
dd {
  margin-left: 18px;
  margin-bottom: 10px;
}

/*********************
  COOKIE CONSENT BANNER
*********************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff9f1;
  color: #3A3747;
  box-shadow: 0 -2px 16px rgba(58,55,71,0.12);
  z-index: 12000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 30px 18px 30px;
  font-size: 1rem;
  font-family: 'Roboto',Arial,sans-serif;
  animation: cookieBannerSlideIn 0.5s;
}
@keyframes cookieBannerSlideIn {
  from {
    transform: translateY(70px);
    opacity: 0; }
  to   {
    transform: translateY(0);
    opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  color: #3A3747;
  max-width: 440px;
  flex: 1 1 60%;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 20px;
  border-radius: var(--radius-sm);
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0;
  transition: background .18s, color .18s, box-shadow .16s;
}
.cookie-banner button.reject {
  background: #eee;
  color: #3A3747;
}
.cookie-banner button.settings {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(58,55,71,0.10);
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #fff9f1;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Cookie Modal (Settings) */
.cookie-modal-overlay {
  position: fixed;
  z-index: 14000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(58,55,71,0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.28s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px 0px rgba(58,55,71,0.16), 0 2px 8px var(--color-secondary);
  max-width: 430px;
  min-width: 312px;
  padding: 34px 30px 28px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2;
  animation: slideInModal 0.42s cubic-bezier(.53,.01,.1,1);
}
@keyframes slideInModal {
  from { transform: translateY(60px) scale(0.93); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 9px;
  letter-spacing: -0.5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 10px;
}
.cookie-category .toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  display: inline-block;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 1px; left: 0; right: 0; bottom: 1px;
  background: #e4e0db;
  border-radius: 20px;
  transition: 0.24s;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 1px;
  bottom: 1px;
  background: var(--color-secondary);
  border-radius: 50%;
  transition: .24s;
  box-shadow: 0 1px 4px #d7b68845;
}
.toggle-switch input:checked + .toggle-slider {
  background: #D7B68899;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
  background: var(--color-primary);
}
/* Essential cookies always enabled */
.cookie-category .essential {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  flex: 1;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 0;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  transition: background .17s, color .17s;
}
.cookie-modal .modal-actions button.cancel {
  background: #eee;
  color: #3A3747;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-modal .close-x {
  position: absolute;
  top: 20px;
  right: 22px;
  background: transparent;
  color: #23202a;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal .close-x:hover, .cookie-modal .close-x:focus { color: var(--color-secondary); }

@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 7px 13px 7px;
    font-size: 0.97rem;
    text-align: center;
  }
  .cookie-banner p { max-width: unset; }
  .cookie-modal {
    min-width: 92vw;
    padding: 18px 4vw 12px 4vw;
  }
}

/* ===============
   RESPONSIVE CONTENT GRIDS
================== */
@media (max-width: 900px) {
  .card-container, .content-grid, .feature-grid, .team-list, .project-list {
    gap: 16px;
  }
  .feature {
    min-width: 150px;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid, .feature-grid, .team-list, .project-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .team-member, .project, .card { min-width: 0; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/*********************
  CREATIVE ARTISTIC ACCENTS & ANIMATION
*********************/
.card, .feature, .team-member, .project {
  /* Artistic "stroke" inspired shadow effect */
  box-shadow: 0 6px 26px 2px rgba(215,182,136,0.07), 0 2px 8px rgba(58,55,71,0.08);
  /* Gentle fade-in animation */
  opacity: 0;
  transform: translateY(25px) scale(0.97);
  animation: fadeUpCard 0.70s 0.12s cubic-bezier(.4,1.4, .7,.9) forwards;
}
@keyframes fadeUpCard {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Artistic font for hero headings */
.hero h1, .hero h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: #3A3747;
  text-shadow: 2px 6px 0 rgba(215,182,136,0.07), 0 3px 0 rgba(58,55,71,0.08);
  /* creative slightly slant effect */
  transform: skew(-1.5deg, -0.5deg);
}

/*********************
  FORM STYLE (KONTAKT UND COOKIE)
*********************/
input, textarea, select {
  font-family: 'Roboto', Arial,sans-serif;
  padding: 9px 12px;
  background: #f6f4ef;
  border: 1.5px solid #D7B68844;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  background: #fff;
}
button[type="submit"] {
  width: auto;
  min-width: 130px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.15rem;
  border-radius: var(--radius);
  border: none;
  padding: 10px 34px;
  margin-top: 6px;
  box-shadow: 0 2px 14px rgba(215,182,136,0.09);
  transition: background .17s, color .17s, transform .13s;
  cursor: pointer;
}
button[type="submit"]:hover, button[type="submit"]:focus {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}

/*********************
  UTILITIES
*********************/
.show { display: block !important; }
.hide { display: none !important; }

/* ===============
   ENSURE MINIMUM MARGIN BETWEEN CARDS & SECTIONS
================== */
.card, .feature, .testimonial-card, .team-member, .project {
  margin-bottom: 20px;
}
.section, main section {
  margin-bottom: 60px;
}

/*********************
  ANIMATED BUTTON UNDERLINE FOR NAV
*********************/
header nav a {
  position: relative;
  background: 0 0;
}
header nav a::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--color-secondary);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.18s, transform 0.16s;
}
header nav a:hover::after, header nav a:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

/*********************
  BUTTON MICRO INTERACTIONS
*********************/
.cta-button:active,
button:active {
  transform: scale(0.98);
}

/*********************
  TYPOGRAPHIC SCALE
*********************/
/* 14px, 16px, 18px, 24px, 32px, 48px */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
p, li, dd, address { font-size: 1rem; }

@media (min-width: 700px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
}
@media (min-width: 990px) {
  h1 { font-size: 3.4rem; }
}

/*********************
  HANDLES FOR TABS/DRAG ETC (ARTISTIC)
*********************/
.card::before, .feature::before, .project::before {
  content: '';
  display: block;
  position: absolute;
  top: -13px; left: 17px;
  width: 44px; height: 4px;
  background: var(--color-secondary);
  border-radius: 2px;
  opacity: 0.12;
  filter: blur(1px);
  z-index: 0;
}

/*********************
  COLOR HIERARCHY (VISUAL)
*********************/
h2, h3, .feature h3 {
  color: #AB8F5F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
h2 {
  margin-bottom: 22px;
}
.main .cta-button, section .cta-button {
  margin-top: 16px;
}

/*******************
  ARTISTIC EXTRAS (ICONS, SVGs)
*******************/
.feature img, address img, .map-placeholder img {
  filter: drop-shadow(0 2px 4px rgba(215,182,136,0.16));
}

/* Responsive for all in mobile */
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.36rem; }
  h3 { font-size: 1.12rem; }
  .hero .cta-button, .main .cta-button {
    padding: 11px 13vw;
    font-size: 1.1rem;
  }
}

/* ===============
   ARTISTIC DECORATIVE ELEMENTS (BACKGROUND SHAPES)
================== */
.hero::after {
  content: '';
  position: absolute;
  right: -50px; bottom: -65px;
  width: 260px; height: 160px;
  background: radial-gradient(circle, #d7b68822 0%,#fff 100%);
  z-index: 0;
  border-radius: 50% / 40%;
  opacity: 0.5;
  pointer-events: none;
}

/*********************
  SCROLLBAR STYLES (CHROME/WEBKIT)
*********************/
::-webkit-scrollbar {
  width: 11px; background: #eae7de;
}
::-webkit-scrollbar-thumb {
  background: #d7b688cc;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3A3747;
}

/**************
  PRINT
**************/
@media print {
  header, .mobile-menu, nav, footer, .cta-button, .cookie-banner, .cookie-modal { display: none !important; }
}
