/*
Theme Name: SwissWebDomains
Theme URI: https://swisswebdomains.com
Author: SwissWebDomains
Description: Professionelles WordPress-Theme – Webdesign & Hosting aus der Schweiz
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: swisswebdomains
*/

/* ========================================
   VARIABLES
======================================== */
:root {
  --red:      #EB0000;
  --red-dark: #c20000;
  --red-bg:   #fdf2f2;
  --black:    #111111;
  --gray-800: #333333;
  --gray-600: #666666;
  --gray-400: #999999;
  --gray-200: #e5e5e5;
  --gray-100: #f2f2f2;
  --gray-50:  #f8f8f8;
  --white:    #ffffff;
  --font:     'Source Sans 3','Helvetica Neue',Helvetica,Arial,sans-serif;
  --ease:     0.22s ease;
  --r:        3px;
  --r2:       6px;
}

/* ========================================
   RESET & BASE
======================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--black);background:var(--white);line-height:1.7;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--red);text-decoration:none;transition:var(--ease)}
a:hover{color:var(--red-dark)}

/* ========================================
   TYPOGRAPHY
======================================== */
h1,h2,h3,h4{font-family:var(--font);font-weight:700;line-height:1.15;color:var(--black);letter-spacing:-.015em}
h1{font-size:clamp(2.4rem,5vw,3.8rem)}
h2{font-size:clamp(1.8rem,3.5vw,2.6rem)}
h3{font-size:1.15rem;font-weight:700}

/* Section label */
.section-label{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.7rem;font-weight:700;letter-spacing:.2em;
  text-transform:uppercase;color:var(--red);margin-bottom:.75rem
}
.section-label::before{
  content:'';display:block;width:22px;height:2px;background:var(--red)
}

/* ========================================
   LAYOUT
======================================== */
.container{max-width:1140px;margin:0 auto;padding:0 1.75rem}
.section{padding:6rem 0}
.section-alt{background:var(--gray-50)}
.section-dark{background:var(--black)}
.section-dark h2,.section-dark h3,.section-dark .section-label{color:var(--white)}
.section-dark .section-label::before{background:rgba(255,255,255,.4)}
.section-dark .section-label{color:rgba(255,255,255,.6)}
.text-center{text-align:center}
/* Center headings inside sections by default */
.section-head{text-align:center}
.section-head h2{margin:0 auto}
.section-intro{max-width:580px;margin:.8rem auto 3.5rem;color:var(--gray-600);font-size:1.02rem;text-align:center}

/* ========================================
   BUTTONS
======================================== */
.btn{
  display:inline-block;padding:.8em 2.2em;border-radius:var(--r);
  font-weight:700;font-size:.9rem;letter-spacing:.04em;text-transform:uppercase;
  cursor:pointer;border:2px solid transparent;transition:var(--ease);
  text-align:center;font-family:var(--font)
}
.btn-red{background:var(--red);color:#fff;border-color:var(--red)}
.btn-red:hover{background:var(--red-dark);border-color:var(--red-dark);color:#fff}
.btn-outline{background:transparent;color:var(--black);border-color:var(--black)}
.btn-outline:hover{background:var(--black);color:#fff}
.btn-outline-white{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.btn-outline-white:hover{background:#fff;color:var(--red);border-color:#fff}
.btn-outline-red{background:transparent;color:var(--red);border-color:var(--red)}
.btn-outline-red:hover{background:var(--red);color:#fff}
.btn-white{background:#fff;color:var(--red);border-color:#fff}
.btn-white:hover{background:var(--gray-100);color:var(--red-dark)}

/* ========================================
   NAVIGATION
======================================== */
#site-header{position:fixed;top:0;left:0;right:0;z-index:1000;transition:var(--ease);background:transparent}
#site-header.scrolled{background:var(--white);border-bottom:2px solid var(--red);box-shadow:0 2px 16px rgba(0,0,0,.07)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:.95rem 0;gap:2rem}
.site-logo{
  font-size:1.25rem;font-weight:800;letter-spacing:-.02em;
  color:var(--black) !important;display:flex;align-items:center;gap:.45rem
}
/* On hero (white bg) logo is dark from the start */
.logo-mark{
  width:22px;height:22px;background:var(--red);border-radius:2px;
  flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:center
}
.logo-mark::before,.logo-mark::after{content:'';position:absolute;background:#fff;border-radius:1px}
.logo-mark::before{width:2px;height:13px}
.logo-mark::after{width:13px;height:2px}
.nav-menu{display:flex;align-items:center;gap:0;list-style:none}
.nav-menu a{display:block;color:var(--gray-600);font-size:.87rem;font-weight:600;padding:.45em .9em;letter-spacing:.02em}
.nav-menu a:hover{color:var(--red)}
.nav-cta{margin-left:.5rem}
.nav-burger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:6px;background:none;border:none}
.nav-burger span{display:block;width:24px;height:2px;background:var(--black);border-radius:2px;transition:var(--ease)}

/* ========================================
   HERO — White, clean, typographic
======================================== */
#hero{
  min-height:100vh;
  background:var(--white);
  display:flex;align-items:center;
  padding-top:5rem;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--gray-200)
}
/* Subtle red band bottom-right */
#hero::after{
  content:'';position:absolute;
  bottom:0;right:0;
  width:38%;height:5px;
  background:var(--red)
}
.hero-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:5rem;align-items:center
}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:.6rem;
  font-size:.72rem;font-weight:700;letter-spacing:.2em;
  text-transform:uppercase;color:var(--red);margin-bottom:1.5rem
}
.hero-eyebrow::before{content:'';display:block;width:24px;height:2px;background:var(--red)}
.hero-title{
  font-size:clamp(2.4rem,5vw,3.8rem);color:var(--black);
  margin-bottom:1.25rem;font-weight:800;letter-spacing:-.025em;
  line-height:1.1
}
.hero-title span{color:var(--red)}
.hero-desc{
  font-size:1.08rem;color:var(--gray-600);
  margin-bottom:2.5rem;max-width:460px;line-height:1.7
}
.hero-actions{display:flex;gap:.9rem;flex-wrap:wrap;align-items:center}
.hero-divider{width:40px;height:3px;background:var(--red);margin:3rem 0 2rem}
.hero-stats{display:flex;gap:0}
.hero-stat{padding-right:2.5rem;border-right:1px solid var(--gray-200);margin-right:2.5rem}
.hero-stat:last-child{border-right:none;margin-right:0;padding-right:0}
.hero-stat-num{font-size:1.9rem;font-weight:800;color:var(--black);display:block;line-height:1;margin-bottom:.2rem}
.hero-stat-label{font-size:.72rem;color:var(--gray-400);letter-spacing:.08em;text-transform:uppercase}

/* Hero right: service panel */
.hero-panel{
  background:var(--gray-50);border:1px solid var(--gray-200);
  border-radius:var(--r2);padding:2.5rem;
  border-top:3px solid var(--red)
}
.hero-panel-title{
  font-size:.72rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--gray-400);
  margin-bottom:1.5rem
}
.service-row{
  display:flex;align-items:center;gap:1rem;
  padding:1rem 0;border-bottom:1px solid var(--gray-200)
}
.service-row:last-child{border-bottom:none;padding-bottom:0}
.service-icon-wrap{
  width:38px;height:38px;background:var(--red-bg);
  border-radius:var(--r);display:flex;align-items:center;
  justify-content:center;flex-shrink:0
}
.service-icon-wrap svg{width:18px;height:18px;stroke:var(--red);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.service-name{font-size:.9rem;font-weight:600;color:var(--black)}
.service-sub{font-size:.78rem;color:var(--gray-400)}
.service-price{margin-left:auto;font-size:.82rem;font-weight:700;color:var(--red);white-space:nowrap}

/* ========================================
   FEATURES
======================================== */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.feature-card{
  padding:2rem 1.75rem;
  border:1px solid var(--gray-200);border-radius:var(--r2);
  transition:var(--ease);background:var(--white);
  text-align:center
}
.feature-card:hover{border-color:var(--red);box-shadow:0 4px 24px rgba(235,0,0,.08);transform:translateY(-2px)}
.feature-icon-wrap{
  width:44px;height:44px;background:var(--red-bg);
  border-radius:var(--r);display:flex;align-items:center;
  justify-content:center;margin:0 auto 1.25rem
}
.feature-icon-wrap svg{width:22px;height:22px;stroke:var(--red);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feature-title{font-size:1rem;font-weight:700;margin-bottom:.5rem;color:var(--black)}
.feature-desc{color:var(--gray-600);font-size:.9rem;line-height:1.65}

/* ========================================
   PRICING
======================================== */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;align-items:start}
.pricing-card{
  background:var(--white);border-radius:var(--r2);
  border:1px solid var(--gray-200);
  padding:2.25rem 2rem;transition:var(--ease);position:relative
}
.pricing-card:hover{border-color:var(--red);box-shadow:0 6px 30px rgba(235,0,0,.1)}
.pricing-card.featured{
  background:var(--red);border-color:var(--red);
  box-shadow:0 12px 40px rgba(235,0,0,.25)
}
.pricing-card.featured *{color:rgba(255,255,255,.85) !important}
.pricing-card.featured .btn-white{color:var(--red) !important;background:#fff !important}
.pricing-card.featured h3,.pricing-card.featured .pricing-price{color:#fff !important}
.pricing-card.featured .pricing-divider{border-color:rgba(255,255,255,.2)}
.pricing-card.featured .pricing-feature-icon{color:#fff !important}
.pricing-card.featured .pricing-feature-icon.cross{color:rgba(255,255,255,.3) !important}
.pricing-badge{
  position:absolute;top:-13px;left:50%;transform:translateX(-50%);
  background:var(--black);color:#fff;font-size:.66rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;padding:.3em 1.1em;
  border-radius:100px;white-space:nowrap
}
.pricing-tier{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}
.pricing-tier-bar{width:4px;height:28px;border-radius:2px}
.tier-bronze .pricing-tier-bar{background:#c8813a}
.tier-silver .pricing-tier-bar{background:#9b9b9b}
.tier-gold   .pricing-tier-bar{background:#c9a227}
.pricing-card.featured .pricing-tier-bar{background:rgba(255,255,255,.5) !important}
.pricing-tier-name{font-size:1.3rem;font-weight:800;letter-spacing:-.01em}
.tier-bronze .pricing-tier-name{color:#c8813a}
.tier-silver .pricing-tier-name{color:#777}
.tier-gold   .pricing-tier-name{color:#b8920c}
.pricing-card.featured .pricing-tier-name{color:#fff !important}
.pricing-subtitle{font-size:.84rem;color:var(--gray-400);margin-bottom:1.5rem;min-height:2.4em}
.pricing-price{font-size:2.8rem;font-weight:800;color:var(--black);line-height:1;letter-spacing:-.03em}
.pricing-currency{font-size:1rem;vertical-align:super;font-weight:700}
.pricing-period{font-size:.8rem;font-weight:400}
.pricing-setup{font-size:.78rem;color:var(--gray-400);margin:.4rem 0 1.25rem}
.pricing-divider{border:none;border-top:1px solid var(--gray-200);margin:1.25rem 0}
.pricing-features{list-style:none;display:flex;flex-direction:column;gap:.65rem;margin-bottom:1.75rem}
.pricing-feature{display:flex;align-items:flex-start;gap:.55rem;font-size:.88rem;color:var(--gray-600)}
.pricing-feature-icon{color:var(--red);font-size:.85rem;flex-shrink:0;margin-top:3px;font-weight:900}
.pricing-feature-icon.cross{color:var(--gray-200)}

/* ========================================
   ABOUT
======================================== */
.about-grid{display:grid;grid-template-columns:5fr 7fr;gap:5rem;align-items:center}
.about-img-wrap{position:relative}
.about-img-wrap img{
  width:100%;border-radius:var(--r2);
  display:block;object-fit:cover;
  aspect-ratio:3/4;
  box-shadow:0 20px 60px rgba(0,0,0,.12)
}
.about-accent{
  position:absolute;bottom:-16px;left:-16px;
  width:60%;height:60%;
  background:var(--red-bg);border-radius:var(--r2);
  z-index:-1
}
.about-badge{
  position:absolute;bottom:2rem;right:-1.5rem;
  background:var(--red);color:#fff;border-radius:var(--r2);
  padding:1.2rem 1.5rem;text-align:center;
  box-shadow:0 8px 24px rgba(235,0,0,.35)
}
.about-badge-num{font-size:2rem;font-weight:800;display:block;line-height:1}
.about-badge-text{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;opacity:.9;margin-top:.25rem}
.about-text{color:var(--gray-600);margin:1rem 0;font-size:.97rem;line-height:1.75}
.skill-tags{display:flex;flex-wrap:wrap;gap:.45rem;margin:1.5rem 0}
.skill-tag{
  background:var(--gray-100);color:var(--gray-800);
  font-size:.78rem;font-weight:600;padding:.3em .85em;border-radius:var(--r)
}

/* ========================================
   SECURITY
======================================== */
.security-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.security-card{
  padding:1.75rem 1.5rem;border-top:2px solid rgba(255,255,255,.15);
  transition:var(--ease)
}
.security-card:hover{border-top-color:var(--white)}
.security-icon-wrap{
  width:44px;height:44px;background:rgba(255,255,255,.08);
  border-radius:var(--r);display:flex;align-items:center;
  justify-content:center;margin-bottom:1.1rem
}
.security-icon-wrap svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.security-card h3{color:#fff;font-size:.97rem;margin-bottom:.4rem}
.security-card p{color:rgba(255,255,255,.55);font-size:.87rem;line-height:1.65}

/* ========================================
   CONTACT
======================================== */
.contact-form-box{
  max-width:660px;margin:0 auto;
  background:var(--white);border-radius:var(--r2);
  padding:3rem;box-shadow:0 8px 40px rgba(0,0,0,.09);
  border-top:3px solid var(--red)
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.form-group{margin-bottom:1.15rem}
.form-group label{
  display:block;font-size:.75rem;font-weight:700;
  color:var(--gray-800);margin-bottom:.4rem;
  letter-spacing:.07em;text-transform:uppercase
}
.form-control{
  width:100%;padding:.75em 1em;
  border:1.5px solid var(--gray-200);border-radius:var(--r);
  font-family:var(--font);font-size:.95rem;color:var(--black);
  background:var(--white);transition:var(--ease);outline:none;
  -webkit-appearance:none
}
.form-control:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(235,0,0,.08)}
.form-control::placeholder{color:var(--gray-200)}
textarea.form-control{resize:vertical;min-height:130px}
select.form-control{cursor:pointer}
.form-notice{font-size:.76rem;color:var(--gray-400);margin-top:.9rem}
.alert{
  padding:1em 1.25em;border-radius:var(--r);
  font-size:.88rem;margin-bottom:1.25rem;
  display:none;border-left:3px solid
}
.alert-success{background:#f0fff4;color:#166534;border-color:#22c55e}
.alert-error{background:#fff5f5;color:#991b1b;border-color:var(--red)}

/* ========================================
   FOOTER
======================================== */
#site-footer{
  background:var(--black);color:rgba(255,255,255,.5);
  padding:3.5rem 0 2rem;border-top:3px solid var(--red)
}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem;margin-bottom:2.5rem}
.footer-brand .site-logo{color:#fff !important;margin-bottom:1rem;font-size:1.15rem}
.footer-brand .logo-mark{background:var(--red)}
.footer-desc{font-size:.86rem;line-height:1.75;max-width:260px}
.footer-col h4{color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:1.1rem}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:.55rem}
.footer-links a{color:rgba(255,255,255,.45);font-size:.87rem}
.footer-links a:hover{color:var(--red)}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.07);padding-top:1.75rem;
  display:flex;justify-content:space-between;align-items:center;font-size:.78rem
}
.footer-swiss{display:flex;align-items:center;gap:.45rem}

/* ========================================
   ANIMATIONS
======================================== */
.fade-up{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}

/* ========================================
   RESPONSIVE
======================================== */
@media(max-width:960px){
  .hero-grid{grid-template-columns:1fr}
  .hero-visual{display:none}
  .features-grid{grid-template-columns:1fr 1fr}
  .pricing-grid{grid-template-columns:1fr;max-width:420px;margin:0 auto}
  .about-grid{grid-template-columns:1fr}
  .about-img-wrap{max-width:400px;margin:0 auto 2rem}
  .about-badge{right:1rem}
  .security-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .features-grid{grid-template-columns:1fr}
  .security-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .contact-form-box{padding:2rem 1.25rem}
  .nav-menu{display:none;flex-direction:column}
  .nav-menu.open{
    display:flex;position:fixed;inset:0;background:var(--white);
    justify-content:center;align-items:center;gap:.5rem;z-index:999
  }
  .nav-menu.open a{color:var(--black);font-size:1.2rem;padding:.75em 2em}
  .nav-burger{display:flex;z-index:1001}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:.75rem;text-align:center}
  .hero-stats{flex-direction:column;gap:1.2rem}
  .hero-stat{border-right:none;padding-right:0;margin-right:0;border-bottom:1px solid var(--gray-200);padding-bottom:1.2rem}
  .hero-stat:last-child{border-bottom:none;padding-bottom:0}
  .hero-desc{max-width:100%}
}
