/* Page styles for index (extracted from the template). */
/* ==============================================
   CSS RESET & VARIABLES
============================================== */
:root {
  --bg-color: #eef0f5;
  --surface-color: #eef0f5;
  --shadow-light: #ffffff;
  --shadow-dark: #d1d9e6;
  --shadow-dark-intensity: rgba(163, 177, 198, 0.6);
  --shadow-light-intensity: rgba(255, 255, 255, 0.8);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --text-main: #2d3142;
  --text-muted: #7c839a;
  --accent-blue: #4facfe;
  --accent-purple: #a18cd1;
  --Ramin-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --Ramin-gradient-text: linear-gradient(90deg, #2e3192 0%, #1bffff 100%);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-full: 999px;
  --container-width: 1440px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

 button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  background: none;
 }

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--shadow-dark);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-color);
}

/* ==============================================
   NEOMORPHIC UTILITIES
============================================== */
.neo-out {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  box-shadow: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.neo-out:hover {
  box-shadow: 18px 18px 30px var(--shadow-dark), -18px -18px 30px var(--shadow-light);
}

.neo-in {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  box-shadow: inset 8px 8px 16px var(--shadow-dark), inset -8px -8px 16px var(--shadow-light);
}

.neo-convex {
  background: linear-gradient(145deg, #ffffff, #d6d8dd);
  box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
}

/* ==============================================
   TYPOGRAPHY
============================================== */
.h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
}

.h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  word-wrap: break-word;
}

.p-lead {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 700px;
  word-wrap: break-word;
}

.p-text {
  font-size: clamp(0.95rem, 2vw, 1rem);
  color: var(--text-muted);
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 700;
  color: var(--accent-blue);
}

.gradient-text {
  background: var(--Ramin-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

/* ==============================================
   LAYOUT
============================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 60px;
}

.section {
  padding: clamp(60px, 12vh, 160px) 0;
  position: relative;
}

.grid {
  display: -ms-grid;
  display: grid;
  gap: clamp(20px, 4vw, 60px);
  width: 100%;
}

.grid-2 {
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: repeat(2, 1fr);
}

/* Desktop Large Screens */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
    padding: 0 80px;
  }

  .section {
    padding: 160px 0;
  }
}

@media (min-width: 2560px) {
  .container {
    max-width: 2000px;
    padding: 0 120px;
  }
}

/* ==============================================
   NAVIGATION
============================================== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  z-index: 1000;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  background: transparent;
}

#nav.scrolled {
  background: rgba(238, 240, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 8px 0;
}

.nav-container {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  align-items: center;
  -webkit-align-items: center;
}

.logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* ==============================================
   BUTTONS
============================================== */
.btn {
  display: inline-flex;
  display: -webkit-inline-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-color);
  box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 10px 10px 20px var(--shadow-dark), -10px -10px 20px var(--shadow-light);
}

.btn-neo {
  color: var(--text-main);
}

.btn-neo:active {
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
  background: var(--surface-color);
}

/* ==============================================
   FORM STYLES
============================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-label {
  font-size: clamp(0.9rem, 2vw, 0.95rem);
  font-weight: 600;
  color: var(--text-main);
}

/* Mindestens 16px auf Formularelementen: verhindert Auto-Zoom beim Fokussieren auf iOS/Android in allen Browsern */
input,
select,
textarea {
  font-size: 16px;
  font-family: inherit;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px;
  border: none;
  outline: none;
  color: var(--text-main);
  border-radius: 12px;
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1rem);
  transition: box-shadow var(--transition-fast);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  box-shadow: inset 10px 10px 20px var(--shadow-dark), inset -10px -10px 20px var(--shadow-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237c839a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}

/* ==============================================
   FEATURE CARDS (INFO BLOCKS)
============================================== */
.feature-card {
  padding: clamp(30px, 5vw, 40px);
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  min-height: 250px;
  height: 100%;
  position: relative;
  overflow: hidden;
  word-wrap: break-word;
}

.feature-icon-wrapper {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.feature-icon-circle {
  width: 40px;
  height: 40px;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.icon-svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
}

.feature-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

.feature-card .p-text {
  margin-bottom: 15px;
}

.contact-list {
  margin-top: 15px;
  color: var(--text-main);
  font-weight: 500;
}

.contact-list li {
  margin-bottom: 8px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  word-break: break-word;
}

.contact-list a {
  color: var(--accent-blue);
  transition: color var(--transition-fast);
}

.contact-list a:hover {
  color: var(--text-main);
}

/* ==============================================
   FOOTER
============================================== */
footer {
  padding: 40px 0;
  text-align: center;
}

footer .p-text {
  font-size: clamp(0.75rem, 1.5vw, 0.8rem);
}

/* ==============================================
   RESPONSIVE BREAKPOINTS
============================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .grid-2 {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 20px;
  }

  /* Kompaktere Nav auf Mobile wie Index */
  #nav {
    padding: 10px 0;
  }

  #nav.scrolled {
    padding: 8px 0;
  }

  .logo img {
    width: 64px !important;
    height: 64px !important;
  }

  .feature-card {
    min-height: auto;
    height: auto;
    overflow: visible;
    padding: 30px 20px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .feature-card {
    height: auto;
    overflow: visible;
    padding: 24px 16px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 14px;
    font-size: 16px; /* Verhindert Auto-Zoom auf iOS */
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* ==============================================
   PRINT STYLES
============================================== */
@media print {
  #nav {
    display: none;
  }
}
