/*
Theme Name: Steins Technikservice
Theme URI: https://example.com
Author: Dein Name
Description: Dunkles Tech-Design mit Neonblau für Steins Technikservice.
Version: 1.0
Text Domain: steins-technikservice
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111111;
  color: #f5f5f5;
}

/* Layout */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer {
  flex-shrink: 0;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  color: #aaaaaa;
  border-top: 1px solid #222222;
  background: #0b0b0b;
}

/* Header */

.site-header {
  position: relative;
  padding: 1.25rem 1.5rem;
  background:
    radial-gradient(circle at center, rgba(0, 200, 255, 0.25), transparent 55%),
    linear-gradient(to bottom, #111111, #090909);
  border-bottom: 1px solid #222222;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-branding .custom-logo-link img,
.site-branding .custom-logo {
  max-height: 60px;
  height: auto;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e0f8ff;
  text-shadow:
    0 0 15px rgba(0, 200, 255, 0.8),
    0 0 35px rgba(0, 200, 255, 0.5);
}

.site-title a {
  text-decoration: none;
  color: inherit;
}

.site-description {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #9adfff;
}

/* Navigation */

.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.4rem;
}

.main-navigation a {
  text-decoration: none;
  color: #f5f5f5;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.25rem;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #00c8ff;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.8);
  transition: width 0.2s ease-out;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
  width: 100%;
}

/* Mobile Navigation */

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #00c8ff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: #00c8ff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-navigation {
    width: 100%;
  }

  .main-navigation ul {
    flex-direction: column;
    margin-top: 0.75rem;
  }
}

/* Content */

h1, h2, h3, h4 {
  font-weight: 600;
  color: #e9f9ff;
}

a {
  color: #00c8ff;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */

.btn-primary,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #00f0ff, #00a0ff);
  color: #021018 !important;
  border: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 0 10px rgba(0, 200, 255, 0.8),
    0 0 30px rgba(0, 200, 255, 0.6);
}

.btn-primary:hover,
.wp-block-button__link:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

/* Card / Sections */

.section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(0, 200, 255, 0.18), #151515 55%);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid #202020;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.8);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Bereich für Startseite */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.hero-main {
  background: radial-gradient(circle at top left, rgba(0, 200, 255, 0.18), #151515 55%);
  padding: 2rem 2.25rem;
  border-radius: 22px;
  border: 1px solid #202020;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #9adfff;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin: 0 0 0.75rem;
}

.hero-title span {
  color: #00d4ff;
}

.hero-text {
  margin: 0 0 1.7rem;
  color: #d3e8f3;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid #2b2b2b;
  background: #151515;
  color: #f5f5f5;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: #00c8ff;
  text-decoration: none;
}

/* Hero Card rechts */

.hero-card {
  background: #151515;
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid #202020;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.hero-logo-small img {
  max-height: 42px;
}

.hero-card-title {
  font-size: 1.1rem;
  margin: 0;
}

.hero-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: #9adfff;
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-service-pill {
  background: #101010;
  border-radius: 999px;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  border: 1px solid #222222;
}

/* Hinweis-Bereich (z.B. wichtiger Hinweis) */

.notice-box {
  margin-top: 3rem;
  border-radius: 20px;
  padding: 1.8rem 2rem;
  background: #101010;
  border: 1px solid #222222;
}

/* Footer columns */

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-columns > div {
  min-width: 180px;
}

.footer-bottom {
  font-size: 0.78rem;
  color: #777777;
}

.footer-nav a {
  margin: 0 0.4rem;
  color: #9adfff;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Responsive Hero */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

/* Gutenberg compatibility basics */

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content {
  line-height: 1.6;
}

.entry-content ul {
  padding-left: 1.4rem;
}
