/* --- 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, 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;
}
html {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #F6F7F9;
  color: #322D23;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-display: swap;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}
*:focus {
  outline: 2px dashed #1A3951;
  outline-offset: 2px;
}

/* --- VINTAGE RETRO BRAND VARIABLES --- */
:root {
  --brand-primary: #1A3951; /* dark blue */
  --brand-secondary: #86B26F; /* moss green */
  --brand-accent: #F6F7F9; /* accent background */
  --brand-yellow: #EEC07A; /* warm yellow, retro */
  --brand-brown: #8B6F4E; /* muted brown */
  --brand-orange: #FC9772; /* soft muted orange */
  --brand-red: #C14432; /* accent red */
  --brand-dark: #322D23;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;

  --shadow-soft: 0 3px 16px rgba(50,45,35,0.07);
  --shadow-card: 0 4px 12px rgba(26,57,81,0.08),0 1.5px 3px rgba(33,29,22,0.04);
  --radius-section: 24px;
  --radius-card: 16px;
  --radius-btn: 8px;
}

/* --- LAYOUT CLASSES --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: var(--radius-section);
  box-shadow: var(--shadow-soft);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF8ED;
  border: 1.5px solid var(--brand-yellow);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}
.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 {
  background: #FFF8ED;
  color: var(--brand-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--brand-yellow);
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 260px;
  font-size: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover,
.testimonial-card:focus {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 6px 30px rgba(50,45,35,0.16);
}
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -0.5px;
}
h1 {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 8px;
}
h2 {
  font-size: 28px;
  line-height: 1.18;
  margin-bottom: 4px;
}
h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 4px;
}
h4 {
  font-size: 16px;
  margin-bottom: 2px;
}
p, ul, ol {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--brand-dark);
}
ul, ol {
  margin-left: 30px;
  margin-bottom: 18px;
  margin-top: 6px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--brand-yellow);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}
ol li:before {
  display: none;
}
strong {
  font-weight: 600;
  color: var(--brand-primary);
}
.text-section {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* --- RETRO BUTTONS AND INTERACTIONS --- */
.cta-btn {
  background: var(--brand-yellow);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 18px;
  border-radius: var(--radius-btn);
  padding: 12px 34px;
  border: 2px solid var(--brand-brown);
  letter-spacing: 0.4px;
  box-shadow: 2px 2px 0px 0px var(--brand-orange);
  transition: background 0.18s, color 0.18s, transform 0.2s;
  margin-left: 18px;
  position: relative;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-brown);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 6px 6px 0px 0px var(--brand-orange);
}
.link-arrow {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--brand-red);
  position: relative;
  border-bottom: 1.5px dotted var(--brand-red);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.link-arrow:hover, .link-arrow:focus {
  color: var(--brand-orange);
  border-bottom: 1.5px solid var(--brand-orange);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--brand-yellow);
  border-bottom: 4px solid var(--brand-primary);
  box-shadow: 0 2px 14px rgba(209, 170, 105, 0.13);
  padding: 0 0 0 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img[alt="AngelProfi Vermietung"] {
  width: 140px;
  height: auto;
  min-width: 96px;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--brand-primary);
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.19s, border-bottom 0.17s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: var(--brand-brown);
  border-bottom: 2px solid var(--brand-brown);
}
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-btn);
  font-size: 28px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  transition: background 0.18s, color 0.18s;
  border: none;
  z-index: 99;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-orange);
  color: var(--brand-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  height: 100vh;
  background: var(--brand-yellow);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 30px 32px 24px;
  transition: transform 0.38s cubic-bezier(.79,0,.18,1), right 0.38s;
  transform: translateX(100%);
}
.mobile-menu.open {
  right: 0;
  transform: translateX(0%);
  box-shadow: -6px 0 24px rgba(44,38,23,0.08);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 16px;
  font-size: 30px;
  background: var(--brand-brown);
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 126;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-orange);
  color: var(--brand-primary);
}
.mobile-nav {
  flex-direction: column;
  gap: 22px;
  display: flex;
  margin-top: 60px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--brand-primary);
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.19s, border-bottom 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-brown);
  border-bottom: 2px solid var(--brand-brown);
}

@media(max-width: 1040px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
    max-width: 100vw;
  }
  header img[alt="AngelProfi Vermietung"] {
    width: 110px;
  }
}
@media(max-width: 850px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    margin-left: 8px;
    font-size: 17px;
    padding: 10px 22px;
  }
}
@media(max-width: 768px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 23px;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 52px;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  background: repeating-linear-gradient(135deg, #F6F7F9, #F6F7F9 40px, #EEC07A 40px, #EEC07A 80px);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 70px rgba(168,114,29,0.16);
  margin-bottom: 50px;
}
.hero-section .container {
  align-items: center;
  justify-content: center;
  min-height: 270px;
  gap: 0;
  padding-top: 52px;
  padding-bottom: 41px;
  text-align: center;
}
.hero-section h1 {
  font-size: 38px;
  color: var(--brand-primary);
  text-shadow: 2px 2px 0 #EEC07A, 1px 1px 0 #fff;
  margin-top: 10px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.8px;
}
.hero-section p {
  font-size: 20px;
  font-family: var(--font-body);
  color: var(--brand-brown);
  margin-bottom: 26px;
}

/* --- TABLE STYLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px 0;
  font-size: 16px;
  background: #FFF8ED;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
}
thead tr {
  background: var(--brand-yellow);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary);
}
th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--brand-yellow);
}
th:last-child, td:last-child {
  border-right: none;
}
tbody tr:nth-child(even) {
  background: #f5e3c7;
}
tbody tr:last-child td {
  border-bottom: none;
}
table strong {
  color: var(--brand-primary);
}
@media (max-width: 640px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 16px;
    background: #FFF8ED;
    border: 1px solid #D6AD6A;
    border-radius: 8px;
    box-shadow: 1px 2px 7px 0 rgba(168,114,29,0.10);
    padding: 9px;
  }
  td {
    padding: 10px 8px;
    border-bottom: none;
    text-align: left;
    position: relative;
  }
}

/* --- BRAND LOGOS/BULLETS / ICONS --- */
.brands-logos {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
}
.brands-logos img {
  width: 28px;
  height: 28px;
  margin-right: 0;
}

/* --- CONTACT DETAILS ICONS --- */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--brand-dark);
}
.contact-details li img {
  width: 19px;
  height: 19px;
  margin-right: 11px;
}

/* --- FOOTER --- */
footer {
  background: #1A3951;
  color: #FFF8ED;
  padding: 40px 0 28px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -4px 48px 0 rgba(30,40,61,0.07);
  margin-top: 80px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
}
.footer-main-links {
  font-family: var(--font-display);
  font-size: 15px;
  color: #EEC07A;
  opacity: 0.93;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-main-links a {
  color: #EEC07A;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-main-links a:hover, .footer-main-links a:focus {
  color: #FFF8ED;
}
.footer-contact {
  font-size: 15px;
  font-family: var(--font-body);
  line-height: 1.7;
  color: #FFF8ED;
  flex: 0 1 340px;
  text-align: right;
}

.footer-contact p{
	  color: #FFF8ED;
}
.footer-contact a {
  color: #FFF8ED;
  text-decoration: underline dotted #EEC07A;
  transition: color 0.2s, text-decoration 0.2s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #EEC07A;
  text-decoration: underline solid #FFF8ED;
}
@media (max-width:850px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-contact {
    text-align: left;
  }
}
@media (max-width:550px) {
  footer {
    padding-left: 0;
    padding-right: 0;
    border-radius: 8px 8px 0 0;
    margin-top: 42px;
  }
}

/* --- RETRO PATTERNS & NOSTALGIC DETAILS --- */
.section, .card, .testimonial-card {
  background-image: repeating-linear-gradient(135deg, transparent, transparent 38px, rgba(238,192,122,0.13) 38px, rgba(238,192,122,0.13) 52px);
}
.card {
  border-left: 6px solid var(--brand-primary);
  border-right: 2.5px dashed var(--brand-yellow);
}

/* --- MISCELLANEOUS --- */
.text-section h2, .text-section h3, .text-section h4 {
  color: var(--brand-brown);
}
ul li strong {
  color: var(--brand-brown);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media(max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
    border-radius: 9px;
  }
  .card-container, .testimonials-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .testimonial-card {
    padding: 14px 12px;
    min-width: unset;
    max-width: unset;
  }
  .footer-main-links {
    font-size: 14px;
    gap: 8px;
    flex-flow: row wrap;
  }
  .footer-contact {
    font-size: 13px;
    text-align: left;
    flex: 1 1 auto;
    margin-top: 7px;
  }
  .testimonials-grid {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- SPACING ADJUSTMENTS/UTILITY CLASSES --- */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-30 { margin-top: 30px !important; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  display: flex;
  align-items: flex-start;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 280;
  background: #1A3951;
  color: #FFF8ED;
  padding: 28px 14px 22px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  min-height: 75px;
  box-shadow: 0 -2px 16px 0 rgba(26,57,81,0.19);
  border-top: 4px solid var(--brand-yellow);
  animation: cookieSlideIn 0.66s cubic-bezier(.24,.64,.29,1.19);
  gap: 28px;
}
@keyframes cookieSlideIn {
  from { transform: translateY(140px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner .cookie-text {
  flex: 1 1 auto;
  margin-right: 10px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  border-radius: 6px;
  border: 2px solid var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-primary);
  font-size: 16px;
  font-family: var(--font-display);
  padding: 9px 23px;
  font-weight: bold;
  margin-right: 4px;
  box-shadow: 2px 2px 0 var(--brand-orange);
  transition: background 0.2s, color 0.2s, box-shadow 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-brown);
  color: #fff;
  box-shadow: 3px 3px 0 var(--brand-orange);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--brand-brown);
  border: 2px solid var(--brand-brown);
  box-shadow: 2px 2px 0 #d7b18c;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 3px 3px 0 #8B6F4E;
  border: 2px solid var(--brand-red);
}
.cookie-btn.settings {
  background: transparent;
  color: #EEC07A;
  border: 2px dashed #EEC07A;
  box-shadow: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EEC07A;
  color: var(--brand-primary);
  border-style: solid;
  box-shadow: 2px 2px 0 var(--brand-orange);
}

@media(max-width:570px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 20px 7px 20px 10px;
    font-size: 14px;
  }
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26, 57, 81, 0.77);
  z-index: 350;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.25s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #FFF8ED;
  color: var(--brand-dark);
  padding: 34px 19px 24px 27px;
  border-radius: 22px;
  box-shadow: 0 2px 26px 0 rgba(26,57,81,0.18);
  max-width: 375px;
  width: 95%;
  position: relative;
  animation: modalUp 0.43s cubic-bezier(.22,.73,.33,1.11);
  font-family: var(--font-body);
}
@keyframes modalUp {
  from { transform: translateY(85px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 13px;
  color: var(--brand-primary);
}
.cookie-category {
  margin-bottom: 16px;
  font-size: 16px;
}
.cookie-modal-close {
  position: absolute;
  right: 9px;
  top: 11px;
  background: var(--brand-brown);
  border-radius: 50%;
  color: #fff;
  width: 32px; height: 32px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-orange);
  color: var(--brand-primary);
}
.cookie-modal .cookie-btn {
  font-size: 15px;
  margin-top: 8px;
  margin-right: 8px;
}

.cookie-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-switch input[type="checkbox"] {
  width: 36px;
  height: 20px;
  -webkit-appearance: none;
  background: #EEC07A;
  outline: none;
  border-radius: 14px;
  box-shadow: 1.5px 3px 7px 0 rgba(220,170,56,0.06);
  transition: background 0.21s;
  position: relative;
}
.cookie-switch input[type="checkbox"]:checked {
  background: var(--brand-secondary);
}
.cookie-switch input[type="checkbox"]:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.17s;
}
.cookie-switch input[type="checkbox"]:checked:before {
  left: 19px;
}
.cookie-switch label {
  font-size: 16px;
  color: var(--brand-primary);
  cursor: pointer;
}
.cookie-switch .category-disabled {
  color: #aaa;
}

/* --- MICRO-INTERACTIONS --- */
.card, .cta-btn, .testimonial-card, .link-arrow, .cookie-btn {
  transition: box-shadow 0.21s, transform 0.21s, background 0.21s, color 0.12s, border 0.19s;
}
.card:hover, .card:focus {
  box-shadow: 0 5px 24px rgba(140, 111, 78, 0.19);  
  transform: scale(1.02);
  border-color: var(--brand-orange);
}

/* --- SCROLLBAR RETRO --- */
::-webkit-scrollbar {
  width: 12px;
  background: #F6F7F9;
}
::-webkit-scrollbar-thumb {
  background: #EEC07A;
  border-radius: 8px;
  border: 2px solid #F6F7F9;
}

/* --- PRINT STYLES / REDUCED MOTION --- */
@media print {
  header, footer, .cta-btn, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0s !important;
    animation: none !important;
  }
}
