/*
Theme Name: Zahnarztpraxis Wächtersbach
Description: Zahnarztpraxis Waechtersbach - Child Theme, Responive & Flexibel
Version: 1.715 (17.06.2026)
Author: CTC Media | Joerg Jaeger
Template: enfold
*/

/* ==============================================
   Enfold Responsive CSS — clamp() System v3
   Modus    : Typografie
   Skala    : Minor Third ÷ 1.2
   H1 Basis : 48px
   Spacing  : 38px max / 16px min
   Viewport : 320px – 1440px
   Präfix   : ctc_cf_
   Einfügen : Enfold → Theme Options → General Styling → Quick CSS
==============================================*/

body {
  hyphens: auto;
  -webkit-hyphens: auto; 
  hyphenate-limit-chars: 6 3 2;
  overflow-wrap: break-word;
}

h1.av-special-heading-tag{
  font-size: clamp(22px, 1.6071vw + 1.054rem, 40px) !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

/* --- HTML-Tags Typografie --- */
h1, .av-page-body h1 {
  font-size: clamp(22px, 1.6071vw + 1.054rem, 40px);
  line-height: 1.15;
  font-weight: 700;
}

h2, .av-page-body h2 {
  font-size: clamp(18px, 1.3393vw + 0.878rem, 33px);
  line-height: 1.2;
  font-weight: 700;
}

h3, .av-page-body h3 {
  font-size: clamp(15px, 1.1161vw + 0.732rem, 28px);
  line-height: 1.25;
  font-weight: 600;
}

h4, .av-page-body h4 {
  font-size: clamp(13px, 0.9301vw + 0.610rem, 23px);
  line-height: 1.3;
  font-weight: 600;
}

h5, .av-page-body h5 {
  font-size: clamp(11px, 0.7402vw + 0.539rem, 19px);
  line-height: 1.35;
  font-weight: 500;
}

h6, .av-page-body h6 {
  font-size: clamp(11px, 0.4531vw + 0.597rem, 16px);
  line-height: 1.4;
  font-weight: 500;
}

p, .av-page-body p {
  font-size: clamp(13px, 0.4531vw + 0.597rem, 16px);
  line-height: 1.4;
}

body, .av-page-body {
  font-size: clamp(13px, 0.4531vw + 0.597rem, 16px);
  line-height: 1.4;
}
/* ==============================================
   Enfold Responsive CSS — clamp() System v3
==============================================*/

/*Hero Element Startseite*/
/*
#top #av_section_1 .container.av-section-cont-open .template-page {vertical-align: bottom;}

#top #av_section_1 .container.av-section-cont-open {padding-bottom: 0px;}
*/

.hero-gradient { position:relative; }
.hero-gradient::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: linear-gradient(90deg,
    rgba(6,50,60,0.90) 0%,
    rgba(10,65,78,0.80) 25%,
    rgba(15,85,100,0.55) 38%,
    rgba(20,100,115,0.15) 48%,
    rgba(20,100,115,0) 55%);
}
.hero-gradient .container { position:relative; z-index:1; }

/**/
.feature-cards .container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 10px 0;
    overflow: hidden;
}

/* Trennlinien zwischen den Spalten */
.feature-cards .flex_column {
    border-right: 1px solid #eee;
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 0;
}
.feature-cards .flex_column:last-child {
    border-right: none;
}

/* Mobil: Linien unten statt rechts */
@media only screen and (max-width: 767px) {
    .feature-cards .flex_column {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 20px;
    }
    .feature-cards .flex_column:last-child {
        border-bottom: none;
    }
}

/*Seitenabschluss*/
.contact-section {
    position: relative;
    overflow: hidden; /* schneidet die Kreise ab */
}

/* Kreis rechts oben */
.contact-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -120px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

/* Kreis links unten */
.contact-section::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contentblock-border .av_textblock_section {border-radius:20px;}


.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

/* Hover: leicht anheben */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.service-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-card .card-num {
    background: #0097a7;
    color: #fff;
    font-weight: 700;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .card-icon {
    color: #4dd0e1;
    font-size: 22px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
}

.hero-badge .badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4dd0e1;
    flex-shrink: 0;
}
.hero-badge::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4dd0e1;
    flex-shrink: 0;
    animation: badge-pulse 2s infinite;
}

span.special_amp {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
}

.btn-dark-noborder > .avia-color-dark {border:0px !important;}
.ctc-iconlist-small .avia-icon-list li {margin-bottom:4px;}

/* Column als Bezugsrahmen */
#top .flex_column.avia-builder-el-31 {
    position: relative;
}

/* Section über das innere Div ansprechen */
#top .av_textblock_section:has(.ctc-textbox-hightlight) {
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: fit-content;
    max-width: calc(100% - 40px);
    border-radius: 12px;
    overflow: hidden;
}
#top .avia-button.avia-color-light {border:1px solid #fff !important;}

/*Seitenabschluss*/
#top .widget_nav_menu li {font-size:16px;}
.widget_nav_menu .current-menu-item>a, .widget_nav_menu .current_page_item>a {font-weight: 400 !important;}
.ctc-img-border img {border-radius:20px;}
#top .content .flex_column .widget_nav_menu li:first-child {background-color: rgba(255, 255, 255, .0) !important;}
#top .content .flex_column .widget_nav_menu li:first-child {border-top-width:0px !important;}  
#top .content .flex_column .widget_nav_menu li {border-bottom-width:0px !important;}

.erecht24-legal-texts h2, .erecht24-legal-texts h3 {text-transform: none !important;}

.avia_image {border-radius:20px;}

.ctc-texttransform {text-transform: none !important;}


/**** MENUE SETTING Logo left - Menu center - CTA - right ****/
/* Menü zentrieren 
#header .main_menu { left:0; right:0; text-align:center; pointer-events:none; }
#header .main_menu > * { pointer-events:auto; }
#header .av-main-nav-wrap { float:none; display:inline-block; }
*/
/* Button => Right
.av-termin-btn {
  position:absolute; right:0; top:50%; transform:translateY(-50%);
  display:inline-flex; align-items:center; gap:12px;
  padding:14px 28px; border-radius:12px;
  font-size: 14px;
  background:#039bb4; color:#fff !important;
  font-weight:600; text-transform:uppercase; letter-spacing:.5px; line-height:1;
}
.av-termin-btn:hover { background:#146d79; }

@media (max-width:989px) {
  .av-termin-btn { right:60px; padding:10px 12px; }
  .av-termin-btn span { display:none; }
}
*/

/* =========================================
   Info-Leiste (Header Meta)
   ========================================= */
#top #header_meta { background:#e3f1f5; border:0; }
#top #header_meta .phone-info,
#top #header_meta .phone-info > * { float:none !important; width:100% !important; padding:0; }

#top #header_meta .av-topinfo {
  display:flex !important; justify-content:space-between; align-items:center;
  width:100%; padding:8px 0; font-size:12px; line-height:1.4; font-weight:400;
}
#top #header_meta .av-topinfo .hi {
  display:inline-flex !important; flex-direction:row; align-items:center; gap:10px;
  color:#1f2d3d !important; font-weight:600; white-space:nowrap;
}
#top #header_meta .av-topinfo a.hi:hover { color:#1b8a99 !important; }

/* Icons */
#top #header_meta .av-topinfo .hi::before {
  content:""; display:block; flex:0 0 18px; width:18px; height:18px; background:#1b8a99;
  -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat;
}
.hi-pin   { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.hi-phone { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C9.6 21 3 14.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.hi-mail  { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.hi-clock { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

/* Trenner zwischen den Spalten */
#top .flex_column.col-trenner { position:relative; }
#top .flex_column.col-trenner::before {
  content:""; display:block !important; visibility:visible !important;
  position:absolute; top:10%; bottom:10%; right:0;
  width:1px; height:auto !important; background:#e2e6e8; z-index:1;
}

@media (max-width:767px) {
  #top .flex_column.col-trenner::before { display:none !important; }
}

/* SVG-Spalte vertikal mittig */
#top .flex_column_table_cell.col-mitte { vertical-align:middle !important; }

/* Mobil: Spalten untereinander, Trenner ausblenden */
@media (max-width:767px) {
  #top .flex_column.col-trenner::after { display:none; }
}