/* ===================================== */
/* DEVAGOO PREMIUM STYLE – STABLE VERSION */
/* ===================================== */

:root{
  --bg:#0b1020;
  --surface:rgba(255,255,255,0.06);
  --border:rgba(255,255,255,0.14);
  --text:rgba(255,255,255,0.92);
  --muted:rgba(255,255,255,0.70);
  --primary:#7dd3fc;
  --accent:#a78bfa;
  --max:1120px;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}

body{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1000px 600px at 20% 10%, rgba(167,139,250,0.22), transparent 60%),
    radial-gradient(800px 500px at 85% 15%, rgba(125,211,252,0.18), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.6;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
}

/* ===================================== */
/* TOPBAR */
/* ===================================== */

.topbar{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(10,14,26,0.75);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.10);
}

.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}

.brand-logo{
  height:36px;
  width:auto;
  display:block;
  filter:drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}

.nav{
  display:flex;
  gap:14px;
  align-items:center;
}

.nav a{
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}

.nav a:hover{
  background:rgba(255,255,255,0.08);
  color:var(--text);
}

.nav-cta{
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#0b1020!important;
  padding:10px 14px!important;
  border-radius:14px;
  font-weight:600;
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:1.6rem;
  color:white;
}

/* ===================================== */
/* HERO */
/* ===================================== */

.hero{
  position:relative;
  min-height:90vh;
  display:flex;
  align-items:center;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:url('../images/hero_final.jpg') center/cover no-repeat;
}

.hero-scrim{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(11,16,32,0.92));
}

.hero-inner{
  position:relative;
  width:100%;
}

.hero-card{
  background:rgba(255,255,255,0.07);
  border:1px solid var(--border);
  border-radius:22px;
  padding:40px;
  box-shadow:0 30px 70px rgba(0,0,0,0.45);
  text-align:left; /* WICHTIG */
}

.hero-title{
  font-size:clamp(2rem,4vw,3rem);
  margin:14px 0;
}

.hero-sub{
  font-size:1.1rem;
  color:var(--muted);
  max-width:600px;
}

.hero-actions{
  margin-top:24px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* BUTTONS */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 20px;
  border-radius:16px;
  font-weight:600;
  border:1px solid var(--border);
  background:var(--surface);
  min-height:48px;
}

.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#0b1020;
  border:none;
}

/* ===================================== */
/* FLAGSHIP CARD */
/* ===================================== */

.flagship-card{
  margin-top:34px;
  padding:28px;
  border-radius:22px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.20);
  backdrop-filter:blur(18px);
  box-shadow:0 25px 70px rgba(0,0,0,0.45);

  display:flex;
  flex-direction:column;
  align-items:flex-start; /* zwingt links */
  text-align:left;
}

.flagship-label{
  font-size:0.8rem;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--muted);
  margin-bottom:14px;
}

.flagship-logo{
  width:100%;
  max-width:340px;
  height:auto;
  margin-bottom:18px;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}

/* ===================================== */
/* SECTIONS */
/* ===================================== */

.section{
  padding:80px 0;
}

.section h2{
  font-size:1.9rem;
  margin-bottom:12px;
}

.lead{
  color:var(--muted);
  max-width:720px;
}

.grid{
  margin-top:32px;
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:18px;
}

.card{
  grid-column:span 4;
  background:rgba(255,255,255,0.07);
  border:1px solid var(--border);
  border-radius:20px;
  padding:22px;
}

.pill{
  display:inline-block;
  margin-top:14px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  border:1px solid var(--border);
  font-size:0.85rem;
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media (max-width:980px){
  .card{
    grid-column:span 12 !important;
  }
}

@media (max-width:860px){
  .nav{
    position:absolute;
    top:70px;
    right:20px;
    flex-direction:column;
    background:rgba(10,14,26,0.95);
    padding:20px;
    border-radius:18px;
    display:none;
  }

  .nav.active{display:flex;}
  .menu-toggle{display:block;}
}

@media (max-width:620px){
  .hero-card{padding:26px;}
  .hero-title{font-size:1.9rem;}
  .btn{width:100%;}
  .flagship-logo{max-width:240px;}
}
/* Trustpilot inline badge inside glass card */
.tp-inline{
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

.tp-inline__link{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;

  /* passt sich an Glas-Card an */
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tp-inline__link:hover{
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.22);
}

.tp-inline__logo{
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tp-inline__text{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.tp-inline__rating{
  font-size: 15px;
}

.tp-inline__rating strong{
  font-size: 18px;
}

.tp-inline__rating span{
  opacity: 0.85;
  margin-left: 2px;
}

.tp-inline__meta{
  font-size: 12px;
  opacity: 0.9;
}

.tp-inline__cta{
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.85;
}

/* Mobile: nimmt volle Breite in der Card */
@media (max-width: 640px){
  .tp-inline{
    width: 100%;
  }
  .tp-inline__link{
    width: 100%;
  }
}
/* Footer/Legal Links: weiß, besucht grau */
footer a,
.footer a,
.legal a,
.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover,
.footer a:hover,
.legal a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

/* nach dem Anklicken */
footer a:visited,
.footer a:visited,
.legal a:visited,
.footer-links a:visited {
  color: #9ca3af; /* Grau */
}
/* Secondary / Standard Buttons: Text weiß, nach Klick grau */
.btn:not(.btn-primary) {
  color: #ffffff;
  border-color: rgba(255,255,255,0.35); /* falls outline */
}

/* Hover */
.btn:not(.btn-primary):hover {
  color: #ffffff;
}

/* Visited (nach Klick) */
.btn:not(.btn-primary):visited {
  color: #9ca3af; /* Grau */
}

/* Falls du einen echten Outline-Button hast, der evtl. eigene Klasse nutzt */
.btn-outline,
.btn-secondary {
  color: #ffffff;
}

.btn-outline:visited,
.btn-secondary:visited {
  color: #9ca3af;
}
/* "Mehr erfahren" (pill links) weiß statt blau */
a.pill,
.pill a {
  color: #ffffff !important;
  text-decoration: none;
}

a.pill:hover {
  text-decoration: underline;
}

/* optional: nach Klick grau */
a.pill:visited {
  color: #9ca3af !important;
}