/* ===============================
   CSS RESET & BASE 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, main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.7;
  background: #F4F4F9;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #264653;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* ==========================================
   VARIABLES (fallback for older browsers)
   ========================================== */

:root {
  --primary: #264653;
  --secondary: #E9C46A;
  --accent: #F4F4F9;
  --danger: #DA4453;
  --success: #27AE60;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --shadow-md: 0 4px 12px rgba(38,70,83,0.09);
  --shadow-lg: 0 8px 24px rgba(38,70,83,0.13);
}

/* ===============================
   BRAND TYPOGRAPHY & BASE
   =============================== */

h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: 2px 6px 0 #E9C46A33;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 1px 4px 0 #E9C46A2b;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
}
p, li, a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #264653;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

/* Artistic/Creative heading effects */
h1, .h1, h2, .h2 {
  position: relative;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  border-radius: 4px;
  background: var(--secondary);
  margin-top: 12px;
  margin-bottom: 8px;
}

/* ===============================
   LAYOUT & SPACING PATTERNS
   =============================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; box-shadow: var(--shadow-md); background: #fff; border-radius: 18px; overflow: hidden; }
.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; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ================
    RESPONSIVE
================== */
@media (max-width: 1024px) {
  .container { max-width: 960px; }
}
@media (max-width: 900px) {
  h1, .h1 { font-size: 2.15rem; }
  h2, .h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; }
  .section { padding: 28px 10px; margin-bottom: 36px; }
  .content-wrapper,
  .card-container,
  .content-grid,
  .feature-grid,
  .testimonial-list,
  .case-studies,
  .team-list {
    gap: 14px;
  }
  .text-image-section,
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 1.4rem; }
  h2, .h2 { font-size: 1rem; }
  .section { padding: 16px 4px; }
}

/* ==============
   FLEX GRIDS
============== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 24px;
  margin-bottom: 12px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.18s;
  min-width: 230px;
  will-change: box-shadow, transform;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-7px) scale(1.015) rotate(-1deg);
}
.feature-grid img {
  width: 48px;
  margin-bottom: 12px;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #FFFDEE;
  border-left: 7px solid var(--secondary);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 22px 28px 24px 32px;
  min-width: 260px;
  max-width: 360px;
  font-size: 1.075rem;
  color: #264653;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.18s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.025);
}
.testimonial-meta {
  margin-top: 14px;
  font-size: 0.98em;
  color: #aaa;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Ensuring contrast for testimonial text */
.testimonial-card p,
.testimonial-card strong {
  color: #222;
}

/* Case studies */
.case-studies {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #E4EAF6;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  margin-top: 18px;
}
.case-studies h3 {
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 1.15rem;
}

/* Course grid for kurse.html */
.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.course-item {
  flex: 1 1 280px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 28px 20px 24px 28px;
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s, transform 0.2s;
}
.course-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) rotate(1.1deg);
}

/* Team list / Lecturers */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  background: #fff;
  border: 2px solid #E9C46A55;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  flex: 1 1 250px;
  padding: 24px 24px 18px 26px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, border 0.18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-member h3 { margin: 0 0 8px 0; }
.team-member .expertise {
  background: #E9C46A1a;
  color: var(--primary);
  font-size: 0.98rem;
  border-radius: 7px;
  padding: 6px 14px;
  align-self: flex-start;
}
.team-member:hover {
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-lg);
}

/* Newsletter signup footer CTA */
.newsletter-signup {
  background: #E9C46A33;
  border-radius: 14px;
  padding: 18px 24px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

/* Misc layouts */
.location-info {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.map-placeholder, .team-photo-placeholder {
  background: linear-gradient(135deg, #E9C46A33, #e76f512b);
  border-radius: 17px;
  min-width: 180px; min-height: 120px;
  height: 180px;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #bbb;
  box-shadow: var(--shadow-md);
}
@media (max-width: 700px) {
  .location-info {
    flex-direction: column;
    gap: 14px;
  }
  .map-placeholder {width: 100%;min-width:100px;}
}

/* Contact details (kontakt) */
.contact-details,
.contact-instructions {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details img { width: 22px; margin-right: 10px; vertical-align: middle; }
.contact-details a { color: var(--primary); text-decoration: underline; }

/* ==========
   HERO
=========== */
.hero {
  background: #fffbe6;
  background-image: url('../assets/hero-bg-artistic1.svg'), url('../assets/hero-bg-artistic2.svg');
  background-size: 160px auto, 140px auto;
  background-repeat: no-repeat, no-repeat;
  background-position: right top, left bottom;
  border-radius: 0 0 62px 62px/0 0 32px 32px;
  box-shadow: 0 8px 32px -10px rgba(46, 91, 93, 0.10);
  margin-bottom: 38px;
  min-height: 270px;
  padding-top: 64px;
  padding-bottom: 56px;
  position: relative;
}
@media (max-width: 900px) {
  .hero { background-size: 92px auto, 82px auto; border-radius: 0 0 22px 22px/0 0 8px 8px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 28px;padding-bottom:20px; }
}

/* ================
   HEADER & NAV
================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 30px -10px #cdd7e1;
  position: sticky;
  top: 0; z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.logo img,
.logo-footer img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 4px 8px #E9C46A33);
  margin-right: 8px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #264653ee;
  letter-spacing: 0.1em;
  padding: 8px 10px;
  transition: color 0.18s, background 0.2s, border-radius 0.2s;
  border-radius: 7px;
  position: relative;
  z-index: 1;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.cta-btn.primary {
  background: var(--primary);
  color: #fff !important;
  border-radius: 21px;
  padding: 11px 36px;
  font-size: 1.13rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.09em;
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 0 #e9c46a33;
  transition: background 0.18s, color 0.16s, box-shadow 0.19s;
  margin-left: 10px;
  margin-right: 0;
  margin-top: 0;
  cursor: pointer;
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: var(--secondary);
  color: var(--primary) !important; 
  border-color: var(--secondary);
  box-shadow: 0 4px 24px -7px var(--secondary);
}
.cta-btn {
  background: #fff;
  color: var(--primary)!important;
  border-radius: 21px;
  padding: 10px 32px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: 2px solid var(--secondary);
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.18s, color 0.17s, box-shadow 0.17s, border-color 0.18s;
  cursor: pointer;
  display: inline-block;
 }
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: #fff !important;
  box-shadow: 0 4px 20px -5px var(--secondary);
  border-color: var(--primary);
}

/* ==========================
   MOBILE MENU (BURGER NAV)
============================ */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  border: none;
  padding: 6px 16px;
  border-radius: 8px;
  z-index: 105;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e9c46a33;
}

@media (max-width: 950px) {
  nav.main-nav,
  .cta-btn.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* The overlay menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(38, 70, 83, 0.96);
  z-index: 110;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 32px;
  transition: transform 0.38s cubic-bezier(.76,0,.24,1);
  transform: translateX(-100vw);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--secondary);
  background: none;
  margin: 12px 0 10px 24px;
  border: none;
  align-self: flex-start;
  z-index: 120;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #e9c46a44;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 26px;
  width: 90vw;
  margin-left: 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  padding: 8px 8px 8px 0;
  border-radius: 7px;
  transition: background 0.14s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 640px){
  .mobile-menu {padding-top: 14px;}
  .mobile-nav { gap: 16px; margin-left: 10px; }
  .mobile-nav a {font-size: 1.14rem;}
}

/* ================
   MAIN & SECTIONS
================== */
main {
  width: 100%;
  background: transparent;
}
.section, main > section {
  background: transparent;
  margin-bottom: 60px;
}

ul.brand-values {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
ul.brand-values li {
  background: #E9C46A22;
  padding: 12px 18px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #213030;
}
ul.impact-stats {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
ul.impact-stats li {
  background: #F7EBCB;
  border-radius: 7px;
  padding: 8px 16px;
  color: var(--primary);
  font-weight: 600;
}

/* Blog list */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-preview {
  flex: 1 1 270px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 23px 18px 26px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.17s;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.blog-preview h3 {
  color: var(--primary);
}
.blog-preview:hover, .blog-preview:focus {
  box-shadow: var(--shadow-lg);
  transform: scale(1.022) rotate(-1deg);
}

/* =============
   FOOTER
============== */
footer {
  background: #264653;
  color: #fff;
  width: 100%;
  margin-top: 88px;
  box-shadow: 0 -6px 40px -10px #26465340;
  border-radius: 32px 32px 0 0 / 12px 12px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 36px 36px;
  padding-top: 48px;
  padding-bottom: 46px;
}
.logo-footer img {
  height: 40px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 5px;
  padding: 3px 4px;
  transition: background 0.13s, color 0.14s;
}
.footer-nav a:hover {
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
  color: #fff;
}
.footer-contact img {
  width: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  margin-bottom: 18px;
}
.footer-social a img {
  width: 28px; height: 28px;
  filter: drop-shadow(0 3px 8px #E9C46A33);
  transition: transform 0.16s, filter 0.14s;
}
.footer-social a:hover img {
  transform: scale(1.13) rotate(-7deg);
  filter: brightness(1.25) drop-shadow(0 6px 12px #E9C46A66);
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 25px;
  }
  .logo-footer {margin-bottom:6px;}
}

/* ================
   COOKIE CONSENT
================== */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  background: #fff;
  box-shadow: 0 -3px 24px #26465320;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 28px 26px 24px 32px;
  z-index: 210;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: transform 0.28s cubic-bezier(.68,.1,.23,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(160px);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 18px;
  padding: 10px 22px;
  font-size: 1rem;
  border: none;
  box-shadow: 0 1px 7px #e9c46a16;
  margin-left: 3px;
  margin-right: 3px;
  transition: background 0.17s, color 0.15s, box-shadow 0.16s;
  cursor: pointer;
}
.cookie-banner .accept-btn { background: var(--secondary); color: #222; border: 2px solid var(--secondary); }
.cookie-banner .accept-btn:hover { background: var(--primary); color: #fff; }
.cookie-banner .reject-btn { background: #fff5e1; color: var(--primary); border: 2px solid var(--secondary); }
.cookie-banner .reject-btn:hover { background: #264653; color: #fff; }
.cookie-banner .settings-btn { background: transparent; color: var(--primary); border: 2px solid #bbb; }
.cookie-banner .settings-btn:hover { background: var(--secondary); color: #fff; }

@media (max-width:660px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    font-size:0.98rem;
    padding: 20px 6px 12px 8px;
  }
  .cookie-banner .cookie-btns {
    gap: 9px; flex-wrap: wrap;
  }
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 340;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  align-items: center;
  justify-content: center;
  background: rgba(28,36,49,0.42);
  animation: fadeIn .3s cubic-bezier(.24,0,.76,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal .cookie-dialog {
  background: #fff;
  border-radius: 18px;
  padding: 38px 34px 26px 34px;
  box-shadow: 0 6px 40px #26465368;
  min-width: 340px;
  max-width: 92vw;
  min-height: 210px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1rem;
  font-family: var(--font-body);
  animation: riseIn 0.33s cubic-bezier(.24,1,.68,1);
}
@keyframes riseIn { from {transform:translateY(80px); opacity:0;} to {transform:translateY(0);opacity:1;} }
.cookie-modal .modal-close {
  position: absolute; top: 18px; right: 26px;
  background: none; border: none;
  font-size: 1.8rem;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal .modal-close:hover { color: var(--primary); }
.cookie-modal h3 {font-family:var(--font-display);font-size:1.2rem;margin-bottom:10px;color:var(--primary);}
.cookie-setting-list {
  display: flex; flex-direction: column; gap: 14px;
}
.cookie-setting-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #F7EBCB;
  border-radius: 8px; padding: 9px 16px;
  font-size: 1rem;
}
.cookie-setting-item label {
  font-weight: 600;
}
.cookie-switch {
  width: 38px; height: 22px; border-radius: 13px;
  background: #D0C7A3;
  position: relative; transition: background 0.12s;
}
.cookie-switch input {display:none;}
.cookie-switch .slider {
  position: absolute; left:2px; top:2px; width:18px;height:18px;
  border-radius:50%; background: #fff;
  transition: left 0.18s, background 0.15s;
  box-shadow: 0 0 3px #26465322;}
.cookie-switch input:checked + .slider {
  left:18px; background: var(--secondary);
}
.cookie-setting-item[data-disabled='true'] {
  opacity: 0.54;
  pointer-events: none;
}

.cookie-modal .cookie-btns {
  display: flex; gap: 12px; margin-top:10px;
}
.cookie-modal .accept-btn, .cookie-modal .reject-btn {
  min-width: 80px;
}

@media (max-width:500px) {
  .cookie-modal .cookie-dialog {
    padding: 18px 7px 16px 10px;
    min-width: 180px;
    font-size:0.94rem;
  }
}

/* ================
   MICROINTERACTIONS
================== */
.card, .feature-grid > div, .testimonial-card, .course-item, .team-member, .blog-preview {
  transition: box-shadow 0.22s cubic-bezier(.3,.4,.6,.9), transform 0.14s cubic-bezier(.3,.6,.6,1.4), border-color 0.19s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover, .course-item:hover, .team-member:hover, .blog-preview:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.03) rotate(-2.8deg);
}

/* Subtle artistic backgrounds for cards (creative/artistic effect) */
.card, .feature-grid > div, .testimonial-card, .course-item, .team-member, .blog-preview {
  background: linear-gradient(145deg, #fff 92%, #E9C46A1f 120%);
}

/* ================
   UNIQUE ARTISTIC DETAILS
================== */
.course-item, .feature-grid > div, .testimonial-card, .team-member, .blog-preview {
  border-bottom: 4px solid var(--secondary);
  border-top: 2px solid #2646530e;
}

.card-extra-art {
  position: absolute; bottom: -9px; left: -19px;
  width: 42px; height: 42px;
  background: var(--secondary);
  opacity: 0.19;
  border-radius: 18px 52px 8px 23px / 37px 8px 44px 12px;
  z-index: 1;
}

/* ================
   GENERAL FORMS
================== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #ddd;
  padding: 11px 13px;
  margin-bottom: 16px;
  width: 100%;
  background: #fff;
  color: var(--primary);
  outline: none;
  box-shadow: 0 1px 5px #E9C46A16;
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  box-shadow: 0 2px 17px -3px #E9C46A65;
}

/* ============
   MISC
============ */
::-webkit-scrollbar {
  width: 8px;
  background: #E9C46A33;
}
::-webkit-scrollbar-thumb {
  background: #d0bf77;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c19731;
}

/* Accessibility: high contrast for focus */
a:focus, .cta-btn:focus, button:focus, input:focus, .mobile-menu-toggle:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* Support for visually impaired: dark text on light testimonials */
.testimonial-card, .testimonial-card p, .testimonial-card strong { color: #1c1c1c; background: #FFFDEE; }

/* ================
   PRINT NOGAPS
==================*/
@media print {
  body, .container, section, .section {
    background: none!important;
    box-shadow: none!important;
    border: none!important;
    color: #000;
  }
  a, .cta-btn { color:black!important;text-decoration:underline!important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display:none!important;}
}
