/* --- 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  color: #2B3320;
  background: #faf9f6;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
  border: none;
  background: none;
}
:root {
  --color-primary: #1A2747;
  --color-secondary: #FFD100;
  --color-accent: #FFFFFF;
  --color-green: #53764C;
  --color-brown: #C8B293;
  --color-stone: #E9E6DF;
  --color-sand: #F3F0E7;
  --color-shade: #f5f6f4;
  --color-bg-section: #F7F7F2;
  --color-bg-footer: #E9E6DF;
  --color-shadow: rgba(80, 90, 60, 0.07);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --radius-xl: 32px;
  --radius-lg: 18px;
  --radius: 12px;
  --shadow: 0 4px 24px 0 var(--color-shadow);
  --transition: 0.18s cubic-bezier(.9,.12,.33,1.08);
  --focus: 0 0 0 3px #FFD10099;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-green);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--color-green);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-primary);
}
body, p, li, table, textarea, input {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: #393D2A;
}
p {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
.guarantee-text {
  font-style: italic;
  color: var(--color-green);
  margin-top: 18px;
  font-size: 1.1rem;
}

/* --- CONTAINER & SECTIONS --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
section {
  background: var(--color-bg-section);
  border-radius: var(--radius-xl);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 8px var(--color-shadow);
}
@media (max-width:768px) {
  section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
}

/* --- HEADER --- */
header {
  background: var(--color-accent);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  padding-top: 15px;
  padding-bottom: 12px;
  margin-bottom: 32px;
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
header img[alt="PräsentationsMeister"] {
  height: 50px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
}
.main-nav a {
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-sand);
  color: var(--color-green);
  outline: none;
  box-shadow: var(--focus);
}
.cta-btn {
  background: var(--color-green);
  color: var(--color-accent)!important;
  padding: 12px 30px;
  border-radius: 48px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: .03em;
  transition: box-shadow var(--transition), background var(--transition), transform var(--transition);
  box-shadow: 0 2px 12px var(--color-shadow);
  outline: none;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  display: inline-block;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #41683E;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(130,156,128,.11);
  outline: none;
}

/* --- MOBILE BURGER --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: var(--color-accent);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  align-items: center;
  justify-content: center;
  border: none;
  position: absolute;
  top: 16px;
  right: 14px;
  z-index: 31;
  cursor: pointer;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  outline: none;
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-green);
  color: var(--color-accent);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.7,.20,.27,.97);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-secondary);
  color: var(--color-green);
  border-radius: 50%;
  font-size: 2.4rem;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 20px 12px 0;
  box-shadow: 0 0 6px rgba(40,70,34,0.09);
  border: none;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 36px 16px 36px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  padding: 13px 16px;
  transition: background .18s, color .18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-green);
  outline: none;
}
@media (min-width:981px) {
  .mobile-menu { display: none!important; }
  .mobile-menu-toggle { display: none!important; }
}

/* --- GENERAL ELEMENTS --- */
ul, ol {
  padding-left: 18px;
}
ul li, ol li {
  margin-bottom: 9px;
  color: #2B3320;
}
ul li img, ol li img {
  margin-right: 7px;
  vertical-align: middle;
}
section ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 0;
  padding: 0;
}
section ul.feature-grid li {
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 20px 20px 20px;
  min-width: 220px;
  flex: 1 1 0px;
  margin-bottom: 0!important;
  transition: transform 0.13s, box-shadow 0.18s;
}
section ul.feature-grid li:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 18px 0 rgba(130,156,128,.13);
}
section ul.feature-grid img {
  width: 40px; height: 40px; margin-bottom: 6px;
}
@media (max-width:768px) {
  section ul.feature-grid { flex-direction: column; gap: 18px; }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-bottom: 0;
  box-shadow: 0 1px 7px var(--color-shadow);
}
.text-section ul {
  padding-left: 19px;
}
@media (max-width: 768px) {
  .text-section {
    font-size: 1rem;
    padding: 12px 8px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- TESTIMONIALS --- */
.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 20px 16px 22px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px var(--color-shadow);
  min-width: 250px;
  max-width: 350px;
  flex: 1 1 0px;
  margin-bottom: 20px;
  border-left: 6px solid var(--color-green);
  position: relative;
  transition: box-shadow 0.20s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 24px 0 rgba(90,140,82,.14);
  transform: translateY(-2px) scale(1.03);
}
.testimonial-card p {
  color: #38421B;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 7px;
}
.testimonial-card span {
  font-size: .97rem;
  color: var(--color-primary);
}
@media (max-width:768px) {
  .testimonials-row {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 16px 10px 14px 12px;
  }
}

.case-studies-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  margin-bottom: 0;
}

/* --- CARDS & FLEX CONTAINERS --- */
.card-container, .card-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 9px var(--color-shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-sand);
  border-radius: var(--radius);
  padding: 18px 16px;
}

/* --- PRICING TABLE STYLES --- */
.pricing-table {
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--color-accent);
  box-shadow: 0 2px 9px var(--color-shadow);
  overflow: hidden;
  margin-bottom: 22px;
}
.pricing-table th, .pricing-table td {
  padding: 15px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eae5d8;
  font-size: 1rem;
}
.pricing-table td ul {
  padding-left: 19px;
}
.pricing-table thead tr {
  background: var(--color-brown);
  color: var(--color-green);
}
.pricing-table th {
  font-weight: bold;
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width:600px) {
  .pricing-table, .pricing-table thead, .pricing-table tbody, .pricing-table tr {
    display: block;
    width: 100%;
  }
  .pricing-table th, .pricing-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 5vw 10px 5vw;
  }
  .pricing-table thead {
    display: none;
  }
}

/* --- TABLE OF CONTENTS, GENERIC TABLES --- */
table {
  width: 100%;
  margin: 16px 0 24px 0;
  border-radius: var(--radius);
  background: var(--color-accent);
  overflow: hidden;
  box-shadow: 0 1px 7px var(--color-shadow);
}
th, td {
  padding: 10px 12px;
  border-bottom: 1px solid #eae5d8;
}
th { font-weight: 700; font-family: var(--font-display); color: var(--color-green); background: var(--color-shade); }
tr:last-child td { border-bottom: none; }

/* --- BUTTONS --- */
button, .button {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 48px;
  padding: 11px 26px;
  background: var(--color-green);
  color: var(--color-accent);
  font-size: 1.08rem;
  border: none;
  cursor: pointer;
  transition: background .19s, box-shadow .19s, transform .14s;
  box-shadow: 0 2px 10px var(--color-shadow);
  outline: none;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #44603B;
  transform: translateY(-1px) scale(1.03);
  outline: none;
}

/* --- FOOTER --- */
footer {
  background: var(--color-bg-footer);
  padding: 36px 0 0 0;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  box-shadow: 0 -2px 16px var(--color-shadow);
  margin-top: 54px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 12px;
  padding-bottom: 0;
}
footer .footer-column {
  flex: 1 1 230px;
  padding-right: 21px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-column img {
  height: 42px;
  margin-bottom: 5px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-primary);
  font-size: 1rem;
  padding: 7px 0 7px 0;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-sand);
  color: var(--color-green);
  outline: none;
}
footer p, footer li {
  color: #38421B;
  font-size: .98rem;
}
footer .container:last-child {
  border-top: 1px solid #d0cabe;
  margin-top: 22px;
  padding: 13px 0 22px 0;
  font-size: .98rem;
  display: flex;
  flex-direction: row;
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 24px; }
  footer .footer-column { padding-right: 0; }
}
@media (max-width:600px) {
  footer { padding: 19px 0 0 0; }
  footer .container { padding-bottom: 0; }
}

/* --- LINKS --- */
a {
  color: var(--color-green);
  text-decoration: underline;
  transition: color .17s;
}
a:hover, a:focus {
  color: #1A2747;
  text-decoration: underline;
  outline: none;
}

/* --- MISC / VISUALENHANCEMENTS --- */
hr {
  border: 0;
  height: 1px;
  background: #eae5d8;
  margin: 19px 0 17px 0;
  width: 100%;
}
@media (max-width: 600px) {
  .container { padding: 0 3vw; }
}

/* --- COOKIE CONSENT --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 -1px 19px rgba(47,41,7,0.19);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 32px 20px 32px;
  z-index: 2000;
  font-size: 1rem;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  animation: banner-slide-up 0.45s cubic-bezier(.47,1.14,.8,1.07);
}
@keyframes banner-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: var(--color-accent);
  flex: 2 1 100px;
  margin-bottom: 0;
}
.cookie-consent-actions {
  display: flex;
  gap: 14px;
  flex: 1 1 0px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-green);
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: 32px;
  padding: 10px 22px;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  font-size: 1rem;
  transition: background .14s, color .16s, transform .1s;
  box-shadow: 0 1px 8px var(--color-shadow);
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-green);
  color: var(--color-accent);
  outline: var(--focus);
  transform: translateY(-1px) scale(1.03);
}
.cookie-btn.settings {
  background: var(--color-brown);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #ede8d2;
  color: var(--color-primary);
}
@media (max-width: 800px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px 12px 10px;
    gap: 11px;
  }
  .cookie-consent-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 60%) scale(0.95);
  width: 96vw;
  max-width: 390px;
  background: var(--color-accent);
  color: var(--color-primary);
  z-index: 2100;
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 40px rgba(47,41,7,0.21);
  padding: 32px 24px 28px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .20s, transform .20s cubic-bezier(.48,.93,.48,1.17);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1.01);
}
.cookie-modal h3 {
  margin-bottom: 13px;
  font-size: 1.15rem;
  color: var(--color-green);
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-modal .switch input { opacity: 0;
  width: 0; height: 0; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e8e6db;
  border-radius: 17px;
  transition: background .17s;
}
.cookie-modal .switch input:checked + .slider {
  background: var(--color-green);
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px; bottom: 3px;
  background-color: var(--color-accent);
  border-radius: 50%;
  transition: .23s;
  box-shadow: 0 1px 6px rgba(47,41,7,0.1);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .category-desc {
  color: #34502D;
  font-size: .95rem;
  margin-top: -7px;
  margin-bottom: 9px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 16px 6vw 14px 7vw;
    width: 98vw;
    max-width: 99vw;
  }
}

/* --- FORMS & INPUTS (if needed) --- */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
  border: 1.5px solid #bcc1b3;
  padding: 11px 15px;
  background: var(--color-accent);
  color: var(--color-primary);
  margin-bottom: 14px;
  width: 100%;
  outline: none;
  transition: border-color .18s, box-shadow .16s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-green);
  box-shadow: var(--focus);
}

/* --- MEDIA QUERIES & FLEX DIRECTIONS --- */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card-container, .card-grid, .features, .content-grid, .testimonials-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- ORGANIC VISUAL ACCENTS --- */
section, .card, .testimonial-card, .text-section {
  border-radius: 46px 28px 40px 24px / 34px 34px 44px 36px;
}

/* --- ORGANIC SHADOWS --- */
.card, .testimonial-card, section, .pricing-table, .cookie-modal {
  box-shadow: 0 4px 24px 2px var(--color-shadow);
}

/* --- IMPROVED SPACING & WHITE SPACE --- */
section, .footer, .header, .card, .testimonial-card, .text-section {
  margin-bottom: 24px;
}

/* --- ACCESSIBILITY OUTLINE --- */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: var(--focus);
}

/* --- CUSTOM LIST STYLES FOR ORGANIC STYLE --- */
ul, ol {
  list-style: none;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  background: var(--color-green);
  border-radius: 40% 60% 65% 35% / 70% 40% 60% 30%;
  vertical-align: middle;
  box-shadow: 0 1px 5px rgba(91,106,82,0.07);
}

/* --- BRAND FONT IMPORTS / FALLBACKS (from Google Fonts) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* --- UTILITIES --- */
.hide { display:none!important; }
.flex { display:flex; }
.align-center { align-items:center; }
.mb-20 { margin-bottom:20px; }

@media (max-width: 480px) {
  h1,.h1 {font-size:1.35rem;}
  h2,.h2 {font-size:1.10rem;}
  h3,.h3 {font-size:1rem;}
}
