/* ============================================
   KANZLEI BACHMANN - MAIN STYLESHEET
   ============================================ */

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ SVG ICONS (replaces ???? emojis) ============ */
.icon{
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  vertical-align: -0.15em;
  color: currentColor;
  flex-shrink: 0;
}

.icon--wa{ width: 1.1em; height: 1.1em; }

a .icon,
.contact-item .icon{
  margin-right: 8px;
}

/* Sticky footer: align icon + label nicely */
@media (max-width: 768px){
  .mobile-sticky-footer a{
    flex-direction: row;     /* override your column layout for icon+text */
    gap: 6px;
    justify-content: center;
  }
  .mobile-sticky-footer a span{
    display: inline-block;
  }
  .mobile-sticky-footer a .icon{
    margin-right: 0;
    width: 18px;
    height: 18px;
    vertical-align: middle;
  }
}

/* ============================================
   HEADER STICKY 3 LIGNES
   ============================================ */
.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-line1 {
    background: #e8ecef;
    padding: 8px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #0066cc;
}

.header-line2 {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-line2-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section img {
    max-height: 60px;
    width: auto;
}

.header-contact {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 15px;
    color: #333;
}

.header-line3 {
    padding: 12px 0;
}

.header-line3-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #0066cc;
}

.header-cta {
    background: #0066cc;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-block;
}

.header-cta:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

/* =========================================================
   HERO SECTION — CLEAN FINAL VERSION
========================================================= */

/* ============================================
   HERO BACKGROUND — PRO CINEMA VERSION
   ============================================ */

.hero {

    color: #ffffff;

    overflow: hidden;

    background:

        /* halo principal */
        radial-gradient(
            900px 520px at 32% 18%,
            rgba(255,255,255,0.22),
            rgba(255,255,255,0) 60%
        ),

        /* halo secondaire subtil */
        radial-gradient(
            700px 480px at 78% 72%,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0) 65%
        ),

        /* vignette cinema */
        radial-gradient(
            1400px 900px at 50% 50%,
            rgba(0,0,0,0),
            rgba(0,0,0,0.18)
        ),

        /* gradient principal */
        linear-gradient(
            160deg,
            #0b76dd 0%,
            #0a5bb8 35%,
            #04337f 78%,
            #032a66 100%
        );

}



.hero__container {

  padding-top: 24px;

  padding-bottom: 24px;

}



/* GRID */

.hero__grid {

  display: grid;

  grid-template-columns: 1.2fr 1fr;

  gap: 60px;

  align-items: end;

}



/* LEFT COLUMN */

.hero__title {

  font-size: 52px;

  line-height: 1.2;

  margin-bottom: 26px;

  font-weight: 800;

}



.hero__features {

  list-style: none;

  margin-bottom: 22px;

}



.hero__features li {

  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 16px;

  font-size: 19px;

}



.checkmark {

  width: 26px;

  height: 26px;

  background: #28a745;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

}



.checkmark::before {

  content: "✓";

  color: white;

  font-weight: bold;

}



/* BUTTONS */

.hero__ctas {

  display: flex;

  gap: 16px;

  flex-wrap: wrap;

}



.btn {

  padding: 16px 32px;

  border-radius: 10px;

  font-weight: 700;

  text-decoration: none;

  font-size: 16px;

}



.btn-primary {

  background: white;

  color: #0066cc;

}



.btn-secondary {

  border: 2px solid white;

  color: white;

}



/* RIGHT COLUMN */

.hero__right {

  position: relative;

  display: grid;

  align-items: end;

}



.quickcheck {

  background: rgba(255,255,255,0.96);

  padding: 32px;

  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.15);

  position: relative;

  z-index: 2;

  padding-right: clamp(90px, 12vw, 160px);

}

/* ============================================
   QUICKCHECK ICON — DESKTOP CORRECT RATIO
   ============================================ */

.quickcheck-icon img,
.quickcheck__icon img {

    width: 50px !important;   /* ajuste librement 64–120px */
    
    height: auto !important;  /* GARANTIT proportions correctes */

    max-width: none !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;

    display: block;
}



.quickcheck__title {

  color: #0066cc;

  font-size: 24px;

  margin-bottom: 12px;

}



.quickcheck__text {

  color: #666;

  margin-bottom: 18px;

}



.quickcheck__button {

  background: #0066cc;

  color: white;

  padding: 14px 28px;

  border-radius: 8px;

  text-decoration: none;

  display: inline-block;

}



/* LAWYER IMAGE */

.hero__lawyer {

  position: absolute;

  right: -120px;

  bottom: -40px;

  width: clamp(280px, 30vw, 420px);

  height: auto;

  z-index: 3;

}



/* =====================================================
   TABLET
===================================================== */

@media (max-width:1024px){

.hero__grid{

grid-template-columns:1fr;

gap:18px;

}



.hero__right{

margin-top:-10px;

}



.quickcheck{

width:80%;

padding:18px;

padding-right:clamp(70px,18vw,140px);

}



.hero__lawyer{

right:-20px;

bottom:-30px;

width:clamp(260px,46vw,380px);

}

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width:768px){

.hero__title{

font-size:32px;

}



.hero__features li{

font-size:15px;

}



.hero__ctas{

display:none;

}



.hero__right{

margin-top:-18px;

}



.quickcheck{

width:78%;

padding:14px;

padding-right:clamp(70px,22vw,150px);

}

@media (max-width:768px){

  .quickcheck__icon {

    display: none;

  }

}

.hero__lawyer{

right:-80px;

bottom:-50px;

width:clamp(320px,68vw,560px);

}

}


/* ============================================
   SEO INTRO
   ============================================ */

.seo-intro { padding: 28px 0 10px 0; }
.seo-intro h2 { margin: 0 0 10px; }
.seo-intro p { margin: 0; max-width: 70ch; }

/* ============================================
   THREE COLUMNS
   ============================================ */

.three-cols {
    padding: 20px 0 50px 0;
    background: #ffffff;
}

.three-cols-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.col-item {
    background: #e8ecef;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.col-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.col-photo {
    width: 100%;
    height: 200px;
    background: #d0d4d8;
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
}

.col-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.col-item h3 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 20px;
}

.col-item p {
    color: #666;
    line-height: 1.7;
}

/* ============================================
   QUICKCHECK SECTION
   ============================================ */

.quickcheck-section {
    padding: 50px 0;
    background: #1a3a52;
    color: white;
}

.quickcheck-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
}

.quickcheck-section .subtitle {
    text-align: center;
    font-size: 19px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 60px;
}

.quickcheck-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 50px;
    color: #333;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e8ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #999;
    position: relative;
    z-index: 2;
}

.progress-step.active {
    background: #0066cc;
    color: white;
}

.progress-step.completed {
    background: #28a745;
    color: white;
}

.progress-line {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e8ecef;
    z-index: 1;
}

.question-step {
    display: none;
}

.question-step.active {
    display: block;
}

.question-header {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 30px;
    text-align: center;
}

.question-options {
    display: grid;
    gap: 15px;
}

.option-btn {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 20px 25px;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.option-btn:hover {
    border-color: #0066cc;
    background: #f0f7ff;
    transform: translateX(5px);
}

.option-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.option-icon svg {
    width: 100%;
    height: 100%;
    stroke: #0066cc;
}

.date-input {
    width: 100%;
    padding: 18px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 18px;
    margin-bottom: 20px;
}

.urgency-warning {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #856404;
}

.urgency-warning.urgent {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.final-form {
    display: none;
}

.final-form.active {
    display: block;
}

.thank-you {
    background: #d4edda;
    border-left: 5px solid #28a745;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 35px;
    text-align: center;
}

.thank-you h3 {
    color: #155724;
    font-size: 26px;
    margin-bottom: 15px;
}

.thank-you p {
    color: #155724;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload {
    border: 2px dashed #0066cc;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    background: #f0f7ff;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 25px 0;
}

.checkbox-group a {
    color: #0066cc;
}

/* ============ CF7 submit button in QuickCheck (force styling) ============ */
.quickcheck-section .wpcf7 input.wpcf7-submit{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: #0066cc;
  color: #fff;
  border: 2px solid #0066cc;
  border-radius: 10px;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all .25s ease;
}

.quickcheck-section .wpcf7 input.wpcf7-submit:hover{
  background: #0052a3;
  border-color: #0052a3;
}

.quickcheck-section .wpcf7-form-control-wrap input,
.quickcheck-section .wpcf7-form-control-wrap textarea{
  width: 100%;
  box-sizing: border-box;
}

/* ============ CF7 acceptance (Datenschutz) in QuickCheck ============ */
.quickcheck-section .wpcf7 .wpcf7-acceptance {
  display: block;
  margin: 16px 0 10px;
}

.quickcheck-section .wpcf7 .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  line-height: 1.35;
  color: #333;
}

.quickcheck-section .wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
  cursor: pointer;
}

.quickcheck-section .wpcf7 .wpcf7-acceptance a {
  color: #0066cc;
  text-decoration: underline;
}

/* ============================================
   CALCULATOR
   ============================================ */

.calculator {
    padding: 50px 0;
    background: #e8ecef;
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 800;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.calculator-box {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.calculator-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.calculator-result {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 30px;
    border-radius: 8px;
    margin-top: 25px;
}

.calculator-result.urgent {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.result-title {
    font-size: 22px;
    font-weight: 700;
    color: #856404;
    margin-bottom: 15px;
}

.urgent .result-title {
    color: #721c24;
}

.deadline {
    font-size: 32px;
    font-weight: 800;
    color: #0066cc;
    margin: 18px 0;
}

.urgent .deadline {
    color: #dc3545;
}

/* ============================================
   CONTENT SECTION
   ============================================ */

.content-section {
    padding: 50px 0;
    background: white;
}

.content-section h2 {
    font-size: 38px;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
    font-weight: 800;
}

.content-text {
    max-width: 850px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.content-text p {
    margin-bottom: 20px;
}

.warning-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 25px;
    margin: 35px 0;
    border-radius: 8px;
}

.warning-box strong {
    color: #856404;
    font-size: 18px;
}

.content-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 45px;
    flex-wrap: wrap;
}

/* ============================================
   PROCESS
   ============================================ */

.process {
    padding: 50px 0;
    background: #e3f2fd;
}

.process h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 18px;
    font-weight: 800;
}

.process-subtitle {
    text-align: center;
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 60px;
}

.process-boxes {
    max-width: 900px;
    margin: 0 auto;
}

.step-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    position: relative;
}

.step-box::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background: #0066cc;
}

.step-box:last-child::before {
    display: none;
}

.step-number {
    background: #0066cc;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 25px;
}

.step-box h3 {
    text-align: center;
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.step-box p {
    text-align: center;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.step-cta {
    text-align: center;
}

/* ============================================
   VIOLATIONS
   ============================================ */

.violations {
    padding: 50px 0;
    background: white;
}

.violations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.violation-item {
    background: #e8ecef;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.violation-item:hover {
    border-color: #0066cc;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,102,204,0.12);
}

.violation-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}

.violation-icon svg {
    width: 100%;
    height: 100%;
    stroke: #0066cc;
}

.violation-item h3 {
    font-size: 17px;
    color: #1a1a1a;
    line-height: 1.4;
}

/* ============================================
   REASONS
   ============================================ */

.reasons {
    padding: 50px 0;
    background: #e8ecef;
}

.reasons-list {
    max-width: 850px;
    margin: 50px auto 0;
}

.reason-item {
    background: white;
    padding: 28px 35px;
    margin-bottom: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.reason-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cross-icon {
    width: 44px;
    height: 44px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    flex-shrink: 0;
}

.reason-item h3 {
    font-size: 17px;
    color: #1a1a1a;
    margin: 0;
}

/* ============================================
   RECHTSANWALT - REFORMATÉ 2 LIGNES
   ============================================ */

.rechtsanwalt {
    padding: 50px 0;
    background: #2c3e50;
    color: white;
}

.rechtsanwalt h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
}

.anwalt-content {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 50px;
}

.anwalt-line1 {
    display: grid;
    grid-template-columns: 250px 1fr auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.anwalt-photo {
    width: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.anwalt-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.anwalt-title-block h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

.anwalt-title-block .subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

.google-reviews {
    flex-shrink: 0;
}

.anwalt-line2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.anwalt-section {
    margin-bottom: 0;
}

.anwalt-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.anwalt-section ul {
    list-style: none;
}

.anwalt-section li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.anwalt-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffc107;
    font-size: 20px;
}

.contact-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.contact-icon {
    font-size: 18px;
    width: 24px;
    flex-shrink: 0;
}

.contact-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: white;
}

.anwalt-cta {
    margin-top: 40px;
    text-align: center;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    padding: 50px 0;
    background: white;
}

.faq-list {
    max-width: 850px;
    margin: 50px auto 0;
}

.faq-item {
    background: #e8ecef;
    margin-bottom: 18px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 28px 35px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #d0d4d8;
}

.faq-arrow {
    font-size: 24px;
    color: #0066cc;
}

.faq-answer {
    padding: 0 35px 28px;
    color: #666;
    line-height: 1.8;
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    padding: 50px 0;
    background: #e8ecef;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-image a {
    display: block;
    height: 100%;
}

.blog-content {
    padding: 25px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.4;
}

.blog-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card h3 a:hover {
    color: #0066cc;
}

.blog-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-link {
    color: #0066cc !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-link:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #0066cc;
    color: white;
    padding: 40px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

/* ============================================
   MOBILE STICKY FOOTER
   ============================================ */

.mobile-sticky-footer {
    display: none;
}

/* ============================================
   ELEMENTS MOBILES : cachés sur desktop
   ============================================ */

.header-brand-mobile,
.header-contact-mobile,
.burger-btn,
.nav-close-btn,
.footer-contact-compact,
.footer-brand-name,
.footer-contact-info {
    display: none;
}

/* ============================================
   CONTACT ICONS - COULEURS
   ============================================ */

.contact-item:nth-child(1) .contact-icon {
    filter: hue-rotate(200deg) saturate(1.5) brightness(1.2);
}

.contact-item:nth-child(2) .contact-icon {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }

    .mobile-sticky-footer {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 999;
        padding: 10px;
        gap: 10px;
    }

    .mobile-sticky-footer a {
        flex: 1;
        padding: 12px 5px;
        border-radius: 8px;
        text-decoration: none !important;
        font-weight: 700;
        font-size: 13px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .mobile-sticky-footer .btn-call {
        background: #0066cc;
        color: white !important;
    }

    .mobile-sticky-footer .btn-whatsapp {
        background: #25D366;
        color: white !important;
    }

    .mobile-sticky-footer .btn-quickcheck {
        background: #1a3a52;
        color: white !important;
    }
}

/* ============================================
   SINGLE POST TEMPLATE
   ============================================ */

.single-post {
    padding: 60px 0;
    background: #f8f9fa;
}

.single-post .container {
    max-width: 850px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    color: #666;
    font-size: 16px;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0066cc;
    margin: 40px 0 20px;
}

.post-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a3a52;
    margin: 30px 0 15px;
}

.post-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0 20px 30px;
}

.post-content li {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.post-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

.post-cta {
    text-align: center;
}

/* ============================================
   LEGAL PAGES (IMPRESSUM / DATENSCHUTZ)
   ============================================ */

.legal-page {
    background: #f8f9fa;
    padding: 80px 0;
    min-height: calc(100vh - 400px);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.legal-title {
    font-size: 48px;
    color: #0066cc;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
}

.legal-content h2 {
    font-size: 24px;
    color: #1a3a52;
    margin: 40px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ecef;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.legal-content a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-content a:hover {
    color: #004d99;
    text-decoration: underline;
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.legal-content li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.legal-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-size: 24px;
    line-height: 1;
}

.legal-content strong {
    color: #1a1a1a;
}

.legal-back {
    margin-top: 60px;
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid #e8ecef;
}

/* ============================================
   MOBILE ONLY (<=768px) — VERSION OPTIMISÉE
   ============================================ */

@media (max-width: 768px) {

    /* ============ BASE ============ */
    html, body { overflow-x: hidden; }
    * { box-sizing: border-box; }
    .container { padding-left: 14px; padding-right: 14px; }
    section { padding-top: 30px; padding-bottom: 30px; }
    body { font-size: 15px; line-height: 1.45; padding-bottom: 60px; }
    h1 { font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; }
    h2, .section-title { font-size: 22px; line-height: 1.12; }
    h3 { font-size: 17px; line-height: 1.2; }
    p { font-size: 15px; line-height: 1.45; }
    .section-title { margin-bottom: 10px; }
    .section-subtitle { margin-bottom: 16px; }
    .btn-primary, .btn-secondary, .btn-secondary-visible, .header-cta, .quickcheck-btn, .anwalt-cta .btn-primary {
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 12px;
    }

    /* ============ HEADER ============ */
    .header-line1 { display: block; font-size: 13px; text-align: center; padding: 6px 10px; }
    .header-line2 { padding: 5px 0; border-bottom: 1px solid #eee; }
    .header-line2-content {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .logo-section img { max-height: 32px !important; width: auto; }
    .header-contact { display: none !important; }

    .header-contact-mobile {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 2px !important;
        text-align: right !important;
    }
    .header-contact-mobile a {
        font-size: 11px !important;
        color: #333 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        display: block !important;
    }

    .header-brand-mobile {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }
    .header-brand-mobile .brand-name {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        color: #1a3a6b !important;
        line-height: 1.25 !important;
    }
    .header-brand-mobile .brand-tel {
        font-size: 11.5px !important;
        color: #555 !important;
        text-decoration: none !important;
    }

    .header-line3 { padding: 5px 0; }
    .header-line3-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .burger-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 36px;
        height: 36px;
        padding: 6px;
        background: none;
        border: none;
        cursor: pointer;
        flex-shrink: 0;
        order: -1;
        z-index: 2147483647 !important;
    }
    .burger-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: #1a3a6b;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: transparent;
        z-index: 2147483646 !important;
        pointer-events: none !important;
    }
    .nav-overlay.active {
        display: block;
        pointer-events: none !important;
    }

    .nav {
        display: none !important;
        position: fixed;
        inset: 0;
        background: rgba(26, 58, 107, 0.97);
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 0;
        z-index: 2147483647 !important;
        padding: 60px 20px 40px;
        pointer-events: none !important;
    }
    .nav.nav-open {
        display: flex !important;
        pointer-events: auto !important;
    }
    .nav.nav-open * {
        pointer-events: auto !important;
    }
    .nav a {
        font-size: 20px !important;
        padding: 16px 0 !important;
        color: #fff !important;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        text-decoration: none;
        white-space: normal;
    }
    .nav a:last-child { border-bottom: none; }

    .nav-close-btn {
        position: absolute;
        top: 14px;
        right: 14px;
        background: none;
        border: none;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2147483647 !important;
    }

    .header-cta {
        padding: 8px 10px !important;
        font-size: 11px !important;
        border-radius: 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* ============ HERO ============ */
    .hero { padding-top: 16px; padding-bottom: 20px; }
    .hero-content { display: block; }
    .hero h1 { margin: 0 0 12px; font-size: clamp(24px, 6.5vw, 32px) !important; }
    .hero-features { margin-top: 10px; margin-bottom: 10px !important; }
    .hero-features li { font-size: 15px; line-height: 1.25; margin-bottom: 8px; gap: 10px; }
    .hero-ctas { display: none !important; }
    .quickcheck-hero { margin-top: 10px !important; padding: 14px; border-radius: 14px; }
    .quickcheck-hero .quickcheck-icon,
    .quickcheck-hero .quickcheck-icon img { display: none !important; }
    .quickcheck-hero h3 { font-size: 16px; margin: 6px 0 4px; }
    .quickcheck-hero p { font-size: 14px; margin: 0 0 10px; }
    .quickcheck-hero .quickcheck-btn { padding: 10px 12px; font-size: 14px; }

    /* ============ GRIDS ============ */
    .three-cols-grid { grid-template-columns: 1fr; gap: 14px; }
    .col-item, .violation-item, .reason-item, .step-box, .faq-item { border-radius: 16px; }
    .col-item { padding: 14px; }
    .col-item h3 { font-size: 17px; margin: 10px 0 6px; }
    .col-item p { font-size: 14.5px; margin: 0; }

    /* ============ QUICKCHECK SECTION ============ */
    .quickcheck-section { padding-top: 26px; padding-bottom: 26px; }
    .quickcheck-section h2 { font-size: 20px !important; line-height: 1.12 !important; margin-bottom: 10px !important; }
    .quickcheck-section .subtitle { font-size: 14px !important; line-height: 1.35 !important; margin-bottom: 14px !important; }
    .quickcheck-container { padding: 16px 12px; border-radius: 16px; overflow: hidden; }
    .progress-bar { margin-bottom: 14px; }
    .progress-step { width: 32px; height: 32px; font-size: 13px; }
    .question-header { font-size: 15.5px; line-height: 1.25; margin-bottom: 14px; }
    .option-btn { padding: 11px 10px; font-size: 14px; border-radius: 12px; gap: 10px; }
    .option-icon { width: 22px; height: 22px; }
    .option-btn:hover { transform: none; }

    .question-step[data-question="3"] { overflow: hidden !important; }
    .quickcheck-container input[type="date"],
    .quickcheck-container .date-input {
        width: calc(100% - 4px) !important;
        max-width: calc(100% - 4px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 14px 12px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
        display: block !important;
        border: 2px solid #ddd !important;
        background: #fff !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }
    .thank-you { padding: 14px; border-radius: 16px; }
    .thank-you h3 { font-size: 16px; margin: 0 0 6px; }
    .thank-you p { font-size: 14.5px; margin: 0; }

    /* ============ CALCULATOR ============ */
    .calculator-box { padding: 14px; border-radius: 16px; }
    .calculator-label { font-size: 14px; margin-bottom: 10px; }
    .calculator input[type="date"],
    .calculator .date-input,
    #calculatorDate {
        width: calc(100% - 4px) !important;
        max-width: calc(100% - 4px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 14px 12px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
        display: block !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }
    .calculator-result { font-size: 14.5px; padding: 12px; border-radius: 12px; }

    /* ============ CONTENT SECTION ============ */
    .content-section { padding-top: 28px; padding-bottom: 28px; }
    .content-section h2 {
        font-size: 20px !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
        letter-spacing: -0.01em;
    }

    /* ============ PROCESS ============ */
    .process { padding-top: 30px; padding-bottom: 30px; }
    .process-boxes { display: grid; grid-template-columns: 1fr; gap: 14px; }
    .step-box { padding: 16px; border-radius: 18px; }
    .step-number { width: 40px; height: 40px; font-size: 16px; }
    .step-box h3 { font-size: 15px; line-height: 1.2; margin: 10px 0 6px; }
    .step-box p { font-size: 14px; margin: 0; }

    /* ============ VIOLATIONS ============ */
    .violations-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        overflow: hidden !important;
        width: 100% !important;
    }
    .violation-item {
        padding: 14px 8px 12px !important;
        border-radius: 12px !important;
        min-height: 0 !important;
        overflow: hidden !important;
        word-wrap: break-word !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
    }
    .violation-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
        height: 36px !important;
    }
    .violation-icon svg { width: 26px !important; height: 26px !important; }
    .violation-item h3 {
        font-size: 12px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        text-align: center !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        white-space: normal !important;
    }

    /* ============ GRÜNDE ============ */
    .reasons-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        overflow: hidden !important;
        width: 100% !important;
    }
    .reason-item {
        padding: 10px 8px !important;
        border-radius: 12px !important;
        align-items: flex-start !important;
        overflow: hidden !important;
        word-wrap: break-word !important;
        gap: 6px !important;
        display: flex !important;
    }
    .cross-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 12px !important;
        line-height: 22px !important;
        flex: 0 0 22px !important;
        min-width: 22px !important;
        text-align: center;
    }
    .reason-item h3 {
        font-size: 12px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        white-space: normal !important;
    }

    /* ============ ANWALT ============ */
    .rechtsanwalt { padding-top: 16px; padding-bottom: 16px; }
    .rechtsanwalt h2 { font-size: 20px !important; line-height: 1.12 !important; margin-bottom: 12px !important; }
    .anwalt-content { padding: 14px; border-radius: 18px; overflow: visible !important; }
    .anwalt-line1 {
        display: grid !important;
        grid-template-columns: 88px 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 4px 12px !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .anwalt-line1 .anwalt-photo {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
    }
    .anwalt-line1 .anwalt-title-block {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: start !important;
    }
    .anwalt-photo img {
        width: 88px !important;
        height: 108px !important;
        object-fit: cover !important;
        object-position: top !important;
        border-radius: 12px !important;
    }
    .anwalt-title-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        padding-top: 0 !important;
    }
    .anwalt-title-block h3 {
        font-size: 17px !important;
        line-height: 1.2 !important;
        margin: 0 0 4px !important;
        font-weight: 700 !important;
    }
    .anwalt-title-block .subtitle {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin: 0 0 10px !important;
    }
    .anwalt-line1 .google-reviews {
        grid-column: 2 !important;
        grid-row: 2 !important;
        align-self: start !important;
        transform: scale(0.68) !important;
        transform-origin: left top !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        max-width: 100% !important;
    }
    .anwalt-line1 .google-reviews *,
    .anwalt-line1 .google-reviews p {
        margin: 0 !important;
        padding: 0 !important;
    }
    .anwalt-line1 { margin-bottom: 8px !important; }
    .anwalt-line2 { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 0 !important; }
    .anwalt-section h4 { font-size: 14px; margin: 0 0 6px; }
    .anwalt-section li { font-size: 13.5px; line-height: 1.35; }

    /* ============ BLOG ============ */
    .blog-section .blog-grid,
    .blog-section .posts,
    .blog-section .post-list,
    .blog-section .swiper-wrapper,
    .blog-section [class="swiper"],
    .blog-section [class*="slider"],
    .blog-section [class*="carousel"],
    .blog-section [class*="row"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        transform: none !important;
        overflow: visible !important;
    }
    .blog-section .swiper-slide,
    .blog-section article,
    .blog-section .post,
    .blog-section .post-card,
    .blog-section [class="card"],
    .blog-section [class*="post"] {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        border-radius: 14px !important;
    }
    .blog-section .blog-image {
        height: 160px !important;
        overflow: hidden !important;
        line-height: 0 !important;
        font-size: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    .blog-section .blog-image a {
        display: block !important;
        height: 100% !important;
        line-height: 0 !important;
    }
    .blog-section img {
        width: 100% !important;
        height: 160px !important;
        object-fit: cover !important;
        border-radius: 14px 14px 0 0 !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        vertical-align: top !important;
    }
    .blog-section .post-thumbnail,
    .blog-section .thumbnail,
    .blog-section .wp-post-image,
    .blog-section .featured-image {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        line-height: 0 !important;
        font-size: 0 !important;
    }
    .blog-section .blog-content { padding: 10px 14px 14px !important; margin-top: 0 !important; }
    .blog-section article > *:not(img):not(a),
    .blog-section .post > *:not(img),
    .blog-section .post-card > *:not(img) {
        margin-top: 0 !important;
        padding: 10px 12px 14px !important;
    }
    .blog-section h3,
    .blog-section h2,
    .blog-section [class="title"] { font-size: 15px !important; line-height: 1.25 !important; margin: 6px 0 5px !important; }
    .blog-section p,
    .blog-section [class="excerpt"] { font-size: 13.5px !important; line-height: 1.35 !important; margin: 0 !important; }

    /* ============ FAQ ============ */
    .faq-question { font-size: 15px; line-height: 1.25; padding: 13px 14px; }
    .faq-answer { font-size: 14px; line-height: 1.4; padding: 0 14px 13px; }

    /* ============ FOOTER ============ */
    .footer { padding-top: 20px; padding-bottom: 16px; }
    .footer-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
    .footer-contact > p,
    .footer-contact h3 { display: none !important; }
    .footer-contact-compact {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding-bottom: 14px !important;
        border-bottom: 1px solid rgba(255,255,255,0.15) !important;
        margin-bottom: 14px !important;
    }
    .footer-contact-compact .footer-logo img {
        max-width: 36px !important;
        max-height: 36px !important;
        width: auto !important;
        height: auto !important;
    }
    .footer-brand-name {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: white !important;
        line-height: 1.3 !important;
        flex: 1;
    }
    .footer-contact-info {
        font-size: 12px !important;
        line-height: 1.5 !important;
        text-align: right !important;
        color: white !important;
    }
    .footer-contact-info a {
        color: white !important;
        text-decoration: none !important;
        display: block !important;
        font-size: 12px !important;
    }
    .footer h3 { font-size: 14px; margin-bottom: 8px; }
    .footer p, .footer a { font-size: 13px; line-height: 1.35; }
    .footer-contact a { overflow-wrap: anywhere; word-break: break-word; display: inline-block; max-width: 100%; }
    .footer-bottom p { font-size: 12px; }

    /* ============ IMPRESSUM / DATENSCHUTZ ============ */
    .legal-page { padding: 16px 0 !important; }
    .legal-container {
        padding: 20px 16px !important;
        margin: 0 10px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    .legal-title {
        font-size: 28px !important;
        margin-bottom: 16px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .legal-section,
    .legal-intro,
    .legal-highlight,
    .legal-note {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 0 16px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .legal-content { max-width: 100% !important; overflow-x: hidden !important; word-break: break-word !important; }
    .legal-content * { max-width: 100% !important; overflow-wrap: break-word !important; }
    .page-impressum,
    .page-datenschutz { overflow-x: hidden !important; }
    .page-impressum .entry-content,
    .page-datenschutz .entry-content,
    .page-impressum .page-content,
    .page-datenschutz .page-content {
        max-width: 100% !important;
        padding: 0 14px !important;
        overflow-x: hidden !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .page-impressum .entry-content *,
    .page-datenschutz .entry-content * {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    .page-impressum table,
    .page-datenschutz table {
        width: 100% !important;
        table-layout: fixed !important;
        word-break: break-word !important;
    }

    /* ============ STICKY FOOTER ============ */
    .mobile-sticky-footer {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        height: 52px;
        padding: 6px 8px;
        display: flex;
        gap: 6px;
        align-items: center;
        justify-content: space-between;
        z-index: 1000;
    }
    .mobile-sticky-footer a {
        flex: 1;
        height: 40px;
        border-radius: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0 8px;
    }
    .mobile-sticky-footer a span:first-child {
        font-size: 17px;
        line-height: 1;
        flex-shrink: 0;
    }
    .mobile-sticky-footer a span:last-child {
        font-size: 12px;
        font-weight: 600;
        display: block;
        white-space: nowrap;
        line-height: 1;
    }
    .mobile-sticky-footer .btn-call span:first-child {
        filter: brightness(0) invert(1);
    }

} /* fin @media (max-width: 768px) */

/* ============================================
   SINGLE POST TOPBAR — PREMIUM BADGE
   ============================================ */

/* Bloc global */
body.single-post .single-post-topbar{

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    margin: 10px auto 22px auto;
    padding: 0;

    height: auto;

    text-align: center;
}


/* Logo KB */
body.single-post .single-post-topbar > img{

    display: block;

    width: 104px;        /* calibré premium */
    height: auto;

}


/* Texte */
body.single-post .single-post-topbar > .single-post-brand{

    display: block;

    font-size: 17px;
    line-height: 1.18;

    letter-spacing: 0.2px;

    color: #1a1a1a;

    text-align: center;
}


/* Ligne 1 : Kanzlei Bachmann */
body.single-post .single-post-brand br{

    margin-top: 3px;
}



/* ============================================
   TITRE : équilibre premium
   ============================================ */

.post-header{

    margin-top: 8px;
    margin-bottom: 32px;
}

.post-title{

    margin-top: 0;
}



/* ============================================
   TABLET
   ============================================ */

@media (max-width: 900px){

    body.single-post .single-post-topbar{

        gap: 14px;
        margin-bottom: 18px;
    }

    body.single-post .single-post-topbar > img{

        width: 88px;
    }

    body.single-post .single-post-topbar > .single-post-brand{

        font-size: 16px;
    }

}



/* ============================================
   MOBILE — BADGE ICONIQUE
   ============================================ */

@media (max-width: 600px){

    body.single-post .single-post-topbar{

        flex-direction: column;

        gap: 8px;

        margin-top: 6px;
        margin-bottom: 16px;
    }

    body.single-post .single-post-topbar > img{

        width: 64px;
    }

    body.single-post .single-post-topbar > .single-post-brand{

        font-size: 15px;
        line-height: 1.15;
    }

}


/* =========================================================
   CTA BRIDGE (forces consistent buttons everywhere)
   Put at END of stylesheet
   ========================================================= */

/* Base button look for: your CTAs + Gutenberg/WP buttons + CF7 submits */
a.btn-primary,
a.btn-secondary,
a.btn-secondary-visible,
a.header-cta,
a.quickcheck__button,
.wp-element-button,
.wp-block-button__link,
input.wpcf7-submit,
button.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 10px;
  padding: 16px 28px;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  border: 2px solid transparent;
}

/* PRIMARY */
a.btn-primary,
.wp-element-button:not(.is-style-outline):not(.is-style-contrast),
.wp-block-button:not(.is-style-outline):not(.is-style-contrast) .wp-block-button__link,
input.wpcf7-submit,
button.wpcf7-submit {
  background: #0066cc;
  border-color: #0066cc;
  color: #fff !important;
}

/* SECONDARY (outline) */
a.btn-secondary,
a.btn-secondary-visible,
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-element-button.is-style-outline {
  background: transparent;
  border-color: #0066cc;
  color: #0066cc !important;
}

/* HERO secondary stays white outline on dark hero */
.hero a.btn-secondary {
  border-color: #fff;
  color: #fff !important;
}

/* Hover */
a.btn-primary:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
input.wpcf7-submit:hover,
button.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

/* Secondary hover */
a.btn-secondary:hover,
a.btn-secondary-visible:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-element-button.is-style-outline:hover {
  background: rgba(0,102,204,0.10);
}

/* Make sure buttons don't look "tiny" inside sections */
.content-ctas a,
.step-cta a,
.anwalt-cta a,
.blog-section a.btn-primary {
  min-width: 240px;
}

/* Mobile sizing */
@media (max-width: 768px) {
  a.btn-primary,
  a.btn-secondary,
  a.btn-secondary-visible,
  a.header-cta,
  a.quickcheck__button,
  .wp-element-button,
  .wp-block-button__link,
  input.wpcf7-submit,
  button.wpcf7-submit {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
  }

  .content-ctas,
  .hero__ctas,
  .step-cta,
  .anwalt-cta {
    width: 100%;
  }

  .content-ctas a,
  .step-cta a,
  .anwalt-cta a {
    min-width: 0;
  }
}