/* ========================================
   DATENSCHUTZ PAGE - Maler-Helden
   Design System: Poppins, #334155 / #f97316, 4px radius
   ======================================== */

/* === RESET & BASE === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  background: #ffffff;
  color: #334155;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === LAYOUT === */
.wrapper {
  width: 100%;
}
.container {
  width: 1170px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* === MOBILE / DESKTOP TOGGLE === */
#mobile { display: none; }
#desktop { display: block; }

@media only screen and (max-device-width: 950px) {
  #mobile { display: block; }
  #desktop { display: none; }
}
@media only screen and (min-device-width: 951px) {
  #mobile { display: none; }
  #desktop { display: block; }
}

/* ========================================
   DESKTOP STYLES
   ======================================== */

/* --- HEADER --- */
#header-wrapper {
  width: 100%;
  background: #ffffff;
  height: 75px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.header {
  width: 100%;
  position: relative;
  z-index: 9999;
}
#logo {
  float: left;
  padding: 12px 0;
}
#logo a { display: block; }
#logo a img { width: 50px; }
#main-menu {
  float: right;
}
#main-menu ul {
  margin: 0;
  padding: 0;
}
#main-menu ul li {
  display: inline-block;
  position: relative;
}
#main-menu ul li a {
  display: block;
  padding: 26px 18px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #334155;
  transition: color 0.3s ease;
}
#main-menu ul li a:hover {
  color: #f97316;
}
#main-menu ul li.active a {
  color: #f97316;
}

/* --- PAGE HERO --- */
.page-hero {
  position: relative;
  height: 280px;
  background: url(../images/bg3.jpg) center/cover no-repeat;
  display: flex;
  align-items: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(51, 65, 85, 0.65));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}
.page-hero-content h1 {
  font-size: 44px;
  font-weight: 700;
}

/* --- LEGAL CONTENT --- */
.legal-section {
  padding: 70px 0 60px;
}
.legal-content {
  max-width: 800px;
}
.legal-meta {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 16px;
}
.legal-content h2:first-of-type {
  margin-top: 32px;
}
.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #f97316;
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-top: 20px;
  margin-bottom: 8px;
}
.legal-content p {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content a {
  color: #f97316;
  transition: color 0.3s ease;
}
.legal-content a:hover {
  color: #ea580c;
}
.legal-content strong {
  font-weight: 600;
  color: #334155;
}
.impressum-img {
  width: 120px;
  margin: 8px 0;
}

/* TOC */
.toc {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}
.toc li {
  font-size: 14px;
  color: #475569;
  margin-bottom: 6px;
  line-height: 1.6;
}
.toc ol {
  list-style: decimal;
  padding-left: 20px;
  margin-top: 6px;
}
.toc ol li {
  font-size: 13px;
}

/* Legal list */
.legal-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-list li {
  font-size: 14px;
  color: #475569;
  margin-bottom: 6px;
  line-height: 1.7;
}

/* --- CTA SECTION --- */
.cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #334155, #1e293b);
  text-align: center;
}
.cta-section h3 {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}
.cta-phone {
  display: inline-block;
  padding: 14px 36px;
  background: #f97316;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.cta-phone:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}
.cta-phone i {
  margin-right: 8px;
}

/* --- FOOTER --- */
#footer {
  width: 100%;
}
.footer-content {
  background: #1e293b;
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}
.footer-brand img {
  width: 55px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.7;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 13px;
  color: #94a3b8;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover {
  color: #f97316;
}
.footer-col p {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 10px;
  line-height: 1.7;
}
.footer-col p i {
  margin-right: 10px;
  color: #f97316;
  width: 16px;
}
.footer-col p a {
  color: #94a3b8;
  transition: color 0.3s ease;
}
.footer-col p a:hover {
  color: #f97316;
}
.copyright {
  background: #0f172a;
  padding: 16px 0;
}
.copyright .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copyright p {
  font-size: 13px;
  color: #64748b;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links li a {
  font-size: 13px;
  color: #64748b;
  transition: color 0.3s ease;
}
.footer-links li a:hover {
  color: #f97316;
}

/* ========================================
   MOBILE STYLES
   ======================================== */
@media only screen and (max-device-width: 950px) {

  /* --- HEADER MOBILE --- */
  #header-wrapper {
    height: auto;
    padding: 12px 0;
  }
  #logo {
    float: left;
    padding: 5px 0;
  }
  #logo a img {
    width: 40px;
  }
  #menu-container {
    float: right;
    padding-top: 4px;
  }
  .nav label {
    font-size: 28px;
    color: #334155;
    cursor: pointer;
    display: block;
    padding: 4px 8px;
  }
  .nav input[type="checkbox"] {
    display: none;
  }
  .menu2 {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border-radius: 4px;
    min-width: 200px;
    z-index: 9999;
  }
  .nav input[type="checkbox"]:checked ~ .menu2 {
    display: block;
  }
  .menu2 a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
  }
  .menu2 a:last-child {
    border-bottom: none;
  }
  .menu2 a:hover {
    color: #f97316;
    background: #f8fafc;
  }

  /* --- PAGE HERO MOBILE --- */
  .page-hero {
    height: 200px;
    background: url(../images/bg4.jpg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .page-hero-content h1 {
    font-size: 28px;
  }

  /* --- LEGAL CONTENT MOBILE --- */
  .legal-section {
    padding: 40px 0 40px;
  }
  .legal-content h2 {
    font-size: 19px;
    margin-top: 32px;
  }
  .legal-content h3 {
    font-size: 15px;
    margin-top: 22px;
  }
  .legal-content h4 {
    font-size: 13px;
    margin-top: 16px;
  }
  .legal-content p {
    font-size: 13px;
  }
  .toc li,
  .toc ol li,
  .legal-list li {
    font-size: 13px;
  }
  .impressum-img {
    width: 100px;
  }

  /* --- CTA MOBILE --- */
  .cta-section {
    padding: 45px 0;
  }
  .cta-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .cta-phone {
    font-size: 16px;
    padding: 12px 28px;
  }

  /* --- FOOTER MOBILE --- */
  .footer-content {
    padding: 40px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand img {
    width: 45px;
  }
  .copyright .container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-links {
    justify-content: center;
  }
}
