@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

  :root {
    --gc-green: #0F8127;
    --gc-green-hover: rgba(0, 130, 28, 0.83);
    --gc-green-light: rgba(15, 129, 39, 0.06);
    --gc-green-border: rgba(15, 129, 39, 0.15);
    --gc-dark: #333333;
    --gc-text: #444444;
    --gc-text-light: #666666;
    --gc-bg: #fbfbfb;
    --gc-white: #ffffff;
    --gc-border: #e8e8e8;
    --gc-border-light: #f0f0f0;
    --gc-ankauf: #1a7a5c;
    --gc-ankauf-light: rgba(26, 122, 92, 0.06);
    --gc-ankauf-border: rgba(26, 122, 92, 0.15);
    --radius: 8px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--gc-bg); color: var(--gc-text); line-height: 1.7; font-size: 15.5px; -webkit-font-smoothing: antialiased; }

  .agb-hero { background: linear-gradient(135deg, #0a6b1f 0%, #0F8127 40%, #11932d 100%); padding: 56px 24px 48px; text-align: center; position: relative; overflow: hidden; }
  .agb-hero::before { content: ''; position: absolute; top: -60%; right: -20%; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,0.04); }
  .agb-hero h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(26px, 4vw, 38px); color: var(--gc-white); letter-spacing: -0.5px; margin-bottom: 8px; position: relative; z-index: 1; }
  .agb-hero .subtitle { color: rgba(255,255,255,0.8); font-size: 15px; position: relative; z-index: 1; }

  .agb-meta { max-width: 100%; margin: -24px auto 0; padding: 0 24px; position: relative; z-index: 2; }
  .agb-meta-inner { background: var(--gc-white); border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 16px 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 13.5px; color: var(--gc-text-light); border: 1px solid var(--gc-border-light); }
  .meta-item { display: flex; align-items: center; gap: 6px; }
  .meta-item strong { color: var(--gc-dark); font-weight: 600; }

  .agb-container { max-width: 100%; margin: 0 auto; padding: 40px 24px 80px; }

  .agb-toc { background: var(--gc-white); border: 1px solid var(--gc-border); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 40px; }
  .agb-toc h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--gc-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
  .toc-part-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin: 18px 0 8px; padding: 6px 12px; border-radius: 4px; display: inline-block; }
  .toc-part-label.general { background: #f0f0f0; color: var(--gc-text-light); }
  .toc-part-label.verkauf { background: var(--gc-green-light); color: var(--gc-green); }
  .toc-part-label.ankauf { background: var(--gc-ankauf-light); color: var(--gc-ankauf); }
  .agb-toc ol { list-style: none; padding: 0; margin: 0 0 4px; }
  .agb-toc ol li { margin-bottom: 4px; }
  .agb-toc ol li a { color: var(--gc-text); text-decoration: none; font-size: 14px; display: block; padding: 5px 10px; border-radius: 6px; transition: all 0.15s ease; }
  .agb-toc ol li a:hover { background: var(--gc-green-light); color: var(--gc-green); }
  .toc-num { color: var(--gc-green); font-weight: 600; font-size: 13px; margin-right: 10px; min-width: 28px; display: inline-block; }
  .toc-num.ankauf-num { color: var(--gc-ankauf); }
  .toc-num.general-num { color: var(--gc-text-light); }

  .agb-part-divider { margin: 48px 0 24px; padding: 20px 28px; border-radius: var(--radius); display: flex; align-items: center; gap: 16px; }
  .agb-part-divider.verkauf { background: linear-gradient(135deg, var(--gc-green), #11932d) !important; color: white !important; }
  .agb-part-divider.ankauf { background: linear-gradient(135deg, var(--gc-ankauf), #1f9970) !important; color: white !important; }
  .agb-part-divider.general { background: var(--gc-dark) !important; color: white !important; }
  .part-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .agb-part-divider h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.3px; color: white !important; }
  .agb-part-divider .part-sub { font-size: 13px; opacity: 0.8; margin-top: 2px; color: rgba(255,255,255,0.8) !important; }

  .agb-section { background: var(--gc-white); border: 1px solid var(--gc-border); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; transition: box-shadow 0.2s ease; }
  .agb-section:hover { box-shadow: 0 2px 16px rgba(0,0,0,0.04); }
  .agb-section-header { padding: 20px 28px; border-bottom: 1px solid var(--gc-border-light); display: flex; align-items: center; gap: 14px; }
  .section-number { background: var(--gc-green); color: white; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 12px; min-width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .section-number.ankauf { background: var(--gc-ankauf); }
  .section-number.general { background: var(--gc-dark); }
  .agb-section-header h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--gc-dark) !important; line-height: 1.3; }
  .agb-section-body { padding: 24px 28px 28px; }

  .agb-section-body h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--gc-dark); margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--gc-green-border); display: inline-block; }
  .agb-section-body h3:first-child { margin-top: 0; }
  .ankauf-section .agb-section-body h3 { border-bottom-color: var(--gc-ankauf-border); }
  .agb-section-body h4 { font-size: 14.5px; font-weight: 600; color: var(--gc-dark); margin: 18px 0 6px; }
  .agb-section-body p { margin-bottom: 12px; }
  .agb-section-body ul { margin: 8px 0 14px; padding: 0; list-style: none; }
  .agb-section-body ul li { position: relative; padding: 4px 0 4px 22px; }
  .agb-section-body ul li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--gc-green); opacity: 0.5; }
  .ankauf-section ul li::before { background: var(--gc-ankauf); }

  .agb-hint { background: var(--gc-green-light); border-left: 3px solid var(--gc-green); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 20px; margin: 14px 0; font-size: 14px; }
  .ankauf-section .agb-hint { background: var(--gc-ankauf-light); border-left-color: var(--gc-ankauf); }
  .agb-widerruf-box { background: var(--gc-white); border: 1.5px solid var(--gc-green); border-radius: var(--radius); padding: 24px 28px; margin: 16px 0; }
  .widerruf-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gc-green); margin-bottom: 12px; }
  .agb-form-box { background: #f7f8f9; border: 1px dashed var(--gc-border); border-radius: var(--radius); padding: 24px 28px; margin: 16px 0; font-size: 14px; }
  .form-line { margin-bottom: 8px; color: var(--gc-text-light); }
  .form-line .blank { display: inline-block; min-width: 180px; border-bottom: 1px solid #ccc; margin: 0 4px; }
  .agb-contact { background: #f7f8f9; border-radius: var(--radius); padding: 20px 24px; margin: 10px 0 14px; font-size: 14px; line-height: 1.8; border: 1px solid var(--gc-border-light); }
  .agb-contact strong { color: var(--gc-dark); }
  .agb-guarantee-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gc-green-light); border: 1px solid var(--gc-green-border); border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: var(--gc-green); margin-bottom: 14px; }
  .payment-method { margin-bottom: 18px; }

  .zustand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
  .zustand-card { background: #f7f8f9; border: 1px solid var(--gc-border-light); border-radius: var(--radius); padding: 16px 20px; }
  .zustand-card .zustand-label { font-weight: 700; font-size: 14px; color: var(--gc-dark); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
  .zustand-card .zustand-label .z-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; color: white; }
  .z-badge.z-new { background: var(--gc-green); }
  .z-badge.z-vgood { background: #2d9f50; }
  .z-badge.z-good { background: #d4a017; }
  .z-badge.z-ok { background: #c47a20; }
  .z-badge.z-defekt { background: #c0392b; }
  .zustand-card p { font-size: 13.5px; margin: 0; color: var(--gc-text-light); }
  @media (max-width: 640px) { .zustand-grid { grid-template-columns: 1fr; } }

  a { color: var(--gc-green); text-decoration: none; }
  a:hover { color: var(--gc-green-hover); text-decoration: underline; }
  .agb-footer { text-align: center; padding: 24px; font-size: 13px; color: var(--gc-text-light); border-top: 1px solid var(--gc-border); margin-top: 20px; }

  /* Font Awesome icon styling */
  .meta-item i.fas, .meta-item i.far { color: var(--gc-green); font-size: 14px; }
  .agb-toc h2 i.fas { color: var(--gc-green); font-size: 16px; }
  .part-icon i.fas { font-size: 20px; color: white; }
  .agb-guarantee-badge i.fas { color: var(--gc-green); font-size: 14px; }

  @media (max-width: 640px) {
    .agb-section-header { padding: 16px 18px; }
    .agb-section-body { padding: 18px; }
    .agb-toc { padding: 18px; }
    .agb-meta-inner { padding: 12px 16px; gap: 10px; }
    .agb-hero { padding: 40px 20px 36px; }
    .agb-part-divider { padding: 16px 20px; }
    .agb-widerruf-box { padding: 18px; }
  }