/* Ein Garten für Beuel — styles based on the StadtFrüchtchen styleguide (STYLEGUIDE.md) */

:root {
  --sf-cream: #FDFDD7;
  --sf-green: #00E676;
  --sf-pink: #F06292;
  --sf-blue: #0089F7;
  --sf-black: #000000;
  --sf-white: #FFFFFF;
  --sf-charcoal: #191919;
  --sf-text-muted: #626262;

  --sf-font-display: "Josefin Sans", sans-serif;
  --sf-font-body: "Poppins", sans-serif;

  --sf-radius: 5px;
  --sf-max-width: 960px;
  --sf-gap: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sf-cream);
  color: var(--sf-black);
  font-family: var(--sf-font-body);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--sf-font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p {
  margin: 0 0 1rem;
}

a {
  color: var(--sf-blue);
}

.wrap {
  max-width: var(--sf-max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  background: var(--sf-white);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sf-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--sf-black);
  text-decoration: none;
}

.logo-icon {
  width: 22px;
  height: 22px;
  color: var(--sf-green);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--sf-black);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--sf-pink);
}

/* Sections */

.section {
  padding: 3.5rem 0;
  scroll-margin-top: 4.5rem;
}

.section-alt {
  background: var(--sf-white);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  scroll-margin-top: 4.5rem;
}

.eyebrow {
  font-family: var(--sf-font-display);
  color: var(--sf-pink);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.lead {
  max-width: 620px;
  margin: 0 auto 1.5rem;
  color: var(--sf-text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--sf-radius);
  font-family: var(--sf-font-display);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
}

.button-primary {
  background: var(--sf-pink);
  color: var(--sf-white);
}

.button-primary:hover {
  background: #e05585;
}

.button-ghost {
  background: transparent;
  border-color: var(--sf-black);
  color: var(--sf-black);
}

.button-ghost:hover {
  background: var(--sf-black);
  color: var(--sf-white);
}

/* Feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sf-gap);
  margin-top: 2rem;
}

.feature-card {
  background: var(--sf-white);
  border-radius: var(--sf-radius);
  padding: 1.5rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--sf-green);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

/* Contact form */

.contact-form {
  max-width: 480px;
  margin-top: 1.5rem;
}

.form-row {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row label {
  font-weight: 500;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  font-family: var(--sf-font-body);
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--sf-radius);
  background: var(--sf-white);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sf-pink);
}

.contact-alt {
  color: var(--sf-text-muted);
  font-size: 0.95rem;
}

/* Map */

.map-frame {
  margin-top: 1.5rem;
  border-radius: var(--sf-radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Footer */

.site-footer {
  background: var(--sf-charcoal);
  color: var(--sf-white);
  padding: 2rem 0;
}

.footer-inner p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--sf-green);
}
