:root {
    --brand: #4682b4;
    --brand-2: #598fbc;
    --brand-3: #6b9bc3;
    --brand-4: #7ea8cb;
    --brand-5: #90b4d2;
    --bg: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --footer-bg: #474a50;
    --footer-text: #c0c0c0;
    --card: #ffffff;
    --border: #e6eef6;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --radius: 14px;
    --max: 1100px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* Sticky-Footer Layout */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Farbkacheln oben */
.color-strip {
    display: flex;
    width: 100%;
    height: 106px; /* ggf. anpassen */
}

    .color-strip > div {
        flex: 1;
    }

    .color-strip .c1 {
        background: var(--brand);
    }

    .color-strip .c2 {
        background: var(--brand-2);
    }

    .color-strip .c3 {
        background: var(--brand-3);
    }

    .color-strip .c4 {
        background: var(--brand-4);
    }

    .color-strip .c5 {
        background: var(--brand-5);
    }

/* Header / Navigation */
header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: .2px;
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--brand);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
}

.navlinks {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .navlinks a {
        text-decoration: none;
        color: var(--text);
        padding: 8px 10px;
        border-radius: 10px;
    }

        .navlinks a:hover {
            background: rgba(70,130,180,.10);
            color: var(--brand);
        }

.nav-cta 
{
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta-url 
{
    display: flex;
    align-items: center;
    gap: 10px;
}


.search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 10px;
}

    .search input {
        border: none;
        outline: none;
        width: 220px;
        font-size: 14px;
    }

.badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(70,130,180,.12);
    color: var(--brand);
    border: 1px solid rgba(70,130,180,.22);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    font-weight: 650;
    font-size: 14px;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

    .btn-primary:hover {
        filter: brightness(.95);
    }

.btn-outline {
    background: #fff;
    border-color: rgba(70,130,180,.35);
    color: var(--brand);
}

    .btn-outline:hover {
        background: rgba(70,130,180,.08);
    }

/* Sections */
.hero {
    padding: 34px 0 12px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: stretch;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.15;
}

.hero p {
    margin: 0 0 16px;
    color: var(--muted);
    max-width: 58ch;
}

.hero-card {
    background: linear-gradient(135deg, rgba(70,130,180,.12), rgba(144,180,210,.18));
    border: 1px solid rgba(70,130,180,.18);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Cards / Products */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 18px 0 34px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
}

    .card h3 {
        margin: 0 0 6px;
    }

    .card p {
        margin: 0 0 10px;
        color: var(--muted);
    }

.price {
    font-weight: 850;
    font-size: 18px;
    color: var(--brand);
}

.card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
}

    .table th, .table td {
        text-align: left;
        padding: 12px 12px;
        border-bottom: 1px solid var(--border);
    }

    .table th {
        background: rgba(70,130,180,.08);
        color: #1b2a3a;
    }

    .table tr:last-child td {
        border-bottom: none;
    }

/* Forms */
.form {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

    .field label {
        font-weight: 650;
        font-size: 14px;
    }

    .field input, .field select, .field textarea {
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 10px 12px;
        font-size: 14px;
        outline: none;
    }

        .field input:focus, .field select:focus, .field textarea:focus {
            border-color: rgba(70,130,180,.45);
            box-shadow: 0 0 0 4px rgba(70,130,180,.12);
        }

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: auto; /* wichtig f�rs Sticky-Footer */
}

.footer-inner {
    padding: 18px 0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

footer a {
    color: var(--footer-text);
    text-decoration: none;
    opacity: .95;
}

    footer a:hover {
        text-decoration: underline;
    }

.footer-cols {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.small {
    font-size: 13px;
    opacity: .9;
}

/* Responsive */
@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .search input {
        width: 160px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}







/* Gro�e Domain-Suche im Hero */
.hero-search{
  margin-top: 60px;
  max-width: 560px; /* war 720px */
}

.hero-search .nav-cta
{
  justify-content: flex-start;
  gap: 12px;
}

.hero-search .nav-cta-url
{
  justify-content: flex-start;
  gap: 12px;
}

.hero-search .search{
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(70,130,180,.35);
  box-shadow: 0 12px 30px rgba(70,130,180,.15);
  background: #fff;
  /* optional: max-width: 460px; */
}

.hero-search .search input{
  width: 100%;
  font-size: 18px;
  padding: 6px 4px;
}

.hero-search .badge{
  font-size: 14px;
  padding: 6px 12px;
}

.hero-search .btn{
  margin-left: 0; /* wichtig: sonst doppelt Abstand */
  padding: 14px 20px;
  font-size: 16px;
}





/* --- Mobile Fixes (z.B. 390x844) --- */
@media (max-width: 520px){

  /* Buttons nicht �ber den Rand dr�cken */
  .btn{
    max-width: 100%;
    white-space: nowrap;
  }

  /* Card-Row darf umbrechen */
  .card-row{
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .card-row .btn{
    width: auto;          /* width: 100%; - Buttons werden auf Mobile sch�n breit */
  }

  /* Formulare: Grid -> 1 Spalte */
  .form{
    grid-template-columns: 1fr !important;
  }

  /* Tabellen: horizontal scrollen statt overflow rechts */
  .table{
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Zellen etwas kompakter */
  .table th, .table td{
    padding: 10px 10px;
    white-space: nowrap;   /* verhindert h�ssliches Umbruch-Chaos in Tabellen */
  }
}





/* --- Mobile Navigation (Hamburger) --- */
.nav-toggle{
  display:none;
}

.hamburger{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(70,130,180,.35);
  background:#fff;
  cursor:pointer;
}

.hamburger span{
  display:block;
  width:22px;
  height:2px;
  background: var(--brand);
  position:relative;
}
.hamburger span::before,
.hamburger span::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background: var(--brand);
}
.hamburger span::before{ top:-7px; }
.hamburger span::after{ top:7px; }


/* Mobile Layout */
@media (max-width: 820px){

  .nav{ position:relative; }

  /* Hamburger sichtbar, Desktop-Navigation weg */
  .hamburger{ display:inline-flex; }

  /* Links als Dropdown */
  .navlinks{
    display:none;
    position:absolute;
    top:60px;
    left:0;
    right:0;
    flex-direction:column;
    gap:6px;
    background:#fff;
    padding:12px;
    border:1px solid var(--border);
    border-radius:14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    z-index: 50;
  }

  .navlinks a{
    padding:10px 12px;
  }

  /* Toggle: Checkbox zeigt Men� */
  .nav-toggle:checked ~ .navlinks{
    display:flex;
  }

  /* Suchfeld im Header auf Mobile ausblenden (optional) */
  .nav-cta{ display:none; }
}






/* --- Domain Check Spinner --- */
.spinner{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(70,130,180,.25);
  border-top-color: #4682b4;
  animation: spin 0.9s linear infinite;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

/* zentriert im Button-Bereich */
.spinner-wrap{
  display: none;
  align-items: center;
  justify-content: center;
}


/* --- Fix: Layout bleibt stabil, wenn Button -> Spinner --- */
.action-slot{
  width: 140px;          /* gleiche Breite wie dein Button-Bereich */
  min-height: 48px;      /* gleiche H�he wie Button/Spinner */
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-slot .btn{
  width: 100%;
  justify-content: center;
}

/* Spinner wird exakt in der Slot-Fl�che zentriert */
.action-slot .spinner{
  width: 28px;
  height: 28px;
  border-width: 4px;
}



/* --- Color-Strip kleiner auf Smartphones --- */
@media (max-width: 520px){
  .color-strip{
    height: 32px;   /* vorher 56px */
	filter: saturate(0.9);
  }
}


/* --- Hero Domain-Suche: Button unter Input auf Mobile --- */
@media (max-width: 520px) {
    .hero-search .nav-cta-url {
        flex-direction: column;
        align-items: stretch; /* volle Breite */
    }

    .hero-search .btn {
        width: 100%;
    }

    .hero-search {
        margin-bottom: 48px;
    }
}





/* Hero: H2 unter der H1 (SEO-Subheadline) */
.hero h2{
    margin: 0 0 14px;
    font-size: clamp(16px, 1.6vw, 22px);
    line-height: 1.35;
    font-weight: 650;
    color: var(--muted);
    max-width: none;
}


/* Global: Standard H2 */
h2{
    margin: 0 0 12px;
    font-size: clamp(18px, 2.0vw, 28px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--text);
    letter-spacing: .2px;
}
