@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Bebas+Neue:wght@400&display=swap');

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: 'Inter', sans-serif;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

/* Custom properties */
:root {
  --brand-red: #d32f2f;
  --text-dark: #1a1a1a;
  --text-light: #666666;
}

/* Typography */
.headline {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif !important;
  color: var(--brand-red) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.card-title {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif !important;
  color: var(--brand-red) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.025em;
  font-weight: 400;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.flex-grow {
  flex: 1;
}

/* Header */
header {
  width: 100%;
  padding: 3rem 0;
  background: white;
}

.crown-logo {
  width: 6rem;
  height: 6rem;
  margin: 0 auto;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.crown-logo:hover {
  transform: scale(1.05);
}

/* Main content */
main {
  padding: 4rem 0;
}

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

.max-w-4xl {
  max-width: 56rem;
  margin: 0 auto;
}

.max-w-5xl {
  max-width: 64rem;
  margin: 0 auto;
}

/* Home page styles */
.home-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif !important;
  color: var(--brand-red) !important;
  text-transform: uppercase !important;
  font-weight: 400;
}

.home-title:hover {
  opacity: 0.8;
}

.home-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 4rem;
  line-height: 1.6;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--brand-red);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  color: var(--brand-red);
  margin: 0 auto 1rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif !important;
  color: var(--brand-red) !important;
  text-transform: uppercase !important;
  font-weight: 400;
}

.service-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Back button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: color 0.2s ease;
}

.back-button:hover {
  color: var(--text-dark);
}

.back-icon {
  width: 1rem;
  height: 1rem;
}

/* About page */
.profile-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.profile-text h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif !important;
  color: var(--brand-red) !important;
  text-transform: uppercase !important;
  font-weight: 400;
}

.profile-text p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.profile-text p:first-of-type {
  font-size: 1.25rem;
}

.profile-image {
  width: 20rem;
  height: 24rem;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid #d1d5db;
  margin: 0 auto;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Core values */
.values-section {
  text-align: center;
  margin-bottom: 4rem;
}

.values-section h2 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.value-icon {
  width: 3rem;
  height: 3rem;
  color: var(--brand-red);
  margin: 0 auto 1rem;
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif !important;
  color: var(--brand-red) !important;
  text-transform: uppercase !important;
  font-weight: 400;
}

.value-description {
  color: var(--text-light);
}

/* Mission section */
.mission-section {
  text-align: center;
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 3rem;
}

.mission-section h2 {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.mission-section p {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 48rem;
  margin: 0 auto;
}

/* Page content */
.page-content {
  margin-bottom: 3rem;
}

.page-content h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif !important;
  color: var(--brand-red) !important;
  text-transform: uppercase !important;
  font-weight: 400;
}

.page-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif !important;
  color: var(--brand-red) !important;
  text-transform: uppercase !important;
  font-weight: 400;
}

.feature-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
footer {
  background: #f9fafb;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-right {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.impressum-link {
  color: var(--text-light);
  text-decoration: underline;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 0.5rem;
  margin-left: 1rem;
}

.impressum-link:hover {
  color: var(--brand-red);
  text-decoration: underline;
}

.footer-text {
  color: var(--text-light);
}



.footer-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  color: white;
}

.footer-button.linkedin {
  background: #0e76a8;
}

.footer-button.linkedin:hover {
  background: #0a5a82;
}

.footer-button.email {
  background: var(--brand-red);
}

.footer-button.email:hover {
  background: #b71c1c;
}

.footer-icon {
  width: 1rem;
  height: 1rem;
}

/* Responsive design */
@media (min-width: 768px) {
  .home-title {
    font-size: 4rem;
  }

  .profile-section {
    grid-template-columns: 1fr 1fr;
  }

  .profile-text {
    text-align: left;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-right {
    justify-content: flex-end;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}