/* ================================
   Viennaweb – Domaincheck
   ================================ */

/* HERO */
.dc-hero{
  min-height:460px;
  background-image: var(--dc-hero-bg, url('/wp-content/uploads/2026/03/vweb-background-e1771674325795.webp'));
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
}
.dc-hero::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,0.55);}
.dc-hero-inner{position:relative;z-index:2;max-width:1000px;padding:40px 20px;}
.dc-hero h1{font-size:48px;color:#fff;margin:0 0 18px;}
.dc-subline{font-size:18px;color:rgba(255,255,255,0.85);margin:0 0 34px;}

.dc-search-wrapper input,
.dc-search-wrapper button{height:40px;border-radius:40px;}

.dc-search-wrapper input[type="text"],
.dc-search-wrapper input[type="search"],
.dc-search-wrapper input{
  box-sizing:border-box;
  line-height:1.1;
  padding:0 22px;
}
.dc-search-wrapper button{
  box-sizing:border-box;
  line-height:1.1;
  padding:0 26px;
}

.dc-trust{
  margin-top:22px;
  display:flex;
  gap:26px;
  justify-content:center;
  color:#fff;
  font-size:15px;
  flex-wrap:wrap;
}

/* Falls im Suchfeld Mini‑Badges/Preise drin sind: weniger Breite, aber Logo größer */
.dc-search-wrapper .badge,
.dc-search-wrapper .tld-badge,
.dc-search-wrapper .dc-badge{
  padding:8px 12px;
  border-radius:12px;
}
.dc-search-wrapper .badge img,
.dc-search-wrapper .tld-badge img,
.dc-search-wrapper .dc-badge img{width:42px;height:auto;}

/* ================================
   2) CONTENT-BREITE wie andere Seiten
   -> Wir verwenden im Template bewusst .vw-container.
   (Breite kommt aus Theme-CSS von .vw-container)
   ================================ */

/* SECTIONS */
.dc-tlds{padding:10px 0;background:#f5f7fa;text-align:center;}
.dc-structure{padding:70px 0;text-align:center;}
.dc-alternative{padding:20px 0;text-align:center;}
.dc-faq{padding:40px 0;background:#f5f7fa;}

/* ================================
   3) Domain-Bilder über volle Kartenbreite
   -> CSS für dc-tld-media / dc-tld-img
   ================================ */

.dc-tld-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:26px;
  margin-top:40px;
}

.dc-tld-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  transition:0.25s;
  text-decoration:none;
  color:inherit;
}
.dc-tld-card:hover{transform:translateY(-6px);}

.dc-tld-media{width:100%;}
.dc-tld-img{width:100%;height:auto;display:block;}

.dc-tld-body{padding:18px 22px 22px;text-align:left;}
.dc-tld-body h3{margin:0 0 6px;font-size:20px;}

.dc-price{font-size:28px;font-weight:800;color:#2da9e0;margin:12px 0 10px;}
.dc-price span{display:block;font-size:14px;font-weight:400;color:#64748b;}

.dc-tld-body p{margin:0;color:#334155;line-height:1.45;}

/* ================================
   „So ist eine Domain aufgebaut“
   ================================ */

.dc-structure-grid{margin-top:26px;}
.dc-structure-card{
  background:#fff;
  border-radius:18px;
  padding:24px;
  box-shadow:0 8px 25px rgba(0,0,0,0.06);
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:22px;
  align-items:center;
  text-align:left;
  max-width:1040px;
  margin:0 auto;
}

.dc-structure-box{max-width:none;margin:0;text-align:left;background:transparent;border-radius:0;padding:0;box-shadow:none;}
.dc-example{font-size:28px;margin-bottom:16px;text-align:center;}
.dc-name{background:#eaf4fb;padding:8px 20px;border-radius:8px;display:inline-block;}
.dc-plus{margin:0 10px;color:#6a7d8b;}
.dc-tld{background:#2da9e0;color:#fff;padding:8px 20px;border-radius:8px;display:inline-block;}

.dc-structure-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px;}

/* Checklist mit Hakerl-Icon */
.dc-checklist{list-style:none;margin:0;padding:0;}
.dc-checklist li{position:relative;padding-left:32px;margin:10px 0;}
.dc-checklist li::before{
  content:"";
  position:absolute;
  left:0;top:2px;
  width:22px;height:22px;
  background:url('/wp-content/uploads/2026/02/viennaweb-check-64.png') center/contain no-repeat;
}
.dc-checklist-compact li{margin:8px 0;}

.dc-illuswrap{max-width:900px;margin:0 auto;}
.dc-illus{width:100%;height:auto;display:block;border-radius:16px;box-shadow:0 12px 38px rgba(0,0,0,0.14);}

/* ================================
   „Wunschdomain bereits vergeben?“ Badge
   ================================ */

.dc-alt-badge{
  background:#fff;
  border-radius:18px;
  padding:24px;
  box-shadow:0 8px 25px rgba(0,0,0,0.06);
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap:22px;
  align-items:center;
  text-align:left;
  max-width:1040px;
  margin:0 auto;
}
.dc-alt-illus{width:100%;height:auto;display:block;border-radius:16px;box-shadow:0 12px 38px rgba(0,0,0,0.14);}
.dc-alt-content h2{margin:0 0 10px;}
.dc-alt-content p{margin:0 0 10px;}

.dc-btn{
  display:inline-block;
  margin-top:18px;
  padding:12px 30px;
  background:#2da9e0;
  color:#fff;
  border-radius:30px;
  text-decoration:none;
}

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

.dc-faq-list{max-width:1040px;margin:22px auto 0;text-align:left;}
.dc-faq-item{background:#fff;border-radius:16px;box-shadow:0 8px 22px rgba(0,0,0,0.06);margin:14px 0;overflow:hidden;}
.dc-faq-item summary{cursor:pointer;list-style:none;padding:18px 22px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.dc-faq-item summary::-webkit-details-marker{display:none;}
.dc-faq-item summary::after{content:"+";font-weight:900;opacity:0.7;}
.dc-faq-item[open] summary::after{content:"–";}
.dc-faq-body{padding:0 22px 18px;color:#334155;line-height:1.55;}

/* RESPONSIVE */
@media (max-width: 900px){
  .dc-hero h1{font-size:38px;}
  .dc-structure-card,.dc-alt-badge{grid-template-columns:1fr;}
  .dc-structure-cols{grid-template-columns:1fr;}
}

@media (max-width: 520px){
  .dc-hero h1{font-size:32px;}
  .dc-search-wrapper input,.dc-search-wrapper button{height:52px;}
}


/* Domaincheck-Seite: Such-Headline weiß */
body.page-template-page-domaincheck #domainsuche .vw-domain-title{
  color:#fff !important;
}


/* Domaincheck HERO: Trust-Icons (weißer Kreis + hellblauer Haken) */
body.page-template-page-domaincheck .dc-trust{
  display:flex;
  gap:28px;
  justify-content:center;
  align-items:center;
  color:#fff;
}

body.page-template-page-domaincheck .dc-trust span{
  position:relative;
  padding-left:28px;          /* Platz für Icon */
  font-weight:600;
  white-space:nowrap;
}

/* Weißer Kreis */
body.page-template-page-domaincheck .dc-trust span::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
}

/* Hellblauer Haken als SVG (sauber einfärbbar) */
body.page-template-page-domaincheck .dc-trust span::after{
  content:"";
  position:absolute;
  left:3px;
  top:50%;
  transform:translateY(-50%);
  width:12px;
  height:12px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:12px 12px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3L13 4.5' fill='none' stroke='%2337B7FF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* =========================================================
   DOMAIN-KÄRTCHEN – OPTIMIERUNG (SEO/Marketing + UI)
   - nur CSS (keine Template-Änderung nötig)
   - bessere Hierarchie (TLD/Preis)
   - Premium-Hover + ruhigere Tiefe
   - CTA-Button-Look (Card bleibt kompletter Link zur TLD-Seite)
   ========================================================= */

/* Karten: etwas mehr „Viennaweb-TechBlue“-Charakter + saubere Transition */
.dc-tld-card{
  border:1px solid rgba(45,169,224,.12);
  background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
  transition:transform .25s ease, box-shadow .25s ease;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
}
.dc-tld-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 42px rgba(0,0,0,0.16);
}

/* Body als Flex, damit CTA immer unten sitzt + gleichmäßigere Karten */
.dc-tld-body{
  display:flex;
  flex-direction:column;
  min-height:240px;
}

/* TLD-Titel stärker */
.dc-tld-body h3{
  font-size:22px;
  font-weight:800;
  letter-spacing:-0.2px;
  margin:0 0 8px;
}

/* Preis dominanter + kompakter */
.dc-price{
  font-size:30px;
  font-weight:900;
  line-height:1.05;
  margin:10px 0 12px;
}
.dc-price span{
  font-size:13px;
  font-weight:600;
  opacity:.85;
  margin-top:4px;
}

/* Beschreibung flex-grow (damit CTA unten bleibt) */
.dc-tld-body p{
  flex:1;
}

/* Bild-Fallback (wenn Bild fehlt/geladen wird) */
.dc-tld-media{ background:#0b1f33; }

/* OPTIONAL: einheitlicher Bild-Crop – aktivieren, wenn gewünscht
.dc-tld-img{
  height:150px;
  object-fit:cover;
}
*/

/* CTA: Button-Look ohne HTML (Card ist Link) */
.dc-tld-card::after{
  content:"Mehr zur Domain";
  display:inline-block;
  margin:16px 22px 22px;
  padding:11px 18px;
  border-radius:999px;
  background:#2da9e0;
  color:#fff;
  font-weight:800;
  font-size:14px;
  text-align:center;
}

/* CTA-Text dynamisch je TLD – via href (keine zusätzliche Klasse nötig) */
.dc-tld-card[href*="/at-domain"]::after{ content:"Mehr zur .at Domain"; }
.dc-tld-card[href*="/com-domain"]::after{ content:"Mehr zur .com Domain"; }
.dc-tld-card[href*="/co.at-domain"]::after{ content:"Mehr zur .co.at Domain"; }
.dc-tld-card[href*="/eu-domain"]::after{ content:"Mehr zur .eu Domain"; }

/* Wenn du andere Slugs verwendest, einfach hier weitere Zeilen ergänzen:
   .dc-tld-card[href*="/net-domain"]::after{ content:"Mehr zur .net Domain"; }
*/

/* Badges rechts zwischen Input und Button */
.vw-domain-search{
  display:flex;
  align-items:center;
  gap:12px;
}

.vw-domain-input{
  flex:1;
  min-width:220px;
}

/* Badge-Gruppe */
.vw-tld-badges{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 6px;
  border-left:1px solid rgba(0,0,0,.10); /* Trennlinie wie Vorlage */
}

/* Einzel-Badge */
.vw-tld-badge{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:56px;
  padding:6px 8px;
  line-height:1.05;
}

.vw-tld{
  font-weight:900;
  font-size:16px;
  color:#0B2F4A;
  background:rgba(45,169,224,0.08);
  padding:3px 6px;
  border-radius:6px;
}
.vw-prices{
  display:flex;
  gap:6px;
  align-items:baseline;
}

.vw-price-old{
  font-size:12px;
  color:#c21d1d;
  text-decoration:line-through;
  font-weight:700;
}

.vw-price-new{
  font-size:12px;
  color:#0b2a45;
  opacity:.85;
  font-weight:700;
}
